[PATCH 01/15] i386: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: H. Peter Anvin --- arch/x86/syscalls/syscall_32.tbl | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index 96bc506ac6de..d6b867921612 100644 ---

Re: [PATCH v2] perf list: Fix --raw-dump argument

2014-04-11 Thread Jiri Olsa
On Thu, Apr 10, 2014 at 08:42:33PM -0400, Ramkumar Ramachandra wrote: > While adding usage information, 44d742e (perf list: Add usage, > 2013-10-30) broke > > $ perf list --raw-dump > > Fix this by making raw-dump a subcommand. you need to update perf-completion.sh now also please add it to

Re: [PATCH 1/3] perf bench: Set more defaults in the 'numa' suite

2014-04-11 Thread Jiri Olsa
On Thu, Apr 10, 2014 at 08:31:32PM -0400, Ramkumar Ramachandra wrote: > Jiri Olsa wrote: > > ### > > # 1 task will execute (on 1 nodes, 4 CPUs): > > # -1x 1MB global shared mem operations > > # -1x 0MB process shared mem operations > > # -1x 0MB thread

[PATCH 05/15] arm64: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Catalin Marinas --- arch/arm64/include/asm/unistd32.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index faa0e1ce59df..c8d8fc17bd5a 100644 ---

[PATCH 07/15] mips: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Ralf Baechle --- arch/mips/include/uapi/asm/unistd.h | 15 +-- arch/mips/kernel/scall32-o32.S | 1 + arch/mips/kernel/scall64-64.S | 1 + arch/mips/kernel/scall64-n32.S | 1 + arch/mips/kernel/scall64-o32.S

[PATCH 02/15] arm: __NR_syscalls fix

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Russell King --- arch/arm/include/asm/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 43876245fc57..c4cd2060cac2 100644 ---

[PATCH 09/15] parisc: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Helge Deller --- arch/parisc/include/uapi/asm/unistd.h | 3 ++- arch/parisc/kernel/syscall_table.S| 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/parisc/include/uapi/asm/unistd.h

[PATCH 08/15] ia64: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Tony Luck --- arch/ia64/include/asm/unistd.h | 2 +- arch/ia64/include/uapi/asm/unistd.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index

[PATCH 12/15] s390: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Martin Schwidefsky --- arch/s390/include/uapi/asm/unistd.h | 3 ++- arch/s390/kernel/compat_wrapper.c | 1 + arch/s390/kernel/syscalls.S | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH 06/15] m68k: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Geert Uytterhoeven --- arch/m68k/include/asm/unistd.h | 2 +- arch/m68k/include/uapi/asm/unistd.h | 1 + arch/m68k/kernel/syscalltable.S | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH] ASoC: fsl_sai: Use FSL_SAI_xXR() and regmap_update_bits() to simplify code

2014-04-11 Thread Nicolin Chen
By doing this, the driver can drop around 50 lines and become neater. Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_sai.c | 101 1 file changed, 25 insertions(+), 76 deletions(-) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c

Re: [PATCH v7 0/4] Add modules for realtek USB card reader

2014-04-11 Thread Lee Jones
> > From: Roger Tseng > > > > This patchset adds modules to support Realtek USB vendor specific class > > flash > > card reader: one base module in MFD subsystem and two host modules in both > > mmc > > and memstick subsystems. The architecture is similar to rtsx_pci. > > > > This work is

[PATCH 13/15] sparc: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: David S. Miller --- arch/sparc/include/uapi/asm/unistd.h | 3 ++- arch/sparc/kernel/systbls_32.S | 1 + arch/sparc/kernel/systbls_64.S | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 11/15] s390: NR_syscalls fix

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Martin Schwidefsky --- arch/s390/include/uapi/asm/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/include/uapi/asm/unistd.h b/arch/s390/include/uapi/asm/unistd.h index 5eb5c9ddb120..57194268fe63

[PATCH 14/15] xtensa: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Chris Zankel --- arch/xtensa/include/uapi/asm/unistd.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/xtensa/include/uapi/asm/unistd.h b/arch/xtensa/include/uapi/asm/unistd.h index b9395529f02d..8883fc877c5c

Re: [RFC PATCH v2] Use kernfs_break_active_protection() for device online store callbacks

2014-04-11 Thread Tejun Heo
Hello, On Fri, Apr 11, 2014 at 12:10:45PM +0800, Li Zhong wrote: > @@ -439,6 +439,7 @@ static ssize_t online_store(struct device *dev, struct > device_attribute *attr, > { > bool val; > int ret; > + struct kernfs_node *kn; > > ret = strtobool(buf, ); > if (ret < 0)

[PATCH 15/15] asm-generic: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Arnd Bergmann --- include/uapi/asm-generic/unistd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 6db66783d268..333640608087 100644 ---

[PATCH 10/15] powerpc: add renameat2 syscall

2014-04-11 Thread Miklos Szeredi
From: Miklos Szeredi Signed-off-by: Miklos Szeredi Cc: Benjamin Herrenschmidt --- arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] ahci: disable DEVSLP for Intel Valleyview

2014-04-11 Thread Tejun Heo
On Fri, Apr 11, 2014 at 12:14:14PM +0200, Bartlomiej Zolnierkiewicz wrote: > You most likely need to rebase your changes on top of the aforementioned > patch (Tejun?). Waiting for -rc1 to drop before applying patches. I can resolve the conflict later when applying. Please go ahead and post the

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Sekhar Nori
On Friday 11 April 2014 03:12 PM, Vinod Koul wrote: > On Fri, Apr 11, 2014 at 12:38:00PM +0300, Peter Ujfalusi wrote: >> On 04/11/2014 11:56 AM, Sekhar Nori wrote: >>> On Friday 11 April 2014 02:20 PM, Peter Ujfalusi wrote: On 04/11/2014 11:17 AM, Sekhar Nori wrote: > On Tuesday 01 April

Re: Cryogenic: Enabling Power-Aware Applications on Linux

2014-04-11 Thread Pavel Machek
Hi! > Cryogenic is the result of my Master's Thesis, completed at the Technical > University > of Munich under the supervision of Christian Grothoff. You can find more > information > about Cryogenic at https://gnunet.org/cryogenic Do you have any measurements how much power it actually saves?

[PATCH 0/3] ppc:Set runlatch bits correctly for offline threads and vcpus

2014-04-11 Thread Preeti U Murthy
The runlatch bits with their value indicated by CTRL_RUNLATCH are set and cleared in the SPRN_CTRL registers to indicate a busy and idle cpu respectively. This is currently being done in the cpuidle path of the host. But needs to be taken care of in hotplug and kvm scenarios. This patchset is

Re: [PATCH] ahci: disable DEVSLP for Intel Valleyview

2014-04-11 Thread Bartlomiej Zolnierkiewicz
Hi, On Thursday, April 10, 2014 02:58:54 AM Jacob Pan wrote: > On Intel Valleyview SoC, SATA device sleep is not reliable. When > DEVSLP is attempted on certain SSDs, port_devslp write would fail > and result in malfunction of AHCI controller. AHCI controller may > be not shown in PCI

Re: [PATCH 0/2] introduce devm_mdiobus_alloc/devm_mdiobus_free

2014-04-11 Thread Grygorii Strashko
Hi Florian, On 04/11/2014 07:55 AM, Florian Fainelli wrote: > Hi Grygorii, > > 2014-04-04 6:40 GMT-07:00 Grygorii Strashko : >> Introduce a resource managed devm_mdiobus_alloc()/devm_mdiobus_free() >> to automatically clean up MDIO bus alocations made by MDIO drivers, >> thus leading to

Re: [PATCH 2/2] [RFC v2 with seqcount] reservation: add suppport for read-only access using rcu

2014-04-11 Thread Thomas Hellstrom
On 04/11/2014 11:24 AM, Maarten Lankhorst wrote: > op 11-04-14 10:38, Thomas Hellstrom schreef: >> Hi, Maarten. >> >> Here I believe we encounter a lot of locking inconsistencies. >> >> First, it seems you're use a number of pointers as RCU pointers without >> annotating them as such and use the

Re: [PATCH] cdc-acm: some enhancement on acm delayed write

2014-04-11 Thread Oliver Neukum
On Fri, 2014-04-11 at 06:51 +0800, Xiao Jin wrote: > Hi, Oliver, > > On 04/10/2014 04:02 PM, Oliver Neukum wrote: > > On Wed, 2014-04-09 at 22:57 +0800, Xiao Jin wrote: > >> Thanks all for the review. We meet with the problems when developing > >> product. I would like to explain my

[PATCH] ASoC: core: replace PTR_RET with PTR_ERR_OR_ZERO

2014-04-11 Thread Duan Jiong
PTR_RET is deprecated. Do not recommend its usage anymore. Use PTR_ERR_OR_ZERO instead. Signed-off-by: Duan Jiong --- sound/soc/soc-core.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 051c006..bb7382e 100644 ---

Re: [PATCH] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-11 Thread Sylwester Nawrocki
Hi Chanwoo, On 11/04/14 04:00, Chanwoo Choi wrote: > This patch control special clock for ADC in Exynos series's FSYS block. > If special clock of ADC is registerd on clock list of common clk framework, > Exynos ADC drvier have to control this clock. > > Exynos3250/Exynos4/Exynos5 has 'adc'

[GIT PULL] regmap fix for v3.15

2014-04-11 Thread Mark Brown
The following changes since commit 6cfec04bcc05a829179c02584bb55f28fee03795: regmap: Separate regmap dev initialization (2014-02-16 09:53:02 +0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-v3.15-nodev for you to

Re: [Query]: tick-sched: why don't we stop tick when we are running idle task?

2014-04-11 Thread Viresh Kumar
On 10 April 2014 20:09, Frederic Weisbecker wrote: > diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c > index 9f8af69..1e2d6b7 100644 > --- a/kernel/time/tick-sched.c > +++ b/kernel/time/tick-sched.c > @@ -202,13 +202,16 @@ static void tick_nohz_restart_sched_tick(struct >

[PATCH 0/7] f2fs: some fix and cleanup about flush_merge

2014-04-11 Thread Gu Zheng
Gu Zheng (7): f2fs: put the bio when issue_flush completed f2fs: remove the unuseful "issue_tail" list f2fs: use __GFP_ZERO to avoid appending set-NULL f2fs: enable flush_merge only in f2fs is not read-only f2fs: add the flush_merge handle in the remount flow f2fs: introduce struct

[PATCH 2/7] f2fs: remove the unuseful "issue_tail" list

2014-04-11 Thread Gu Zheng
With the issue_list and dispatch_list, we can handle flush_merge already, so remove the useless "issue_tail" list. Signed-off-by: Gu Zheng --- fs/f2fs/f2fs.h|1 - fs/f2fs/segment.c |5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/f2fs.h

[PATCH 3/7] f2fs: use __GFP_ZERO to avoid appending set-NULL

2014-04-11 Thread Gu Zheng
Signed-off-by: Gu Zheng --- fs/f2fs/segment.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 8a6fe2a..ff8f987 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -243,9 +243,7 @@ int f2fs_issue_flush(struct

[PATCH 4/7] f2fs: enable flush_merge only in f2fs is not read-only

2014-04-11 Thread Gu Zheng
Enable flush_merge only in f2fs is not read-only, so does the mount option show. Signed-off-by: Gu Zheng --- fs/f2fs/segment.c |3 +-- fs/f2fs/super.c |4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index ff8f987..6672570

[PATCH 7/7] f2fs: introduce help function {create,destroy}_flush_cmd_control

2014-04-11 Thread Gu Zheng
Introduce help function {create,destroy}_flush_cmd_control to clean up the create/destory flush merge operation. Signed-off-by: Gu Zheng --- fs/f2fs/f2fs.h|3 +- fs/f2fs/segment.c | 55 fs/f2fs/super.c | 29

[PATCH 5/7] f2fs: add the flush_merge handle in the remount flow

2014-04-11 Thread Gu Zheng
Add the *remount* handle of flush_merge option, so that the users can enable flush_merge in the runtime, such as the underlying device handles the cache_flush command relatively slowly. Signed-off-by: Gu Zheng --- fs/f2fs/f2fs.h|1 + fs/f2fs/segment.c |2 +- fs/f2fs/super.c | 45

RE: Unable to receive multicast packet on VF

2014-04-11 Thread Madoka Komatsubara
> -Original Message- > From: Komatsubara Madoka(小松原 円) > Sent: Wednesday, April 02, 2014 6:05 PM > To: 'Skidmore, Donald C'; linux-kernel@vger.kernel.org; > e1000-de...@lists.sourceforge.net; net...@vger.kernel.org > Cc: Shimamoto Hiroshi(島本 裕志); Baba Hiroshi(馬場 裕司) > Subject: RE: Unable

[PATCH 6/7] f2fs: introduce struct flush_cmd_control to wrap the, flush_merge fields

2014-04-11 Thread Gu Zheng
Split the flush_merge fields from sm_i, and use the new struct flush_cmd_control to wrap it, so that we can igonre these fileds if flush_merge is disable, and it alse can the structs more neat. Signed-off-by: Gu Zheng --- fs/f2fs/f2fs.h| 14 +++ fs/f2fs/segment.c | 68

[PATCH 1/7] f2fs: put the bio when issue_flush completed

2014-04-11 Thread Gu Zheng
Put the bio when the flush cmd issued, it also can fix the following kmemleak: unreferenced object 0x8800270c73c0 (size 200): comm "f2fs_flush-7:0", pid 27161, jiffies 4312127988 (age 988.503s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 40 07 81 19 01 88 ff ff @...

[PATCH net] r8152: check RTL8152_UNPLUG

2014-04-11 Thread Hayes Wang
When the device is unplugged, the driver would try to disable the device. Add checking the flag of RTL8152_UNPLUG to skip setting the device when it is unplugged. This could shorten the time of unloading the driver. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 48

Re: [PATCH v2] Documentation: dt: Reduce fragmentation of <..> placeholders

2014-04-11 Thread Florian Vaussard
Hi, On 04/11/2014 02:25 AM, Rob Herring wrote: > On Sat, Mar 8, 2014 at 3:09 PM, Rob Herring wrote: >> On Fri, Mar 7, 2014 at 5:28 PM, Florian Vaussard >> wrote: >>> Placeholders <..> are sometimes used in the devicetree documentation >>> to define family-wide compatible strings (like fsl,-ipu

Re: [Query]: tick-sched: can idle_active be false in tick_nohz_idle_exit()?

2014-04-11 Thread Viresh Kumar
On 10 April 2014 20:26, Frederic Weisbecker wrote: > When a dynticks idle CPU is woken up (typically with an IPI), > tick_nohz_stop_idle() > is called on interrupt entry but, because this is a waking up IPI, > tick_nohz_start_idle() > won't be called. The reason is that need_resched() prevents

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Vinod Koul
On Fri, Apr 11, 2014 at 12:38:00PM +0300, Peter Ujfalusi wrote: > On 04/11/2014 11:56 AM, Sekhar Nori wrote: > > On Friday 11 April 2014 02:20 PM, Peter Ujfalusi wrote: > >> On 04/11/2014 11:17 AM, Sekhar Nori wrote: > >>> On Tuesday 01 April 2014 06:36 PM, Peter Ujfalusi wrote: > Use the

[PATCH v4 3/5] sched: powerpc: create a dedicated topology table

2014-04-11 Thread Vincent Guittot
Create a dedicated topology table for handling asymetric feature of powerpc. Signed-off-by: Vincent Guittot Reviewed-by: Preeti U Murthy --- arch/powerpc/kernel/smp.c | 31 +++ include/linux/sched.h | 2 -- kernel/sched/core.c | 6 -- 3 files

[PATCH v4 4/5] sched: add a new SD_SHARE_POWERDOMAIN for sched_domain

2014-04-11 Thread Vincent Guittot
A new flag SD_SHARE_POWERDOMAIN is created to reflect whether groups of CPUs in a sched_domain level can or not reach different power state. As an example, the flag should be cleared at CPU level if groups of cores can be power gated independently. This information can be used in the load balance

Re: [PATCH] spi: core: Increase timeout value

2014-04-11 Thread Mark Brown
On Fri, Apr 11, 2014 at 08:39:54AM +0530, Harini Katakam wrote: > On Thu, Apr 10, 2014 at 11:06 PM, Mark Brown wrote: > > Ideally we'd use the actual speed the device set rather than the > > requested one too, that'd help. > How would you propose to do that - driver should write back actual

[PATCH v4 2/5] sched: s390: create a dedicated topology table

2014-04-11 Thread Vincent Guittot
BOOK level is only relevant for s390 so we create a dedicated topology table with BOOK level and remove it from default table. Signed-off-by: Vincent Guittot --- arch/s390/include/asm/topology.h | 11 +-- arch/s390/kernel/topology.c | 20 kernel/sched/core.c

[PATCH v4 5/5] sched: ARM: create a dedicated scheduler topology table

2014-04-11 Thread Vincent Guittot
Create a dedicated topology table for ARM which will create new level to differentiate CPUs that can or not powergate independantly from others. The patch gives an example of how to add domain that will take advantage of SD_SHARE_POWERDOMAIN. Signed-off-by: Vincent Guittot ---

[PATCH v4 0/5] rework sched_domain topology description

2014-04-11 Thread Vincent Guittot
This patchset was previously part of the larger tasks packing patchset [1]. I have splitted the latter in 3 different patchsets (at least) to make the thing easier. -configuration of sched_domain topology (this patchset) -update and consolidation of cpu_power -tasks packing algorithm Based on

[PATCH v4 1/5] sched: rework of sched_domain topology definition

2014-04-11 Thread Vincent Guittot
We replace the old way to configure the scheduler topology with a new method which enables a platform to declare additionnal level (if needed). We still have a default topology table definition that can be used by platform that don't want more level than the SMT, MC, CPU and NUMA ones. This table

Re: [PATCH] cdc-acm: some enhancement on acm delayed write

2014-04-11 Thread Johan Hovold
On Tue, Apr 08, 2014 at 12:22:22PM +0200, Oliver Neukum wrote: > On Tue, 2014-04-08 at 09:33 +0200, Johan Hovold wrote: > > On Tue, Apr 08, 2014 at 11:05:20AM +0800, Xiao Jin wrote: > > > We find two problems on acm tty write delayed mechanism. > > > > Then you should split this into two patches.

[RFC 2/2] USB: cdc-acm: fix broken runtime suspend

2014-04-11 Thread Johan Hovold
The current runtime suspend implementation is broken in several ways: Firstly, it buffers only the first write request being made while suspended -- any further writes are silently dropped. Secondly, writes being dropped also leak write urbs which are never reclaimed (until the device is

[RFC 1/2] n_tty: fix dropped output characters

2014-04-11 Thread Johan Hovold
Fix characters being dropped by n_tty_write() due to a failure to check the return value of tty_put_char() in do_output_char(). Characters are currently being dropped by write if a tty driver claims to have write room available, but still fails to buffer any data (e.g. if a driver without

Re: [PATCH] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-11 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, April 11, 2014 11:00:40 AM Chanwoo Choi wrote: > This patch control special clock for ADC in Exynos series's FSYS block. s/control/controls/ > If special clock of ADC is registerd on clock list of common clk framework, > Exynos ADC drvier have to control this clock.

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Peter Ujfalusi
On 04/11/2014 11:56 AM, Sekhar Nori wrote: > On Friday 11 April 2014 02:20 PM, Peter Ujfalusi wrote: >> On 04/11/2014 11:17 AM, Sekhar Nori wrote: >>> On Tuesday 01 April 2014 06:36 PM, Peter Ujfalusi wrote: Use the EVENTQ_1 for default and leave the EVENTQ_0 to be used by high priority

Re: [PATCH] cdc-acm: some enhancement on acm delayed write

2014-04-11 Thread Johan Hovold
[ +CC: Jiri and Peter ] On Thu, Apr 10, 2014 at 10:02:03AM +0200, Oliver Neukum wrote: > On Wed, 2014-04-09 at 22:57 +0800, Xiao Jin wrote: > > Thanks all for the review. We meet with the problems when developing > > product. I would like to explain my understanding. > > > > On 04/08/2014 11:05

Re: [PATCH] of/platform: Fix no irq domain found errors when populating interrupts

2014-04-11 Thread Russell King - ARM Linux
On Thu, Apr 10, 2014 at 02:38:09PM -0700, Tony Lindgren wrote: > Currently we get the following kind of errors if we try to use interrupt > phandles to irqchips that have not yet initialized: > > irq: no irq domain found for /ocp/pinmux@48002030 ! > [ cut here ] > WARNING:

Re: [PATCH 2/2] [RFC v2 with seqcount] reservation: add suppport for read-only access using rcu

2014-04-11 Thread Maarten Lankhorst
op 11-04-14 10:38, Thomas Hellstrom schreef: Hi, Maarten. Here I believe we encounter a lot of locking inconsistencies. First, it seems you're use a number of pointers as RCU pointers without annotating them as such and use the correct rcu macros when assigning those pointers. Some pointers

Re: [PATCH] rbd: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2014-04-11 Thread Yan, Zheng
On Fri, Apr 11, 2014 at 4:38 PM, Duan Jiong wrote: > This patch fixes coccinelle error regarding usage of IS_ERR and > PTR_ERR instead of PTR_ERR_OR_ZERO. > > Signed-off-by: Duan Jiong > --- > drivers/block/rbd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] i2c: busses: ali1563: fix checkpatch.pl issues

2014-04-11 Thread Jean Delvare
Hi Richard, On Thu, 10 Apr 2014 19:28:44 +0200, Richard Leitner wrote: > Fixed most checkpatch.pl issues Thanks for doing this. Overall it looks good, there are just two warnings I would like fixed slightly differently: > @@ -268,13 +272,14 @@ static s32 ali1563_access(struct i2c_adapter * a,

Re: [PATCH RESEND 2/5] pinctrl: berlin: add a pinctrl driver for Marvell Berlin SoCs

2014-04-11 Thread Antoine Ténart
Jisheng, On Fri, Apr 11, 2014 at 04:27:16PM +0800, Jisheng Zhang wrote: > Hi Antoine, > > On Fri, 11 Apr 2014 01:18:39 -0700 > Antoine Ténart wrote: > > > Hi Jisheng, > > > > On Fri, Apr 11, 2014 at 02:44:31PM +0800, Jisheng Zhang wrote: > > > On Thu, 10 Apr 2014 06:07:51 -0700 > > > Antoine

Re: [PATCH V2] i2c-designware: Mask all interrupts during i2c controller enable

2014-04-11 Thread Westerberg, Mika
On Fri, Apr 11, 2014 at 02:03:19AM +0300, Du, Wenkai wrote: > Hi all, > > Updated problem descriptions from Mika's feedback and new test data: > > There have been "i2c_designware 80860F41:00: controller timed out" errors > on a number of Baytrail platforms. The issue is caused by incorrect

Re: [PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-04-11 Thread Liviu Dudau
On Thu, Apr 10, 2014 at 09:46:36PM +0100, Arnd Bergmann wrote: > On Thursday 10 April 2014 15:53:04 Liviu Dudau wrote: > > On Thu, Apr 10, 2014 at 03:07:44PM +0100, Arnd Bergmann wrote: > > > > This mirrors how we treat devices: a pci_device has an embedded device, > > > and so on, in other

Re: [PATCH RESEND 1/5] pinctrl: allows not to define the get_group_pins operation

2014-04-11 Thread Sebastian Hesselbarth
On 04/10/2014 03:07 PM, Antoine Ténart wrote: When using a group only pinctrl driver, which does not have any information on the pins it is useless to define a get_group_pins always returning an empty list of pins. When not using get_group_pin[1], a driver must implement it so pins = NULL and

Re: [PATCH 1/4] clocksource: Add support for the Mediatek SoCs

2014-04-11 Thread Arnd Bergmann
On Friday 11 April 2014 11:07:35 Matthias Brugger wrote: > > > > Of course, you'll still need these for the A9-based platforms, so the > > driver might very well be needed anyway. Some of the earlier patches > > seem to be for A7-based systems so I'm not sure what you're primarily > > working on

Re: hpsa driver bug crack kernel down!

2014-04-11 Thread Woodhouse, David
On Thu, 2014-04-10 at 09:19 -0700, Davidlohr Bueso wrote: > Attaching a dmesg from one of the kernels that boots. It doesn't appear > to have much of the related information... is there any debug config > option I can enable that might give you more data? I'd like the contents of

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

2014-04-11 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 | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git

Re: [PATCH RESEND 5/5] ARM: dts: berlin: add the pinctrl node and muxing setup for uarts

2014-04-11 Thread Sebastian Hesselbarth
On 04/11/2014 11:09 AM, Antoine Ténart wrote: Hi Andrew, On Fri, Apr 11, 2014 at 10:18:59AM +0200, Andrew Lunn wrote: On Thu, Apr 10, 2014 at 03:07:54PM +0200, Antoine Ténart wrote: The uart0 pinmux configuration is in the dtsi because uart0 will always use uart0-pmux to work, no other

Re: [PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-04-11 Thread Benjamin Herrenschmidt
On Fri, 2014-04-11 at 10:36 +0200, Arnd Bergmann wrote: > > EEH is one big nasty example on powerpc. > > > > Another random one that happens to be hot in my brain right now because > > we just finished debugging it: On powernv, we are just fixing a series > > of bugs caused by the generic code

Re: [PATCH RESEND 4/5] Documentation: add the Marvell Berlin pinctrl documentation

2014-04-11 Thread Sebastian Hesselbarth
On 04/10/2014 03:07 PM, Antoine Ténart wrote: Missing commit message. Signed-off-by: Antoine Ténart --- .../bindings/pinctrl/marvell,berlin-pinctrl.txt| 43 ++ 1 file changed, 43 insertions(+) create mode 100644

Re: [PATCH RESEND 5/5] ARM: dts: berlin: add the pinctrl node and muxing setup for uarts

2014-04-11 Thread Antoine Ténart
Hi Andrew, On Fri, Apr 11, 2014 at 10:18:59AM +0200, Andrew Lunn wrote: > On Thu, Apr 10, 2014 at 03:07:54PM +0200, Antoine Ténart wrote: > > The uart0 pinmux configuration is in the dtsi because uart0 will always > > use uart0-pmux to work, no other possibility. Same thing for uart1. > > > >

Re: [PATCH 1/4] clocksource: Add support for the Mediatek SoCs

2014-04-11 Thread Matthias Brugger
2014-04-09 23:52 GMT+02:00 Olof Johansson : > Hi, > > On Wed, Apr 9, 2014 at 12:45 PM, Matthias Brugger > wrote: >> This patch adds a clock source and clock event for the timer found >> on the Mediatek SoCs. >> >> The Mediatek General Porpose Timer block provides five 32 bit timers and >> one 64

Re: [PATCH RESEND 3/5] ARM: berlin: add the pinctrl dependency for the Marvell Berlin SoCs

2014-04-11 Thread Sebastian Hesselbarth
On 04/10/2014 03:07 PM, Antoine Ténart wrote: Signed-off-by: Antoine Ténart --- arch/arm/mach-berlin/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig index d3c5f14dc142..291f1cac6c3d 100644 ---

Re: [PATCH RESEND 2/5] pinctrl: berlin: add a pinctrl driver for Marvell Berlin SoCs

2014-04-11 Thread Sebastian Hesselbarth
On 04/10/2014 03:07 PM, Antoine Ténart wrote: The Marvell Berlin boards have a group based pinmuxing mechanism. This driver adds the support for the BG2CD, BG2 and BG2Q. We actually do not need any information about the pins here and only have the definition of the groups. Antoine, as always,

Re: [PATCH 3/3] cgroup: implement cgroup.subtree_populated for the default hierarchy

2014-04-11 Thread Li Zefan
> Ah, you're right, cgroup_task_migrate() sets CGRP_RELEASABLE > explicitly. I was confused because put_css_set_locked() sets > CGRP_RELEASABLE only if @taskexit is set. Will drop that part from > the description. > "If the notify_on_release flag is enabled (1) in a cgroup, then whenever the

RE: [PATCH] tcp: fix compiler array bounds warning on selective_acks[]

2014-04-11 Thread David Laight
Bjorn Helgaas > With -Werror=array-bounds, gcc v4.8.x warns that in tcp_sack_remove(), a > selective_acks[] "array subscript is above array bounds". > > I don't understand how gcc figures this out, or why we don't see similar > problems many other places, but this is the only fix I can figure

[no subject]

2014-04-11 Thread Mercantile Finance
We are Christain organization we give out loan/financial help contact us via email: mercantilefinanceloanserv...@yahoo.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[no subject]

2014-04-11 Thread Mercantile Finance
We are Christain organization we give out loan/financial help contact us via email: mercantilefinanceloanserv...@yahoo.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: hpsa driver bug crack kernel down!

2014-04-11 Thread David Woodhouse
On Thu, 2014-04-10 at 17:17 -0600, Shuah Khan wrote: > This smells very much like the problem that was solved couple of years > ago for SI domain. It is likely that path is broken with the DMAR > device scope array change. Please take a look to see if the following > no longer occurs. Looks like

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Sekhar Nori
On Friday 11 April 2014 02:20 PM, Peter Ujfalusi wrote: > On 04/11/2014 11:17 AM, Sekhar Nori wrote: >> On Tuesday 01 April 2014 06:36 PM, Peter Ujfalusi wrote: >>> Use the EVENTQ_1 for default and leave the EVENTQ_0 to be used by high >>> priority channels, like audio. >>> >>> Signed-off-by:

Re: [RFC PATCH] Remove flush_icache_user_range()

2014-04-11 Thread David Howells
Russell King - ARM Linux wrote: > --- a/arch/frv/include/asm/cacheflush.h > +++ b/arch/frv/include/asm/cacheflush.h > @@ -95,7 +95,9 @@ static inline void flush_icache_page(struct vm_area_struct > *vma, struct page *pa > */ > #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ >

Re: [PATCH 12/27] ARM: dts: exynos3250: Add default interrupt-parent connected with GIC

2014-04-11 Thread Tomasz Figa
Hi Chanwoo, On 11.04.2014 06:44, Chanwoo Choi wrote: Hi, On 04/11/2014 01:00 PM, Olof Johansson wrote: On Thu, Apr 10, 2014 at 07:06:02PM +0900, Chanwoo Choi wrote: This patch add interrupt-parent node to connected with GIC. All interrupt-related dt nodes need default interrupt-parent node.

Re: [PATCH v2 05/14] arm: common: edma: Select event queue 1 as default when booted with DT

2014-04-11 Thread Peter Ujfalusi
On 04/11/2014 11:17 AM, Sekhar Nori wrote: > On Tuesday 01 April 2014 06:36 PM, Peter Ujfalusi wrote: >> Use the EVENTQ_1 for default and leave the EVENTQ_0 to be used by high >> priority channels, like audio. >> >> Signed-off-by: Peter Ujfalusi > > Acked-by: Sekhar Nori > >> --- >>

Re: [PATCH v2 07/14] arm: common: edma: API to request non default queue for a channel

2014-04-11 Thread Sekhar Nori
On Tuesday 01 April 2014 06:36 PM, Peter Ujfalusi wrote: > When using eDMA3 via dmaengine all dma channels will use the default queue. > Since during request time we do not have means to change this it need to be > done > later, before the DMA has been started. > With the added function it is

[PATCH] x86, cpuid: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2014-04-11 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong --- arch/x86/kernel/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpuid.c b/arch/x86/kernel/cpuid.c index 3225ae6c..83741a7

Re: [PATCH 03/27] ARM: EXYNOS: Add IO mapping for PMU of Exynos3250

2014-04-11 Thread Arnd Bergmann
On Friday 11 April 2014 11:03:18 Chanwoo Choi wrote: > On 04/11/2014 10:48 AM, Olof Johansson wrote: > > On Thu, Apr 10, 2014 at 06:37:14PM +0900, Chanwoo Choi wrote: > >> This patch add memory mapping for PMU (Power Management Unit) which is used > >> for power control of Exynos3250. > >> > >>

[PATCH] x86, msr: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2014-04-11 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong --- arch/x86/kernel/msr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c index c9603ac..6e4f77f 100644

[PATCH] serial: imx: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2014-04-11 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong --- arch/arm/mach-imx/mach-mx31moboard.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/mach-imx/mach-mx31moboard.c

[PATCH] rbd: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2014-04-11 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong --- drivers/block/rbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 4c95b50..552a2ed 100644 ---

[PATCH] PHY: sunxi: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2014-04-11 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong --- drivers/phy/phy-sun4i-usb.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c index

[PATCH] phy: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2014-04-11 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong --- drivers/phy/phy-exynos-mipi-video.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/phy/phy-exynos-mipi-video.c

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-11 Thread Tomasz Figa
On 11.04.2014 08:32, Chanwoo Choi wrote: Hi, On 04/11/2014 10:46 AM, Olof Johansson wrote: On Thu, Apr 10, 2014 at 06:37:12PM +0900, Chanwoo Choi wrote: This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC) that is based on the 32-bit RISC processor for Smartphone. Exynos3250

Re: [PATCH 2/2] [RFC v2 with seqcount] reservation: add suppport for read-only access using rcu

2014-04-11 Thread Thomas Hellstrom
Hi, Maarten. Here I believe we encounter a lot of locking inconsistencies. First, it seems you're use a number of pointers as RCU pointers without annotating them as such and use the correct rcu macros when assigning those pointers. Some pointers (like the pointers in the shared fence list) are

Re: [PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-04-11 Thread Arnd Bergmann
On Friday 11 April 2014 15:01:09 Benjamin Herrenschmidt wrote: > On Thu, 2014-04-10 at 22:46 +0200, Arnd Bergmann wrote: > > > Half of it ;-) > > > > I think it would be better to not have an architecture specific data > > structure, just like it would be better not to have architecture specific

Re: [PATCH] net: ipv4: current group_info should be put after using.

2014-04-11 Thread Mateusz Guzik
On Fri, Apr 11, 2014 at 01:37:08PM -0400, Wang, Xiaoming wrote: > There is a memory leak in ping. Current group_info had been got in > ping_init_sock and group_info->usage increased. > But the usage hasn't decreased anywhere in ping. > This will make this group_info never freed and cause memory

Re: [PATCH v3 6/8] DMA: Freescale: change descriptor release process for supporting async_tx

2014-04-11 Thread Hongbo Zhang
On 04/11/2014 04:00 PM, Hongbo Zhang wrote: On 04/10/2014 07:56 PM, Andy Shevchenko wrote: On Thu, 2014-04-10 at 15:10 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release

[PATCH] MIPS: Octeon: Add PCIe2 support in arch_setup_msi_irq()

2014-04-11 Thread Eunbong Song
In arch_setup_msi_irq(), there is no case for PCIe2. So board which have PCIe2 functionality fails to boot with "Kernel panic - not syncing: arch_setup_msi_irq: Invalid octeon_dma_bar_type" message. This patch solve this problem. Signed-off-by: Eunbong Song --- arch/mips/pci/msi-octeon.c |

Re: [PATCH RESEND 2/5] pinctrl: berlin: add a pinctrl driver for Marvell Berlin SoCs

2014-04-11 Thread Jisheng Zhang
Hi Antoine, On Fri, 11 Apr 2014 01:18:39 -0700 Antoine Ténart wrote: > Hi Jisheng, > > On Fri, Apr 11, 2014 at 02:44:31PM +0800, Jisheng Zhang wrote: > > On Thu, 10 Apr 2014 06:07:51 -0700 > > Antoine Ténart wrote: > > > > ... > > > +static int berlin_pinmux_enable(struct pinctrl_dev

Re: [GIT PULL] EFI urgent fixes

2014-04-11 Thread Ingo Molnar
* Matt Fleming wrote: > Guys, please pull the following. One of the fixes is for a regression > introduced during the merge window. The other two are bugs that have > existed in the EFI boot stub for a while, but which have only just been > reported. > > I'm going to take care of submitting

Re: [PATCH RESEND 4/5] Documentation: add the Marvell Berlin pinctrl documentation

2014-04-11 Thread Andrew Lunn
On Fri, Apr 11, 2014 at 10:12:59AM +0200, Antoine Ténart wrote: > Hi Jisheng, > > On Fri, Apr 11, 2014 at 02:33:18PM +0800, Jisheng Zhang wrote: > > On Thu, 10 Apr 2014 06:07:53 -0700 > > Antoine Ténart wrote: > > > +Required subnode-properties: > > > +- berlin,group: a string describing the

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