Re: mmotm 2014-10-02-16-22 uploaded

2014-10-02 Thread Guenter Roeck
On Thu, Oct 02, 2014 at 04:22:52PM -0700, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2014-10-02-16-22 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

linux-next: build failure after merge of the target-updates tree

2014-10-02 Thread Stephen Rothwell
Hi Nicholas, After merging the target-updates tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/target/target_core_user.c: In function 'tcmu_netlink_event': drivers/target/target_core_user.c:780:2: error: expected ';' before 'ret' ret = nla_put_u32(skb,

[GIT PULL REQUEST] one last-minute update for md/raid5

2014-10-02 Thread NeilBrown
Hi Linus, I hope this is in time for 3.17... It turns out that 'discard_zeroes_data' is not a guarantee, and RAID4/5/6 really depends on it for DISCARD to be handled safely. So it is safest to default to disabling DISCARD on these arrays until some sort of whitelist arrangement can be found.

[tip:sched/core] sched/x86: Fix up typo in topology detection

2014-10-02 Thread tip-bot for Dave Hansen
Commit-ID: 728e5653e6fdb2a0892e94a600aef8c9a036c7eb Gitweb: http://git.kernel.org/tip/728e5653e6fdb2a0892e94a600aef8c9a036c7eb Author: Dave Hansen AuthorDate: Tue, 30 Sep 2014 14:45:46 -0700 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 05:46:52 +0200 sched/x86: Fix up typo in

[tip:perf/core] perf/x86/intel/uncore: Fix minor race in box set up

2014-10-02 Thread tip-bot for Andi Kleen
Commit-ID: 4f971248bc6ad2bb2a89a25a072ebfec5757d298 Gitweb: http://git.kernel.org/tip/4f971248bc6ad2bb2a89a25a072ebfec5757d298 Author: Andi Kleen AuthorDate: Mon, 22 Sep 2014 15:27:06 -0700 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 06:02:49 +0200 perf/x86/intel/uncore: Fix

[tip:locking/core] locking/lockdep: Revert qrwlock recusive stuff

2014-10-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 8acd91e8620836a56ff62028ed28ba629f2881a0 Gitweb: http://git.kernel.org/tip/8acd91e8620836a56ff62028ed28ba629f2881a0 Author: Peter Zijlstra AuthorDate: Tue, 30 Sep 2014 15:26:00 +0200 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 06:09:30 +0200 locking/lockdep: Revert

[tip:locking/core] locking/rwsem: Avoid double checking before try acquiring write lock

2014-10-02 Thread tip-bot for Jason Low
Commit-ID: debfab74e453f079cd8b12b0604387a8c510ef3a Gitweb: http://git.kernel.org/tip/debfab74e453f079cd8b12b0604387a8c510ef3a Author: Jason Low AuthorDate: Tue, 16 Sep 2014 17:16:57 -0700 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 06:09:29 +0200 locking/rwsem: Avoid double

[tip:locking/arch] locking,arch: Use ACCESS_ONCE() instead of cast to volatile in atomic_read()

2014-10-02 Thread tip-bot for Pranith Kumar
Commit-ID: 2291059c852706c6f5ffb400366042b7625066cd Gitweb: http://git.kernel.org/tip/2291059c852706c6f5ffb400366042b7625066cd Author: Pranith Kumar AuthorDate: Tue, 23 Sep 2014 10:29:50 -0400 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 06:06:23 +0200 locking,arch: Use

[tip:perf/core] perf/x86: Tone down kernel messages when the PMU check fails in a virtual environment

2014-10-02 Thread tip-bot for Wei Huang
Commit-ID: cc6cd47e7395bc05c5077009808b820633eb3f18 Gitweb: http://git.kernel.org/tip/cc6cd47e7395bc05c5077009808b820633eb3f18 Author: Wei Huang AuthorDate: Wed, 24 Sep 2014 22:55:14 -0500 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 06:04:41 +0200 perf/x86: Tone down kernel

[tip:sched/core] sched: Improve sysbench performance by fixing spurious active migration

2014-10-02 Thread tip-bot for Vincent Guittot
Commit-ID: 43f4d66637bc752e93a77ff2536474a5a3888442 Gitweb: http://git.kernel.org/tip/43f4d66637bc752e93a77ff2536474a5a3888442 Author: Vincent Guittot AuthorDate: Wed, 1 Oct 2014 15:38:55 +0200 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 05:46:54 +0200 sched: Improve sysbench

[tip:sched/core] sched/fair: Delete resched_cpu() from idle_balance()

2014-10-02 Thread tip-bot for Kirill Tkhai
Commit-ID: 10a12983b3d437a6998b3845870e52c1c752c101 Gitweb: http://git.kernel.org/tip/10a12983b3d437a6998b3845870e52c1c752c101 Author: Kirill Tkhai AuthorDate: Wed, 1 Oct 2014 01:04:44 +0400 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 05:46:56 +0200 sched/fair: Delete

[tip:sched/core] sched, time: Fix build error with 64 bit cputime_t on 32 bit systems

2014-10-02 Thread tip-bot for Rik van Riel
Commit-ID: 347abad981c1ef815ea5ba861adba6a8c6aa1580 Gitweb: http://git.kernel.org/tip/347abad981c1ef815ea5ba861adba6a8c6aa1580 Author: Rik van Riel AuthorDate: Tue, 30 Sep 2014 15:59:47 -0400 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 05:46:55 +0200 sched, time: Fix build

[tip:sched/core] sched/dl: Use dl_bw_of() under rcu_read_lock_sched()

2014-10-02 Thread tip-bot for Kirill Tkhai
Commit-ID: f10e00f4bf360c36edbe6bf18a6c75b171cbe012 Gitweb: http://git.kernel.org/tip/f10e00f4bf360c36edbe6bf18a6c75b171cbe012 Author: Kirill Tkhai AuthorDate: Tue, 30 Sep 2014 12:23:37 +0400 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 05:46:58 +0200 sched/dl: Use dl_bw_of()

[tip:perf/urgent] perf: Fix unclone_ctx() vs. locking

2014-10-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 211de6eba8960521e2be450a7d07db85fba4604c Gitweb: http://git.kernel.org/tip/211de6eba8960521e2be450a7d07db85fba4604c Author: Peter Zijlstra AuthorDate: Tue, 30 Sep 2014 19:23:08 +0200 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 05:41:06 +0200 perf: Fix unclone_ctx()

[tip:perf/urgent] perf: Fix perf bug in fork()

2014-10-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 9c2b9d30e28559a78c9e431cdd7f2c6bf5a9ee67 Gitweb: http://git.kernel.org/tip/9c2b9d30e28559a78c9e431cdd7f2c6bf5a9ee67 Author: Peter Zijlstra AuthorDate: Mon, 29 Sep 2014 12:12:01 +0200 Committer: Ingo Molnar CommitDate: Fri, 3 Oct 2014 05:41:08 +0200 perf: Fix perf bug in

Re: [PATCH RFC] introduce ioctl to completely invalidate page cache

2014-10-02 Thread Dave Chinner
On Thu, Oct 02, 2014 at 01:59:40PM -0600, Jens Axboe wrote: > On 10/02/2014 10:09 AM, Thanos Makatos wrote: > > This patch introduces a new ioctl called BLKFLUSHBUFS2, which is pretty What a horrible name. Whatever happened to naming ioctls interfaces after their function? i.e. BLKFLUSHINVAL?

[tip:perf/core] perf record: Fix error message for --filter option not coming after tracepoint

2014-10-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 281f92f233a59ef52bb45287242bd815a67f5647 Gitweb: http://git.kernel.org/tip/281f92f233a59ef52bb45287242bd815a67f5647 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 1 Oct 2014 15:05:32 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Oct 2014 15:05:32 -0300

[tip:perf/core] perf symbols: Improve DSO long names lookup speed with rbtree

2014-10-02 Thread tip-bot for Waiman Long
Commit-ID: 4598a0a6d22fadfb7b37f2b44ee7fdcb24632fcf Gitweb: http://git.kernel.org/tip/4598a0a6d22fadfb7b37f2b44ee7fdcb24632fcf Author: Waiman Long AuthorDate: Tue, 30 Sep 2014 13:36:15 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Oct 2014 14:39:57 -0300 perf symbols:

[tip:perf/core] perf symbols: Encapsulate dsos list head into struct dsos

2014-10-02 Thread tip-bot for Waiman Long
Commit-ID: 8fa7d87f91479f7124142ca4ad93a37b80f8c1c0 Gitweb: http://git.kernel.org/tip/8fa7d87f91479f7124142ca4ad93a37b80f8c1c0 Author: Waiman Long AuthorDate: Mon, 29 Sep 2014 16:07:28 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 30 Sep 2014 12:11:49 -0300 perf symbols:

[tip:perf/core] perf tools: Fix build breakage on arm64 targets

2014-10-02 Thread tip-bot for Will Deacon
Commit-ID: 660d13296bbbe79635d1d9d700080b88061faffb Gitweb: http://git.kernel.org/tip/660d13296bbbe79635d1d9d700080b88061faffb Author: Will Deacon AuthorDate: Tue, 30 Sep 2014 12:27:12 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 1 Oct 2014 14:44:17 -0300 perf tools: Fix

[tip:perf/core] perf bench futex: Support operations for shared futexes

2014-10-02 Thread tip-bot for Davidlohr Bueso
Commit-ID: 86c87e13f8a5dffc6cc7b0f37340f815dc172945 Gitweb: http://git.kernel.org/tip/86c87e13f8a5dffc6cc7b0f37340f815dc172945 Author: Davidlohr Bueso AuthorDate: Mon, 29 Sep 2014 09:41:07 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 29 Sep 2014 15:43:21 -0300 perf bench

[tip:perf/core] perf tools: Refactor unit and scale function parameters

2014-10-02 Thread tip-bot for Matt Fleming
Commit-ID: 46441bdc76fee08e297ebcf17e4ca91013b1ee9e Gitweb: http://git.kernel.org/tip/46441bdc76fee08e297ebcf17e4ca91013b1ee9e Author: Matt Fleming AuthorDate: Wed, 24 Sep 2014 15:04:06 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 29 Sep 2014 15:03:57 -0300 perf tools:

[tip:perf/core] perf bench futex: Sanitize -q option in requeue

2014-10-02 Thread tip-bot for Davidlohr Bueso
Commit-ID: e19685ed24b518440c0717719ff02e74c0e6d2cb Gitweb: http://git.kernel.org/tip/e19685ed24b518440c0717719ff02e74c0e6d2cb Author: Davidlohr Bueso AuthorDate: Mon, 29 Sep 2014 09:41:08 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 29 Sep 2014 15:43:26 -0300 perf bench

[tip:perf/core] perf trace: Fix mmap return address truncation to 32-bit

2014-10-02 Thread tip-bot for Chang Hyun Park
Commit-ID: 2c82c3ad56921c47f28af9eb8ed96b6d99b47623 Gitweb: http://git.kernel.org/tip/2c82c3ad56921c47f28af9eb8ed96b6d99b47623 Author: Chang Hyun Park AuthorDate: Fri, 26 Sep 2014 21:54:01 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 29 Sep 2014 15:25:36 -0300 perf

[git pull] drm i915 and nouveau fixes

2014-10-02 Thread Dave Airlie
Hi Linus, Nothing too major or scary, one i915 regression fix, nouveau has a tmds regression fix, along with a regression fix for the runtime pm code for optimus laptops not restoring the display hw correctly. Dave. The following changes since commit

[PATCH] perf: Fix typos in sample code in the perf_event.h header

2014-10-02 Thread Andy Lutomirski
struct perf_event_mmap_page has members called "index" and "cap_user_rdpmc". Spell them correctly in the examples. Signed-off-by: Andy Lutomirski --- include/uapi/linux/perf_event.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

Re: pipe/page fault oddness.

2014-10-02 Thread Sasha Levin
On 10/02/2014 12:10 PM, Linus Torvalds wrote: > On Thu, Oct 2, 2014 at 8:04 AM, Sasha Levin wrote: >> > >> > I have a new one for you. I know it doesn't say "numa" anywhere, but I >> > haven't ever seen that trace before so I'll just go ahead and blame it >> > on your patch... > Fair enough, but

Re: [RFC PATCH] Perf Bench: Locking Microbenchmark

2014-10-02 Thread Davidlohr Bueso
On Wed, 2014-10-01 at 14:12 -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 01, 2014 at 07:28:32AM +0200, Ingo Molnar escreveu: > > If you compare an strace of AIM7 steady state and 'perf bench > > lock' steady state, is it comparable, i.e. do the syscalls and > > Isn't "lock" too generic?

Re: [PATCH 2/2] x86: Only do a single page fault for copy_from_user_nmi

2014-10-02 Thread Ingo Molnar
* Andi Kleen wrote: > > For now, changing the semantics of the function seems like a > > sure way to fail in the future though. > > I doubt it. Nearly nobody uses the exact return value > semantics. > > (iirc it's mostly write() and some bizarre code in mount) > > In fact it's a regular

Re: [RFC PATCH] Perf Bench: Locking Microbenchmark

2014-10-02 Thread Davidlohr Bueso
On Wed, 2014-10-01 at 07:28 +0200, Ingo Molnar wrote: > If you compare an strace of AIM7 steady state and 'perf bench > lock' steady state, is it comparable, i.e. do the syscalls and > other behavioral patterns match up? With more than 1000 users I'm seeing: - 33.74%locking-creat

Re: [tip:x86/asm] x86: Speed up ___preempt_schedule*() by using THUNK helpers

2014-10-02 Thread Sasha Levin
921.908530] kernel BUG at kernel/sched/core.c:2702! [ 921.909159] invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 921.910084] Dumping ftrace buffer: [ 921.910626](ftrace buffer empty) [ 921.911178] Modules linked in: [ 921.915690] CPU: 18 PID: 9489 Comm: trinity-c195 No

Re: [PATCH] serial/core: Initialize the console pm state

2014-10-02 Thread Greg KH
On Wed, Oct 01, 2014 at 10:27:20AM -0700, Kevin Hilman wrote: > On Sun, Sep 21, 2014 at 11:30 PM, Sudhir Sreedharan > wrote: > > For console devices having UART_CAP_SLEEP capability, the uart_pm_state has > > to be initialized to UART_PM_STATE_ON. Otherwise the LCR regiser values > > are

Re: [PATCH 1/2] perf tools: Add option to copy events when queueing

2014-10-02 Thread Ingo Molnar
* Alexander Yarygin wrote: > When processing events the session code has an ordered samples > queue which is used to time-sort events coming in across > multiple mmaps. At a later point in time samples on the queue > are flushed up to some timestamp at which point the event is > actually

Re: [PATCH v3] powerpc/iommu/ddw: Fix endianness

2014-10-02 Thread Anton Blanchard
Hi Alexey, > rtas_call() accepts and returns values in CPU endianness. > The ddw_query_response and ddw_create_response structs members are > defined and treated as BE but as they are passed to rtas_call() as > (u32 *) and they get byteswapped automatically, the data is > CPU-endian. This fixes

Re: [PATCH 2/2] perf, x86: Use INTEL_FLAGS_UEVENT_CONSTRAINT for PRECDIST

2014-10-02 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Sep 10, 2014 at 04:22:32PM +0200, Peter Zijlstra wrote: > > On Wed, Sep 10, 2014 at 07:02:58AM -0700, Andi Kleen wrote: > > > On Wed, Sep 10, 2014 at 09:59:26AM +0200, Peter Zijlstra wrote: > > > > On Tue, Sep 09, 2014 at 05:49:08PM -0700, Andi Kleen wrote: > >

[PATCH v4] mm: add mremap flag for preserving the old mapping

2014-10-02 Thread Daniel Micay
This introduces the MREMAP_RETAIN flag for preserving the source mapping when MREMAP_MAYMOVE moves the pages to a new destination. Accesses to the source mapping will fault and map in fresh zeroed pages. It is currently limited to writable MAP_PRIVATE|MAP_ANONYMOUS mappings and will return EFAULT

[PATCH] rcutorture: Remove stale test configurations

2014-10-02 Thread Pranith Kumar
Remove rcutorture configuration files which are no longer necessary. Signed-off-by: Pranith Kumar --- .../selftests/rcutorture/configs/rcu/v0.0/CFLIST | 14 -- .../configs/rcu/v0.0/N1-S-T-NH-SD-SMP-HP | 18 --- .../configs/rcu/v0.0/N2-2-t-nh-sd-SMP-hp | 20

Re: [GIT PULL 0/8] perf/core improvements and fixes

2014-10-02 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > Best Regards, > > - Arnaldo > > The following changes since commit 07394b5f13a04f86b27e0ddd96a36c7d9bfe1a4f: > > Merge tag 'perf-core-for-mingo' of >

RE: [PATCH] block: disable entropy contributions from nonrot devices

2014-10-02 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Mike Snitzer > Sent: Thursday, 02 October, 2014 7:11 PM > To: ax...@kernel.dk; linux-kernel@vger.kernel.org > Cc: ty...@mit.edu; gmazyl...@gmail.com;

Re: [PATCH v5 4/4] pmbus: ltc2978: add regulator support

2014-10-02 Thread Guenter Roeck
On 10/02/2014 11:37 AM, at...@opensource.altera.com wrote: From: Alan Tull Add simple on/off regulator support for ltc2978 and other pmbus parts supported by ltc2978.c Signed-off-by: Alan Tull --- v2: Remove '#include ' Only one regulator per pmbus device Get regulator_init_data

[PATCH V5 1/5] audit: implement audit by executable

2014-10-02 Thread Richard Guy Briggs
From: Eric Paris This patch implements the ability to filter on the executable. It is clearly incomplete! This patch adds the inode/dev of the executable at the moment the rule is loaded. It does not update if the executable is updated/moved/whatever. That should be added. But at this

[PATCH V5 4/5] audit: avoid double copying the audit_exe path string

2014-10-02 Thread Richard Guy Briggs
Make this interface consistent with watch and filter key, avoiding the extra string copy and simply consume the new string pointer. Signed-off-by: Richard Guy Briggs --- kernel/audit_exe.c |5 - kernel/audit_fsnotify.c | 12 ++-- kernel/auditfilter.c|2 +- 3 files

[PATCH V5 2/5] audit: clean simple fsnotify implementation

2014-10-02 Thread Richard Guy Briggs
From: Eric Paris This is to be used to audit by executable rules, but audit watches should be able to share this code eventually. At the moment the audit watch code is a lot more complex, that code only creates one fsnotify watch per parent directory. That 'audit_parent' in turn has a list of

[PATCH V5 5/5] Revert "fixup! audit: clean simple fsnotify implementation"

2014-10-02 Thread Richard Guy Briggs
This reverts commit 826a3dbd65f0fdb1d7ddfa2849de700f360e1494. "Let audit_free_rule() take care of calling audit_remove_mark()." It was causing a group mark deadlock. With kernel locking debugging config options enabled, I get the following output. Could I get some help interpreting it? I

[PATCH V5 3/5] audit: convert audit_exe to audit_fsnotify

2014-10-02 Thread Richard Guy Briggs
From: Eric Paris Instead of just hard coding the ino and dev of the executable we care about at the moment the rule is inserted into the kernel, use the new audit_fsnotify infrastructure. This means that if the inode in question is unlinked and creat'd (aka updated) the rule will just continue

[PATCH V5 0/5] audit by executable name

2014-10-02 Thread Richard Guy Briggs
This is a part of Peter Moody, my and Eric Paris' work to implement audit by executable name. Please see the accompanying userspace patch: https://www.redhat.com/archives/linux-audit/2014-May/msg00019.html The userspace interface is not expected to change appreciably unless something

Re: [PATCH 1/1] power: reset: corrections for simple syscon reboot driver

2014-10-02 Thread Sebastian Reichel
Hi, On Thu, Oct 02, 2014 at 11:24:15AM -0700, Feng Kan wrote: > This patch is to fix some bugs in reboot driver. Which includes auto selection > of the MFD_SYSCON for the driver, use of container to locate restart handler, > correction of the count down failure timer and ordering of the header

[PATCH] Staging: media: lirc: cleaned up packet dump in 2 files.

2014-10-02 Thread Amber Thrall
lirc_imon.c and lirc_sasem.c contain an incoming_packet method that is using deprecated printk's. Removed blocks replacing with single dev_info with a %*ph format instead. Signed-off-by: Amber Thrall --- drivers/staging/media/lirc/lirc_imon.c | 10 ++

Re: [PATCH] HSI: remove deprecated IRQF_DISABLED

2014-10-02 Thread Sebastian Reichel
Hi, On Wed, Oct 01, 2014 at 10:28:55PM +0200, Michael Opdenacker wrote: > Remove the use of the IRQF_DISABLED flag > from drivers/hsi/clients/nokia-modem.c > > It's a NOOP since 2.6.35 and it will be removed soon. > > Signed-off-by: Michael Opdenacker

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-10-02 Thread Paul E. McKenney
On Thu, Oct 02, 2014 at 05:35:26AM -0500, Chuck Ebbert wrote: > On Wed, 1 Oct 2014 01:16:15 +0100 > Al Viro wrote: > > Can we get the below added somewhere in Documentation/filesystems/ ? I > don't see anything there that covers all this. More documentation would of course be nice, but the root

[PATCH 1/7] audit: put rule existence check in canonical order

2014-10-02 Thread Richard Guy Briggs
Use same rule existence check order as audit_make_tree(), audit_to_watch(), update_lsm_rule() for legibility. Signed-off-by: Richard Guy Briggs --- kernel/auditfilter.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index

[PATCH 3/7] audit: eliminate string copy for new tree rules

2014-10-02 Thread Richard Guy Briggs
New tree rules copy the path twice and discard the intermediary copy. This saves one pointer at the expense of one path string copy. Signed-off-by: Richard Guy Briggs --- kernel/audit_tree.c |9 + kernel/auditfilter.c |5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-)

[PATCH 4/7] audit: optimize add to parent skipping needless search and consuming parent ref

2014-10-02 Thread Richard Guy Briggs
When parent has just been created there is no need to search for the parent in the list. Add a parameter to skip the search and consume the parent reference no matter what happens. Signed-off-by: Richard Guy Briggs --- kernel/audit_watch.c | 23 +++ 1 files changed, 15

[PATCH 5/7] audit: remove redundant watch refcount

2014-10-02 Thread Richard Guy Briggs
Remove extra layer of audit_{get,put}_watch() calls. Signed-off-by: Richard Guy Briggs --- kernel/audit_watch.c |5 + kernel/auditfilter.c |7 --- 2 files changed, 1 insertions(+), 11 deletions(-) diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index f209448..c707afb

[PATCH 6/7] audit: remove extra audit_get_parent()

2014-10-02 Thread Richard Guy Briggs
There appears to be an extra parent reference taken. Remove it. Signed-off-by: Richard Guy Briggs --- kernel/audit_watch.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index c707afb..eb53bc7 100644 ---

[PATCH 7/7] audit: rename audit_log_remove_rule to disambiguate for trees

2014-10-02 Thread Richard Guy Briggs
Rename audit_log_remove_rule() to audit_tree_log_remove_rule() to avoid confusion with watch and mark rule removal/changes. Signed-off-by: Richard Guy Briggs --- kernel/audit_tree.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/audit_tree.c

[PATCH 2/7] audit: cull redundancy in audit_rule_change

2014-10-02 Thread Richard Guy Briggs
Re-factor audit_rule_change() to reduce the amount of code redundancy and simplify the logic. Signed-off-by: Richard Guy Briggs --- kernel/auditfilter.c | 20 +++- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index

Re: [PATCH 0/4] Driver for talking to PLX PEX8xxx PCIe switch over I2C

2014-10-02 Thread Rajat Jain
Hi Wolfram, Thanks a lot for your review and comments. I understand and will update with those APIs and send out a V2. Thanks & Best Regards, Rajat Jain On Wed, Oct 1, 2014 at 11:34 PM, Wolfram Sang wrote: > >> I understand and agree. In fact in the internal version of this driver >> (that I

Re: [PATCH v3 04/15] ACPI: Document ACPI device specific properties

2014-10-02 Thread Rafael J. Wysocki
On Thursday, October 02, 2014 04:36:54 PM Mika Westerberg wrote: > On Thu, Oct 02, 2014 at 02:46:30PM +0200, Arnd Bergmann wrote: > > On Thursday 02 October 2014 15:15:08 Mika Westerberg wrote: [cut] > > Putting everything to a single package results this: > > Package () {

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-02 Thread Joe Perches
On Fri, 2014-10-03 at 02:58 +0300, Antti Palosaari wrote: > On 10/02/2014 07:45 PM, Joe Perches wrote: > > On Thu, 2014-10-02 at 10:29 -0300, Mauro Carvalho Chehab wrote: > >> Em Wed, 01 Oct 2014 21:40:02 -0700 Amber Thrall > >> escreveu: > >>> Fixed various coding style issues, including

[GIT PULL] ACPI and power management fixes for final 3.17

2014-10-02 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.17-final to receive ACPI and power management fixes for final v3.17 with top-most commit abcadddc85a4c9595b0a5ede34f2ee876fe4155f Merge branches 'pm-cpufreq' and 'acpi-video' on top of

Re: [PATCH 2/2] i2c: exynos5: Add Kconfig dependencies

2014-10-02 Thread Wolfram Sang
On Tue, Sep 16, 2014 at 03:03:18PM +0530, Naveen Krishna Chatradhi wrote: > The i2c-exynos5.c driver can be reused for the HSI2C controller > on Exynos7 SoCs from Samsung. > > This patch adds the Kconfig dependency to choose i2c-exynos5.c > for CONFIG_ARCH_EXYNOS7. > > Signed-off-by: Naveen

Re: [PATCH 1/2] i2c: exynos: add support for HSI2C module on Exynos7

2014-10-02 Thread Wolfram Sang
On Tue, Sep 16, 2014 at 03:03:17PM +0530, Naveen Krishna Chatradhi wrote: > The HSI2C module on Exynos7 differs in the transfer status > bits. Transfer status bits were moved to INT_ENABLE and > INT_STATUS registers > > This patch adds support for the HSI2C module on Exynos7. > 1. Implementes a

Re: [PATCH] i2c: qup: Fix order of runtime pm initialization

2014-10-02 Thread Wolfram Sang
On Mon, Sep 29, 2014 at 05:00:51PM -0500, Andy Gross wrote: > The runtime pm calls need to be done before populating the children via the > i2c_add_adapter call. If this is not done, a child can run into issues trying > to do i2c read/writes due to the pm_runtime_sync failing. > > Signed-off-by:

Re: [dm-devel] dm-raid: add RAID discard support

2014-10-02 Thread Martin K. Petersen
> "Neil" == NeilBrown writes: Neil> I plan to submit this to Linus tomorrow, hopefully for 3.7, unless Neil> there are complaints. It is in my for-next branch now. Acked-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the

Re: [PATCH v6 2/4] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-10-02 Thread Wolfram Sang
Hi, > diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig > index 2ac87fa..6afc17e 100644 > --- a/drivers/i2c/busses/Kconfig > +++ b/drivers/i2c/busses/Kconfig > @@ -1021,4 +1021,14 @@ config SCx200_ACB > This support is also available as a module. If so, the module >

CPSW bug with AM437x SK

2014-10-02 Thread Felipe Balbi
Hi Mugunthan, I noticed that *really* rarely I get the skb panic below. What I have here is an AM437x SK running v3.17-rc6, with NFS root. Once booted, then I run cyclictest and hackbench (this one in an infinite loop) an eventually this will trigger. File system is mounted as read-only and

[PATCH 1/3] tools/perf: Fix error message

2014-10-02 Thread Sukadev Bhattiprolu
Sometimes, eg: with a stripped vmlinux, we can open the file but cannot load any symbols from it. Update error message accordingly so the users can better understand the error. Signed-off-by: Sukadev Bhattiprolu --- tools/perf/util/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 2/3] tools/perf: Rename variables for clarity

2014-10-02 Thread Sukadev Bhattiprolu
The dso__load* functions return the number symbols they were able to load or -1 in case of error. But it is a bit confusing to determine 'if (err > 0)' indicates success or failure and we have to step several functions deep to find that out. Rename the variable 'err' so it is hopefully easier to

[PATCH 3/3] tools/perf: Fix error reporting

2014-10-02 Thread Sukadev Bhattiprolu
If user explicitly specifies a vmlinux or kallsyms file on the command line and the specified file doesn't yield any symbols, print a warning message. $ perf report -kallsyms No kernel symbols in the vmlinux 'allsyms'? Failed to load symbols for DSO [kernel.kallsyms],

Re: [compiler/gcc4] a9f180345f5: -100.0% last_state.is_incomplete_run

2014-10-02 Thread Steven Noonan
On Tue, Sep 30, 2014 at 1:14 AM, Fengguang Wu wrote: > Hi Steven, > > FYI, we noticed that your commit a9f180345f5378ac87d80ed0bea55ba421d83859 > ("compiler/gcc4: Make quirk for asm_volatile_goto() unconditional") fixed > a number of machine boot failures in our LKP test farm. This is really >

Re: [PATCH v2 0/3] i2c: designware: Add support for AMD I2C controller

2014-10-02 Thread Wolfram Sang
On Tue, Sep 30, 2014 at 01:04:52PM +0300, Mika Westerberg wrote: > This is second iteration of the patch series. First version is here: > > http://patchwork.ozlabs.org/patch/390694/ > http://patchwork.ozlabs.org/patch/390695/ > > In order to get source clock to the core driver we need some way

Re: [PATCH] i2c: rk3x: fix 0 length write transfers

2014-10-02 Thread Wolfram Sang
On Wed, Oct 01, 2014 at 10:40:41AM -0700, Alexandru M Stan wrote: > i2cdetect -q was broken (everything was a false positive, and no transfers > were > actually being sent over i2c). The way it works is by sending a 0 length write > request and checking for NACK. This patch fixes the 0 length

Re: [PATCH] i2c: rk3x: fix 0 length write transfers

2014-10-02 Thread Wolfram Sang
> Reviewed-By: Max Schwarz > Tested-By: Max Schwarz Checkpatch says: WARNING: 'Tested-by:' is the preferred signature form Same 'Reviewed-by:' signature.asc Description: Digital signature

[PATCH] block: disable entropy contributions from nonrot devices

2014-10-02 Thread Mike Snitzer
Introduce queue_flags_set_nonrot_clear_add_random() and convert all block drivers that set QUEUE_FLAG_NONROT over to using it instead. Historically, all block devices have automatically made entropy contributions. But as previously stated in commit e2e1a148 ("block: add sysfs knob for turning

Kontaktieren DHL für die Lieferung Ihrer Scheck

2014-10-02 Thread Frau Patricia Ernes
Grüße an Sie Ich bin sicher, dass diese E-Mail würde Ihnen kommen als eine Überraschung, da wir noch nie getroffen haben, bevor und Sie würden auch fragen, warum ich beschlossen, Sie unter den zahlreichen Internet-Nutzer in der Welt wählte, genau kann ich nicht sagen, warum ich habe euch erwählt

Re: [PATCH] Fixed all coding style issues for drivers/staging/media/lirc/

2014-10-02 Thread Antti Palosaari
On 10/02/2014 07:45 PM, Joe Perches wrote: On Thu, 2014-10-02 at 10:29 -0300, Mauro Carvalho Chehab wrote: Em Wed, 01 Oct 2014 21:40:02 -0700 Amber Thrall escreveu: Fixed various coding style issues, including strings over 80 characters long and many deprecated printk's have been replaced

Re: [PATCH] NTFS: Remove bogus space.

2014-10-02 Thread Anton Altaparmakov
Hi Andrew, Forgot to say that this patch is from Andrea Gilmini originally (I had to re-do it as it is an old patch and the line numbers had changed)... Best regards, Anton On 3 Oct 2014, at 00:44, Anton Altaparmakov wrote: > fs/ntfs/debug.c:124: WARNING: space prohibited between

[PATCH] NTFS: Remove bogus space.

2014-10-02 Thread Anton Altaparmakov
fs/ntfs/debug.c:124: WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Andrea Gelmini Signed-off-by: Anton Altaparmakov --- Hi Andrew, Can you please take this simple patch and push it to Linus at some point? Thanks a lot in advance! Best regards,

[PATCH] Documentation: update include path for mpssd

2014-10-02 Thread Peter Foley
sysfs.c includes mpssd.h which includes virtio_ids.h. sysfs.c doesn't have the proper include flags set to use the latest headers, so this causes a build error if the system headers are too old. Signed-off-by: Peter Foley Cc: rdun...@infradead.org Cc: linux-...@vger.kernel.org Cc:

Re: [PATCH v1 5/5] driver-core: add driver asynchronous probe support

2014-10-02 Thread Luis R. Rodriguez
On Tue, Sep 30, 2014 at 09:15:55AM +0200, Luis R. Rodriguez wrote: > Can you provide an example code path hit here? I'll certainly like to address > that as well. I managed to enable built-in driver support on top of this series, I'll send them as part of the next series but I suspect we'll want

[PATCH] Documentation: update include path for mpssd

2014-10-02 Thread Peter Foley
sysfs.c includes mpssd.h which includes virtio_ids.h. sysfs.c doesn't have the proper include flags set to use the latest headers, so this causes a build error if the system headers are too old. Signed-off-by: Peter Foley Cc: rdun...@infradead.org Cc: linux-...@vger.kernel.org Cc:

Re: [PATCH v1 5/5] driver-core: add driver asynchronous probe support

2014-10-02 Thread Luis R. Rodriguez
On Tue, Sep 30, 2014 at 09:21:59AM +0200, Luis R. Rodriguez wrote: > On Mon, Sep 29, 2014 at 05:26:01PM -0400, Tejun Heo wrote: > > Hello, Luis. > > > > On Mon, Sep 29, 2014 at 11:22:08PM +0200, Luis R. Rodriguez wrote: > > > > > + /* For now lets avoid stupid bug reports */ > > > > > +

[PATCH] drivers: staging: rtl8723au: core: Fix "'foo * bar' should be 'foo *bar'" errors

2014-10-02 Thread Greg Donald
Fix checkpatch.pl "'foo * bar' should be 'foo *bar'" errors Signed-off-by: Greg Donald --- drivers/staging/rtl8723au/core/rtw_ap.c| 2 +- drivers/staging/rtl8723au/core/rtw_led.c | 3 ++- drivers/staging/rtl8723au/core/rtw_mlme.c | 2 +-

mmotm 2014-10-02-16-22 uploaded

2014-10-02 Thread akpm
The mm-of-the-moment snapshot 2014-10-02-16-22 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: [PATCH 00/13 v10] omap 8250 based UART + DMA

2014-10-02 Thread Sebastian Andrzej Siewior
* Tony Lindgren | 2014-10-02 09:43:39 [-0700]: >Looks good to me. For the patches that do not yet have my acks, please >feel free to add: > >Reviewed-by: Tony Lindgren >Tested-by: Tony Lindgren Thanks. >It's probably best that I queue the .dts changes separately though >to avoid pointless

[PATCH] drivers: staging: lustre: Fix "'foo* bar' should be 'foo *bar'" errors

2014-10-02 Thread Greg Donald
Fix checkpatch.pl "'foo* bar' should be 'foo *bar'" errors Signed-off-by: Greg Donald --- drivers/staging/lustre/lustre/include/dt_object.h | 2 +- drivers/staging/lustre/lustre/include/lu_object.h | 4 ++-- drivers/staging/lustre/lustre/include/lustre_lib.h | 2 +-

Re: [PATCH v3 0/5] enhance DMA CMA on x86

2014-10-02 Thread Akinobu Mita
2014-10-03 7:03 GMT+09:00 Peter Hurley : > On 10/02/2014 12:41 PM, Konrad Rzeszutek Wilk wrote: >> On Tue, Sep 30, 2014 at 09:49:54PM -0400, Peter Hurley wrote: >>> On 09/30/2014 07:45 PM, Thomas Gleixner wrote: >>> Which is different than if the plan is to ship production units for x86; >>> then

Re: [RFC 5/7] soc: qcom: Add Shared Memory Driver

2014-10-02 Thread Stephen Boyd
On 09/29/14 17:34, Bjorn Andersson wrote: > + > +#define GET_RX_CHANNEL_INFO(channel, param) \ > + (channel->rx_info_word ? \ > + channel->rx_info_word->param : \ > + channel->rx_info->param) > + > +#define GET_TX_CHANNEL_INFO(channel, param) \ > +

Re: [PATCH] [RESEND][TRIVIAL] treewide: fix occurrences of "the the "

2014-10-02 Thread Eduardo Valentin
On Thu, Oct 02, 2014 at 10:15:03PM +0200, Michael Opdenacker wrote: > Fix all occurrences of "the the ", and occasionally "in in ", > in the source code, comments and documentation. > > The replacement couldn't be automated because sometimes > the first "the" was meant to be another word. > >

Re: [PATCH 2/3] thermal: core: fix: Initialize the max_state variable to 0

2014-10-02 Thread Eduardo Valentin
Hello Lukasz, On Wed, Sep 24, 2014 at 10:27:11AM +0200, Lukasz Majewski wrote: > Pointer to the uninitialized max_state variable is passed to get the > maximal cooling state. > For CPU cooling device (cpu_cooling.c) the cpufreq_get_max_state() is > called, which even when error occurs will return

Re: [PATCH 3/3] thermal: core: fix: Check return code of the ->get_max_state() callback

2014-10-02 Thread Eduardo Valentin
On Wed, Sep 24, 2014 at 10:27:12AM +0200, Lukasz Majewski wrote: > Without this check it was possible to execute cooling device binding code > even when wrong max cooling state was read. > > Signed-off-by: Lukasz Majewski Acked-by: Eduardo Valentin Rui, are you taking these patches? Do you

Re: [PATCH] USB: serial: cp210x: Add Silicon Labs 358x VID and PID.

2014-10-02 Thread Greg KH
On Thu, Oct 02, 2014 at 05:38:17PM -0400, Nathaniel Ting wrote: > From: Nathaniel Ting > > Enable Silicon Labs Ember VID chips to enumerate with the cp210x usb serial > driver. EM358x devices operating with the Ember Z-Net 5.1.2 stack may now > connect to host PCs over a USB serial link. > >

[PATCH] USB: serial: cp210x: Add Silicon Labs 358x VID and PID.

2014-10-02 Thread Nathaniel Ting
From: Nathaniel Ting Enable Silicon Labs Ember VID chips to enumerate with the cp210x usb serial driver. EM358x devices operating with the Ember Z-Net 5.1.2 stack may now connect to host PCs over a USB serial link. Signed-off-by: Nathaniel Ting --- drivers/usb/serial/cp210x.c | 1 + 1 file

Re: [PATCH v3 0/5] enhance DMA CMA on x86

2014-10-02 Thread Peter Hurley
On 10/02/2014 12:41 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Sep 30, 2014 at 09:49:54PM -0400, Peter Hurley wrote: >> On 09/30/2014 07:45 PM, Thomas Gleixner wrote: >>> Whether the proposed patchset is the correct solution to support it is >>> a completely different question. >> >> This patchset

Re: hrtimer deadlock caused by nohz_full

2014-10-02 Thread Mike Lothian
I think this might be the bug I reported here https://bugzilla.kernel.org/show_bug.cgi?id=84131 On 2 October 2014 19:24, Dave Jones wrote: > On Fri, Sep 26, 2014 at 01:46:59AM +0200, Frederic Weisbecker wrote: > > > > > [] hrtimer_try_to_cancel+0x58/0x1f0 > > > > [] hrtimer_cancel+0x1a/0x30

[PATCH 1/1] of: Add a function to read 64-bit arrays

2014-10-02 Thread Sakari Ailus
Implement of_property_read_u64_array() for reading 64-bit arrays. This is needed for e.g. reading the valid link frequencies in the smiapp driver. Signed-off-by: Sakari Ailus --- Hi, While the smiapp (found in drivers/media/i2c/smiapp/) OF support which needs this isn't in yet, other drivers

Re: [PATCH] acct: fix build warning when ACCT_VERSION != 3

2014-10-02 Thread Luis Henriques
On Thu, Oct 02, 2014 at 02:09:45PM -0700, Andrew Morton wrote: > On Thu, 2 Oct 2014 00:06:53 +0100 Luis Henriques > wrote: > > > struct pid_namespace *ns is used only when ACCT_VERSION is 3. > > > > kernel/acct.c:475:24: warning: unused variable 'ns' [-Wunused-variable] > > > > Signed-off-by:

Re: cpufreq v3.17-rc7 error: "cpufreq: cpufreq_resume: Failed to start governor for policy: f6909a00"

2014-10-02 Thread Paul Bolle
Rafael J. Wysocki schreef op do 02-10-2014 om 19:34 [+0200]: > On Thursday, October 02, 2014 06:33:28 PM Paul Bolle wrote: > > On Thu, 2014-10-02 at 18:38 +0200, Rafael J. Wysocki wrote: > > > Can you please try linux-pm.git/linux-next? There's a commit from Viresh > > > in > > > there with a

[PATCH 0/7] audit fsnotify cleanups for watches and trees

2014-10-02 Thread Richard Guy Briggs
This is a collection of patches to clean up some issues discovered while implementing audit by exe path. They compile and have been lightly tested. I'd be interested in feedback about approaches or details or grossly misunderstanding some fundamental concepts. Thanks! Richard Guy Briggs (7):

  1   2   3   4   5   6   7   8   9   10   >