Re: [PATCH tip/core/rcu 01/45] rcutorture: Add forward-progress checking for writer

2014-05-09 Thread Josh Triplett
On Fri, May 09, 2014 at 10:36:58AM -0700, Paul E. McKenney wrote: > On Fri, May 09, 2014 at 08:52:31AM -0700, Josh Triplett wrote: > > On Wed, May 07, 2014 at 04:43:13PM -0700, Paul E. McKenney wrote: > > > On Wed, May 07, 2014 at 02:16:49PM -0700, j...@joshtriplett.org wrote: > > > > On Mon, Apr 2

[PATCHSET v2 cgroup/for-3.16] cgroup: post unified hierarchy fixes and updates

2014-05-09 Thread Tejun Heo
Hello, Changes from the last take[L] are, * 0002, 0003 and 0007 added. * Other patches are refreshed without content change. This patchset contains the following seven patches. 0001-cgroup-fix-offlining-child-waiting-in-cgroup_subtree.patch 0002-cgroup-cgroup_idr_lock-should-be-bh.patch 000

[PATCH 3/7] cgroup: css_release() shouldn't clear cgroup->subsys[]

2014-05-09 Thread Tejun Heo
c1a71504e971 ("cgroup: don't recycle cgroup id until all csses' have been destroyed") made cgroup ID persist until a cgroup is released and add cgroup->subsys[] clearing to css_release() so that css_from_id() doesn't return a css which has already been released which happens before cgroup release;

[PATCH 4/7] cgroup: update and fix parsing of "cgroup.subtree_control"

2014-05-09 Thread Tejun Heo
I was confused that strsep() was equivalent to strtok_r() in skipping over consecutive delimiters. strsep() just splits at the first occurrence of one of the delimiters which makes the parsing very inflexible, which makes allowing multiple whitespace chars as delimters kinda moot. Let's just be c

[PATCH v2] clk: qcom: add clocks necessary for apq8064 sdcc

2014-05-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds clocks necessary for SD card controller on apq8064 SOC. Without this patch the clocks are visible to the sdcc driver. Signed-off-by: Srinivas Kandagatla --- drivers/clk/qcom/gcc-msm8960.c | 8 1 file changed, 8 insertions(+) diff --git a/driv

[PATCH 7/7] cgroup: rename css_tryget*() to css_tryget_online*()

2014-05-09 Thread Tejun Heo
Unlike the more usual refcnting, what css_tryget() provides is the distinction between online and offline csses instead of protection against upping a refcnt which already reached zero. cgroup is planning to provide actual tryget which fails if the refcnt already reached zero. Let's rename the ex

[PATCH 6/7] cgroup: use release_agent_path_lock in cgroup_release_agent_show()

2014-05-09 Thread Tejun Heo
release_path is now protected by release_agent_path_lock to allow accessing it without grabbing cgroup_mutex; however, cgroup_release_agent_show() was still grabbing cgroup_mutex. Let's convert it to release_agent_path_lock so that we don't have to worry about this one for the planned locking upda

[PATCH 2/7] cgroup: cgroup_idr_lock should be bh

2014-05-09 Thread Tejun Heo
cgroup_idr_remove() can be invoked from bh leading to lockdep detecting possible AA deadlock (IN_BH/ON_BH). Make the lock bh-safe. Signed-off-by: Tejun Heo --- kernel/cgroup.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c inde

[PATCH 5/7] cgroup: use restart_syscall() for retries after offline waits in cgroup_subtree_control_write()

2014-05-09 Thread Tejun Heo
After waiting for a child to finish offline, cgroup_subtree_control_write() jumps up to retry from after the input parsing and active protection breaking. This retry makes the scheduled locking update more difficult. Let's simplify it by returning with restart_syscall() for retries. Signed-off-b

Re: [PATCH 2/2] mtd: orion-nand: fix build error with ARMv4

2014-05-09 Thread Geert Uytterhoeven
On Fri, May 9, 2014 at 8:45 PM, Ezequiel Garcia wrote: > --- a/drivers/mtd/nand/orion_nand.c > +++ b/drivers/mtd/nand/orion_nand.c > @@ -52,6 +52,7 @@ static void orion_nand_read_buf(struct mtd_info *mtd, > uint8_t *buf, int len) > uint64_t *buf64; > int i = 0; > > +#if __LINUX_AR

Re: [PATCH] clk: qcom: add clocks necessary for apq8064 sdcc

2014-05-09 Thread Srinivas Kandagatla
On 09/05/14 12:21, Kumar Gala wrote: There are only 4 SDCs on APQ8064 You are right.. Will fix it in next version. thanks, srini -- 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 http://vger

Re: [PATCH] clk: qcom: add clocks necessary for apq8064 sdcc

2014-05-09 Thread Kumar Gala
On May 9, 2014, at 11:48 AM, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch adds clocks necessary for SD card controller on apq8064 SOC. > Without this patch the clocks are visible to the sdcc driver. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/clk

[PATCH] mem.4, ioports.4: Document /dev/ioports

2014-05-09 Thread Josh Triplett
/dev/ioports works like /dev/port, but supports 16-bit and 32-bit ports. Signed-off-by: Josh Triplett --- Wasn't sure whether I should update the "Modified" notice at the top; ideally such things should go away in favor of git. man4/ioports.4 | 1 + man4/mem.4 | 21 +++--

Re: [PATCH] pinctrl: qcom: ipq8064: Fix naming convention

2014-05-09 Thread Andy Gross
On Fri, May 09, 2014 at 01:08:25PM -0500, Kumar Gala wrote: > Drop underscore in spdif_groups to match all other groups. > > Signed-off-by: Kumar Gala Reviewed-by: Andy Gross -- sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of t

[PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2014-05-09 Thread Josh Triplett
/dev/port only supports reading and writing 8-bit ports; multi-byte operations on /dev/port will just operate on multiple successive 8-bit ports. Add a new device, /dev/ioports, which supports reading and writing 16-bit and 32-bit ports. This makes it possible to perform arbitrary I/O port operat

Re: [PATCH percpu/for-3.16 2/2] percpu-refcount: implement percpu_ref_tryget()

2014-05-09 Thread Tejun Heo
On Wed, May 07, 2014 at 11:58:10AM -0400, Tejun Heo wrote: > Implement percpu_ref_tryget() which fails if the refcnt already > reached zero. Note that this is different from the recently renamed > percpu_ref_tryget_live() which fails if the refcnt has been killed and > is draining the remaining re

[PATCH] ARM: DT: apq8064: Add sdcc support via mcci driver.

2014-05-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SD card controller using generic pl180 mmci driver. This patch also adds temporary fixed regulator to get it going till the actual regulator is mainlined. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 16

[PATCH] drivers: staging: ft1000: Improve coding style

2014-05-09 Thread Artem Fetishev
Improvements include: - Lines over 80 characters; - Use pr_info() instead printk(KERN_INFO); - Removal of typedefs; - Indentation. - Fix IOCTL_FT1000_* marcos: - Add closing brackets; - remove sizeof (_IOR and _IOW macro can accept types); - replace _IOW which size of 0 (the last arg)

[PATCH] clk: qcom: add clocks necessary for apq8064 sdcc

2014-05-09 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds clocks necessary for SD card controller on apq8064 SOC. Without this patch the clocks are visible to the sdcc driver. Signed-off-by: Srinivas Kandagatla --- drivers/clk/qcom/gcc-msm8960.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/

Re: [PATCH 2/2] mtd: orion-nand: fix build error with ARMv4

2014-05-09 Thread Ezequiel Garcia
On 08 May 04:56 PM, Arnd Bergmann wrote: > orion_nand_read_buf uses an inline assembly with the "ldrd" > instruction, which is only available from ARMv5 upwards. This > used to be fine, since all users have an ARMv5 or ARMv7 CPU, > but now we can also build a multiplatform kernel with ARMv4 > suppo

[PATCH 1/1] kernel/reboot.c: convert simple_strtoul to kstrtoint

2014-05-09 Thread Fabian Frederick
Replace obsolete function. kstrtoint is used as reboot_cpu is an integer. Inspired-By: Andrew Morton Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/reboot.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/kernel/reboot.c b/kernel/reboot.

Re: [PATCH v1 00/11] Add Qualcomm SD Card Controller support.

2014-05-09 Thread Srinivas Kandagatla
Thanks Bjorn for testing it on msm8960 SOC. On 09/05/14 10:56, Bjorn Andersson wrote: On Tue, Apr 29, 2014 at 1:18 AM, wrote: [...] This patch series adds Qualcomm SD Card Controller support in pl180 mmci driver. QCom SDCC is basically a pl180, but bit more customized, some of the register la

Re: [PATCH 06/20] arch,avr32: Fold atomic_ops

2014-05-09 Thread Hans-Christian Egtvedt
Around Thu 08 May 2014 15:58:46 +0200 or thereabout, Peter Zijlstra wrote: > Many of the atomic op implementations are the same except for one > instruction; fold the lot into a few CPP macros and reduce LoC. The add and sub atomic operations are not 100% the same. Sub has more constraints on the

[PATCH V2] kernel/time/ntp.c: convert simple_strtol to kstrtol

2014-05-09 Thread Fabian Frederick
Replace obsolete function Inspired-By: Andrew Morton Cc: John Stultz Cc: Andrew Morton Signed-off-by: Fabian Frederick --- V2 -Add patch description kernel/time/ntp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c

Re: [PATCHv2 0/2] remap_file_pages() decommission

2014-05-09 Thread Kirill A. Shutemov
On Fri, May 09, 2014 at 08:14:08AM -0700, Linus Torvalds wrote: > On Fri, May 9, 2014 at 7:05 AM, Kirill A. Shutemov > wrote: > > > > Hm. I'm confused here. Do we have any limit forced per-user? > > Sure we do. See "struct user_struct". We limit max number of > processes, open files, signals etc.

[PATCH 1/1] kernel/watchdog.c: convert printk/pr_warning to pr_foo()

2014-05-09 Thread Fabian Frederick
Replace some obsolete functions. Cc: Frederic Weisbecker Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/watchdog.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 516203e..19c953e 100644 --- a/kernel/watch

Re: IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

2014-05-09 Thread Mimi Zohar
On Fri, 2014-05-09 at 18:56 +0100, Al Viro wrote: > On Fri, May 09, 2014 at 12:10:03PM +0900, J. R. Okajima wrote: > > > > Dmitry Kasatkin: > > > Following patch replaces IMA usage of kernel_read() with special > > > version which skips security check that triggers kernel panic > > > when Apparmo

next-20140409 Bad Kconfig help text in drivers/acpi/Kconfig

2014-05-09 Thread Valdis Kletnieks
So this commit landed in linux-next recently: commit e2a7c3d7812369daae56f069eab2e8f3e548d231 Author: Lan Tianyu Date: Sun May 4 11:07:24 2014 +0800 ACPI: Revert "ACPI: Remove CONFIG_ACPI_PROCFS_POWER and cm_sbsc.c" The commit 1e2d9cd and 7d7ee95 remove ACPI Proc Battery directory

[PATCH 1/1] kernel/utsname_sysctl.c: replace obsolete __initcall by device_initcall

2014-05-09 Thread Fabian Frederick
Also fixes checkpatch warnings on proc_dostring function parameters Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/utsname_sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/utsname_sysctl.c b/kernel/utsname_sysctl.c index 4f69f9a..6fbe811 1006

Re: [PATCH] ARM: Don't ever downscale loops_per_jiffy in SMP systems#

2014-05-09 Thread Russell King - ARM Linux
On Fri, May 09, 2014 at 02:00:54PM -0400, Nicolas Pitre wrote: > On Fri, 9 May 2014, Russell King - ARM Linux wrote: > > > On Thu, May 08, 2014 at 09:37:15PM -0400, Nicolas Pitre wrote: > > > On Thu, 8 May 2014, Russell King - ARM Linux wrote: > > > > > > > If you're in a preempt or SMP environme

[PATCH 1/1] kernel/user_namespace.c: kernel-doc/checkpatch fixes

2014-05-09 Thread Fabian Frederick
-uid->gid -split some function declarations -if/then/else warning Cc: Oleg Nesterov Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/user_namespace.c | 33 - 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/kernel/user_namespace.c b/ke

Re: I'll queue a patch for 3.11 which removes the #ifdef... (was: Re: idle: Add the stack canary init to cpu_startup_entry())

2014-05-09 Thread Geert Uytterhoeven
On Thu, Jun 20, 2013 at 8:31 PM, Linux Kernel Mailing List wrote: > Gitweb: > http://git.kernel.org/linus/;a=commit;h=d7880812b3594d3c6dcbe3cfd71dabb17347d082 > Commit: d7880812b3594d3c6dcbe3cfd71dabb17347d082 > Parent: c7788792a5e7b0d5d7f96d0766b4cb6112d47d75 > Author: Thomas Gle

Re: [PATCH] sched: wake up task on prev_cpu if not in SD_WAKE_AFFINE domain with cpu

2014-05-09 Thread Rik van Riel
On 05/09/2014 01:55 PM, Mike Galbraith wrote: On Fri, 2014-05-09 at 11:24 -0400, Rik van Riel wrote: On 05/09/2014 11:24 AM, Mike Galbraith wrote: If no ->flags & SD_BALANCE_WAKE is encountered during traversal, sd remains NULL, we fall through to return prev_cpu. We do f

Re: [PATCH 1/1] kernel/time/ntp.c: convert simple_strtol to kstrtol

2014-05-09 Thread John Stultz
On Fri, May 9, 2014 at 11:14 AM, Fabian Frederick wrote: > Commit message missing. Mind adding a brief description of why this change is worth making? > Inspired-By: Andrew Morton > Cc: John Stultz > Cc: Andrew Morton > Signed-off-by: Fabian Frederick > --- > kernel/time/ntp.c | 5 - >

[PATCH 1/1] kernel/time/ntp.c: convert simple_strtol to kstrtol

2014-05-09 Thread Fabian Frederick
Inspired-By: Andrew Morton Cc: John Stultz Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/time/ntp.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 419a52c..82b7c9e 100644 --- a/kernel/time/ntp.c +++ b/kernel/t

Re: [PATCHv4 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-05-09 Thread Mark Rutland
On Fri, May 09, 2014 at 06:02:55PM +0100, Mark Brown wrote: > On Fri, May 09, 2014 at 05:32:43PM +0100, Mark Rutland wrote: > > On Fri, May 09, 2014 at 03:04:32AM +0100, Xiubo Li wrote: > > > > {big,little}-endian{,-*}: these are boolean properties, if absent > > > meaning that the CPU and the Dev

[ANNOUNCE] 3.14.3-rt5

2014-05-09 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v3.14.3-rt5 patch set. Changes since v3.14.3-rt4 - remove one of the two identical rt_mutex_init() definitions. A patch from Steven Rostedt - use EXPORT_SYMBOL() on __rt_mutex_init() and rt_down_write_nested_lock(). The former was dropped accidently

[PATCH] pinctrl: qcom: ipq8064: Fix naming convention

2014-05-09 Thread Kumar Gala
Drop underscore in spdif_groups to match all other groups. Signed-off-by: Kumar Gala --- drivers/pinctrl/pinctrl-ipq8064.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-ipq8064.c b/drivers/pinctrl/pinctrl-ipq8064.c index 54aba9f..acafea4 100644 ---

[PATCH 1/1] kernel/power/hibernate.c: convert simple_strtoul to kstrtoul

2014-05-09 Thread Fabian Frederick
Inspired-By: Andrew Morton Cc: "Rafael J. Wysocki" Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/power/hibernate.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index f4f2073..66332b6 100644 --- a/ker

[PATCH 1/1] kernel/hung_task.c: convert simple_strtoul to kstrtouint

2014-05-09 Thread Fabian Frederick
sysctl_hung_task_panic has been changed to unsigned int. use kstrtouint instead of obsolete simple_strtoul Inspired-By: Andrew Morton Cc: Ingo Molnar Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/hung_task.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a

Re: [PATCH] ARM: Don't ever downscale loops_per_jiffy in SMP systems#

2014-05-09 Thread Nicolas Pitre
On Fri, 9 May 2014, Russell King - ARM Linux wrote: > On Thu, May 08, 2014 at 09:37:15PM -0400, Nicolas Pitre wrote: > > On Thu, 8 May 2014, Russell King - ARM Linux wrote: > > > > > If you're in a preempt or SMP environment, provide a timer for udelay(). > > > IF you're in an environment with IR

Re: IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

2014-05-09 Thread Al Viro
On Fri, May 09, 2014 at 12:10:03PM +0900, J. R. Okajima wrote: > > Dmitry Kasatkin: > > Following patch replaces IMA usage of kernel_read() with special > > version which skips security check that triggers kernel panic > > when Apparmor and IMA appraisal are enabled together. > > I know this is r

Re: [PATCH v1 00/11] Add Qualcomm SD Card Controller support.

2014-05-09 Thread Bjorn Andersson
On Tue, Apr 29, 2014 at 1:18 AM, wrote: [...] > This patch series adds Qualcomm SD Card Controller support in pl180 mmci > driver. QCom SDCC is basically a pl180, but bit more customized, some of the > register layouts and offsets are different to the ones mentioned in pl180 > datasheet. The plan

Re: [PATCH] sched: wake up task on prev_cpu if not in SD_WAKE_AFFINE domain with cpu

2014-05-09 Thread Mike Galbraith
On Fri, 2014-05-09 at 11:24 -0400, Rik van Riel wrote: > On 05/09/2014 11:24 AM, Mike Galbraith wrote: > > If no ->flags & SD_BALANCE_WAKE is encountered during traversal, sd > > remains NULL, we fall through to return prev_cpu. > We do fall through, but into this loop: >

[Patch v2] pinctrl: msm: Add more MSM8X74 pin definitions

2014-05-09 Thread Andy Gross
This patch adds pin definitiones for the MSM8x74 TLMM. New definitions include: BLSP devices (I2C, UART, UART flow control, SPI, and UIM), mi2s, gp clk, pdm, gcc clk, cci_timer, cci_i2c, cam_clk, hsic, tsif, sdc3, sdc4, and other assorted pins. Signed-off-by: Andy Gross --- .../bindings/pinctr

Re: [PATCH tip/core/rcu 01/45] rcutorture: Add forward-progress checking for writer

2014-05-09 Thread Paul E. McKenney
On Fri, May 09, 2014 at 08:52:31AM -0700, Josh Triplett wrote: > On Wed, May 07, 2014 at 04:43:13PM -0700, Paul E. McKenney wrote: > > On Wed, May 07, 2014 at 02:16:49PM -0700, j...@joshtriplett.org wrote: > > > On Mon, Apr 28, 2014 at 05:24:49PM -0700, Paul E. McKenney wrote: > > > > From: "Paul E

Re: [Ksummit-discuss] Reminder for kernel summit nominations

2014-05-09 Thread josh
On Fri, May 09, 2014 at 11:23:19AM -0400, Theodore Ts'o wrote: > Also, if you have time to double check the e-mail addresses that we > have, the Google Spreadsheet is here: > > http://goo.gl/FsVUFX > Peter P Waskiewicz Jr PJ left Intel and now works for SolidFire, so his @intel.com addres

Re: [PATCH 2/2] sched: Fix next_balance logic in rebalance_domains() and idle_balance()

2014-05-09 Thread Jason Low
On Fri, 2014-05-09 at 11:08 +0200, Peter Zijlstra wrote: > On Thu, May 08, 2014 at 05:49:22PM -0700, Jason Low wrote: > > On Thu, 2014-05-08 at 15:14 -0700, Jason Low wrote: > > > Hi Ingo, Peter, > > > > > > Were there NULL domains on the test system? If so, I think we can > > > address the proble

Re: [RFC][PATCH 6/8] sched,idle: Avoid spurious wakeup IPIs

2014-05-09 Thread Peter Zijlstra
On Fri, May 09, 2014 at 07:02:34PM +0200, Peter Zijlstra wrote: > OK, so I'll queue a patch removing TIF_POLLING_NRFLAG for arm64. --- Subject: arm64: Remove TIF_POLLING_NRFLAG From: Peter Zijlstra Date: Fri May 9 19:04:00 CEST 2014 The only idle method for arm64 is WFI and it therefore uncond

Re: [RFC][PATCH 6/8] sched,idle: Avoid spurious wakeup IPIs

2014-05-09 Thread Peter Zijlstra
On Fri, May 09, 2014 at 06:09:46PM +0100, Catalin Marinas wrote: > On Fri, May 09, 2014 at 06:06:49PM +0100, Peter Zijlstra wrote: > > Subject: arm64: Remove TIF_POLLING_NRFLAG > > From: Peter Zijlstra > > Date: Fri May 9 19:04:00 CEST 2014 > > > > The only idle method for arm64 is WFI and it th

Re: [PATCH 0/3] sched: sched_setattr/sched_getattr fixes and improvements

2014-05-09 Thread Peter Zijlstra
On Fri, May 09, 2014 at 04:49:18PM +0200, Michael Kerrisk (man-pages) wrote: > Peter, > > While looking at your sched_setattr()/sched_getatr() documentation, > I noticed a bug in the handling of -EFBIG, and a couple of places > in the code where the error handling logic could be streamlined. > P

Re: [PATCH v2] radio-bcm2048.c: fix wrong overflow check

2014-05-09 Thread Hans Verkuil
On 05/09/2014 06:10 PM, Pali Rohár wrote: > On Monday 05 May 2014 15:34:29 Jiri Kosina wrote: >> On Tue, 22 Apr 2014, Dan Carpenter wrote: >>> From: Pali Rohár >>> >>> This patch fixes an off by one check in >>> bcm2048_set_region(). >>> >>> Reported-by: Dan Carpenter >>> Signed-off-by: Pali Rohá

Re: [PATCH v3 5/9] mtd: nand: add sunxi NAND flash controller support

2014-05-09 Thread Ezequiel Garcia
On 09 May 06:47 PM, Boris BREZILLON wrote: > > Can you add some documentation about this read-back stuff? > > This has nothing to do with read-back, RB means ready/busy :-). > Hehe... right... I guess I was thinking in read/busy. See? That's why you need to document it: so it's fool-proof. --

Re: [RFC][PATCH 6/8] sched,idle: Avoid spurious wakeup IPIs

2014-05-09 Thread Catalin Marinas
On Fri, May 09, 2014 at 06:06:49PM +0100, Peter Zijlstra wrote: > Subject: arm64: Remove TIF_POLLING_NRFLAG > From: Peter Zijlstra > Date: Fri May 9 19:04:00 CEST 2014 > > The only idle method for arm64 is WFI and it therefore > unconditionally requires the reschedule interrupt when idle. > > S

Re: [PATCH] ftrace: Simplify ring buffer resizing, make work with RT

2014-05-09 Thread Corey Minyard
On 05/09/2014 08:12 AM, Sebastian Andrzej Siewior wrote: > * miny...@acm.org | 2014-05-08 15:03:22 [-0500]: > >> This isn't well tested, but fixes an obvious PREEMPT_RT problem and seems >> like a good simplification. You can see the PREEMPT_RT bug if you enable >> ftrace and all the self tests; i

Re: [Intel-gfx] [3.14.0-rc4] regression: drm FIFO underruns

2014-05-09 Thread Ville Syrjälä
On Fri, May 09, 2014 at 05:14:38PM +0100, Damien Lespiau wrote: > On Fri, May 09, 2014 at 06:11:37PM +0200, Jörg Otte wrote: > > > Jörg, can you please boot with drm.debug=0xe, reproduce the issue and > > > then attach the complete dmesg? Please make sure that the dmesg > > > contains the boot-up s

Re: [PATCHv4 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-05-09 Thread Mark Brown
On Fri, May 09, 2014 at 05:32:43PM +0100, Mark Rutland wrote: > On Fri, May 09, 2014 at 03:04:32AM +0100, Xiubo Li wrote: > > {big,little}-endian{,-*}: these are boolean properties, if absent > > meaning that the CPU and the Device are in the same endianness mode. > That's not really true though.

Re: [PATCH 2/2] x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro

2014-05-09 Thread Joe Perches
On Fri, 2014-05-09 at 12:33 +0200, Borislav Petkov wrote: > On Fri, May 09, 2014 at 09:57:30AM +0200, Borislav Petkov wrote: > > > diff --git a/arch/x86/include/uapi/asm/msr-index.h > > > b/arch/x86/include/uapi/asm/msr-index.h [] > > > -#define MSR_IA32_MISC_ENABLE_LIMIT_CPUID (1ULL << >

Re: [RFC][PATCH 6/8] sched,idle: Avoid spurious wakeup IPIs

2014-05-09 Thread Peter Zijlstra
On Fri, May 09, 2014 at 03:57:45PM +0100, Catalin Marinas wrote: > On Fri, May 09, 2014 at 03:50:02PM +0100, Peter Zijlstra wrote: > > On Fri, May 09, 2014 at 03:40:34PM +0100, Catalin Marinas wrote: > > > > > I wonder why we still need TIF_POLLING_NRFLAG for arm64. It was on arm > > > until commi

Re: [PATCH] pinctrl: msm: Add more MSM8X74 pin definitions

2014-05-09 Thread Andy Gross
On Fri, May 09, 2014 at 10:37:00AM +0200, Linus Walleij wrote: > On Fri, May 2, 2014 at 6:44 AM, Andy Gross wrote: > > > This patch adds pin definitiones for the MSM8x74 TLMM. New definitions > > include: > > > > BLSP devices (I2C, UART, UART flow control, SPI, and UIM), mi2s, gp clk, > > pdm,

[PATCH v3 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-05-09 Thread Boris BREZILLON
The P2WI looks like an SMBus controller which only supports byte data transfers. But, it differs from standard SMBus protocol on several aspects: - it supports only one slave device, and thus drop the address field - it adds a parity bit every 8bits of data - only one read access is required to rea

Re: [PATCH v2 1/5] firmware: Simplify directory creation

2014-05-09 Thread Sam Ravnborg
On Fri, May 09, 2014 at 02:52:20PM +0200, Michal Marek wrote: > When building the firmware blobs, use a simple loop to create > directories in $(objtree), like in Makefile.build. This simplifies the > rules and also makes it possible to set $(objtree) to '.' later. Before > this change, a dependenc

Re: [PATCH] i2c: qup: Fix pm_runtime_get_sync usage

2014-05-09 Thread Bjorn Andersson
On Fri, May 2, 2014 at 6:54 PM, Andy Gross wrote: [...] > @@ -479,7 +479,7 @@ static int qup_i2c_xfer(struct i2c_adapter *adap, > int ret, idx; > > ret = pm_runtime_get_sync(qup->dev); > - if (ret) > + if (ret < 0) > goto out; Sorry about that, thought

[PATCH v2] PCI: Introduce new device binding path using pci_dev.driver_override

2014-05-09 Thread Alex Williamson
The driver_override field allows us to specify the driver for a device rather than relying on the driver to provide a positive match of the device. This shortcuts the existing process of looking up the vendor and device ID, adding them to the driver new_id, binding the device, then removing the ID

Re: [PATCHv4 2/2] regmap: add DT endianness binding support.

2014-05-09 Thread Mark Rutland
On Fri, May 09, 2014 at 03:04:33AM +0100, Xiubo Li wrote: > For many drivers which will support rich endianness of CPU<-->Dev > need define DT properties by itself without the binding support. > > The endianness using regmap: > IndexCPU Device Endianess flag for DT bool property > --

Re: [PATCH v3 5/9] mtd: nand: add sunxi NAND flash controller support

2014-05-09 Thread Boris BREZILLON
On 09/05/2014 18:03, Ezequiel Garcia wrote: > Hello Boris, > > Sorry for the review delay. > > Emilio, if you have hardware to test this, it would be nice to give > Boris some Tested-by? > > On 12 Mar 07:07 PM, Boris BREZILLON wrote: >> Add support for the sunxi NAND Flash Controller (NFC). >> >>

Re: KVM_GUEST support breaks page fault tracing

2014-05-09 Thread Dave Hansen
On 05/08/2014 04:45 PM, Steven Rostedt wrote: > As your patch showed up as an attachment, I couldn't include it in my > reply. But sure, that may work. But you could also play tricks to keep > the overhead off when tracing is disabled like this one: ... How important is it to have zero-overhead?

Re: [PATCH] block: per-cpu counters for in-flight IO accounting

2014-05-09 Thread Jens Axboe
On 05/09/2014 08:12 AM, Jens Axboe wrote: > On 05/09/2014 03:17 AM, Matias Bjørling wrote: >> With multi-million IOPS and multi-node workloads, the atomic_t in_flight >> tracking becomes a bottleneck. Change the in-flight accounting to per-cpu >> counters to elevate. > > The part stats are a pain

Re: [RESEND PATCH V5 0/8] remove cpu_load idx

2014-05-09 Thread Alex Shi
于 5/6/14, 19:43, Peter Zijlstra 写道: On Tue, May 06, 2014 at 04:33:38PM +0800, Alex Shi wrote: Maybe the predication is reasonable on per task history. but on a cpu load history, with many tasks rebalance. No testing show current method is helpful. For task load change, scheduler has no idea fo

Re: [PATCH] ARM: at91: fix rtc irq mask for sam9x5 SoCs

2014-05-09 Thread Johan Hovold
On Thu, May 08, 2014 at 07:28:04PM +0200, Boris BREZILLON wrote: > > You should also keep the flush (read of IMR) regardless (to make sure > > the write has reached the peripheral), and remember to remove the now > > unused mask variable. > > Does it has something to do with memory barriers ? > I

Re: [PATCH] mm: use a irq-safe __mod_zone_page_state in mlocked_vma_newpage()

2014-05-09 Thread Christoph Lameter
On Sat, 10 May 2014, Jianyu Zhan wrote: > Hi, Christoph, I'm sorry for the misleading phrasing. > Would be this one OK? Thanks. Good. Reviewed-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org M

Re: [PATCHv4 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-05-09 Thread Mark Rutland
On Fri, May 09, 2014 at 03:04:32AM +0100, Xiubo Li wrote: > Device-Tree binding for device endianness > > The endianness mode of CPU & Device scenarios: > IndexCPU Device Endianness properties > > 1LELE

[tip:x86/urgent] x86: Fix typo preventing msr_set/ clear_bit from having an effect

2014-05-09 Thread tip-bot for Andres Freund
Commit-ID: 722a0d22d028bd74061cf582de1764884e73674f Gitweb: http://git.kernel.org/tip/722a0d22d028bd74061cf582de1764884e73674f Author: Andres Freund AuthorDate: Fri, 9 May 2014 03:29:16 +0200 Committer: H. Peter Anvin CommitDate: Fri, 9 May 2014 08:42:32 -0700 x86: Fix typo preventing

[tip:x86/urgent] x86, vdso, time: Cast tv_nsec to u64 for proper shifting in update_vsyscall()

2014-05-09 Thread tip-bot for Boris Ostrovsky
Commit-ID: 28b92e09e25bdc0ae864b22eacf195a74f861389 Gitweb: http://git.kernel.org/tip/28b92e09e25bdc0ae864b22eacf195a74f861389 Author: Boris Ostrovsky AuthorDate: Fri, 9 May 2014 11:11:27 -0400 Committer: H. Peter Anvin CommitDate: Fri, 9 May 2014 08:45:52 -0700 x86, vdso, time: Cast t

[tip:x86/urgent] x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro

2014-05-09 Thread tip-bot for Andres Freund
Commit-ID: c45f77364ba060395b7eff1bf45e6c537f913380 Gitweb: http://git.kernel.org/tip/c45f77364ba060395b7eff1bf45e6c537f913380 Author: Andres Freund AuthorDate: Fri, 9 May 2014 03:29:17 +0200 Committer: H. Peter Anvin CommitDate: Fri, 9 May 2014 08:42:47 -0700 x86: Fix typo in MSR_IA32

Re: [RESEND PATCH V5 0/8] remove cpu_load idx

2014-05-09 Thread Alex Shi
于 4/29/14, 23:04, Morten Rasmussen 写道: On Thu, Apr 24, 2014 at 05:20:29PM +0100, Peter Zijlstra wrote: OK, this series is a lot saner, with the exception of 3/8 and dependents. I do still worry a bit for loosing the longer term view for the big domains though. Sadly I don't have any really big

Re: perf_fuzzer crash on pentium 4

2014-05-09 Thread Cyrill Gorcunov
On Fri, May 09, 2014 at 12:19:49PM -0400, Vince Weaver wrote: > On Thu, 8 May 2014, Cyrill Gorcunov wrote: > > > > Updated. > > --- > > arch/x86/kernel/cpu/perf_event_p4.c | 67 > > > > 1 file changed, 30 insertions(+), 37 deletions(-) > > I tried this pat

Re: [PATCH] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-09 Thread Matt Ranostay
On Fri, May 9, 2014 at 5:57 AM, Nishanth Menon wrote: > On Fri 09 May 2014 12:56:23 AM CDT, Matt Ranostay wrote: >> Add missing i2c2 bus define to access various cape and >> prototype/breakout board devices. >> >> Signed-off-by: Matt Ranostay >> --- >> arch/arm/boot/dts/am335x-bone-common.dtsi |

Re: [tpmdd-devel] [PATCH] tpm: missing tpm_chip_put in tpm_get_random()

2014-05-09 Thread Jason Gunthorpe
On Fri, May 09, 2014 at 02:23:10PM +0300, Jarkko Sakkinen wrote: > Regression in 41ab999c. Call to tpm_chip_put is missing. This > will cause TPM device driver not to unload if tmp_get_random() > is called. > > Signed-off-by: Jarkko Sakkinen Reviewed-by: Jason Gunthorpe > drivers/char/tpm/tpm

Re: [PATCH] time: Cast tv_nsec to u64 for proper shifting in update_vsyscall()

2014-05-09 Thread Boris Ostrovsky
On 05/09/2014 12:03 PM, H. Peter Anvin wrote: On 05/09/2014 08:59 AM, Boris Ostrovsky wrote: On 05/09/2014 11:43 AM, H. Peter Anvin wrote: On 05/09/2014 08:11 AM, Boris Ostrovsky wrote: With tk->wall_to_monotonic.tv_nsec being a 32-bit value on 32-bit systems, (tk->wall_to_monotonic.tv_nsec <<

Re: [PATCH] mm: use a irq-safe __mod_zone_page_state in mlocked_vma_newpage()

2014-05-09 Thread Jianyu Zhan
>You are changing from the irq safe variant to __mod_zone_page_state which >is *not* irq safe. Its legit to do so since presumably irqs are disabled >anyways so you do not have to worry about irq safeness of >__mod_zone_page_state. >Please update the description. Its a bit confusing right now. Hi

[PATCH] pinctrl: Add i.MX1 pincontrol driver

2014-05-09 Thread Alexander Shiyan
This patch adds pincontrol driver for Freescale i.MX1 SOCs. Signed-off-by: Alexander Shiyan --- drivers/pinctrl/Kconfig| 7 ++ drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-imx1.c | 279 + 3 files changed, 287 insertions(+) cre

Re: perf_fuzzer crash on pentium 4

2014-05-09 Thread Vince Weaver
On Thu, 8 May 2014, Cyrill Gorcunov wrote: > > Updated. > --- > arch/x86/kernel/cpu/perf_event_p4.c | 67 > > 1 file changed, 30 insertions(+), 37 deletions(-) I tried this patch, and even though it seemed to fix one of the NMI storms I was experiencing I

Re: [REGRESSION] funny sched_domain build failure during resume

2014-05-09 Thread Peter Zijlstra
On Fri, May 09, 2014 at 12:04:55PM -0400, Tejun Heo wrote: > It looks like the allocation is for a temp buffer and there are also > percpu allocations going on. Maybe just allocate the buffers on boot > and keep them around? Its not a scratch buffer, but we could certainly try and keep it around

Re: IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

2014-05-09 Thread J. R. Okajima
"J. R. Okajima": > do_blockdev_direct_IO(), I'd suggest > - make two new static inline functions like > r = ima_aware_file_inode_mutex_lock(file) and ..._unlock(r, file). > - these new functions are complied when CONFIG_IMA is enabled, otherwise > they are plain mutex_lock/unlock(). > - then d

Re: [Intel-gfx] [3.14.0-rc4] regression: drm FIFO underruns

2014-05-09 Thread Damien Lespiau
On Fri, May 09, 2014 at 06:11:37PM +0200, Jörg Otte wrote: > > Jörg, can you please boot with drm.debug=0xe, reproduce the issue and > > then attach the complete dmesg? Please make sure that the dmesg > > contains the boot-up stuff too. > > > > Thanks, Daniel > Here it is. I should mention it only

[PATCH] orinoco_usb: Fix broken firmware load error checking

2014-05-09 Thread Ondrej Zary
The check of ezusb_firmware_download() return value (added by commit 488ec878034eccb852267b0e27ce9d511f75c587) is broken because ezusb_firmware_download() returns 1 on success. This causes the driver not to work with the following error: orinoco_usb: probe of 3-3:1.0 failed with error -14 Check th

Re: [PATCH v2] radio-bcm2048.c: fix wrong overflow check

2014-05-09 Thread Pali Rohár
On Monday 05 May 2014 15:34:29 Jiri Kosina wrote: > On Tue, 22 Apr 2014, Dan Carpenter wrote: > > From: Pali Rohár > > > > This patch fixes an off by one check in > > bcm2048_set_region(). > > > > Reported-by: Dan Carpenter > > Signed-off-by: Pali Rohár > > Signed-off-by: Pavel Machek > > Sig

[REGRESSION] funny sched_domain build failure during resume

2014-05-09 Thread Tejun Heo
Hello, guys. So, after resuming from suspend, I found my build jobs can not migrate away from the CPU it started on and thus just making use of single core. It turns out the scheduler failed to build sched domains due to order-3 allocation failure. systemd-sleep: page allocation failure: order:

Re: [PATCH v3 5/9] mtd: nand: add sunxi NAND flash controller support

2014-05-09 Thread Ezequiel Garcia
Hello Boris, Sorry for the review delay. Emilio, if you have hardware to test this, it would be nice to give Boris some Tested-by? On 12 Mar 07:07 PM, Boris BREZILLON wrote: > Add support for the sunxi NAND Flash Controller (NFC). > > Signed-off-by: Boris BREZILLON > --- > drivers/mtd/nand/Kc

Re: [PATCH] time: Cast tv_nsec to u64 for proper shifting in update_vsyscall()

2014-05-09 Thread H. Peter Anvin
On 05/09/2014 08:59 AM, Boris Ostrovsky wrote: > On 05/09/2014 11:43 AM, H. Peter Anvin wrote: >> On 05/09/2014 08:11 AM, Boris Ostrovsky wrote: >>> With tk->wall_to_monotonic.tv_nsec being a 32-bit value on 32-bit >>> systems, (tk->wall_to_monotonic.tv_nsec << tk->shift) in >>> update_vsyscall() >

Re: [PATCH] init: Don't decrease loops_per_jiffy when a CPU comes up

2014-05-09 Thread Paul Gortmaker
On 14-05-07 07:50 PM, Doug Anderson wrote: > The loops_per_jiffy count continues to be updated as each CPU is > brought up. This causes problems when we've got an HMP system and > different CPUs have different loops per jiffy. On exynos 542x > systems, for instance, the A7s will have significantl

Re: IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

2014-05-09 Thread J. R. Okajima
Mimi Zohar: > Another approach was posted here > http://marc.info/?l=linux-security-module&m=138919062430367&w=2 which > also was not upstreamed. It might be better a little than previous one which handles the flag temporarily. But, in order to make the code cleaner particulary for do_blockdev_di

Re: [PATCH] arm64: Support arch_irq_work_raise() via self IPIs

2014-05-09 Thread Catalin Marinas
On Mon, May 05, 2014 at 09:48:27PM +0100, Larry Bassel wrote: > Support for arch_irq_work_raise() was missing from > arm64 (a prerequisite for FULL_NOHZ). > > This patch is based on the arm32 patch ARM 7872/1 > which ports cleanly. [...] > +#ifdef CONFIG_IRQ_WORK > +void arch_irq_work_raise(void)

Re: [PATCH] time: Cast tv_nsec to u64 for proper shifting in update_vsyscall()

2014-05-09 Thread Boris Ostrovsky
On 05/09/2014 11:43 AM, H. Peter Anvin wrote: On 05/09/2014 08:11 AM, Boris Ostrovsky wrote: With tk->wall_to_monotonic.tv_nsec being a 32-bit value on 32-bit systems, (tk->wall_to_monotonic.tv_nsec << tk->shift) in update_vsyscall() may lose upper bits or, worse, add them since compiler will do

Re: [PATCH] mm: use a irq-safe __mod_zone_page_state in mlocked_vma_newpage()

2014-05-09 Thread Christoph Lameter
On Fri, 9 May 2014, Jianyu Zhan wrote: > mlocked_vma_newpage() is only called in fault path by > page_add_new_anon_rmap(), which is called on a *new* page. > And such page is initially only visible via the pagetables, and the > pte is locked while calling page_add_new_anon_rmap(), so we could use

Re: [RFC PATCH RT] netconsole: enable netconsole on PREEMPT_RT

2014-05-09 Thread Sebastian Andrzej Siewior
* Daniel Bristot de Oliveira | 2014-05-05 16:10:51 [-0300]: >Figure out why it was disabled is one objective of this RFC :-). The patch first appeared in patch-3.2-rt10.patch. Haven't seen it in v3.0-rt1 nor in in the first v3.2-rcX-rt1. I would assume that it was something locking specific. I ha

Re: [PATCH 1/4] mmc: sdhci: add a driver for Berlin SoCs

2014-05-09 Thread Ben Dooks
On 16/04/14 13:40, Antoine Ténart wrote: Add a Driver to support the SDHCI controller of the Marvell Berlin SoCs. This controller supports 3 sockets. [snip] + +static struct sdhci_ops sdhci_berlin_ops = { + .get_max_clock = sdhci_pltfm_clk_get_max_clock, +}; + +static struct sdhci_pltfm

Re: [PATCH tip/core/rcu 01/45] rcutorture: Add forward-progress checking for writer

2014-05-09 Thread Josh Triplett
On Wed, May 07, 2014 at 04:43:13PM -0700, Paul E. McKenney wrote: > On Wed, May 07, 2014 at 02:16:49PM -0700, j...@joshtriplett.org wrote: > > On Mon, Apr 28, 2014 at 05:24:49PM -0700, Paul E. McKenney wrote: > > > From: "Paul E. McKenney" > > > > > > The rcutorture output currently does not dist

Re: [PATCH v2 2/2] mm/compaction: avoid rescanning pageblocks in isolate_freepages

2014-05-09 Thread Michal Nazarewicz
On Wed, May 07 2014, Vlastimil Babka wrote: > The compaction free scanner in isolate_freepages() currently remembers PFN of > the highest pageblock where it successfully isolates, to be used as the > starting pageblock for the next invocation. The rationale behind this is that > page migration migh

<    1   2   3   4   5   6   7   >