Re: [patch v3]DM: dm-insitu-comp: a compressed DM target for SSD

2014-03-18 Thread Mike Snitzer
On Tue, Mar 18 2014 at 3:41am -0400, Shaohua Li wrote: > On Mon, Mar 17, 2014 at 04:00:40PM -0400, Mike Snitzer wrote: > > > > I folded your changes in, and then committed a patch ontop that cleans > > some code up. But added 2 FIXMEs that still speak to pretty fundamental > > problems with

[tip:x86/vdso] x86, vdso: Zero-pad the VVAR page

2014-03-18 Thread tip-bot for Andy Lutomirski
Commit-ID: 309944be296efbb3ca4737d12ef49d2ba97cbecc Gitweb: http://git.kernel.org/tip/309944be296efbb3ca4737d12ef49d2ba97cbecc Author: Andy Lutomirski AuthorDate: Mon, 17 Mar 2014 23:22:11 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:44 -0700 x86, vdso: Zero-pad

[tip:x86/vdso] x86, vdso: __vdso_clock_gettime() cleanup

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: ce39c64028a075d14af32bfb8336bfe1370c0443 Gitweb: http://git.kernel.org/tip/ce39c64028a075d14af32bfb8336bfe1370c0443 Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:04 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:01 -0700 x86, vdso:

[PATCH 10/13] perf tools: Remove thread__find_map function

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Because it's not used any more. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: David Ahern Cc: Don Zickus Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link:

[tip:x86/vdso] x86, vdso: Introduce VVAR marco for vdso32

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: ef721987aef0cc0abba08c88810f2155f76b0b1f Gitweb: http://git.kernel.org/tip/ef721987aef0cc0abba08c88810f2155f76b0b1f Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:07 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:29 -0700 x86, vdso: Introduce

[PATCH 12/13] perf tools: Update some code references in design.txt

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Ramkumar Ramachandra Update the names of some functions and enums in design.txt. The document still has some stale information, but the motivation behind this patch is to allow a developer to quickly grep and learn about the associated structures. Signed-off-by: Ramkumar Ramachandra Cc:

[tip:x86/vdso] x86, vdso: Add 32 bit VDSO time support for 64 bit kernel

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: 7c03156f34d113f885f045d8fb8cc3efd9e64751 Gitweb: http://git.kernel.org/tip/7c03156f34d113f885f045d8fb8cc3efd9e64751 Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:10 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:41 -0700 x86, vdso: Add 32

[tip:x86/vdso] x86, vdso: Make vsyscall_gtod_data handling x86 generic

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: d2312e3379d581d2c3603357a0181046448e1de3 Gitweb: http://git.kernel.org/tip/d2312e3379d581d2c3603357a0181046448e1de3 Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:01 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:51:52 -0700 x86, vdso: Make

[tip:x86/vdso] x86, vdso: Cleanup __vdso_gettimeofday()

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: 0df1ea2b7955d3cb311a549c44ed482452b859ff Gitweb: http://git.kernel.org/tip/0df1ea2b7955d3cb311a549c44ed482452b859ff Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:06 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:26 -0700 x86, vdso: Cleanup

[tip:x86/vdso] x86, vdso: Revamp vclock_gettime.c

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: 411f790cd7e91fac0db80d3cf789cb6deeac298e Gitweb: http://git.kernel.org/tip/411f790cd7e91fac0db80d3cf789cb6deeac298e Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:03 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:51:59 -0700 x86, vdso: Revamp

[tip:x86/vdso] x86, vdso32: handle 32 bit vDSO larger one page

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: 4e40112c4ff6a577dd06d92b2a54cdf06265bf74 Gitweb: http://git.kernel.org/tip/4e40112c4ff6a577dd06d92b2a54cdf06265bf74 Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:13 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:54 -0700 x86, vdso32: handle

[tip:x86/vdso] x86, vdso: Add 32 bit VDSO time support for 32 bit kernel

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: 7a59ed415f5b57469e22e41fc4188d5399e0b194 Gitweb: http://git.kernel.org/tip/7a59ed415f5b57469e22e41fc4188d5399e0b194 Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:09 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:37 -0700 x86, vdso: Add 32

[tip:x86/vdso] mm: Add new func _install_special_mapping() to mmap.c

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: 3935ed6a3a533c1736e3ca65bff72afd1773be27 Gitweb: http://git.kernel.org/tip/3935ed6a3a533c1736e3ca65bff72afd1773be27 Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:02 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:51:56 -0700 mm: Add new func

[tip:x86/vdso] x86, vdso: Patch alternatives in the 32-bit VDSO

2014-03-18 Thread tip-bot for Andy Lutomirski
Commit-ID: b4b541a610c4db8643b36030ee5012203ca65778 Gitweb: http://git.kernel.org/tip/b4b541a610c4db8643b36030ee5012203ca65778 Author: Andy Lutomirski AuthorDate: Mon, 17 Mar 2014 23:22:08 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:33 -0700 x86, vdso: Patch

[tip:x86/vdso] x86, vdso32: Disable stack protector, adjust optimizations

2014-03-18 Thread tip-bot for H. Peter Anvin
Commit-ID: 008cc907de327d83a0be609cd495fccb0e5dfa4c Gitweb: http://git.kernel.org/tip/008cc907de327d83a0be609cd495fccb0e5dfa4c Author: H. Peter Anvin AuthorDate: Mon, 17 Mar 2014 23:22:12 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:48 -0700 x86, vdso32: Disable

[tip:x86/vdso] x86, vdso: Replace VVAR(vsyscall_gtod_data) by gtod macro

2014-03-18 Thread tip-bot for Stefani Seibold
Commit-ID: af8c93d8d9809c3cf71cae2c398069399e64efa3 Gitweb: http://git.kernel.org/tip/af8c93d8d9809c3cf71cae2c398069399e64efa3 Author: Stefani Seibold AuthorDate: Mon, 17 Mar 2014 23:22:05 +0100 Committer: H. Peter Anvin CommitDate: Tue, 18 Mar 2014 12:52:03 -0700 x86, vdso: Replace

Re: [PATCH 2/3] bridge: trigger a bridge calculation upon port changes

2014-03-18 Thread Luis R. Rodriguez
On Tue, Mar 18, 2014 at 01:46:49PM -0700, Cong Wang wrote: > On Fri, Mar 14, 2014 at 6:39 PM, Luis R. Rodriguez wrote: > > On Thu, Mar 13, 2014 at 11:26:25AM -0700, Cong Wang wrote: > >> On Wed, Mar 12, 2014 at 8:15 PM, Luis R. Rodriguez > >> wrote: > >> >

Re: can: c_can: Reduce interrupt load by 50%

2014-03-18 Thread Joe Perches
On Tue, 2014-03-18 at 21:43 +0100, Thomas Gleixner wrote: > On Tue, 18 Mar 2014, Joe Perches wrote: > > On Tue, 2014-03-18 at 21:18 +0100, Thomas Gleixner wrote: > > > performance improment > > Now that the code's not being written by amateurs? > You found a typo. Great, you can keep it! Given

[PATCH 03/13] perf symbols: Record the reason for filtering an address_location

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim By turning the addr_location->filtered member from a boolean to a u8 bitmap, reusing (and extending) the hist_filter enum for that. This patch doesn't change the logic at all, as it keeps the meaning of al->filtered !0 to mean that the entry _was_ filtered, so no change in

Re: [PATCH 1/1] MINIX: specific inode data access standardization

2014-03-18 Thread Andrew Morton
On Tue, 18 Mar 2014 18:52:21 +0100 Fabian Frederick wrote: > minix_i uppercase conversion (like majority of other filesystems). > > ... > > @@ -255,7 +255,7 @@ struct inode *minix_new_inode(const struct inode *dir, > umode_t mode, int *error) > inode->i_ino = j; > inode->i_mtime =

[PATCH net-next,v3] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-18 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h | 112 ++- drivers/net/hyperv/netvsc.c | 134

[PATCH 09/13] perf annotate: Print the evsel name in the stdio output

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo So that when showing multiple events annotations, we can figure out which is which: # perf record -a -e instructions,cycles sleep 1 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.826 MB perf.data (~36078 samples) ] #

[PATCH 05/13] perf report: Merge al->filtered with hist_entry->filtered

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim I.e. don't drop al->filtered entries, create the hist_entries and use its ->filtered bitmap, that is kept with the same semantics for its bitmap, leaving the filtering to be done at the hist_entry level, i.e. in the UIs. This will allow zooming in/out the filters.

[GIT PULL 00/13] perf/core improvements and fixes

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 0afd2d51029961281572d02545c7bde1b3f4292c: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2014-03-18 09:23:09

Re: kswapd using __this_cpu_add() in preemptible code

2014-03-18 Thread Andrew Morton
On Tue, 18 Mar 2014 21:53:30 +0300 Sergey Senozhatsky wrote: > Hello gentlemen, > > Commit 589a606f9539663f162e4a110d117527833b58a4 ("percpu: add preemption > checks to __this_cpu ops") added preempt check to used in __count_vm_events() > __this_cpu ops, causing the following kswapd warning: >

[PATCH 04/13] perf symbols: Apply all filters to an addr_location

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Instead of bailing out as soon as we find a filter that applies, go on checking all of them so that we can zoom in/out filters. We also need to make sure we only update al->filtered after thread__find_addr_map(), because there is where al->filtered gets initialized to zero.

[PATCH] avr32: replace simple_strtoul() with kstrtoul()

2014-03-18 Thread Ramkumar Ramachandra
simple_strtoul() is marked for obsoletion; use the newer and more pleasant kstrtoul() in its place. Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt Signed-off-by: Ramkumar Ramachandra --- arch/avr32/kernel/cpu.c | 48 1 file changed, 24

[PATCH 08/13] perf report: Use ui__has_annotation()

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Since we introduced the ui__has_annotation() for that, don't open code it. Signed-off-by: Namhyung Kim Cc: Andi Kleen Cc: David Ahern Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link:

[PATCH 06/13] perf tools: Use tid in mmap/mmap2 events to find maps

2014-03-18 Thread Arnaldo Carvalho de Melo
From: Don Zickus Now that we can properly synthesize threads system-wide, make sure the mmap and mmap2 events use tids instead of pids to locate their maps. Signed-off-by: Don Zickus Cc: Jiri Olsa Cc: Stephane Eranian Link:

Re: [PATCH] cgroup: fix a failure path in create_css()

2014-03-18 Thread Tejun Heo
On Tue, Mar 18, 2014 at 12:12:25PM -0400, Tejun Heo wrote: > On Tue, Mar 18, 2014 at 11:24:45AM -0400, Tejun Heo wrote: > > On Tue, Mar 18, 2014 at 05:02:36PM +0800, Li Zefan wrote: > > > If online_css() fails, we should remove cgroup files belonging > > > to css->ss. > > > > > > Signed-off-by:

[PATCH] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-03-18 Thread Zoltan Kiss
skb_zerocopy can copy elements of the frags array between skbs, but it doesn't orphan them. Also, it doesn't handle errors, so this patch takes care of that as well. Signed-off-by: Zoltan Kiss --- net/openvswitch/datapath.c |6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH v3 1/5] Documentation: dt: Add Kona PWM binding

2014-03-18 Thread Thierry Reding
On Wed, Mar 12, 2014 at 01:15:42PM -0700, Tim Kryger wrote: > Add the binding description for the Kona PWM controller found on Broadcom's > mobile SoCs. > > Signed-off-by: Tim Kryger > Reviewed-by: Alex Elder > Reviewed-by: Markus Mayer > --- > .../devicetree/bindings/pwm/bcm-kona-pwm.txt

[patch][wip] staging: unisys: kmalloc/memset move to kzalloc

2014-03-18 Thread Silvio F
Hi, I have followed this thread and have seen that not all parts was kcalloc'ized. Please review this patch and maybe include it. This patch is WIP because I have no hardware and can only do a compile test. version 2: * remove ALLOC_CMDRSP define Bye, Silvio -- To unsubscribe from this

[PATCH] staging: unisys: kmalloc/memset to kzalloc conversation

2014-03-18 Thread Silvio F
This patch solves the Coccinelle warning: "kzalloc should be used instead of kmalloc/memset" This patch is a fixup for linux-next: 97a84f1203786985856a0d4b49b1d7cc387238ce "Staging: unisys: Replace kmalloc/memset with kzalloc" The ALLOC_CMDRSP #define is after transformation to

[PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-18 Thread Peter Senna Tschudin
The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look for opportunities to replace a call to memcpy by a struct assignment. This patch removes memcpy-assign.cocci as it is not clear that this convention has an impact on the generated code. Signed-off-by: Peter Senna Tschudin ---

Re: rb tree hrtimer lockup bug (found by perf_fuzzer)

2014-03-18 Thread Vince Weaver
On Tue, 18 Mar 2014, Thomas Gleixner wrote: > > > [3.678040] BUG: unable to handle kernel NULL pointer dereference at > > 0018 > > > > [3.686776] IP: [] > > get_next_timer_interrupt+0x168/0x250 > >

Re: [patch 5/5] irqchip: armanda: Sanitize set_irq_affinity()

2014-03-18 Thread Gregory CLEMENT
On 18/03/2014 21:55, Thomas Gleixner wrote: > On Tue, 18 Mar 2014, Gregory CLEMENT wrote: >> On 07/03/2014 18:17, Thomas Gleixner wrote: >>> It might be the readback of the routing register. I don't have the >>> datasheet of this. >> >> Sorry for the delay, I was on vacation without the hardware

[PATCH] perf tools: remove unused simple_strtoul() function

2014-03-18 Thread Ramkumar Ramachandra
Moreover, the corresponding function in include/linux/kernel.h is marked obsolete. Cc: David Ahern Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/perf/util/include/linux/kernel.h | 6 -- 1 file changed, 6 deletions(-) diff --git

[char-misc-next 00/13] mei: add runtime pm

2014-03-18 Thread Tomas Winkler
Alexander Usyskin (2): mei: txe: add runtime pm framework mei: txe: use runtime PG pm domain for non wakeable devices Tomas Winkler (11): mei: implement power gating isolation hbm layer mei: me: introduce power gating registers mei: me: add power gating isolation register write wrappers

[char-misc-next 01/13] mei: implement power gating isolation hbm layer

2014-03-18 Thread Tomas Winkler
Add send message functions and receive dispatch stubs for power gating isolation hbm protocol. The protocol consist of requests for entering and exiting the power gating isolation state and their responses. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin ---

[char-misc-next 06/13] mei: me: add pg exit and entry flow commands

2014-03-18 Thread Tomas Winkler
For power gating entry we write hbm pg entry request command and then we set pg register For power gating exit we clear pg register and wait for exit request hbm command. Exit power gating request might also be initiated by the firmware w/o explicit driver request The power gating state is

[char-misc-next 03/13] mei: me: add power gating isolation register write wrappers

2014-03-18 Thread Tomas Winkler
Add entry and exit power gating isolation register write handler. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/hw-me.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/misc/mei/hw-me.c b/drivers/misc/mei/hw-me.c

[char-misc-next 02/13] mei: me: introduce power gating registers

2014-03-18 Thread Tomas Winkler
LPT devices have internal power gating handled through registers and hbm calls Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me-regs.h | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/misc/mei/hw-me-regs.h b/drivers/misc/mei/hw-me-regs.h index 66f411a..72ba4d5 100644

[char-misc-next 05/13] mei: expose hardware power gating state to mei layer

2014-03-18 Thread Tomas Winkler
Since the runtime pm and the internal power gating cannot be in complete sync in regards to I/O operations, we need to expose the device hardware internal power gating state to mei layer 2. We add pg_state handler that translate the hw internal pg state to mei layer 2. We add power gating event

[char-misc-next 07/13] mei: add function to check write queues

2014-03-18 Thread Tomas Winkler
The driver needs to check whether the write queue idle before entering power gating Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/init.c| 21 + drivers/misc/mei/mei_dev.h | 2 ++ 2 files changed, 23 insertions(+) diff --git

Re: [patch 5/5] irqchip: armanda: Sanitize set_irq_affinity()

2014-03-18 Thread Thomas Gleixner
On Tue, 18 Mar 2014, Gregory CLEMENT wrote: > On 07/03/2014 18:17, Thomas Gleixner wrote: > > It might be the readback of the routing register. I don't have the > > datasheet of this. > > Sorry for the delay, I was on vacation without the hardware to test it. > > Indeed it was the readback of

[char-misc-next 08/13] mei: me: add runtime pm framework

2014-03-18 Thread Tomas Winkler
Add runtime pm framework for ME devices. The runtime pm handlers are used to run me power gating isolation protocol Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/hbm.c| 8 + drivers/misc/mei/hw-me.h | 2 ++ drivers/misc/mei/pci-me.c | 92

[char-misc-next 13/13] mei: me: bump hbm version to 1.1 to support power gating

2014-03-18 Thread Tomas Winkler
Communicate hbm version 1.1 to firmware to tell that we now support power gating isolation protocol Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h index 9bad9cf..dd448e5

[char-misc-next 12/13] mei: txe: use runtime PG pm domain for non wakeable devices

2014-03-18 Thread Tomas Winkler
From: Alexander Usyskin For non wakeable devices we can't use pci runtime framework as we are not able to wakeup from D3 states. Instead we create new pg runtime domain that only drives TXE power gating protocol to reduce the power consumption. Signed-off-by: Alexander Usyskin Signed-off-by:

[char-misc-next 04/13] mei: condition PGI support on HW and HBM version

2014-03-18 Thread Tomas Winkler
Enable power gating isolation only if hw and fw support it. This is indicated by ME_PGIC_HRA bit in ME_CSR_HA register and on HBM protocol version. The information is exported to MEI layer through new pg_is_enabled hw op. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin ---

[char-misc-next 10/13] mei: use runtime pm in write and read flow

2014-03-18 Thread Tomas Winkler
Take rpm token on operation start to initiate rpm resume if needed. Mark last busy time, release token and advice rpm framework to try to autosuspend on operation end. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/client.c | 84

[char-misc-next 11/13] mei: me: use runtime PG pm domain for non wakeable devices

2014-03-18 Thread Tomas Winkler
For non wakeable devices we can't use pci runtime framework as we are not able to wakeup from D3 states. Instead we create new pg runtime domain that only drives ME power gating protocol to reduce the power consumption. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin ---

[char-misc-next 09/13] mei: txe: add runtime pm framework

2014-03-18 Thread Tomas Winkler
From: Alexander Usyskin Add runtime pm framework for TXE devices. The runtime pm handlers are used to run txe power gating isolation protocol. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-txe.h | 2 + drivers/misc/mei/pci-txe.c | 101

Re: rb tree hrtimer lockup bug (found by perf_fuzzer)

2014-03-18 Thread Thomas Gleixner
On Tue, 18 Mar 2014, Vince Weaver wrote: > On Tue, 18 Mar 2014, Thomas Gleixner wrote: > > > On Tue, 18 Mar 2014, Vince Weaver wrote: > > > > > > > > The perf_fuzzer can quickly cause a machine to lockup with an hrtimer > > > related rb tree related oops. I've had a hard time debugging this

[PATCH] scsi: lpfc: lpfc_init: use kcalloc for allocating memory

2014-03-18 Thread Matei Oprea
It's easier to use kcalloc for allocating arrays. While at it also remove useless casting value. Signed-off-by: Matei Oprea Cc: ROSEdu Kernel Community --- drivers/scsi/lpfc/lpfc_init.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c

[PATCH 2/2] regmap: cache: Don't attempt to sync non-writeable registers.

2014-03-18 Thread Dylan Reid
In the regcache_default_sync, if a register isn't writeable, then _regmap_write will return an error and the rest of the sync will be aborted. Avoid this by checking if a register is writeable before trying to sync it. Signed-off-by: Dylan Reid --- drivers/base/regmap/regcache.c | 3 ++- 1

Re: [PATCH 2/3] bridge: trigger a bridge calculation upon port changes

2014-03-18 Thread Cong Wang
On Fri, Mar 14, 2014 at 6:39 PM, Luis R. Rodriguez wrote: > On Thu, Mar 13, 2014 at 11:26:25AM -0700, Cong Wang wrote: >> On Wed, Mar 12, 2014 at 8:15 PM, Luis R. Rodriguez >> wrote: >> > spin_unlock_bh(>br->lock); >> > + if (changed) >> > +

Re: [PATCH] staging: unisys: kmalloc/memset to kzalloc conversation

2014-03-18 Thread Silvio F.
Hi, > On Tue, Mar 18, 2014 at 09:07:51PM +0100, Silvio F wrote: > > This patch solves the Coccinelle warning: "kzalloc should be used > > instead of kmalloc/memset" > > > > This patch is a fixup for > > > > linux-next: 97a84f1203786985856a0d4b49b1d7cc387238ce > > "Staging: unisys:

[PATCH 1/2] regmap: cache: Step by stride in default sync.

2014-03-18 Thread Dylan Reid
The default sync operation was still assuming a stride of one, fix it to respect the reg_stride set in the map. Signed-off-by: Dylan Reid --- drivers/base/regmap/regcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/regmap/regcache.c

Re: can: c_can: Reduce interrupt load by 50%

2014-03-18 Thread Thomas Gleixner
On Tue, 18 Mar 2014, Joe Perches wrote: > On Tue, 2014-03-18 at 21:18 +0100, Thomas Gleixner wrote: > > The driver handles pointlessly TWO interrupts per packet. The reason > > is that it enables the status interrupt which fires for each rx and tx > > packet and it enables the per message object

Re: [PATCH] staging: unisys: kmalloc/memset to kzalloc conversation

2014-03-18 Thread Greg KH
On Tue, Mar 18, 2014 at 01:17:25PM -0700, Joe Perches wrote: > On Tue, 2014-03-18 at 21:07 +0100, Silvio F wrote: > > This patch solves the Coccinelle warning: "kzalloc should be used > > instead of kmalloc/memset" > [] > > diff --git a/drivers/staging/unisys/include/uisutils.h > >

Re: [PATCH] staging: unisys: kmalloc/memset to kzalloc conversation

2014-03-18 Thread Greg KH
On Tue, Mar 18, 2014 at 09:07:51PM +0100, Silvio F wrote: > This patch solves the Coccinelle warning: "kzalloc should be used > instead of kmalloc/memset" > > This patch is a fixup for > > linux-next: 97a84f1203786985856a0d4b49b1d7cc387238ce > "Staging: unisys: Replace kmalloc/memset

Re: [PATCH 5/8] watchdog: iTCO_wdt: Add support for v3 silicon

2014-03-18 Thread Lee Jones
> > > > Some new Atom's, eg Avoton and Bay Trail, have slightly different iTCO > > > > functionality: > > > > - The watchdog timer ticks at 1 second instead of .6 seconds > > > > > > > > - Some 8 and 16-bit registers were combined into 32-bit registers > > > > > > > > - Some registers were

Re: can: c_can: Reduce interrupt load by 50%

2014-03-18 Thread Joe Perches
On Tue, 2014-03-18 at 21:18 +0100, Thomas Gleixner wrote: > The driver handles pointlessly TWO interrupts per packet. The reason > is that it enables the status interrupt which fires for each rx and tx > packet and it enables the per message object interrupts as well. Are the message object

Re: [PATCH v3 3/3] Documentation: mfd: s2mps11: Describe S5M8767 and S2MPS14 clocks

2014-03-18 Thread Lee Jones
> Add bindings documentation for clocks on S5M8767 and S2MPS14 devices. > > Signed-off-by: Krzysztof Kozlowski > Cc: Tomasz Figa > Cc: devicet...@vger.kernel.org > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Reviewed-by: Tomasz Figa > --- >

Re: [PATCH v3 2/3] mfd: sec-core: Add of_compatible strings for clock MFD cells

2014-03-18 Thread Lee Jones
> Add of_compatible strings for S5M8767 and S2MPS14 clock MFD cells. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/sec-core.c |3 +++ > 1 file changed, 3 insertions(+) Applied with Tomasz' Reviewed-by. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │

Re: [PATCH 0/3] bridge: few enhancements and small fixes

2014-03-18 Thread Luis R. Rodriguez
On Wed, Mar 12, 2014 at 8:15 PM, Luis R. Rodriguez wrote: > Here's a few fixes I've been carrying around. I've now tested them > on as many systems / environments as I can. They should be ready. > > Luis R. Rodriguez (3): > bridge: preserve random init MAC address > bridge: trigger a bridge

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-03-18 Thread Greg KH
On Tue, Mar 18, 2014 at 10:11:20PM +0200, Valentina Manea wrote: > After migrating userspace code to libudev, converting usbip-host > to a device driver and various bug fixes and enhancements, USB/IP > is fully functional and can be moved out of staging. > > This patch series moves it as

Re: [PATCH 2/3] mfd: remove obsolete ti-ssp driver

2014-03-18 Thread Lee Jones
> The tnetv107x platform is getting removed, so this driver > is not needed any more. > > Signed-off-by: Arnd Bergmann > Acked-by: Sekhar Nori > Acked-by: Kevin Hilman > Cc: Samuel Ortiz > Cc: Lee Jones > --- > drivers/mfd/Kconfig | 11 -- > drivers/mfd/Makefile | 1 - >

Re: [PATCH v3] ASoC: cs42888: Add codec driver support

2014-03-18 Thread Brian Austin
On Tue, 18 Mar 2014, Mark Brown wrote: On Tue, Mar 18, 2014 at 12:08:02PM -0500, Paul Handrigan wrote: On Tue, 18 Mar 2014, Brian Austin wrote: Driver looks good to me. I think we should name it the cs42xx8 since this actually covers CS42448 and CS42888. The CS42888 is derived from the

[PATCH 01/11] clk: at91: rework main clk implementation

2014-03-18 Thread Boris BREZILLON
AT91 main clk a clk multiplexer and not a simple fixed rate clk as currently implemented. In some SoCs (sam9x5, sama5, sam9g45 families) this multiplexer can choose among 2 sources: an internal RC oscillator circuit and an oscillator using an external crystal. In other Socs (sam9260, rm9200

[PATCH 07/11] ARM: at91/dt: add xtal frequencies to sama5d3 xplained board

2014-03-18 Thread Boris BREZILLON
Define crystal properties of sama5d3 xplained board. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index

[PATCH 11/11] ARM: at91/dt: define sam9rlek crystal frequencies

2014-03-18 Thread Boris BREZILLON
Define at91sam9rlek crystal frequencies. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91sam9rlek.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts index cddb378..85b68b9 100644 ---

[PATCH 03/11] clk: at91: add slow clks driver

2014-03-18 Thread Boris BREZILLON
AT91 slow clk is a clk multiplexer. In some SoCs (sam9x5, sama5, sam9g45 families) this multiplexer can choose among 2 sources: an internal RC oscillator circuit and an oscillator using an external crystal. In other Socs (sam9260 family) the multiplexer source is hardcoded with the OSCSEL

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-03-18 Thread Joe Perches
On Tue, 2014-03-18 at 22:11 +0200, Valentina Manea wrote: > After migrating userspace code to libudev, converting usbip-host > to a device driver and various bug fixes and enhancements, USB/IP > is fully functional and can be moved out of staging. > > This patch series moves it as following: > *

[PATCH 10/11] ARM: at91/dt: move at91sam9rl SoC to the new slow/main clock models

2014-03-18 Thread Boris BREZILLON
Move at91sam9rl SoC to the new main/slow clock model. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91sam9rl.dtsi | 45 - 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi

[PATCH 09/11] ARM: at91/dt: define main xtal frequency of the at91sam9261ek board

2014-03-18 Thread Boris BREZILLON
Define at91sam9261ek main crystal frequency. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91sam9261ek.dts |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts index 2ce527e..7175986 100644 ---

[PATCH 05/11] ARM: at91/dt: move sama5d3 SoC to the new main/slow clk model

2014-03-18 Thread Boris BREZILLON
Replace the old main and clk definitions (fixed rate clk) by the new main and slow clk subtree definition (ck = mux(rc_osc, osc)). Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3.dtsi | 61 1 file changed, 55 insertions(+), 6 deletions(-)

[PATCH 00/11] ARM: at91: rework main and slow clk implementation

2014-03-18 Thread Boris BREZILLON
Hello, This series introduce the real clock model (as described in atmel datasheets) for slow and main clocks. The modifications introduced by this series break the DT compat, but, as the at91 CCF based implementation is pretty new (introduced in 3.14 only for sama5 eval boards) I think it won't

[PATCH 02/11] clk: at91: update main clk documentation

2014-03-18 Thread Boris BREZILLON
Update main clk documentation to match main clk implementation rework. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/clock/at91-clock.txt | 56 1 file changed, 47 insertions(+), 9 deletions(-) diff --git

[PATCH 04/11] clk: at91: add slow clk documentation

2014-03-18 Thread Boris BREZILLON
Add slow clk, and slow oscillators documentation. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/clock/at91-clock.txt | 72 1 file changed, 72 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt

[PATCH 08/11] ARM: at91/dt: move at91sam9261 SoC to the new main clock model

2014-03-18 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91sam9261.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9261.dtsi b/arch/arm/boot/dts/at91sam9261.dtsi index e21dda0..e00fabc 100644 --- a/arch/arm/boot/dts/at91sam9261.dtsi

[PATCH 06/11] ARM: at91/dt: add xtal frequencies to sama5d3xcm boards

2014-03-18 Thread Boris BREZILLON
Define crystal frequencies of sama5d3xcm boards. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3xcm.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi index f55ed07..b320fad 100644 ---

Re: [PATCH] staging: unisys: kmalloc/memset to kzalloc conversation

2014-03-18 Thread Joe Perches
On Tue, 2014-03-18 at 21:07 +0100, Silvio F wrote: > This patch solves the Coccinelle warning: "kzalloc should be used > instead of kmalloc/memset" [] > diff --git a/drivers/staging/unisys/include/uisutils.h > b/drivers/staging/unisys/include/uisutils.h [] > @@ -190,10 +190,7 @@ struct chaninfo {

Re: [PATCH v3 2/4] ASoC: simple-card: dynamically allocate the DAI link and properties

2014-03-18 Thread Mark Brown
On Sat, Mar 15, 2014 at 12:09:39PM +0100, Jean-Francois Moine wrote: > The DAI link array and the properties (fmt, sysclk slots) are > hard-coded for a single CPU / CODEC link. Sorry, I dropped this patch - it conflicts with Nicolin's patch to force the two ends of the DAI link to have the same

can: c_can: Reduce interrupt load by 50%

2014-03-18 Thread Thomas Gleixner
The driver handles pointlessly TWO interrupts per packet. The reason is that it enables the status interrupt which fires for each rx and tx packet and it enables the per message object interrupts as well. The status interrupt merily acks the TX/RX state and then the message object interrupt

Re: [PATCH v2] ASoC: simple-card: overwrite cpu_dai->fmt with codec_dai->fmt

2014-03-18 Thread Mark Brown
On Wed, Mar 12, 2014 at 11:02:11AM +0800, Nicolin Chen wrote: > The current simple-card driver separates the daimft for cpu_dai and codec_dai. > So we might get different values for them (0x4003 and 0x1003 for example): Since I really want to see some sort of fix in v3.15 that allows sensible

Re: [PATCH 0/2] PWM: atmel: few fixes

2014-03-18 Thread Thierry Reding
On Fri, Mar 14, 2014 at 03:19:07PM +0100, Alexandre Belloni wrote: > Hi, > > Here are a few improvement for pwm-atmel. The first patch makes the driver > actually respect the polarity. > > The second patch is solving an issue that I was trying to solve back in > october. > When the channel was

Re: [PATCH v2 2/2] intel_pstate: Set core to min P state during core offline

2014-03-18 Thread Srivatsa S. Bhat
On 03/19/2014 01:14 AM, Dirk Brandewie wrote: > On 03/18/2014 11:52 AM, Srivatsa S. Bhat wrote: >> On 03/18/2014 08:31 PM, Dirk Brandewie wrote: >>> On 03/17/2014 10:44 PM, Viresh Kumar wrote: On Sat, Mar 15, 2014 at 2:33 AM, wrote: > + >static int intel_pstate_cpu_init(struct

[PATCH 3/3] usbip: remove struct usb_device_id table

2014-03-18 Thread Valentina Manea
This was used back when usbip-host was an interface device driver; after the conversion to device driver, the table remained unused. Remove it in order to stop receiving a warning about it. Signed-off-by: Valentina Manea --- drivers/usb/usbip/stub_dev.c | 27 --- 1 file

Re: [PATCH 1/2] ATHEROS-ATL1E: Convert iounmap to pci_iounmap

2014-03-18 Thread David Miller
From: Peter Senna Tschudin Date: Tue, 18 Mar 2014 17:11:24 +0100 > Use pci_iounmap instead of iounmap when the virtual mapping was done > with pci_iomap. A simplified version of the semantic patch that finds this > issue is as follows: (http://coccinelle.lip6.fr/) ... > Signed-off-by: Peter

[PATCH 0/3] usbip: move usbip out of staging

2014-03-18 Thread Valentina Manea
After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and can be moved out of staging. This patch series moves it as following: * userspace code to tools/usb/usbip * kernel code to drivers/usb/usbip

[patch][wip] staging: unisys: kmalloc/memset move to kzalloc

2014-03-18 Thread Silvio F
Hi, I have followed this thread and have seen that not all parts was kcalloc'ized. Please review this patch and maybe include it. This patch is WIP because I have no hardware and can only do a compile test. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH] staging: unisys: kmalloc/memset to kzalloc conversation

2014-03-18 Thread Silvio F
This patch solves the Coccinelle warning: "kzalloc should be used instead of kmalloc/memset" This patch is a fixup for linux-next: 97a84f1203786985856a0d4b49b1d7cc387238ce "Staging: unisys: Replace kmalloc/memset with kzalloc" Signed-off-by: Silvio F ---

Re: [PATCH 3/9] perf hists: Add support for showing relative percentage

2014-03-18 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 10, 2014 at 04:43:54PM +0900, Namhyung Kim escreveu: > @@ -695,12 +695,17 @@ static void hists__remove_entry_filter(struct hists > *hists, struct hist_entry *h > if (h->filtered) > return; > > - ++hists->nr_entries; > - if (h->ms.unfolded) > +

Re: [PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-18 Thread Greg Kroah-Hartman
On Mon, Mar 17, 2014 at 09:17:35PM -0600, Joel Pelaez Jorge wrote: > This patch fixes the following checkpatch.pl issues caused by the new > function: ether_addr_copy > > Signed-off-by: Joel Pelaez Jorge > --- > diff --git a/drivers/staging/slicoss/slicoss.c > b/drivers/staging/slicoss/slicoss.c

Re: [PATCH v3 0/2] Add stop callback to the cpufreq_driver interface.

2014-03-18 Thread Srivatsa S. Bhat
On 03/19/2014 12:55 AM, Dirk Brandewie wrote: > On 03/18/2014 12:08 PM, Srivatsa S. Bhat wrote: >> On 03/18/2014 10:52 PM, dirk.brande...@gmail.com wrote: >>> From: Dirk Brandewie >>> >> >> I don't mean to nitpick, but generally its easier to deal with >> patchsets if you post the subsequent

Re: [PATCH] staging: dgap: Fixed sparse error: same symbol redeclared with different type

2014-03-18 Thread Greg KH
On Thu, Mar 13, 2014 at 03:02:59AM -0700, Masood Mehmood wrote: > sparse reported dgap_do_fep_load is redeclared with different type. while > fixing, I noticed __user attribute is used incorrectly in declaration. > There is no need to define __user for firware->data. > > Replaced the __user with

Re: [PATCH] staging: r8188eu: memory leak in rtw_free_cmd_obj if command is (_Set_Drv_Extra)

2014-03-18 Thread Greg KH
On Tue, Mar 18, 2014 at 10:25:27AM -0400, Wang, Xiaoming wrote: > pcmd->parmbuf->pbuf has been allocated if command is > GEN_CMD_CODE(_Set_Drv_Extra), > and it enqueued by rtw_enqueue_cmd. rtw_cmd_thread dequeue pcmd by > rtw_dequeue_cmd. > The memory leak happened on this branch "if( _FAIL ==

[GIT PULL] bcache changes for 3.15

2014-03-18 Thread Kent Overstreet
Jens, here's the bcache changes for 3.15. Lots of bugfixes, and some refactoring and cleanups. The following changes since commit 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2: Linux 3.14-rc3 (2014-02-16 13:30:25 -0800) are available in the git repository at:

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