Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Milosz Tanski
On Fri, Mar 27, 2015 at 12:30 PM, Andrew Morton wrote: > On Fri, 27 Mar 2015 08:58:54 -0700 Jeremy Allison wrote: > >> On Fri, Mar 27, 2015 at 02:01:59AM -0700, Andrew Morton wrote: >> > On Fri, 27 Mar 2015 01:48:33 -0700 Christoph Hellwig >> > wrote: >> > >> > > On Fri, Mar 27, 2015 at

Re: [PATCH] ramoops: make it possible to change mem_type param.

2015-03-30 Thread long.wanglong
On 2015/3/31 0:31, Tony Lindgren wrote: > * Wang Long [150327 02:43]: >> If we set ramoops.mem_type=1 in command line, the current >> code can not change mem_type to 1, because it is assigned >> to 0 in function ramoops_register_dummy. >> >> This patch make it possible to change mem_type

Re: [PATCH 2/7] clk: Add basic infrastructure for Pistachio clocks

2015-03-30 Thread Stephen Boyd
On 03/30/15 17:15, Andrew Bresticker wrote: > On Mon, Mar 30, 2015 at 4:59 PM, Stephen Boyd wrote: >> On 02/24/15 19:56, Andrew Bresticker wrote: >>> + >>> +void pistachio_clk_force_enable(struct pistachio_clk_provider *p, >>> + unsigned int *clk_ids, unsigned int num)

Re: [PATCH 2/6] clk: mediatek: Add initial common clock support for Mediatek SoCs.

2015-03-30 Thread Michael Turquette
Quoting Sascha Hauer (2015-03-30 10:40:41) > +static void mtk_pll_set_rate_regs(struct clk_hw *hw, u32 pcw, > + int postdiv) > +{ > + struct mtk_clk_pll *pll = to_mtk_clk_pll(hw); > + u32 con1, pd, val; > + int pll_en; > + > + /* set postdiv */ > + pd =

Re: [PATCH 7/7] x86/intel_rdt: Add CAT documentation and usage guide

2015-03-30 Thread Marcelo Tosatti
On Thu, Mar 26, 2015 at 10:29:27PM -0300, Marcelo Tosatti wrote: > On Thu, Mar 26, 2015 at 11:38:59AM -0700, Vikas Shivappa wrote: > > > > Hello Marcelo, > > Hi Vikas, > > > On Wed, 25 Mar 2015, Marcelo Tosatti wrote: > > > > >On Thu, Mar 12, 2015 at 04:16:07PM -0700, Vikas Shivappa wrote: > >

Re: [PATCH] mtd: nand: gpmi: fixup return type of wait_for_completion_timeout

2015-03-30 Thread Brian Norris
On Sun, Feb 08, 2015 at 11:37:33AM -0500, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int. The > return variable is renamed to reflect its use and the type adjusted to > unsigned long. > > Signed-off-by: Nicholas Mc Guire Pushed to l2-mtd.git.

RE: [v3 24/26] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-03-30 Thread Wu, Feng
> -Original Message- > From: Marcelo Tosatti [mailto:mtosa...@redhat.com] > Sent: Tuesday, March 31, 2015 7:56 AM > To: Wu, Feng > Cc: h...@zytor.com; t...@linutronix.de; mi...@redhat.com; x...@kernel.org; > g...@kernel.org; pbonz...@redhat.com; dw...@infradead.org; > j...@8bytes.org;

Re: [PATCH] spi: fsl-quadspi: cleanup wait_for_completion return handling

2015-03-30 Thread Brian Norris
On Tue, Feb 10, 2015 at 10:00:01PM -0600, Han Xu wrote: > On Sun, Feb 1, 2015 at 5:15 AM, Nicholas Mc Guire wrote: > > return type of wait_for_completion_timeout is unsigned long not int, this > > patch uses the return value of wait_for_completion_timeout in the condition > > directly rather than

Re: [1/4] powerpc/cache: add cache flush operation for various e500

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:12PM +0800, chenhui zhao wrote: > Various e500 core have different cache architecture, so they > need different cache flush operations. Therefore, add a callback > function cpu_flush_caches to the struct cpu_spec. The cache flush > operation for the specific kind of

Re: [PATCH] ftracetest: Do not use usleep

2015-03-30 Thread Pádraig Brady
On 31/03/15 01:48, Namhyung Kim wrote: > Hi Steve, > > On Mon, Mar 30, 2015 at 05:15:11PM -0400, Steven Rostedt wrote: >> On Thu, 26 Mar 2015 09:32:23 +0900 >> Namhyung Kim wrote: >> >>> The usleep is only provided on distros from Redhat so running ftracetest >>> on other distro resulted in

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-30 Thread Yinghai Lu
On Mon, Mar 30, 2015 at 3:54 PM, David Ahern wrote: > On 3/29/15 2:07 PM, Yinghai Lu wrote: >> >> [ 286.647560] PCI: scan_bus[/pci@300/pci@1/pci@0/pci@6] bus no 8 >> [ 286.921232] PCI: Claiming :00:01.0: Resource 15: >> 8001..8004afff [220c] >> [ 287.229190] PCI:

Re: [PATCH] ftracetest: Do not use usleep

2015-03-30 Thread Steven Rostedt
On Tue, 31 Mar 2015 09:48:55 +0900 Namhyung Kim wrote: > I understand your point. But this is not just cat, it needs grep and > wc also. So I think there should be scheduler event(s). > Yes, and cat opens 'trace', which will disable tracing, and if that happens before grep and wc, then those

Re: [PATCH] mtd: maps: sa1100-flash: remove incorrect __exit markups

2015-03-30 Thread Brian Norris
On Mon, Mar 09, 2015 at 11:10:41AM -0700, Dmitry Torokhov wrote: > Even if bus is not hot-pluggable, the devices can be unbound from the > driver via sysfs, so we should not be using __exit annotations on > remove() methods. The only exception is drivers registered with > platform_driver_probe()

Re: [PATCH] ftracetest: Do not use usleep

2015-03-30 Thread Namhyung Kim
Hi Steve, On Mon, Mar 30, 2015 at 05:15:11PM -0400, Steven Rostedt wrote: > On Thu, 26 Mar 2015 09:32:23 +0900 > Namhyung Kim wrote: > > > The usleep is only provided on distros from Redhat so running ftracetest > > on other distro resulted in failures due to the missing usleep. > > > > The

Re: [PATCH 6/8] mtd: replace CONFIG_8xx by CONFIG_PPC_8xx

2015-03-30 Thread Brian Norris
On Thu, Mar 12, 2015 at 04:24:04PM +0100, Christophe Leroy wrote: > Two config options exist to define powerpc MPC8xx: > * CONFIG_PPC_8xx > * CONFIG_8xx > In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as > communication co-processor > > arch/powerpc/platforms/Kconfig.cputype has contained

Re: [PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc

2015-03-30 Thread Chanwoo Choi
Hi, On 03/31/2015 09:31 AM, Alexandre Belloni wrote: > Hi, > > On 31/03/2015 at 08:38:30 +0900, Chanwoo Choi wrote : >>> diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt >>> b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt >>> index ab757b84daa7..ac2fcd6ff4b8 100644 >>> ---

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 31, 2015 at 09:27:30AM +0900, Namhyung Kim escreveu: > On Mon, Mar 30, 2015 at 12:13:03PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Mar 30, 2015 at 11:58:05AM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim escreveu: > > >

Re: [PATCH] mtd: nand: Prevent possible kernel lockup in nand_command()

2015-03-30 Thread Brian Norris
On Mon, Feb 23, 2015 at 05:26:39PM +0200, Roger Quadros wrote: > If a NAND device is not really present or pin muxes are not correctly > configured we can lock up the kernel waiting infinitely for NAND_STATUS > to be ready. > > This can be easily reproduced on TI's DRA7-evm board by booting it >

Re: [PATCH RFC] wimax/i2400m: fixup completion handling for resetting a device

2015-03-30 Thread Nicholas Mc Guire
On Fri, 27 Mar 2015, Sergei Shtylyov wrote: > Hello. > > On 03/20/2015 10:47 AM, Nicholas Mc Guire wrote: > >Sorry for late reply, I'm pretty busy these days. no hurry on this - this is cleanup work only > wait_for_completion_timeout return 0 (timeout) or >=1 (completion) so the

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Namhyung Kim
On Mon, Mar 30, 2015 at 12:13:03PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 30, 2015 at 11:58:05AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim escreveu: > > > But this makes every sample processing grabs and releases the lock so

[PATCH V2 1/3] Input: Add event types to DT bidnings header

2015-03-30 Thread Andrew Bresticker
Add #defines for the event types (EV_KEY, EV_SW, etc.) to the input DT bindings header so that they can be used in device-tree source files. Signed-off-by: Andrew Bresticker --- New for v2. --- include/dt-bindings/input/input.h | 14 ++ 1 file changed, 14 insertions(+) diff --git

Re: [Gta04-owner] [PATCH 2/3] TTY: add support for tty_slave devices.

2015-03-30 Thread NeilBrown
On Fri, 27 Mar 2015 07:09:56 -0400 Peter Hurley wrote: > On 03/25/2015 05:17 PM, NeilBrown wrote: > > On Wed, 25 Mar 2015 12:30:00 -0400 Peter Hurley > > wrote: > > > >> On 03/18/2015 01:58 AM, NeilBrown wrote: > >> > >>> + * A "tty-slave" is a device permanently attached to a particularly >

Re: [PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-30 Thread Stephen Boyd
On 03/30/15 11:57, Andy Shevchenko wrote: > This patch converts the code to use rational best approximation algorithm > which > is more precise. > > Suggested-by: Stephen Boyd > Signed-off-by: Andy Shevchenko > --- > drivers/clk/Kconfig | 3 +-- >

Re: [PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc

2015-03-30 Thread Alexandre Belloni
Hi, On 31/03/2015 at 08:38:30 +0900, Chanwoo Choi wrote : > > diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt > > b/Documentation/devicetree/bindings/rtc/s3c-rtc.txt > > index ab757b84daa7..ac2fcd6ff4b8 100644 > > --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.txt > > +++

[PATCH V2 3/3] Input: Add driver for a generic ADC keypad

2015-03-30 Thread Andrew Bresticker
Add a polled input driver for a keypad in which the buttons are connected in resistor ladders to an ADC. The IIO framework is used to claim and read the ADC channels. Signed-off-by: Andrew Bresticker Cc: Jonathan Cameron --- Changes from v1: - Made linux,input-type a required property. ---

[PATCH V2 2/3] Input: Add binding document for ADC keypad

2015-03-30 Thread Andrew Bresticker
Add a binding document for a generic ADC keypad. Buttons on an ADC keypad are connected in a resistor ladder to an ADC. The binding describes the mapping of ADC channel and voltage ranges to buttons. Note that this binding only describes simple ADC keypads where only a single button press can be

Re: [PATCH 1/2] drivers/rtc/rtc-s3c.c: Integrate Exynos3250 into S3C6410

2015-03-30 Thread Alexandre Belloni
nitpick: I would prefer rtc: rtc-s3c instead of drivers/rtc/rtc-s3c.c On 30/03/2015 at 17:19:32 +0200, Krzysztof Kozlowski wrote : > There are now no differences between RTC on Exynos3250 and S3C6410. > Merge everything into one so duplicated code could be removed. > > Signed-off-by: Krzysztof

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Namhyung Kim
Hi Arnaldo, On Mon, Mar 30, 2015 at 11:02:39AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 30, 2015 at 10:06:35PM +0900, Namhyung Kim escreveu: > > On Mon, Mar 30, 2015 at 9:56 PM, Jiri Olsa wrote: > > > On Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim wrote: > > >> > @@ -380,10

Re: Slab infrastructure for bulk object allocation and freeing V2

2015-03-30 Thread Jesper Dangaard Brouer
On Mon, 30 Mar 2015 09:31:19 -0500 (CDT) Christoph Lameter wrote: > After all of the earlier discussions I thought it would be better to > first get agreement on the basic way to allow implementation of the > bulk alloc in the common slab code. So this is a revision of the initial > proposal and

Re: [PATCH 2/7] clk: Add basic infrastructure for Pistachio clocks

2015-03-30 Thread Andrew Bresticker
On Mon, Mar 30, 2015 at 4:59 PM, Stephen Boyd wrote: > On 02/24/15 19:56, Andrew Bresticker wrote: >> + >> +void pistachio_clk_force_enable(struct pistachio_clk_provider *p, >> + unsigned int *clk_ids, unsigned int num) >> +{ >> + unsigned int i; >> + int err;

Re: [PATCH 00/25] treewide: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
On Mon, 2015-03-30 at 17:07 -0700, Casey Schaufler wrote: > On 3/30/2015 4:45 PM, Joe Perches wrote: > > Joe Perches (25): > > arm: Use bool function return values of true/false not 1/0 [etc...] > Why, and why these in particular? bool functions are probably better returning bool values

Re: [PATCH 00/25] treewide: Use bool function return values of true/false not 1/0

2015-03-30 Thread Casey Schaufler
On 3/30/2015 4:45 PM, Joe Perches wrote: > Joe Perches (25): > arm: Use bool function return values of true/false not 1/0 > arm64: Use bool function return values of true/false not 1/0 > hexagon: Use bool function return values of true/false not 1/0 > ia64: Use bool function return values

Re: [PATCH 0/7] clk: Common clock support for IMG Pistachio

2015-03-30 Thread Stephen Boyd
On 02/24/15 19:56, Andrew Bresticker wrote: > This series adds common clock support for the IMG Pistachio SoC. > Pistachio has two clock controllers (core and peripheral) and two > general control blocks (peripheral and top) which also contain > several clock gates. Like the recently submitted

Re: [PATCH 2/7] clk: Add basic infrastructure for Pistachio clocks

2015-03-30 Thread Stephen Boyd
On 02/24/15 19:56, Andrew Bresticker wrote: > + > +void pistachio_clk_force_enable(struct pistachio_clk_provider *p, > + unsigned int *clk_ids, unsigned int num) > +{ > + unsigned int i; > + int err; > + > + for (i = 0; i < num; i++) { > + struct

RE: [PATCHv3 0/1] Intel Quark X1000 DTS thermal driver

2015-03-30 Thread Ong, Boon Leong
Dear maintainer, gentle ping if this driver is ready for more review/inclusion into Linux v4.1 ? Thank you very much. >-Original Message- >From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >ow...@vger.kernel.org] On Behalf Of Ong Boon Leong >Sent: Monday, March 9, 2015 3:43

Re: [PATCH v7 1/9] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-30 Thread Chanwoo Choi
Hi Mark, On 03/31/2015 01:09 AM, Mark Rutland wrote: > Hi, > > On Wed, Mar 18, 2015 at 12:17:28AM +, Chanwoo Choi wrote: >> This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on >> Octal core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 >> supports >>

Re: [v3 24/26] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-03-30 Thread Marcelo Tosatti
On Mon, Mar 30, 2015 at 04:46:55AM +, Wu, Feng wrote: > > > > -Original Message- > > From: Marcelo Tosatti [mailto:mtosa...@redhat.com] > > Sent: Saturday, March 28, 2015 3:30 AM > > To: Wu, Feng > > Cc: h...@zytor.com; t...@linutronix.de; mi...@redhat.com; x...@kernel.org; > >

[PATCH 02/25] arm64: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/arm64/include/asm/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/dma-mapping.h b/arch/arm64/include/asm/dma-mapping.h index 6932bb5..9437e3d 100644 ---

[PATCH 03/25] hexagon: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/hexagon/include/asm/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/hexagon/include/asm/dma-mapping.h b/arch/hexagon/include/asm/dma-mapping.h index 1696542..8d22ba5

[PATCH 04/25] ia64: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/ia64/include/asm/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/dma-mapping.h b/arch/ia64/include/asm/dma-mapping.h index cf3ab7e..1b0b192 100644 ---

[PATCH 09/25] tile: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/tile/include/asm/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/tile/include/asm/dma-mapping.h b/arch/tile/include/asm/dma-mapping.h index 1eae359..b150111 100644 ---

[PATCH 07/25] s390: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/s390/include/asm/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/include/asm/dma-mapping.h b/arch/s390/include/asm/dma-mapping.h index 709955d..9d39596 100644 ---

[PATCH 05/25] mips: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/mips/include/asm/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/dma-mapping.h b/arch/mips/include/asm/dma-mapping.h index 06412aa..fd1b4a1 100644 ---

[PATCH 01/25] arm: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/arm/include/asm/dma-mapping.h | 8 arch/arm/include/asm/kvm_emulate.h | 2 +- arch/arm/mach-omap2/powerdomain.c | 14 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git

[PATCH 13/25] csiostor: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- drivers/scsi/csiostor/csio_scsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/csiostor/csio_scsi.c b/drivers/scsi/csiostor/csio_scsi.c index 2c4562d..5754fb6 100644 ---

Re: [RFC PATCH 07/11] IB/Verbs: Use management helper has_mcast() and, cap_mcast() for mcast-check

2015-03-30 Thread ira.weiny
On Mon, Mar 30, 2015 at 06:20:48PM +0200, Michael Wang wrote: > On 03/30/2015 06:11 PM, Doug Ledford wrote: > > On Fri, 2015-03-27 at 16:46 +0100, Michael Wang wrote: > >> Introduce helper has_mcast() and cap_mcast() to help us check if an > >> IB device or it's port support Multicast. > > This

[PATCH 11/25] x86: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/x86/include/asm/archrandom.h | 2 +- arch/x86/include/asm/dma-mapping.h | 2 +- arch/x86/include/asm/kvm_para.h| 2 +- arch/x86/kvm/cpuid.h | 2 +- arch/x86/kvm/vmx.c | 72

[PATCH 10/25] unicore32: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/unicore32/include/asm/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/unicore32/include/asm/dma-mapping.h b/arch/unicore32/include/asm/dma-mapping.h index 366460a..86f7962

[PATCH 18/25] rcu: tree_plugin: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- kernel/rcu/tree_plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h index f2af14d..ea342bb 100644 --- a/kernel/rcu/tree_plugin.h +++

[PATCH 19/25] sched: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Update the other sets of ret in try_wait_for_completion. Signed-off-by: Joe Perches --- kernel/sched/auto_group.h | 2 +- kernel/sched/completion.c | 16 +--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git

[PATCH 14/25] dcache: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- fs/dcache.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index d99736a..44b19a4 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -629,16 +629,16 @@ static

[PATCH 21/25] slub: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- mm/slub.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 90227ad..520354d 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -376,7 +376,7 @@ static inline bool

[PATCH] linux/cpumask.h: add typechecking to cpumask_test_cpu

2015-03-30 Thread Rasmus Villemoes
The Subtlety (1) referred to vanished with 6ba2ef7baac2 ("cpumask: Move deprecated functions to end of header."). That used to mention some suboptimal code generation by a, by now, rather ancient gcc. With gcc 4.7, I don't see any change in the generated code by making it a static inline, so let's

[PATCH 23/25] netfilter: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- net/ipv4/netfilter/ipt_ah.c | 2 +- net/netfilter/ipset/ip_set_hash_ip.c | 8 net/netfilter/ipset/ip_set_hash_ipmark.c | 8 net/netfilter/ipset/ip_set_hash_ipport.c

[PATCH 20/25] ftrace: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- kernel/trace/ftrace.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 5a2e0b5..650043b 100644 --- a/kernel/trace/ftrace.c +++

[PATCH 24/25] security: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- security/apparmor/file.c | 8 security/apparmor/policy.c | 10 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/security/apparmor/file.c b/security/apparmor/file.c index

[PATCH 15/25] nfsd: nfs4state: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- fs/nfsd/nfs4state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 26e9baa..fbb8dcb 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@

[PATCH 16/25] include/linux: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- include/linux/blkdev.h | 2 +- include/linux/ide.h | 2 +- include/linux/kgdb.h | 2 +- include/linux/mfd/db8500-prcmu.h | 2 +- include/linux/mm.h

[PATCH 08/25] sparc: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/sparc/mm/init_64.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 4ca0d6b..f7c4832 100644 --- a/arch/sparc/mm/init_64.c +++

[PATCH 06/25] powerpc: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- arch/powerpc/include/asm/dcr-native.h| 2 +- arch/powerpc/include/asm/dma-mapping.h | 4 ++-- arch/powerpc/include/asm/kvm_book3s_64.h | 4 ++-- arch/powerpc/sysdev/dcr.c| 2 +- 4 files changed,

[PATCH 12/25] virtio_console: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- drivers/char/virtio_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index 72d7028..50754d20 100644 ---

[PATCH 17/25] sound: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- include/sound/soc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sound/soc.h b/include/sound/soc.h index fcb312b..5ca7ec0 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h

[PATCH 22/25] bridge: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- net/bridge/br_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index b46fa0c..5aba35e 100644 --- a/net/bridge/br_private.h +++

[PATCH 25/25] sound: wm5100-tables: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Use the normal return values for bool functions Signed-off-by: Joe Perches --- sound/soc/codecs/wm5100-tables.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/soc/codecs/wm5100-tables.c b/sound/soc/codecs/wm5100-tables.c index e239f4b..9e987cf 100644 ---

[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
Joe Perches (25): arm: Use bool function return values of true/false not 1/0 arm64: Use bool function return values of true/false not 1/0 hexagon: Use bool function return values of true/false not 1/0 ia64: Use bool function return values of true/false not 1/0 mips: Use bool function

Re: [PATCH 2/3] TTY: add support for tty_slave devices.

2015-03-30 Thread NeilBrown
On Tue, 24 Mar 2015 11:31:55 +0100 Jiri Slaby wrote: > Hi, > > On 03/18/2015, 06:58 AM, NeilBrown wrote: > > --- /dev/null > > +++ b/drivers/tty/slave/tty_slave_core.c > > @@ -0,0 +1,136 @@ > > ... > > > +static int tty_slave_match(struct device *dev, struct device_driver *drv) > > +{ > > +

Re: [BUG] perf script segfault

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 04:51:34PM -0600, David Ahern escreveu: > Surprised Stephane has not hit this one yet: > > $ perf record -e -a | perf script > Segmentation fault (core dumped) > > It's the second one that core dumps. > > $ gdb perf core.16704 > ... > [New LWP 16704] > [Thread debugging

Re: [PATCH 2/2] ARM: dts: s3c-rtc: Use s3c6410-rtc instead of exynos3250-rtc

2015-03-30 Thread Chanwoo Choi
On 03/31/2015 12:19 AM, Krzysztof Kozlowski wrote: > Mark "samsung,exynos3250-rtc" compatible as deprecated because it > duplicates the "samsung,s3c6410-rtc". Use "samsung,s3c6410-rtc" on > Exynos3250 and Exynos4415 boards. > > Signed-off-by: Krzysztof Kozlowski > --- >

Re: [PATCH 1/2] drivers/rtc/rtc-s3c.c: Integrate Exynos3250 into S3C6410

2015-03-30 Thread Chanwoo Choi
On 03/31/2015 12:19 AM, Krzysztof Kozlowski wrote: > There are now no differences between RTC on Exynos3250 and S3C6410. > Merge everything into one so duplicated code could be removed. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/rtc/rtc-s3c.c | 14 +- > 1 file changed, 1

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Milosz Tanski
On Mon, Mar 30, 2015 at 4:26 PM, Andrew Morton wrote: > On Mon, 30 Mar 2015 00:36:04 -0700 Christoph Hellwig > wrote: > >> On Fri, Mar 27, 2015 at 08:58:54AM -0700, Jeremy Allison wrote: >> > The problem with the above is that we can't tell the difference >> > between pread2() returning a short

[PATCH 1/8] module: add extra argument for parse_params() callback

2015-03-30 Thread Dmitry Torokhov
From: "Luis R. Rodriguez" This adds an extra argument onto parse_params() to be used as a way to make the unused callback a bit more useful and generic by allowing the caller to pass on a data structure of its choice. An example use case is to allow us to easily make module parameters for every

[PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-03-30 Thread Dmitry Torokhov
Some devices take a long time when initializing, and not all drivers are suited to initialize their devices when they are open. For example, input drivers need to interrogate their devices in order to publish device's capabilities before userspace will open them. When such drivers are compiled

[PATCH 8/8] driver-core: allow enabling async probing for all modules and builtins

2015-03-30 Thread Dmitry Torokhov
From: "Luis R. Rodriguez" Folks wishing to test enabling async probe for all built-in drivers and/or for all modules can use __DEBUG__kernel_force_builtin_async_probe or __DEBUG__kernel_force_modules_async_probe kernel parameters. Activating either one will taint your kernel. Signed-off-by:

linux-next: manual merge of the arm64 tree with the arm-soc tree

2015-03-30 Thread Stephen Rothwell
Hi Catalin, Today's linux-next merge of the arm64 tree got a conflict in arch/arm64/configs/defconfig between commit c4bb799588f6 ("arm64: Add support for Spreadtrum's Sharkl64 Platform in Kconfig and defconfig") from the arm-soc tree and commit 475bfd3d67fa ("arm64: defconfig: updates for 4.1")

[PATCH 7/8] module: add core_param_unsafe

2015-03-30 Thread Dmitry Torokhov
Similarly to module_param_unsafe(), add the helper to be used by core code wishing to expose unsafe debugging or testing parameters that taint the kernel when set. Acked-by: Rusty Russell Signed-off-by: Dmitry Torokhov --- include/linux/moduleparam.h | 9 + 1 file changed, 9

[PATCH 5/8] driver-core: platform_driver_probe() must probe synchronously

2015-03-30 Thread Dmitry Torokhov
Because platform_driver_probe() checks, after trying to register driver, if there are any devices that driver successfully bound to, driver's probe routine must be run synchronously. Signed-off-by: Dmitry Torokhov --- drivers/base/platform.c | 13 + 1 file changed, 13 insertions(+)

[PATCH 4/8] driver-core: enable drivers to opt-out of async probe

2015-03-30 Thread Dmitry Torokhov
From: "Luis R. Rodriguez" There are drivers that can not be probed asynchronously. One such group is platform drivers registered with platform_driver_probe(), which expects driver's probe routine be discarded after the driver has been registered and initial binding attempt executed. Also

[PATCH 6/8] amd64_edac: enforce synchronous probe

2015-03-30 Thread Dmitry Torokhov
From: "Luis R. Rodriguez" While testing asynchronous PCI probe on this driver I noticed it failed because the driver checks if any of the PCI devices have been bound to the driver after registering it, which obviously does not work if probing is asynchronous. While there are patches and

[PATCH 3/8] driver-core: add driver module asynchronous probe support

2015-03-30 Thread Dmitry Torokhov
From: "Luis R. Rodriguez" Some init systems may wish to express the desire to have device drivers run their probe() code asynchronously. This implements support for this and allows userspace to request async probe as a preference through a generic shared device driver module parameter,

[PATCH v2 0/8] Asynchronous device/driver probing support

2015-03-30 Thread Dmitry Torokhov
This series is a combination of changes proposed by Luis a couple months ago and implementation used by Chrome OS. The issue we are trying to solve here is "slow" devices and drivers spending "too much time" in their probe() methods and it affects: - overall kernel boot process when drivers are

[PATCH] irq: Remove unnecessary warning with affinity_hint

2015-03-30 Thread Seiichi Ikarashi
Hi Thomas, If you turn off a PCI device whose driver has set affinity_hint, you will get warning message which does _not_ explain the reason why it appeared from the user's point of view. # echo 0 > /sys/bus/pci/slots/65/power Apr 28 20:29:39 localhost kernel: [ cut here

[PATCH V2 2/3] pinctrl: Add Pistachio SoC pin control binding document

2015-03-30 Thread Andrew Bresticker
Add a device-tree binding document for the pin controller present on the IMG Pistachio SoC. Signed-off-by: Damien Horsley Signed-off-by: Ezequiel Garcia Signed-off-by: Andrew Bresticker Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala --- Changes from v1: -

[PATCH V2 0/3] pinctrl: Support for IMG Pistachio

2015-03-30 Thread Andrew Bresticker
This series adds support for the system pin and GPIO controller on the IMG Pistachio SoC. Pistachio's system pin controller manages 99 pins, 90 of which are MFIOs which can be muxed between multiple functions or used as GPIOs. The GPIO control for the 90 MFIOs is broken up into banks of 16.

[PATCH V2 3/3] pinctrl: Add Pistachio SoC pin control driver

2015-03-30 Thread Andrew Bresticker
Add a driver for the pin controller present on the IMG Pistachio SoC. This driver provides pinmux and pinconfig operations as well as GPIO and IRQ chips for the GPIO banks. Signed-off-by: Damien Horsley Signed-off-by: Govindraj Raja Signed-off-by: Ezequiel Garcia Signed-off-by: Kevin Cernekee

[PATCH V2 1/3] pinctrl: Document "function" + "pins" pinmux binding

2015-03-30 Thread Andrew Bresticker
Currently the "function" + "groups" combination is the only documented format for pinmux nodes, although many drivers use "function" + "pins". Update the generic pinctrl binding to include the "function" + "pins" combination as well. Signed-off-by: Andrew Bresticker Cc: Rob Herring Cc: Pawel

Re: restart_syscall: use freezable blocking call

2015-03-30 Thread Rafael J. Wysocki
CC more maintainers. On Monday, March 30, 2015 03:43:51 PM Andrew Morton wrote: > On Mon, 30 Mar 2015 11:07:35 + (GMT) Maninder Singh > wrote: > > > Hello All, > > > > Avoid waking up every thread sleeping in a restart_syscall call during > > suspend and resume by calling a freezable

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Milosz Tanski
On Mon, Mar 30, 2015 at 3:36 AM, Christoph Hellwig wrote: > On Fri, Mar 27, 2015 at 08:58:54AM -0700, Jeremy Allison wrote: >> The problem with the above is that we can't tell the difference >> between pread2() returning a short read because the pages are not >> in cache, or because someone

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Milosz Tanski
On Mon, Mar 30, 2015 at 6:57 PM, Andrew Morton wrote: > On Mon, 30 Mar 2015 18:49:06 -0400 Milosz Tanski wrote: > >> > A fincore+pread solution that blocks is simply unsafe >> > to use for us. We'll have to stay with the threadpool :-(. >> >> We're getting data from a network filesystem Ceph in

[PATCH V2] Staging: rtl8192 Clean up function definition

2015-03-30 Thread Eddie Kovsky
Change function definition to static, move the function further up in the file, and delete the function prototype. This fixes the following warning generated by sparse: drivers/staging/rtl8192u/r8192U_core.c:1970:6: warning: symbol 'rtl8192_update_ratr_table' was not declared. Should it be

[PATCH v2 3/4] staging/nvec: remove old code

2015-03-30 Thread Andrey Danin
Signed-off-by: Andrey Danin --- Changes for v2: - it is initial verion --- drivers/staging/nvec/nvec.c | 211 1 file changed, 211 deletions(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index f4c5527..f39f516 100644 ---

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Andrew Morton
On Mon, 30 Mar 2015 18:49:06 -0400 Milosz Tanski wrote: > > A fincore+pread solution that blocks is simply unsafe > > to use for us. We'll have to stay with the threadpool :-(. > > We're getting data from a network filesystem Ceph in our case, but it > could be pNFS. In many cases those

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-30 Thread David Ahern
On 3/29/15 2:07 PM, Yinghai Lu wrote: [ 286.647560] PCI: scan_bus[/pci@300/pci@1/pci@0/pci@6] bus no 8 [ 286.921232] PCI: Claiming :00:01.0: Resource 15: 8001..8004afff [220c] [ 287.229190] PCI: Claiming :01:00.0: Resource 15: 8001..8004afff

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Milosz Tanski
On Mon, Mar 30, 2015 at 1:19 PM, Jeremy Allison wrote: > On Mon, Mar 30, 2015 at 12:36:04AM -0700, Christoph Hellwig wrote: >> On Fri, Mar 27, 2015 at 08:58:54AM -0700, Jeremy Allison wrote: >> > The problem with the above is that we can't tell the difference >> > between pread2() returning a

[BUG] perf script segfault

2015-03-30 Thread David Ahern
Surprised Stephane has not hit this one yet: $ perf record -e -a | perf script Segmentation fault (core dumped) It's the second one that core dumps. $ gdb perf core.16704 ... [New LWP 16704] [Thread debugging using libthread_db enabled] Using host libthread_db library

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Andrew Morton
On Mon, 30 Mar 2015 18:40:16 -0400 Milosz Tanski wrote: > On Mon, Mar 30, 2015 at 2:54 PM, Andrew Morton > wrote: > > On Mon, 30 Mar 2015 00:40:20 -0700 Christoph Hellwig > > wrote: > > > >> On Fri, Mar 27, 2015 at 10:04:11AM -0700, Andrew Morton wrote: > >> > mm... I don't think we should

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Milosz Tanski
On Mon, Mar 30, 2015 at 4:32 PM, Jeremy Allison wrote: > On Mon, Mar 30, 2015 at 01:26:25PM -0700, Andrew Morton wrote: >> >> cons: >> >> d) fincore() is more expensive >> >> e) fincore() will very occasionally block > > The above is the killer for Samba. If fincore > returns true but when we

Re: restart_syscall: use freezable blocking call

2015-03-30 Thread Andrew Morton
On Mon, 30 Mar 2015 11:07:35 + (GMT) Maninder Singh wrote: > Hello All, > > Avoid waking up every thread sleeping in a restart_syscall call during > suspend and resume by calling a freezable blocking call. > Previous patches modified the freezer to avoid sending wakeups to threads >

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Milosz Tanski
On Mon, Mar 30, 2015 at 2:54 PM, Andrew Morton wrote: > On Mon, 30 Mar 2015 00:40:20 -0700 Christoph Hellwig > wrote: > >> On Fri, Mar 27, 2015 at 10:04:11AM -0700, Andrew Morton wrote: >> > mm... I don't think we should be adding placeholders to the kernel API >> > to support code which

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Milosz Tanski
On Mon, Mar 30, 2015 at 4:37 PM, Andrew Morton wrote: > On Mon, 30 Mar 2015 13:32:27 -0700 Jeremy Allison wrote: > >> On Mon, Mar 30, 2015 at 01:26:25PM -0700, Andrew Morton wrote: >> > >> > cons: >> > >> > d) fincore() is more expensive >> > >> > e) fincore() will very occasionally block >> >>

Re: [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check

2015-03-30 Thread Jason Gunthorpe
On Mon, Mar 30, 2015 at 05:10:12PM +0200, Michael Wang wrote: > I found that actually we don't have to touch this one which > only used by HW driver currently. I'm having a hard time understanding this, the code in question was in net/sunrpc/xprtrdma/svc_rdma_recvfrom.c Which is the NFS ULP,

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