[PATCH] drivers: mfd: allow property as NULL in syscon_early_regmap_lookup_by_phandle

2014-05-09 Thread Pankaj Dubey
If we pass syscon device node itself as first parameter to this function there is no need to parse and find syscon device node. So by allowing "property" parameter as NULL allow syscon_early_regmap_lookup_by_phandle to consider passed argument "np" itself as a syscon device node "syscon_np". This

[PATCH] printk/of_serial: fix serial console cessation part way through boot.

2014-05-09 Thread Stephen Chivers
Commit 5f5c9ae56c38942623f69c3e6dc6ec78e4da2076 "serial_core: Unregister console in uart_remove_one_port()" fixed a crash where a serial port was removed but not deregistered as a console. There is a side effect of that commit for platforms having serial consoles and of_serial configured

Re: [PATCH] pinctrl: Add i.MX1 pincontrol driver

2014-05-09 Thread Shawn Guo
On Fri, May 09, 2014 at 08:16:33PM +0400, Alexander Shiyan wrote: > This patch adds pincontrol driver for Freescale i.MX1 SOCs. > > Signed-off-by: Alexander Shiyan Acked-by: Shawn Guo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 03/13] PCI: quirk dma_func_alias for Ricoh devices

2014-05-09 Thread Alex Williamson
On Sat, 2014-05-10 at 12:46 +0800, Andrew Cooks wrote: > Hi Alex > > On Sat, May 3, 2014 at 1:15 PM, Alex Williamson > wrote: > > On Sat, 2014-05-03 at 10:29 +0800, Andrew Cooks wrote: > >> Hi Alex > >> > >> On Fri, May 2, 2014 at 12:27 AM, Alex Williamson > >> wrote: > >> > The existing quirk

Re: [PATCH tip/core/rcu 39/45] rcutorture: Note diffs from git commits

2014-05-09 Thread Josh Triplett
On Fri, May 09, 2014 at 05:51:24PM -0700, Paul E. McKenney wrote: > On Wed, May 07, 2014 at 03:17:42PM -0700, j...@joshtriplett.org wrote: > > On Mon, Apr 28, 2014 at 05:25:27PM -0700, Paul E. McKenney wrote: > > > From: "Paul E. McKenney" > > > > > > The current scripting only keeps track of

Re: [PATCH] checkpatch.pl: Fix checkpatch false positive due to ternary operator break

2014-05-09 Thread Joe Perches
On Fri, 2014-05-09 at 21:41 -0700, Jeff Kirsher wrote: > From: David Ertman Hey David. > Using the intuitive breaking of a ternary operator used in the > initialization of a variable in its declaration: > > type var = FOO ? >BAR : >FEE; [] > type var = FOO >

Re: [PATCH 03/13] PCI: quirk dma_func_alias for Ricoh devices

2014-05-09 Thread Andrew Cooks
Hi Alex On Sat, May 3, 2014 at 1:15 PM, Alex Williamson wrote: > On Sat, 2014-05-03 at 10:29 +0800, Andrew Cooks wrote: >> Hi Alex >> >> On Fri, May 2, 2014 at 12:27 AM, Alex Williamson >> wrote: >> > The existing quirk for these devices doesn't really solve the problem, >> > re-implement it

[PATCH] checkpatch.pl: Fix checkpatch false positive due to ternary operator break

2014-05-09 Thread Jeff Kirsher
From: David Ertman Using the intuitive breaking of a ternary operator used in the initialization of a variable in its declaration: type var = FOO ? BAR : FEE; is causing a checkpatch warning: "WARNING:SPACING: networking uses a blank line after declarations" Checkpatch

Re: [ANNOUNCE] 3.14.3-rt5

2014-05-09 Thread Mike Galbraith
On Fri, 2014-05-09 at 20:12 +0200, Sebastian Andrzej Siewior wrote: > Known issues: > > - bcache is disabled. > > - lazy preempt on x86_64 leads to a crash with some load. That is only with NO_HZ_FUL enabled here. Box blows the stack during task exit, eyeballing hasn't spotted the

Re: [patch]blk-mq: blk_mq_tag_to_rq should handle flush request

2014-05-09 Thread Shaohua Li
On Fri, May 09, 2014 at 08:00:18AM -0700, Christoph Hellwig wrote: > On Fri, May 09, 2014 at 08:07:33PM +0800, Shaohua Li wrote: > > > > flush request is special, which borrows tag from other request. Need a > > special > > handling to get it from tag. > > Thanks, we probably need this one.

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 14:16 -0400, Rik van Riel wrote: > That leaves the big question: do we want to fall back to > prev_cpu if it is not idle, and it has an idle sibling, > or would it be better to find an idle sibling of prev_cpu > when we wake up a task? Yes. If there was A correct answer,

Re: [PATCH tip/core/rcu 20/45] torture: Include "Stopping" string to torture_kthread_stopping()

2014-05-09 Thread Josh Triplett
On Fri, May 09, 2014 at 05:42:59PM -0700, Paul E. McKenney wrote: > On Fri, May 09, 2014 at 05:16:57PM -0700, Josh Triplett wrote: > > On Fri, May 09, 2014 at 05:13:46PM -0700, Paul E. McKenney wrote: > > > On Wed, May 07, 2014 at 02:37:36PM -0700, j...@joshtriplett.org wrote: > > > > On Mon, Apr

Re: [PATCH 1/4] clk: samsung: out: Add infrastructure to register CLKOUT

2014-05-09 Thread Pankaj Dubey
On 05/09/2014 10:00 PM, Tushar Behera wrote: All SoC in Exynos-series have a clock with name XCLKOUT to provide debug information about various clocks available in the SoC. The register controlling the MUX and GATE of this clock is provided within PMU domain. Since PMU domain can't be

[PATCH cgroup/for-3.16] cgroup: fix rcu_read_lock() leak in update_if_frozen()

2014-05-09 Thread Tejun Heo
While updating cgroup_freezer locking, 68fafb77d827 ("cgroup_freezer: replace freezer->lock with freezer_mutex") introduced a bug in update_if_frozen() where it returns with rcu_read_lock() held. Fix it by adding rcu_read_unlock() before returning. Signed-off-by: Tejun Heo Reported-by: kbuild

Re: [PATCH 0/4] Add framework to support clkout

2014-05-09 Thread Pankaj Dubey
Hi Tushar, On 05/09/2014 10:00 PM, Tushar Behera wrote: The MUX/GATE register for XCLKOUT doesn't resides within PMU domain, this can be accessed through a regmap provided by syscon driver. Adding another clock provider to handle regmap based handing of XCLKOUT. Dependency: 1. [PATCH v3] mfd:

[PATCH 2/2] libata: Use glob_match from lib/glob.c

2014-05-09 Thread George Spelvin
The function may be useful for other drivers, so export it. (Suggested by Tejun Heo.) Note that I inverted the return value of glob_match; returning true on match seemed to make more sense. Signed-off-by: George Spelvin --- drivers/ata/Kconfig | 1 + drivers/ata/libata-core.c | 72

[PATCH 1/2] Add lib/glob.c

2014-05-09 Thread George Spelvin
This is a helper function from drivers/ata/libata_core.c, where it is used to blacklist particular device models. It's being moved to lib/ so other drivers may use it for the same purpose. This implementation in non-recursive, so is safe for the kernel stack. Signed-off-by: George Spelvin ---

Re: [PATCH v2 2/2] CPU hotplug, stop-machine: Plug race-window that leads to "IPI-to-offline-CPU"

2014-05-09 Thread Tejun Heo
On Wed, May 07, 2014 at 03:31:51AM +0530, Srivatsa S. Bhat wrote: > diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c > index 01fbae5..7abb361 100644 > --- a/kernel/stop_machine.c > +++ b/kernel/stop_machine.c > @@ -165,12 +165,13 @@ static void ack_state(struct multi_stop_data *msdata) >

Re: [PATCH v2] ata: use CONFIG_PM_SLEEP instead of CONFIG_PM where applicable in host drivers

2014-05-09 Thread Tejun Heo
On Wed, May 07, 2014 at 05:17:44PM +0200, Bartlomiej Zolnierkiewicz wrote: > This patch fixes host drivers to use CONFIG_PM_SLEEP instead of CONFIG_PM > where applicable. Benefits of this change: > > * unused code is not being compiled in for CONFIG_PM=y, CONFIG_PM_SLEEP=n > and

[PATCH 1/1] powerpc/perf: Adjust callchain based on DWARF debug info

2014-05-09 Thread Sukadev Bhattiprolu
[PATCH 1/1] powerpc/perf: Adjust callchain based on DWARF debug info When saving the callchain on Power, the kernel conservatively saves excess entries in the callchain. A few of these entries are needed in some cases but not others. Eg: the value in the link register (LR) is needed only when it

[PATCH] HWPOSION, hugetlb: lock_page/unlock_page does not match for handling a free hugepage

2014-05-09 Thread Chen Yucong
For handling a free hugepage in memory failure, the race will happen if another thread hwpoisoned this hugepage concurrently. So we need to check PageHWPoison instead of !PageHWPoison. If hwpoison_filter(p) returns true or a race happens, then we need to unlock_page(hpage). Signed-off-by: Chen

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

2014-05-09 Thread Matt Ranostay
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 | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi

Re: [RFC][PATCH 1/3] PM / sleep: Flag to speed up suspend-resume of runtime-suspended devices

2014-05-09 Thread Rafael J. Wysocki
On Friday, May 09, 2014 03:48:21 PM Kevin Hilman wrote: > "Rafael J. Wysocki" writes: > > > From: Rafael J. Wysocki > > > > Currently, some subsystems (e.g. PCI and the ACPI PM domain) have to > > resume all runtime-suspended devices during system suspend, mostly > > because those devices may

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

2014-05-09 Thread Maxime Ripard
On Fri, May 09, 2014 at 06:56:10PM +0200, Boris BREZILLON wrote: > 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

Re: [PATCH 4/7] usb: ehci-platform: add optional reset controller retrieval

2014-05-09 Thread Maxime Ripard
On Thu, May 08, 2014 at 10:07:25AM -0400, Alan Stern wrote: > On Thu, 8 May 2014, Hans de Goede wrote: > > > Hi, > > > > On 05/08/2014 12:00 AM, Maxime Ripard wrote: > > > On Wed, May 07, 2014 at 10:25:55AM -0400, Alan Stern wrote: > > >> On Tue, 6 May 2014, Maxime Ripard wrote: > > >> > > >>>

Re: [PATCH v10 09/19] qspinlock: Prepare for unfair lock support

2014-05-09 Thread Waiman Long
On 05/08/2014 03:06 PM, Peter Zijlstra wrote: On Wed, May 07, 2014 at 11:01:37AM -0400, Waiman Long wrote: If unfair lock is supported, the lock acquisition loop at the end of the queue_spin_lock_slowpath() function may need to detect the fact the lock can be stolen. Code are added for the

Re: [RFC PATCH] UBI: fix rb_tree node comparison in add_map

2014-05-09 Thread Brian Norris
Hi Artem, On Sat, Mar 22, 2014 at 12:56:59AM +0100, Richard Weinberger wrote: > Am 21.03.2014 20:54, schrieb Mike Snitzer: > > The comparisons used in add_vol() shouldn't be identical. Pretty sure > > the following is correct but it is completely untested. > > > > Signed-off-by: Mike Snitzer >

Re: [PATCHv5 RFC 12/15] hwspinlock/core: add OF helper to parse reserved locks

2014-05-09 Thread Suman Anna
Hi Josh, On 05/05/2014 04:54 PM, Josh Cartwright wrote: > On Mon, May 05, 2014 at 04:44:25PM -0500, Suman Anna wrote: >> Hi Rob, >> >> On 04/30/2014 07:34 PM, Suman Anna wrote: >>> The property 'hwlock-reserved-locks' will be used to represent >>> the number of locks to be reserved for clients

Re: [PATCH v10 08/19] qspinlock: Make a new qnode structure to support virtualization

2014-05-09 Thread Waiman Long
On 05/08/2014 03:04 PM, Peter Zijlstra wrote: On Wed, May 07, 2014 at 11:01:36AM -0400, Waiman Long wrote: /* + * To have additional features for better virtualization support, it is + * necessary to store additional data in the queue node structure. So + * a new queue node structure will

Re: [PATCH v10 07/19] qspinlock: Use a simple write to grab the lock, if applicable

2014-05-09 Thread Waiman Long
On 05/08/2014 03:02 PM, Peter Zijlstra wrote: On Wed, May 07, 2014 at 11:01:35AM -0400, Waiman Long wrote: /** + * get_qlock - Set the lock bit and own the lock + * @lock: Pointer to queue spinlock structure + * + * This routine should only be called when the caller is the only one + *

Re: [PATCH v10 07/19] qspinlock: Use a simple write to grab the lock, if applicable

2014-05-09 Thread Waiman Long
On 05/08/2014 03:00 PM, Peter Zijlstra wrote: On Wed, May 07, 2014 at 11:01:35AM -0400, Waiman Long wrote: @@ -94,23 +94,29 @@ static inline struct mcs_spinlock *decode_tail(u32 tail) * can allow better optimization of the lock acquisition for the pending * bit holder. */ -#if

Re: [PATCH v10 06/19] qspinlock: prolong the stay in the pending bit path

2014-05-09 Thread Waiman Long
On 05/08/2014 02:58 PM, Peter Zijlstra wrote: On Wed, May 07, 2014 at 11:01:34AM -0400, Waiman Long wrote: @@ -221,11 +222,37 @@ static inline int trylock_pending(struct qspinlock *lock, u32 *pval) */ for (;;) { /* -* If we observe any

Re: [PATCH v2 0/5] watchdog: Add reboot API

2014-05-09 Thread Guenter Roeck
On Fri, May 09, 2014 at 05:37:55PM -0700, Randy Dunlap wrote: > On 05/09/2014 05:31 PM, Guenter Roeck wrote: > > Some hardware implements reboot through its watchdog hardware, for example > > by triggering a watchdog timeout or by writing into its watchdog register > > set. Platform specific code

Re: [PATCH tip/core/rcu 39/45] rcutorture: Note diffs from git commits

2014-05-09 Thread Paul E. McKenney
On Wed, May 07, 2014 at 03:17:42PM -0700, j...@joshtriplett.org wrote: > On Mon, Apr 28, 2014 at 05:25:27PM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > The current scripting only keeps track of the git SHA-1 of the current > > HEAD. This can cause confusion in cases

Re: [PATCH v10 03/19] qspinlock: Add pending bit

2014-05-09 Thread Waiman Long
On 05/08/2014 02:57 PM, Peter Zijlstra wrote: On Wed, May 07, 2014 at 11:01:31AM -0400, Waiman Long wrote: +/** + * trylock_pending - try to acquire queue spinlock using the pending bit + * @lock : Pointer to queue spinlock structure + * @pval : Pointer to value of the queue spinlock 32-bit

Re: [PATCH tip/core/rcu 32/45] torture: Better summary diagnostics for build failures

2014-05-09 Thread Paul E. McKenney
On Wed, May 07, 2014 at 03:11:39PM -0700, j...@joshtriplett.org wrote: > On Mon, Apr 28, 2014 at 05:25:20PM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > The reaction of kvm-recheck.sh is obscure at best, and easy to miss > > completely. This commit therefore prints "BUG:

Re: vmstat: On demand vmstat workers V4

2014-05-09 Thread Frederic Weisbecker
On Fri, May 09, 2014 at 04:47:45PM -0700, Paul E. McKenney wrote: > On Sat, May 10, 2014 at 12:57:15AM +0200, Thomas Gleixner wrote: > If someone decides to make tick_do_timer_cpu non-constant in NO_HZ_FULL > CPUs, they will break unless/until I make RCU deal with that sort > of thing, at least

Re: [PATCH] iio: add support of the max1027

2014-05-09 Thread Hartmut Knaack
Philippe Reynes schrieb: > This driver add partial support of the > maxim 1027/1029/1031. Differential mode is not > supported. > > It was tested on armadeus apf27 board. > > Signed-off-by: Philippe Reynes > --- > .../devicetree/bindings/iio/adc/max1027-adc.txt| 19 + >

Re: [PATCH tip/core/rcu 20/45] torture: Include "Stopping" string to torture_kthread_stopping()

2014-05-09 Thread Paul E. McKenney
On Fri, May 09, 2014 at 05:16:57PM -0700, Josh Triplett wrote: > On Fri, May 09, 2014 at 05:13:46PM -0700, Paul E. McKenney wrote: > > On Wed, May 07, 2014 at 02:37:36PM -0700, j...@joshtriplett.org wrote: > > > On Mon, Apr 28, 2014 at 05:25:08PM -0700, Paul E. McKenney wrote: > > > > From: "Paul

Re: [PATCH v2 0/5] watchdog: Add reboot API

2014-05-09 Thread Randy Dunlap
On 05/09/2014 05:31 PM, Guenter Roeck wrote: > Some hardware implements reboot through its watchdog hardware, for example > by triggering a watchdog timeout or by writing into its watchdog register > set. Platform specific code starts to spread into watchdog drivers, > typically by setting

Re: [PATCH tip/core/rcu 27/45] rcutorture: Export RCU grace-period kthread wait state to rcutorture

2014-05-09 Thread Paul E. McKenney
On Wed, May 07, 2014 at 03:05:31PM -0700, j...@joshtriplett.org wrote: > On Mon, Apr 28, 2014 at 05:25:15PM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > This commit allows rcutorture to print additional state for the > > RCU grace-period kthreads in cases where RCU seems

Re: vmstat: On demand vmstat workers V4

2014-05-09 Thread Frederic Weisbecker
On Sat, May 10, 2014 at 12:57:15AM +0200, Thomas Gleixner wrote: > On Fri, 9 May 2014, Christoph Lameter wrote: > > On Fri, 9 May 2014, Thomas Gleixner wrote: > > > I understand why you want to get this done by a housekeeper, I just > > > did not understand why we need this whole move it around

[PATCH v2 2/5] arm64: Support reboot through watchdog subsystem

2014-05-09 Thread Guenter Roeck
The watchdog subsystem provides an API to perform a system reboot. Use it. Signed-off-by: Guenter Roeck --- v2: No change arch/arm64/kernel/process.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index 6391485..29c2bc0 100644

[PATCH 4/5] watchdog: moxart: Register reboot handler with watchdog subsystem

2014-05-09 Thread Guenter Roeck
The watchdog subsystem now provides an API to trigger a system reboot. Register with it. Tested-by: Jonas Jensen Signed-off-by: Guenter Roeck --- v2: No change drivers/watchdog/moxart_wdt.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git

[PATCH v2 3/5] arm: Support reboot through watchdog subsystem

2014-05-09 Thread Guenter Roeck
The watchdog subsystem provides an API to perform a system reboot. Use it. With this change, the arm_pm_restart callback is now optional, so check if it is set before calling it. Tested-by: Jonas Jensen Signed-off-by: Guenter Roeck --- v2: No change arch/arm/kernel/process.c | 6 +- 1

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 05:14:54PM -0700, Josh Triplett wrote: > On Fri, May 09, 2014 at 03:55:14PM -0700, Paul E. McKenney wrote: > > On Fri, May 09, 2014 at 03:40:52PM -0700, Josh Triplett wrote: > > > On Fri, May 09, 2014 at 03:30:04PM -0700, Paul E. McKenney wrote: > > > > On Fri, May 09, 2014

[PATCH v2 5/5] watchdog: sunxi: Register reboot handler with watchdog subsystem

2014-05-09 Thread Guenter Roeck
The watchdog subsystem now provides an API to trigger a system reboot. Register with it. Acked-by: Maxime Ripard Signed-off-by: Guenter Roeck --- v2: Rebased to v2 of Maxime's patch adding reboot support to the sunxi watchdog driver. drivers/watchdog/sunxi_wdt.c | 22

Re: [PATCH tip/core/rcu 24/45] torture: Choose bzImage location based on architecture

2014-05-09 Thread Paul E. McKenney
On Wed, May 07, 2014 at 03:02:46PM -0700, j...@joshtriplett.org wrote: > On Mon, Apr 28, 2014 at 05:25:12PM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > Currently, the scripts hard-code arch/x86/boot/bzImage, which does not > > work well for other architectures. This

[PATCH v2 0/5] watchdog: Add reboot API

2014-05-09 Thread Guenter Roeck
Some hardware implements reboot through its watchdog hardware, for example by triggering a watchdog timeout or by writing into its watchdog register set. Platform specific code starts to spread into watchdog drivers, typically by setting pointers to a callback function which is then called from

[PATCH v2 1/5] watchdog: Add API to trigger reboots

2014-05-09 Thread Guenter Roeck
Some hardware implements reboot through its watchdog hardware, for example by triggering a watchdog timeout. Platform specific code starts to spread into watchdog drivers, typically by setting pointers to a callback functions which is then called from the platform reset handler. To simplify code

[PATCH V2 0/6] namespaces: log namespaces per task

2014-05-09 Thread Richard Guy Briggs
The purpose is to track namespaces in use by logged processes from the perspective of init_*_ns. The first patch defines a function to generate them and assigns them. The second patch provides an example of usage for audit_log_task_info() which is used by syscall audits, among others.

[PATCH V2 3/6] namespaces: expose namespace instance serial number in proc_ns_operations

2014-05-09 Thread Richard Guy Briggs
Expose the namespace instance serial number for each namespace type in the proc namespace operations structure to make it available for the proc filesystem. Signed-off-by: Richard Guy Briggs --- fs/namespace.c |7 +++ include/linux/proc_ns.h |1 + ipc/namespace.c

[PATCH V2 5/6] namespaces: expose ns_entries

2014-05-09 Thread Richard Guy Briggs
Expose ns_entries so subsystems other than proc can use this set of namespace operations. Signed-off-by: Richard Guy Briggs --- fs/proc/namespaces.c|2 +- include/linux/proc_ns.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/proc/namespaces.c

[PATCH V2 4/6] namespaces: expose ns instance serial numbers in proc

2014-05-09 Thread Richard Guy Briggs
Expose the namespace instace serial numbers in the proc filesystem at /proc//ns/_snum. The link text gives the serial number in hex. "snum" was chosen instead of "seq" for consistency with inum and there are a number of other uses of "seq" in the namespace code. Suggested-by: Serge E. Hallyn

[PATCH V2 6/6] audit: convert namespace serial number logging to use proc ns_entries

2014-05-09 Thread Richard Guy Briggs
Convert audit direct access to namespace serial numbers to insead use the proc namespace operations structure which lists all namespace types with a consistent api. This should eventually squash down to: [audit: log namespace serial numbers] (which in turn will need to follow [namespaces: expose

[PATCH V2 1/6] namespaces: assign each namespace instance a serial number

2014-05-09 Thread Richard Guy Briggs
Generate and assign a serial number per namespace instance since boot. Use a serial number per namespace (unique across one boot of one kernel) instead of the inode number (which is claimed to have had the right to change reserved and is not necessarily unique if there is more than one proc fs)

[PATCH V2 2/6] audit: log namespace serial numbers

2014-05-09 Thread Richard Guy Briggs
Log the namespace serial numbers of a task in audit_log_task_info() which is used by syscall audits, among others.. Idea first presented: https://www.redhat.com/archives/linux-audit/2013-March/msg00020.html Typical output format would look something like: type=SYSCALL

Re: [PATCH tip/core/rcu 20/45] torture: Include "Stopping" string to torture_kthread_stopping()

2014-05-09 Thread Josh Triplett
On Fri, May 09, 2014 at 05:13:46PM -0700, Paul E. McKenney wrote: > On Wed, May 07, 2014 at 02:37:36PM -0700, j...@joshtriplett.org wrote: > > On Mon, Apr 28, 2014 at 05:25:08PM -0700, Paul E. McKenney wrote: > > > From: "Paul E. McKenney" > > > > > > Currently, torture_kthread_stopping() prints

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 03:55:14PM -0700, Paul E. McKenney wrote: > On Fri, May 09, 2014 at 03:40:52PM -0700, Josh Triplett wrote: > > On Fri, May 09, 2014 at 03:30:04PM -0700, Paul E. McKenney wrote: > > > On Fri, May 09, 2014 at 12:32:46PM -0700, Josh Triplett wrote: > > > > On Fri, May 09, 2014

Re: [PATCH tip/core/rcu 20/45] torture: Include "Stopping" string to torture_kthread_stopping()

2014-05-09 Thread Paul E. McKenney
On Wed, May 07, 2014 at 02:37:36PM -0700, j...@joshtriplett.org wrote: > On Mon, Apr 28, 2014 at 05:25:08PM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > Currently, torture_kthread_stopping() prints only the name of the > > kthread that is stopping, which can be unedifying.

[PATCH] powerpc: Fix "attempt to move .org backwards" error (again)

2014-05-09 Thread Guenter Roeck
Commit 4e243b7 (powerpc: Fix "attempt to move .org backwards" error) fixes the allyesconfig build by moving machine_check_common to a different location. While this fixes most of the errors, both allmodconfig and allyesconfig still fail as follows. arch/powerpc/kernel/exceptions-64s.S:1315:

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

2014-05-09 Thread Ezequiel Garcia
On 10 May 12:24 AM, Arnd Bergmann wrote: > On Friday 09 May 2014 19:09:15 Ezequiel Garcia wrote: > > # time nanddump /dev/mtd5 -f /dev/null -q > > real0m 5.82s > > user0m 0.20s > > sys 0m 5.60s > > > > Jason: Care to submit a proper patch? > > > > On 08 May 04:56 PM, Arnd Bergmann

Re: [Nouveau] [PATCH] drm/gk20a/fb: fix NULL dereference

2014-05-09 Thread Ben Skeggs
On Fri, May 9, 2014 at 5:57 PM, Alexandre Courbot wrote: > gk20a_ram_put() can be called with a NULL nouveau_mem in case of error. > Handle that case the way is it done in other RAM drivers. Got it, thanks! > > Signed-off-by: Alexandre Courbot > --- >

Re: vmstat: On demand vmstat workers V4

2014-05-09 Thread Paul E. McKenney
On Sat, May 10, 2014 at 12:57:15AM +0200, Thomas Gleixner wrote: > On Fri, 9 May 2014, Christoph Lameter wrote: > > On Fri, 9 May 2014, Thomas Gleixner wrote: > > > I understand why you want to get this done by a housekeeper, I just > > > did not understand why we need this whole move it around

[PATCH 4/4] UserModeLinux: Convert printks to pr_

2014-05-09 Thread Joe Perches
Use a more current logging style. Convert the remaining printks without a KERN_ to pr_ where appropriate. There a few additional printks without a level that are emitted at KERN_DEFAULT for stack dumps and such. Add printf format/argument verification to the static inline just in case.

[PATCH 2/4] UserModeLinux: Remove unused #defines of UM_KERN_

2014-05-09 Thread Joe Perches
These are now unused so delete them. Signed-off-by: Joe Perches --- arch/um/include/shared/user.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/um/include/shared/user.h b/arch/um/include/shared/user.h index cef0685..4fa82c0 100644 --- a/arch/um/include/shared/user.h +++

[PATCH 0/4] UserModeLinux: Message logging neatening

2014-05-09 Thread Joe Perches
Joe Perches (4): UserModeLinux: Convert UM_KERN_ to KERN_ UserModeLinux: Remove unused #defines of UM_KERN_ UserModeLinux: Use a more current logging style UserModeLinux: Convert printks to pr_ arch/um/drivers/chan_kern.c | 27 +++ arch/um/drivers/chan_user.c

[PATCH] ACPICA: amlresrc.h: Neaten AML_ definitions and uses

2014-05-09 Thread Joe Perches
Use a more normal style for these slightly odd #defines. Remove trailing semicolons from #defines Add semicolon to uses. Signed-off-by: Joe Perches --- I think these are unnecessarily obfuscating and the #defines should be expanded in-place instead. drivers/acpi/acpica/amlresrc.h | 137

mmotm 2014-05-09-16-17 uploaded

2014-05-09 Thread akpm
The mm-of-the-moment snapshot 2014-05-09-16-17 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: Reminder for kernel summit nominations

2014-05-09 Thread tytso
On Fri, May 09, 2014 at 11:23:19AM -0400, Theodore Ts'o wrote: > ... please send nominations to: > > kernel-sum...@lists.linuxfoundation.org Argh, sorry, I screwed up the e-mail address. The correct e-mail address is. ksummit-disc...@lists.linuxfoundation.org My apologies

Re: vmstat: On demand vmstat workers V4

2014-05-09 Thread Thomas Gleixner
On Fri, 9 May 2014, Christoph Lameter wrote: > On Fri, 9 May 2014, Thomas Gleixner wrote: > > I understand why you want to get this done by a housekeeper, I just > > did not understand why we need this whole move it around business is > > required. > > This came about because of another objection

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 03:40:52PM -0700, Josh Triplett wrote: > On Fri, May 09, 2014 at 03:30:04PM -0700, Paul E. McKenney wrote: > > On Fri, May 09, 2014 at 12:32:46PM -0700, Josh Triplett wrote: > > > On Fri, May 09, 2014 at 10:36:58AM -0700, Paul E. McKenney wrote: > > > > On Fri, May 09, 2014

Re: [ANNOUNCE] 3.14.3-rt5

2014-05-09 Thread Pavel Vasilyev
09.05.2014 22:12, Sebastian Andrzej Siewior пишет: The delta patch against v3.14.3-rt4 is appended below and can be found Where delta from 3 to 4 ? -- Pavel. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [RFC][PATCH 1/3] PM / sleep: Flag to speed up suspend-resume of runtime-suspended devices

2014-05-09 Thread Kevin Hilman
"Rafael J. Wysocki" writes: > From: Rafael J. Wysocki > > Currently, some subsystems (e.g. PCI and the ACPI PM domain) have to > resume all runtime-suspended devices during system suspend, mostly > because those devices may need to be reprogrammed due to different > wakeup settings for system

[PATCH] video: omap: delete support for early fbmem allocation

2014-05-09 Thread Aaro Koskinen
Commit 1e434f9318efc3dddc0c0b8d2071712668154c2b (OMAPFB: remove early mem alloc from old omapfb) deleted the support for early fbmem allocation from the platform code, but some code still remains in the driver side. Delete this code now, as it repotedly causes build issues on !MMU. The patch was

Attention!!!

2014-05-09 Thread Mr. Jerry Mark
Attn: Dear, Your western union payment is now ready for you to start picking it up through this custody and the total fund is 2.5 Million Usd which was deposited in this custody Three days ago and we decided to contact you on your email address, the maximum amount you will be receiving per day is

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 03:30:04PM -0700, Paul E. McKenney wrote: > On Fri, May 09, 2014 at 12:32:46PM -0700, Josh Triplett wrote: > > 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

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

2014-05-09 Thread Josh Triplett
On Fri, May 09, 2014 at 02:20:45PM -0700, H. Peter Anvin wrote: > On 05/09/2014 02:12 PM, Arnd Bergmann wrote: > > > >> However, if we're going to have these devices I'm wondering if having > >> /dev/portw and /dev/portl (or something like that) might not make sense, > >> rather than requiring a

Re: [RFC][PATCH 1/3] PM / sleep: Flag to speed up suspend-resume of runtime-suspended devices

2014-05-09 Thread Rafael J. Wysocki
On Thursday, May 08, 2014 09:52:18 PM Alan Stern wrote: > On Thu, 8 May 2014, Rafael J. Wysocki wrote: > > > Well, no. > > > > The reason why that doesn't work is because ->prepare() callbacks are > > executed in the reverse order, so the perent's ones will be run before > > the ->prepare() of

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 12:32:46PM -0700, Josh Triplett wrote: > 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

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

2014-05-09 Thread Arnd Bergmann
On Friday 09 May 2014 19:09:15 Ezequiel Garcia wrote: > # time nanddump /dev/mtd5 -f /dev/null -q > real0m 5.82s > user0m 0.20s > sys 0m 5.60s > > Jason: Care to submit a proper patch? > > On 08 May 04:56 PM, Arnd Bergmann wrote: > > Ok, that is a noticeable difference. For scale,

Re: [PATCH] i2c/nuc900: fix ancient build error

2014-05-09 Thread Mark Roszko
"[PATCH] NUC900: patch for implement clk_get_rate" https://lkml.org/lkml/2010/6/15/147 This patch would have fixed the apbfreq not being a real struct member and would also explain why clk_get_rate is called without using it's return value in the line above what you have. >From 2010, so it got

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

2014-05-09 Thread Ezequiel Garcia
On 09 May 03:28 PM, Jason Gunthorpe wrote: > > > I gave this a try in order to answer Arnd's performance > > question. First of all, the patch seems wrong. I guess it's because > > readsl reads 4-bytes pieces, instead of 8-bytes. > > > > This patch below is tested (but not completely, see below)

Re: [patch v4 4/6] mm, compaction: embed migration mode in compact_control

2014-05-09 Thread Andrew Morton
On Wed, 7 May 2014 03:36:46 -0700 (PDT) David Rientjes wrote: > We're going to want to manipulate the migration mode for compaction in the > page > allocator, and currently compact_control's sync field is only a bool. > > Currently, we only do MIGRATE_ASYNC or MIGRATE_SYNC_LIGHT compaction

Re: [PATCH] checkpatch: Warn on #defines ending in semicolon

2014-05-09 Thread Joe Perches
On Fri, 2014-05-09 at 23:47 +0200, Thomas Gleixner wrote: > On Fri, 9 May 2014, Joe Perches wrote: > > > Using a #define ending in a semicolon is poor style > > It's not poor style it's simply a bug. Just because it > > > can lead to unexpected code paths being executed. I think it's still a

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

2014-05-09 Thread Kumar Gala
On May 9, 2014, at 12:34 PM, 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 > --- >

[PATCH v3 1/2] arm64: adjust el0_sync so that a function can be called

2014-05-09 Thread Larry Bassel
To implement the context tracker properly on arm64, a function call needs to be made after debugging and interrupts are turned on, but before the lr is changed to point to ret_from_exception(). If the function call is made after the lr is changed the function will not return to the correct place.

[PATCH v3 2/2] arm64: enable context tracking

2014-05-09 Thread Larry Bassel
Make calls to ct_user_enter when the kernel is exited and ct_user_exit when the kernel is entered (in el0_da, el0_ia, el0_svc, el0_irq and all of the "error" paths). These macros expand to function calls which will only work properly if el0_sync and related code has been rearranged (in a previous

[PATCH v3 0/2] context tracker support for arm64

2014-05-09 Thread Larry Bassel
Implement and enable context tracking for arm64 (which is a prerequisite for FULL_NOHZ support). This patchset builds upon earlier work by Kevin Hilman and is based on 3.15-rc2. Changes v2 to v3: * Save/restore necessary registers in ct_user_enter and ct_user_exit * Annotate "error paths" out of

nfsd bug fixes for 3.15, part 2

2014-05-09 Thread J. Bruce Fields
Please pull some nfsd bugfixes for 3.15: git://linux-nfs.org/~bfields/linux.git for-3.15 --b. Kinglong Mee (1): NFSD: Call ->set_acl with a NULL ACL structure if no entries Trond Myklebust (2): NFSd: Move default

[PATCH] time: Provide full featured jiffies_to_nsecs() function

2014-05-09 Thread Luck, Tony
The "uptime" tracer added in: commit 8aacf017b065a805d27467843490c976835eb4a5 tracing: Add "uptime" trace clock that uses jiffies has wraparound problems when the system has been up more than 1 hour 11 minutes and 34 seconds. It converts jiffies to nanoseconds using:

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

2014-05-09 Thread Rafael J. Wysocki
On Friday, May 09, 2014 02:26:50 PM Valdis Kletnieks wrote: > > --==_Exmh_1399660010_2033P > Content-Type: text/plain; charset=us-ascii > > So this commit landed in linux-next recently: > > commit e2a7c3d7812369daae56f069eab2e8f3e548d231 > Author: Lan Tianyu > Date: Sun May 4 11:07:24 2014

Re: [PATCH] checkpatch: Warn on #defines ending in semicolon

2014-05-09 Thread Thomas Gleixner
On Fri, 9 May 2014, Joe Perches wrote: > Using a #define ending in a semicolon is poor style It's not poor style it's simply a bug. Just because it > can lead to unexpected code paths being executed. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe

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

2014-05-09 Thread Thomas Gleixner
Ted, On Fri, 9 May 2014, Theodore Ts'o wrote: > People selected algorithmically > === > Thomas Gleixner please remove me right away from all algorithmical or other selection procedures. I'm not going to be in Chicago for KS no matter whether I get an invite or not.

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

2014-05-09 Thread Bjorn Andersson
On Fri 09 May 10:52 PDT 2014, 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, > gcc clk, cci_timer, cci_i2c, cam_clk, hsic, tsif, sdc3, sdc4, and other >

Re: [PATCH] checkpatch: Make --strict a default for files in drivers/net and net/

2014-05-09 Thread Joe Perches
On Fri, 2014-05-09 at 16:29 -0500, Kim Phillips wrote: [] > > > this isn't easily extensible/scalable to other subsystems, or > > > say something like "all Freescale drivers." Having it configurable > > > in .checkpatch.conf might be a better solution, but I don't believe > > > networking should

[PATCH] Avoid always dirtying mapping->flags on O_DIRECT

2014-05-09 Thread Jens Axboe
Hi, In some testing I ran today, we end up spending 40% of the time in filemap_check_errors(). That smells fishy. Looking further, this is basically what happens: blkdev_aio_read() generic_file_aio_read() filemap_write_and_wait_range() if (!mapping->nr_pages)

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

2014-05-09 Thread Rafael J. Wysocki
On Friday, May 09, 2014 08:09:03 PM Fabian Frederick wrote: > > Inspired-By: Andrew Morton > Cc: "Rafael J. Wysocki" > Cc: Andrew Morton > Signed-off-by: Fabian Frederick Queued up for 3.16, thanks! > --- > kernel/power/hibernate.c | 5 - > 1 file changed, 4 insertions(+), 1

[PATCHSET cgroup/for-3.16] cgroup: iterate cgroup_subsys_states directly

2014-05-09 Thread Tejun Heo
Hello, Currently, while csses (cgroup_subsys_states) have ->parent linkage too, only cgroups form full tree through their ->children and ->sibling fields and css iterations naturally is implemented by iterating cgroups and then dereferencing the css for the specified subsystem. There are now use

[PATCH 02/14] cgroup: remove pointless has tasks/children test from mem_cgroup_force_empty()

2014-05-09 Thread Tejun Heo
mem_cgroup_force_empty() is used only from mem_cgroup_force_empty_write() and tests whether the target memcg has any tasks or children without any synchronization and then returns -EBUSY if so. This is just weird. The tests don't really mean anything as tasks and children may be added after the

  1   2   3   4   5   6   7   8   9   10   >