Re: [PATCH] lockdep: make print_lock_name() robust against non-existing lock_class

2015-04-16 Thread Sebastian Andrzej Siewior
On 04/15/2015 04:14 PM, Peter Zijlstra wrote: On Wed, Apr 15, 2015 at 03:24:36PM +0200, Sebastian Andrzej Siewior wrote: During sysrq's show-held-locks command it is possible that hlock_class() returns NULL for a given lock. The result is then (after the warning): |BUG: unable to handle

RE: [PATCH V2 1/6] perf,core: allow invalid context events to be part of sw/hw groups

2015-04-16 Thread Liang, Kan
On Wed, Apr 15, 2015 at 03:56:11AM -0400, Kan Liang wrote: The event count only be read when the event is already sched_in. Yeah, so no. This breaks what groups are. Group events _must_ be co- scheduled. You cannot guarantee you can schedule events from another PMU. Why? I think it's

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-16 Thread Alexander Duyck
On 04/16/2015 07:15 AM, Alan Stern wrote: On Thu, 16 Apr 2015, Dorian Gray wrote: I have tested the following kernel versions: - 3.18.4, 3.18.6, 3.18.7, 3.19.4 [all affected] - 3.17.1 [unaffected] - 3.17.8 [probably the last unaffected version; I'm using it currently] Also, I've been using

Re: [PATCH -next] ASoC: cs35l32: Remove unused including linux/version.h

2015-04-16 Thread Brian Austin
On Thu, 16 Apr 2015, weiyj...@163.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Remove including linux/version.h that don't need it. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- Thanks, Acked-by: Brian Austin brian.aus...@cirrus.com -- To unsubscribe from

[PATCH] tty/serial: at91: maxburst was missing for dma transfers

2015-04-16 Thread Ludovic Desroches
Maxburst was not set when doing the dma slave configuration. This value is checked by the recently introduced xdmac. It causes an error when doing the slave configuration and so prevents from using dma. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Cc: sta...@vger.kernel.org # 3.12

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-16 Thread David Herrmann
Hi On Thu, Apr 16, 2015 at 4:34 PM, Andy Lutomirski l...@amacapital.net wrote: Whose memcg does the pool use? The pool-owner's (i.e., the receiver's). If it's the receiver's, and if the receiver can configure a memcg, then it seems that even a single receiver could probably cause the sender

Re: [PATCH 5/5 v2] nvme: LightNVM support

2015-04-16 Thread Javier González
Hi, On 16 Apr 2015, at 16:55, Keith Busch keith.bu...@intel.com wrote: On Wed, 15 Apr 2015, Matias Bjørling wrote: @@ -2316,7 +2686,9 @@ static int nvme_dev_add(struct nvme_dev *dev) struct nvme_id_ctrl *ctrl; void *mem; dma_addr_t dma_addr; -int shift =

[PATCH v2] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings

2015-04-16 Thread Rameshwar Prasad Sahu
v2 changes: * Code cleanup * Changed way of setting DMA descriptors for big-endian This patch fixes compilation sparse warnings like incorrect type in assignment (different base types), cast to restricted __le64, symbol '__UNIQUE_ID_author__COUNTER__' has multiple initializers etc

Re: [PATCH RT 3.18] ring-buffer: Mark irq_work as HARD_IRQ to prevent deadlocks

2015-04-16 Thread Jan Kiszka
On 2015-04-16 17:10, Steven Rostedt wrote: On Thu, 16 Apr 2015 16:28:58 +0200 Jan Kiszka jan.kis...@siemens.com wrote: On 2015-04-16 16:26, Sebastian Andrzej Siewior wrote: On 04/16/2015 04:06 PM, Jan Kiszka wrote: ftrace may trigger rb_wakeups while holding pi_lock which will also be

Re: [PATCH v3 25/28] IB/Verbs: Use management helper cap_af_ib()

2015-04-16 Thread Michael Wang
On 04/16/2015 05:09 PM, Hefty, Sean wrote: [snip] Sean, can you please put a precise writeup what does it take to support AF_IB... I am a bit confused here and wasn't sure if this can be supported with RoCE. I think this means IB GID addressing is checked (Native Infiniband Address) and

Re: [PATCH v2] dmaengine: xgene-dma: Fix sparse wannings and coccinelle warnings

2015-04-16 Thread Arnd Bergmann
On Thursday 16 April 2015 20:50:30 Rameshwar Prasad Sahu wrote: v2 changes: * Code cleanup * Changed way of setting DMA descriptors for big-endian This patch fixes compilation sparse warnings like incorrect type in assignment (different base types), cast to restricted __le64,

Re: [PATCH RT 3.18] ring-buffer: Mark irq_work as HARD_IRQ to prevent deadlocks

2015-04-16 Thread Sebastian Andrzej Siewior
On 04/16/2015 05:29 PM, Jan Kiszka wrote: My patch is definitely not OK. It causes [ 380.372579] BUG: scheduling while atomic: trace-cmd/2149/0x00010004 ... [ 380.372604] Call Trace: [ 380.372610] IRQ [81607694] dump_stack+0x50/0x9f [ 380.372613] [8160413c]

[PATCH 3/3] perf bench numa: fix immediate meeting of convergence condition

2015-04-16 Thread Petr Holasek
This patch fixes the race in the beginning of benchmark run when some threads hasn't got assigned curr_cpu yet so they don't occur in nodes-of-process stats and benchmark concludes that all remaining threads are converged already. The race can be reproduced with small amount of threads and some

[PATCH 2/3] perf bench numa: show more stats of particular threads in verbose mode

2015-04-16 Thread Petr Holasek
In verbose mode perf bench numa shows also GB/s speed, system and user cpu time for each particular thread. Using of getrusage() can provide much more per process or per thread stats in future. Signed-off-by: Petr Holasek phola...@redhat.com --- tools/perf/bench/numa.c | 32

Re: [PATCH] lockdep: make print_lock_name() robust against non-existing lock_class

2015-04-16 Thread Sebastian Andrzej Siewior
* Peter Zijlstra | 2015-04-16 17:35:03 [+0200]: On Thu, Apr 16, 2015 at 04:50:21PM +0200, Sebastian Andrzej Siewior wrote: Andreas confirmed that it works for him on v3.18 with minor adjustment. --- + struct held_lock lock = READ_ONCE(*hlock); + unsigned int class_idx =

Re: [PATCH] netns: deinline net_generic()

2015-04-16 Thread David Miller
From: Denys Vlasenko dvlas...@redhat.com Date: Thu, 16 Apr 2015 13:14:14 +0200 It would help if you tell me how I should change the patches. Why ask Eric when I told you exactly how to change the patch to make it acceptable, so please do so. -- To unsubscribe from this list: send the line

Re: [Patch 2/3] firmware: dmi_scan: add SBMIOS entry and DMI tables

2015-04-16 Thread Jean Delvare
Hi Ivan, Le Thursday 16 April 2015 à 15:56 +0300, Ivan.khoronzhuk a écrit : On 16.04.15 12:52, Jean Delvare wrote: On Thu, 2 Apr 2015 15:57:02 +0300, Ivan Khoronzhuk wrote: +static BIN_ATTR(smbios_entry_point, S_IRUSR, raw_table_read, NULL, 0); This one could be world-readable as it

Re: [PATCH v4 10/27] IB/Verbs: Reform cm related part in IB-core cma/ucm

2015-04-16 Thread Jason Gunthorpe
On Thu, Apr 16, 2015 at 10:08:10AM +0200, Michael Wang wrote: Use raw management helpers to reform cm related part in IB-core cma/ucm. These checks focus on the device cm type rather than the port capability, directly pass port 1 works currently, but can't support mixing cm type device in

RE: [PATCH 5/5 v2] nvme: LightNVM support

2015-04-16 Thread Keith Busch
On Thu, 16 Apr 2015, James R. Bergsten wrote: My two cents worth is that it's (always) better to put ALL the commands into one place so that the entire set can be viewed at once and thus avoid inadvertent overloading of an opcode. Otherwise you don't know what you don't know. Yes, but these

[GIT PULL] arm64: updates for 4.1

2015-04-16 Thread Will Deacon
Hi Linus, Here are the core arm64 updates for 4.1. Highlights include a significant rework to head.S (allowing us to boot on machines with physical memory at a really high address), an AES performance boost on Cortex-A57 and the ability to run a 32-bit userspace with 64k pages (although this

[Consult] blackfin: About one building break issue for STACKTRACE

2015-04-16 Thread Chen Gang
Hello Maintainers: I want to consult one building issue about blackfin, the related issue is: CC arch/blackfin/kernel/stacktrace.o arch/blackfin/kernel/stacktrace.c: In function 'save_stack_trace': arch/blackfin/kernel/stacktrace.c:23:6: error: frame pointer required, but reserved

Re: [RFC PATCH] Security: ignore private inode from security_file_receive

2015-04-16 Thread Casey Schaufler
On 4/16/2015 6:40 AM, Seung-Woo Kim wrote: The dma-buf fd from anon_inode can be shared across processes, but there is no way to set security permission for the fd. So this patch fix just to ignore private inode from security_file_receive. Signed-off-by: Seung-Woo Kim sw0312@samsung.com

Re: [PATCH 2/2] blk-plug: don't flush nested plug lists

2015-04-16 Thread Jeff Moyer
Jens Axboe ax...@kernel.dk writes: And agree with Ming, this can be cleaned up substantially. I'd also like to see some test results from the other end of the spectrum. Your posted cased is clearly based case (we missed tons of merging, now we don't), I'd like to see a normal case and a worst

Re: [PATCH v8 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-04-16 Thread Chris Metcalf
On 4/16/2015 11:28 AM, Frederic Weisbecker wrote: + /* Unpark any threads that were voluntarily parked. */ + if (ht-cpumask) { + cpumask_andnot(tmp_mask, cpu_online_mask, ht-cpumask); + for_each_cpu(cpu, tmp_mask) { + struct task_struct *tsk =

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Rik van Riel
On 04/16/2015 06:22 AM, Mel Gorman wrote: If a clean page is unmapped and not immediately flushed, the architecture must guarantee that a write to that page from a CPU with a cached TLB entry will trap a page fault. This is essentially what the kernel already depends on

Re: [PATCH 5/5 v2] nvme: LightNVM support

2015-04-16 Thread Keith Busch
On Thu, 16 Apr 2015, Javier González wrote: On 16 Apr 2015, at 16:55, Keith Busch keith.bu...@intel.com wrote: Otherwise it looks pretty good to me, but I think it would be cleaner if the lightnvm stuff is not mixed in the same file with the standard nvme command set. We might end up splitting

[PATCH] tpm: enable PPI for TPM 2.0

2015-04-16 Thread Jarkko Sakkinen
Added PPI interface to the character device sysfs directory accessible both for 1.x and 2.0 devices. In order to maintain backwards compatibility when using 1.x devices, symlink is created from the pdev to the PPI directory. For this reason we need to export kernfs_create_link() and

Re: [PATCH] smp/call: Detect stuck CSD locks

2015-04-16 Thread Chris J Arges
On Thu, Apr 16, 2015 at 01:04:23PM +0200, Ingo Molnar wrote: * Chris J Arges chris.j.ar...@canonical.com wrote: Ingo, Below are the patches and data I've gathered from the reproducer. My methodology was as described previously; however I used gdb on the qemu process in order to

[PATCH 0/3] a few perf numa benchmark fixes

2015-04-16 Thread Petr Holasek
Hi, this small series is fixing two bugs in perf bench numa and adds some per thread stats. Petr Holasek (3): perf bench numa: Fixes of --quiet argument perf bench numa: show more stats of particular threads in verbose mode perf bench numa: fix immediate meeting of convergence condition

Re: [PATCH 0/3] a few perf numa benchmark fixes

2015-04-16 Thread Ingo Molnar
* Petr Holasek phola...@redhat.com wrote: Hi, this small series is fixing two bugs in perf bench numa and adds some per thread stats. Petr Holasek (3): perf bench numa: Fixes of --quiet argument perf bench numa: show more stats of particular threads in verbose mode perf bench

Re: [PATCH v4 00/24] ILP32 for ARM64

2015-04-16 Thread Arnd Bergmann
On Thursday 16 April 2015 14:31:34 Catalin Marinas wrote: On Thu, Apr 16, 2015 at 11:33:49AM +, Pinski, Andrew wrote: On Apr 16, 2015, at 4:19 AM, Dr. Philipp Tomsich philipp.toms...@theobroma-systems.com wrote: Just for the record (and to avoid anyone wasting their time on what’s

Re: [PATCH v4 10/27] IB/Verbs: Reform cm related part in IB-core cma/ucm

2015-04-16 Thread Michael Wang
On 04/16/2015 04:31 PM, Hefty, Sean wrote: This is equivalent to today where the checks are per node rather than per port. Should all checks here be port 1 based or only certain ones like listen ? For example, in connect/reject/disconnect, don't we already have port ? Guess this can be

Re: [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs

2015-04-16 Thread Catalin Marinas
On Wed, Apr 15, 2015 at 11:01:17AM -0400, Rob Clark wrote: On Wed, Apr 15, 2015 at 9:34 AM, Catalin Marinas catalin.mari...@arm.com wrote: On Tue, Apr 14, 2015 at 05:48:48PM -0400, Rob Clark wrote: Just speaking as an outsider to this topic, but seems like most/all tablets/phones/etc ship

Re: [PATCH v8 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-04-16 Thread Frederic Weisbecker
On Tue, Apr 14, 2015 at 03:37:31PM -0400, Chris Metcalf wrote: diff --git a/kernel/smpboot.c b/kernel/smpboot.c index c697f73d82d6..c5d53a335387 100644 --- a/kernel/smpboot.c +++ b/kernel/smpboot.c @@ -92,6 +92,9 @@ enum { HP_THREAD_PARKED, }; +/* Statically allocated and used

Re: [PATCH RT 3.18] ring-buffer: Mark irq_work as HARD_IRQ to prevent deadlocks

2015-04-16 Thread Jan Kiszka
On 2015-04-16 16:57, Sebastian Andrzej Siewior wrote: On 04/16/2015 04:28 PM, Jan Kiszka wrote: On 2015-04-16 16:26, Sebastian Andrzej Siewior wrote: On 04/16/2015 04:06 PM, Jan Kiszka wrote: ftrace may trigger rb_wakeups while holding pi_lock which will also be requested via

Re: [PATCH] lockdep: make print_lock_name() robust against non-existing lock_class

2015-04-16 Thread Peter Zijlstra
On Thu, Apr 16, 2015 at 04:50:21PM +0200, Sebastian Andrzej Siewior wrote: Andreas confirmed that it works for him on v3.18 with minor adjustment. --- + struct held_lock lock = READ_ONCE(*hlock); + unsigned int class_idx = lock.class_idx; --- I'm confused by the need for

[PATCH 1/3] perf bench numa: Fixes of --quiet argument

2015-04-16 Thread Petr Holasek
Corrected description and fixed function of --quiet argument. Signed-off-by: Petr Holasek phola...@redhat.com --- tools/perf/bench/numa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c index ebfa163..cd872e9c 100644 ---

Re: [PATCH kernel v8 12/31] powerpc/spapr: vfio: Switch from iommu_table to new iommu_table_group

2015-04-16 Thread Alexey Kardashevskiy
On 04/16/2015 03:55 PM, David Gibson wrote: On Fri, Apr 10, 2015 at 04:30:54PM +1000, Alexey Kardashevskiy wrote: Modern IBM POWERPC systems support multiple (currently two) TCE tables per IOMMU group (a.k.a. PE). This adds a iommu_table_group container for TCE tables. Right now just one table

Re: [PATCH] lockdep: make print_lock_name() robust against non-existing lock_class

2015-04-16 Thread Peter Zijlstra
On Thu, Apr 16, 2015 at 05:39:36PM +0200, Sebastian Andrzej Siewior wrote: * Peter Zijlstra | 2015-04-16 17:35:03 [+0200]: On Thu, Apr 16, 2015 at 04:50:21PM +0200, Sebastian Andrzej Siewior wrote: Andreas confirmed that it works for him on v3.18 with minor adjustment. --- +

Re: [PATCH 1/4] x86, mm: Trace when an IPI is about to be sent

2015-04-16 Thread Rik van Riel
On 04/16/2015 06:22 AM, Mel Gorman wrote: It is easy to trace when an IPI is received to flush a TLB but harder to detect what event sent it. This patch makes it easy to identify the source of IPIs being transmitted for TLB flushes on x86. Signed-off-by: Mel Gorman mgor...@suse.de

Re: [PATCH 2/3 v2] futex: avoid double wake up in futex_wake() on -RT

2015-04-16 Thread Peter Zijlstra
On Thu, Apr 16, 2015 at 07:42:55AM -0700, Davidlohr Bueso wrote: On Thu, 2015-04-16 at 12:16 +0200, Peter Zijlstra wrote: But if we decide we want to go do this, I'd propose we reintroduce this delayed wake list thing again. Given that futexes aren't the only potential users, I definitely

Re: [PATCH] Support gcc 6 for building

2015-04-16 Thread Andi Kleen
On Thu, Apr 16, 2015 at 09:57:48AM +0200, Michal Marek wrote: On 2015-04-15 21:45, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com gcc recently switched to a new version number scheme, where every version gets a new major version number. The current version is 5.x, the next 6.x,

Re: [PATCH 3/4] mm: Gather more PFNs before sending a TLB to flush unmapped pages

2015-04-16 Thread Rik van Riel
On 04/16/2015 06:22 AM, Mel Gorman wrote: The patch mm: Send a single IPI to TLB flush multiple pages when unmapping would batch 32 pages before sending an IPI. This patch increases the size of the data structure to hold a pages worth of PFNs before sending an IPI. This is a trade-off between

Re: [PATCH 4/4] mm: migrate: Batch TLB flushing when unmapping pages for migration

2015-04-16 Thread Rik van Riel
On 04/16/2015 06:22 AM, Mel Gorman wrote: Page reclaim batches multiple TLB flushes into one IPI and this patch teaches page migration to also batch any necessary flushes. MMtests has a THP scale microbenchmark that deliberately fragments memory and then allocates THPs to stress compaction.

Re: [PATCH V4] Fix pointer cast for 32 bits arch

2015-04-16 Thread Geert Uytterhoeven
On Thu, Apr 16, 2015 at 3:39 PM, Peter Senna Tschudin peter.se...@gmail.com wrote: --- a/drivers/staging/goldfish/goldfish_audio.c +++ b/drivers/staging/goldfish/goldfish_audio.c @@ -63,7 +63,7 @@ struct goldfish_audio { #define AUDIO_READ(data, addr) (readl(data-reg_base + addr))

Re: [PATCH] dsa: mv88e6xxx: Drop duplicate declaration of 'ret' variable

2015-04-16 Thread David Miller
From: Guenter Roeck li...@roeck-us.net Date: Thu, 16 Apr 2015 06:49:50 -0700 A duplicate declaration of 'ret' can result in hiding an error code. Drop it. Fixes: 17ee3e04ddbf (net: dsa: Provide additional RMON statistics) Signed-off-by: Guenter Roeck li...@roeck-us.net Applied, thank you.

[PATCH] ARM: gemini: remove unnecessary mdio-gpio includes

2015-04-16 Thread Vivien Didelot
Remove the inclusion of linux/mdio-gpio.h in nas4220b, wbd111 and wbd222 boards since mdio-gpio is not used. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com --- arch/arm/mach-gemini/board-nas4220b.c | 1 - arch/arm/mach-gemini/board-wbd111.c | 1 -

Re: [PATCH 2/3 v2] futex: avoid double wake up in futex_wake() on -RT

2015-04-16 Thread Davidlohr Bueso
On Thu, 2015-04-16 at 17:54 +0200, Peter Zijlstra wrote: On Thu, Apr 16, 2015 at 07:42:55AM -0700, Davidlohr Bueso wrote: On Thu, 2015-04-16 at 12:16 +0200, Peter Zijlstra wrote: But if we decide we want to go do this, I'd propose we reintroduce this delayed wake list thing again.

Re: [PATCH] Support gcc 6 for building

2015-04-16 Thread Joe Perches
On Thu, 2015-04-16 at 17:56 +0200, Andi Kleen wrote: On Thu, Apr 16, 2015 at 09:57:48AM +0200, Michal Marek wrote: On 2015-04-15 21:45, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com gcc recently switched to a new version number scheme, where every version gets a new major

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-16 Thread Havoc Pennington
On Wed, Apr 15, 2015 at 6:22 PM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: Actually most message passing code uses things like JMS and the various MQ libraries. Most IoT uses things other than dbus, small deep embedded never uses dbus. fwiw, to me it's a mistake to think of dbus as

RE: [PATCH 5/5 v2] nvme: LightNVM support

2015-04-16 Thread James R. Bergsten
My two cents worth is that it's (always) better to put ALL the commands into one place so that the entire set can be viewed at once and thus avoid inadvertent overloading of an opcode. Otherwise you don't know what you don't know. -Original Message- From: Linux-nvme

Re: [patch 03/39] net: sched: Use hrtimer_resolution instead of hrtimer_get_res()

2015-04-16 Thread David Miller
From: Thomas Gleixner t...@linutronix.de Date: Tue, 14 Apr 2015 21:08:28 - No point in converting a timespec now that the value is directly accessible. Signed-off-by: Thomas Gleixner t...@linutronix.de Acked-by: David S. Miller da...@davemloft.net -- To unsubscribe from this list: send

Re: [patch 31/39] net: core: pktgen: Remove bogus hrtimer_active() check

2015-04-16 Thread David Miller
From: Thomas Gleixner t...@linutronix.de Date: Tue, 14 Apr 2015 21:09:16 - The check for hrtimer_active() after starting the timer is pointless. If the timer is inactive it has expired already and therefor the task pointer is already NULL. Signed-off-by: Thomas Gleixner

Re: [PATCH v2 1/1] stmmac: fix oops on rmmod after assigning ip addr

2015-04-16 Thread David Miller
From: Bryan O'Donoghue pure.lo...@nexus-software.ie Date: Wed, 15 Apr 2015 02:07:46 +0100 An oops exists in the flow of stmmac_release(). phy_ethtool_get_wol() depends on phydev-drv. phydev-drv will be null after stmmac_mdio_unreg() completes. Steps to reproduce on Quark X1000: 1.

Re: [PATCH] dsa: mv88e6xxx: Fix error handling in mv88e6xxx_set_port_state

2015-04-16 Thread David Miller
From: Guenter Roeck li...@roeck-us.net Date: Wed, 15 Apr 2015 22:12:42 -0700 Return correct error code if _mv88e6xxx_reg_read returns an error. Fixes: facd95b2e0ec0 (net: dsa: mv88e6xxx: Add Hardware bridging support) Signed-off-by: Guenter Roeck li...@roeck-us.net Applied, thanks. -- To

[tip:x86/urgent] x86, selftests: Add single_step_syscall test

2015-04-16 Thread tip-bot for Andy Lutomirski
Commit-ID: 0a15584d72760a3b83d97af85d37ffaa2c42068d Gitweb: http://git.kernel.org/tip/0a15584d72760a3b83d97af85d37ffaa2c42068d Author: Andy Lutomirski l...@kernel.org AuthorDate: Wed, 15 Apr 2015 16:10:07 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 16 Apr 2015 12:41:49

Re: AM335x OMAP2 common clock external fixed-clock registration

2015-04-16 Thread Michael Welling
On Thu, Apr 16, 2015 at 07:32:32AM +0300, Tero Kristo wrote: On 04/15/2015 11:51 PM, Michael Welling wrote: On Wed, Apr 15, 2015 at 01:45:53PM -0700, Mike Turquette wrote: On Wed, Apr 15, 2015 at 12:47 PM, Michael Welling mwell...@ieee.org wrote: On Wed, Apr 15, 2015 at 09:43:30PM +0300, Tero

Re: [PATCH 0/3] perf tests: don't use obsolete syscalls

2015-04-16 Thread Ingo Molnar
* riku.voi...@linaro.org riku.voi...@linaro.org wrote: From: Riku Voipio riku.voi...@linaro.org The following hopefully trivial patches remove the use of legacy syscalls from perf test subcommands. Patch 2/3 is optional, and would make the delta a lot smaller. Riku Voipio (3): perf

[tip:x86/asm] x86/asm: Enable fast 32-bit put_user_64() for copy_to_user()

2015-04-16 Thread tip-bot for Chris Wilson
Commit-ID: 6a907738ab9840ca3d71c22cd28fba4cbae7f7ce Gitweb: http://git.kernel.org/tip/6a907738ab9840ca3d71c22cd28fba4cbae7f7ce Author: Chris Wilson ch...@chris-wilson.co.uk AuthorDate: Wed, 15 Apr 2015 10:51:26 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 16 Apr 2015

Re: [PATCH v2 1/1] stmmac: fix oops on rmmod after assigning ip addr

2015-04-16 Thread Bryan O'Donoghue
On 16/04/15 17:07, David Miller wrote: This patch does not apply to the current tree, please respin. /facepalm Did this against : https://github.com/torvalds/linux.git I'll spin again against : https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/ -- To unsubscribe from this

Re: [PATCH] smp/call: Detect stuck CSD locks

2015-04-16 Thread Ingo Molnar
* Chris J Arges chris.j.ar...@canonical.com wrote: A previous backtrace of a 3.19 series kernel is here and showing interrupts enabled on both CPUs on L1: https://lkml.org/lkml/2015/2/23/234 http://people.canonical.com/~inaddy/lp1413540/BACKTRACES.txt [...] Yes, I think at this point

Re: [PATCH V2 1/6] perf,core: allow invalid context events to be part of sw/hw groups

2015-04-16 Thread Mark Rutland
Hi, If you're going to fundamentally change the behaviour of perf_invalid_context, please Cc authors of other system PMU drivers. Intel aren't the only ones with such PMUs. For instance, this affects the ARM CCI and CCN PMU drivers. On Wed, Apr 15, 2015 at 08:56:11AM +0100, Kan Liang wrote:

Re: [PATCH v3 27/28] IB/Verbs: Clean up rdma_ib_or_iboe()

2015-04-16 Thread Jason Gunthorpe
On Tue, Apr 14, 2015 at 11:13:03AM +0200, Michael Wang wrote: I would be very happy to see a patch that adds cap_ib_smi to the current tree and states 'This patch is tested to have no change on the binary compilation results' There are too much reform there (per-dev to per-port), I guess

Re: n900 in 4.1-rc0

2015-04-16 Thread Tyler Baker
On 16 April 2015 at 02:32, Pavel Machek pa...@ucw.cz wrote: Hi! Just tried booting 4.1-rc0 on n900 (commit 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken. Any ideas? Looks like DT and legacy booting are working fine in our labs. [0][1]

[PATCH v3 1/1] stmmac: fix oops on rmmod after assigning ip addr

2015-04-16 Thread Bryan O'Donoghue
An oops exists in the flow of stmmac_release(). phy_ethtool_get_wol() depends on phydev-drv. phydev-drv will be null after stmmac_mdio_unreg() completes. Steps to reproduce on Quark X1000: 1. ifconfig eth0 192.168.0.1 2. rmmod stmmac_pci To fix this stmmac_mdio_unreg() should be run after

Re: [PATCH 1/4] x86, mm: Trace when an IPI is about to be sent

2015-04-16 Thread Dave Hansen
On 04/16/2015 03:22 AM, Mel Gorman wrote: It is easy to trace when an IPI is received to flush a TLB but harder to detect what event sent it. This patch makes it easy to identify the source of IPIs being transmitted for TLB flushes on x86. Looks fine to me. I think I even thought about adding

RE: [PATCH v4 10/27] IB/Verbs: Reform cm related part in IB-core cma/ucm

2015-04-16 Thread Hefty, Sean
After the discussion settled, I ended up thinking that implementing explicit device checks, for use by CM, and the BUG_ON at register to require all ports have the same value was the best option. Sure, but why not update the other areas anyway? This way when listens become per port, rather

Re: [PATCH V4] Fix pointer cast for 32 bits arch

2015-04-16 Thread Dan Carpenter
On Thu, Apr 16, 2015 at 06:14:55PM +0200, Geert Uytterhoeven wrote: On Thu, Apr 16, 2015 at 3:39 PM, Peter Senna Tschudin peter.se...@gmail.com wrote: --- a/drivers/staging/goldfish/goldfish_audio.c +++ b/drivers/staging/goldfish/goldfish_audio.c @@ -63,7 +63,7 @@ struct goldfish_audio {

Re: [PATCH V4] Fix pointer cast for 32 bits arch

2015-04-16 Thread Alan Cox
On Thu, 2015-04-16 at 20:01 +0300, Dan Carpenter wrote: On Thu, Apr 16, 2015 at 06:14:55PM +0200, Geert Uytterhoeven wrote: On Thu, Apr 16, 2015 at 3:39 PM, Peter Senna Tschudin peter.se...@gmail.com wrote: --- a/drivers/staging/goldfish/goldfish_audio.c +++

RE: [PATCH v3 07/28] IB/Verbs: Reform IB-ulp ipoib

2015-04-16 Thread Weiny, Ira
On Wed, Apr 15, 2015 at 09:58:18AM +0200, Michael Wang wrote: We can give client-add() callback a return value and make ib_register_device() return -ENOMEM when it failed, just wondering why we don't do this at first, any special reason? No idea, but having ib_register_device fail

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-16 Thread Andy Lutomirski
On Thu, Apr 16, 2015 at 8:01 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Thu, Apr 16, 2015 at 4:34 PM, Andy Lutomirski l...@amacapital.net wrote: Whose memcg does the pool use? The pool-owner's (i.e., the receiver's). If it's the receiver's, and if the receiver can configure a

Re: [PATCH v3 07/28] IB/Verbs: Reform IB-ulp ipoib

2015-04-16 Thread Roland Dreier
On Thu, Apr 16, 2015 at 9:44 AM, Jason Gunthorpe jguntho...@obsidianresearch.com wrote: We can give client-add() callback a return value and make ib_register_device() return -ENOMEM when it failed, just wondering why we don't do this at first, any special reason? No idea, but having

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-16 Thread One Thousand Gnomes
And so does kdbus. By default, strict ordering is enforced when messages are received, but optionally, that action may be constrained to messages of a minimal priority. This allows for use cases where timing critical data is interleaved with control data on the same connection. That's

Re: [PATCH 5/5 v2] nvme: LightNVM support

2015-04-16 Thread Matias Bjorling
Den 16-04-2015 kl. 16:55 skrev Keith Busch: On Wed, 15 Apr 2015, Matias Bjørling wrote: @@ -2316,7 +2686,9 @@ static int nvme_dev_add(struct nvme_dev *dev) struct nvme_id_ctrl *ctrl; void *mem; dma_addr_t dma_addr; -int shift = NVME_CAP_MPSMIN(readq(dev-bar-cap)) + 12; +u64

Re: [PATCH kernel v8 21/31] powerpc/iommu: Split iommu_free_table into 2 helpers

2015-04-16 Thread Alexey Kardashevskiy
On 04/16/2015 04:46 PM, David Gibson wrote: On Fri, Apr 10, 2015 at 04:31:03PM +1000, Alexey Kardashevskiy wrote: The iommu_free_table helper release memory it is using (the TCE table and @it_map) and release the iommu_table struct as well. We might not want the very last step as we store

Re: [PATCH] Support gcc 6 for building

2015-04-16 Thread Andi Kleen
As compiler-gcc3.h is trivial, what about integrating the whole thing into a single file and get rid of the compiler-gccversion.h files? I think that's the right thing to do yes. -Andi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 0/4] watchdog: MAX63xx cleanup and platform settings

2015-04-16 Thread Vivien Didelot
Hi Wim, all, The purpose of this patchset is to add a platform data structure for the max63xx_wdt driver in order to setup the device in a platform code. This is especially handy if the driver is built-in and/or the device registers aren't memory mapped. First, fix the Kconfig entry to

Re: [patch 20/39] tick: nohz: Rework next timer evaluation

2015-04-16 Thread Paul E. McKenney
On Tue, Apr 14, 2015 at 09:08:58PM -, Thomas Gleixner wrote: The evaluation of the next timer in the nohz code is based on jiffies while all the tick internals are nano seconds based. We have also to convert hrtimer nanoseconds to jiffies in the !highres case. That's just wrong and

Re: [PATCH v8 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-04-16 Thread Frederic Weisbecker
On Thu, Apr 16, 2015 at 11:50:06AM -0400, Chris Metcalf wrote: On 4/16/2015 11:28 AM, Frederic Weisbecker wrote: + /* Unpark any threads that were voluntarily parked. */ + if (ht-cpumask) { + cpumask_andnot(tmp_mask, cpu_online_mask, ht-cpumask); + for_each_cpu(cpu,

Re: [PATCH 1/3] sched, timer: Remove usages of ACCESS_ONCE in the scheduler

2015-04-16 Thread Peter Zijlstra
On Wed, Apr 15, 2015 at 09:46:01AM +0200, Ingo Molnar wrote: @@ -2088,7 +2088,7 @@ void task_numa_fault(int last_cpupid, int mem_node, int pages, int flags) static void reset_ptenuma_scan(struct task_struct *p) { -ACCESS_ONCE(p-mm-numa_scan_seq)++; +

[PATCH v3 0/1] stmmac: rmmod oops after ifconfig

2015-04-16 Thread Bryan O'Donoghue
We have an oops with stmmac on Quark X1000/Galileo, triggered by rmmod after ifconfig. Fix for issue contained in next mail against git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git root@clanton:~# ifconfig eth0 192.168.0.1 root@clanton:~# rmmod stmmac_pci [ 39.257871]

Re: [PATCH v4 04/10] mtd: pxa3xx_nand: rework flash detection and timing setup

2015-04-16 Thread Ezequiel Garcia
On 04/16/2015 10:41 AM, Sebastian Hesselbarth wrote: On 04/16/2015 03:10 PM, Ezequiel Garcia wrote: On 04/15/2015 04:11 PM, Sebastian Hesselbarth wrote: On 15.04.2015 19:24, Antoine Tenart wrote: Rework the pxa3xx_nand driver to allow using functions exported by the nand framework to detect

Re: [Patch 2/3] firmware: dmi_scan: add SBMIOS entry and DMI tables

2015-04-16 Thread Roy Franz
On Wed, Apr 15, 2015 at 11:48 PM, Jean Delvare jdelv...@suse.de wrote: Hi Roy, On Wed, 15 Apr 2015 17:54:51 -0700, Roy Franz wrote: On Tue, Apr 14, 2015 at 9:19 PM, Roy Franz roy.fr...@linaro.org wrote: I have made modifications to dmidecode to support this interface, and it works quite

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-16 Thread Robert Schwebel
On Wed, Apr 15, 2015 at 11:22:18PM +0100, One Thousand Gnomes wrote: The reason that 'everyone who works in this area' adopted is not as much that the design is sound (I'm not arguing whether it is or isn't in this case) as it is that none of them could come up with anything better.

Re: [PATCH V2 1/6] perf,core: allow invalid context events to be part of sw/hw groups

2015-04-16 Thread Mark Rutland
On Thu, Apr 16, 2015 at 05:31:40PM +0100, Mark Rutland wrote: Hi, If you're going to fundamentally change the behaviour of perf_invalid_context, please Cc authors of other system PMU drivers. Intel aren't the only ones with such PMUs. For instance, this affects the ARM CCI and CCN PMU

Re: [RFC PATCH 0/5] Add smp booting support for Qualcomm ARMv8 SoCs

2015-04-16 Thread Rob Clark
On Thu, Apr 16, 2015 at 11:21 AM, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Apr 15, 2015 at 11:01:17AM -0400, Rob Clark wrote: On Wed, Apr 15, 2015 at 9:34 AM, Catalin Marinas catalin.mari...@arm.com wrote: On Tue, Apr 14, 2015 at 05:48:48PM -0400, Rob Clark wrote: Just

[PATCH v4 2/2] ARM: at91/dt: add support for kizboxmini

2015-04-16 Thread Gaël PORTAY
Add DT file for Kizbox mini board. This board is based on Atmel's AT91SAM9G25 SoC. Signed-off-by: Gaël PORTAY g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile

[PATCH v4 0/2] ARM: at91/dt: add support for at91-kizboxmini

2015-04-16 Thread Gaël PORTAY
Hi, Here are two patches to bring support for a new hardware based on SAM9G25 SoC. The first one adds the PIN controller definition for PWM0. The second defines the new board. Changes since v1: - drop useless comments - move pwm0 pinctrl's node close to tcb0 - drop ek boards from compatible

[PATCH v4 1/2] ARM: at91/dt: sam9x5: add pinctrl for pwm0

2015-04-16 Thread Gaël PORTAY
Defines the pinctrl configurations for PWM0. Signed-off-by: Gaël PORTAY g.por...@overkiz.com --- arch/arm/boot/dts/at91sam9x5.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi

[PATCH RT 3.18] irq_work: Provide a soft-irq based queue

2015-04-16 Thread Jan Kiszka
Instead of turning all irq_work requests into lazy ones on -rt, just move their execution from hard into soft-irq context. This resolves deadlocks of ftrace which will queue work from arbitrary contexts, including those that have locks held that are needed for raising a soft-irq. Signed-off-by:

Re: [PATCH v2 1/1] stmmac: fix oops on rmmod after assigning ip addr

2015-04-16 Thread David Miller
From: Bryan O'Donoghue pure.lo...@nexus-software.ie Date: Thu, 16 Apr 2015 17:20:50 +0100 I'll spin again against : https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/ Currently active tree is 'net', not 'net-next' -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH V2 4/6] perf,tools: check and re-organize evsel cpu maps

2015-04-16 Thread Mark Rutland
On Wed, Apr 15, 2015 at 08:56:14AM +0100, Kan Liang wrote: From: Kan Liang kan.li...@intel.com -C can be used to set cpu list. The cpu list may be incompatible with event's cpumask. This patch discard the incompatible cpu. Only available cpu can be stored in evsel-cpus-map. If there is no

Re: [PATCH V2 6/6] perf/x86/intel/uncore: do not implicitly set uncore event cpu

2015-04-16 Thread Mark Rutland
On Wed, Apr 15, 2015 at 08:56:16AM +0100, Kan Liang wrote: From: Kan Liang kan.li...@intel.com There is cpumask exposed to the uncore pmu sysfs directory. User should set the cpu according to the cpumask. Kernel should not implicitly change the event-cpu. Signed-off-by: Kan Liang

Re: n900 in 4.1-rc0

2015-04-16 Thread Tony Lindgren
* Marc Zyngier marc.zyng...@arm.com [150416 02:38]: On 16/04/15 10:32, Pavel Machek wrote: Hi! Just tried booting 4.1-rc0 on n900 (commit 34c9a0ffc75ad25b6a60f61e27c4a4b1189b8085) and it is broken. Any ideas? To such a question, the only answer I have is Yes. For a more useful

Re: [PATCH V2 1/6] perf,core: allow invalid context events to be part of sw/hw groups

2015-04-16 Thread Mark Rutland
Even if you ignore the fundamental semantics of groups, there are other problems with allowing shared contexts: * The *_txn functions only get called on the group leader's PMU. If your system PMU has these functions, they are not called. * Event rotation is per ctx, but now you could

Re: [PATCH v3 07/28] IB/Verbs: Reform IB-ulp ipoib

2015-04-16 Thread Jason Gunthorpe
On Wed, Apr 15, 2015 at 09:58:18AM +0200, Michael Wang wrote: We can give client-add() callback a return value and make ib_register_device() return -ENOMEM when it failed, just wondering why we don't do this at first, any special reason? No idea, but having ib_register_device fail and unwind

Re: [f2fs-dev] [PATCH 1/3] f2fs: flush symlink path to avoid broken symlink after POR

2015-04-16 Thread Jaegeuk Kim
Hi Chao, On Thu, Apr 16, 2015 at 06:33:29PM +0800, Chao Yu wrote: Hi Jaegeuk, -Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Thursday, April 16, 2015 3:31 PM To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org;

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-16 Thread Dorian Gray
On 16 April 2015 at 16:15, Alan Stern st...@rowland.harvard.edu wrote: This appears to be a problem with the IOMMU or SWIOTLB subsystems, not the USB subsystem. I have CC'ed the appropriate mailing lists. Thanks, I'm far from being a kernel expert, so was expecting it could be wrong

Re: [PATCH v4 10/27] IB/Verbs: Reform cm related part in IB-core cma/ucm

2015-04-16 Thread Jason Gunthorpe
On Thu, Apr 16, 2015 at 04:55:10PM +, Hefty, Sean wrote: After the discussion settled, I ended up thinking that implementing explicit device checks, for use by CM, and the BUG_ON at register to require all ports have the same value was the best option. Sure, but why not update the

Re: [PATCH] MAINTAINERS: Add co-maintainer for LED subsystem

2015-04-16 Thread Bryan Wu
On Thu, Apr 9, 2015 at 10:30 AM, Bryan Wu coolo...@gmail.com wrote: On Thu, Apr 9, 2015 at 1:01 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: This patch adds myself (Jacek Anaszewski) as a co-maintainer for LED subsystem. Jacek will start to help maintain LED subsystem. Acked-by:

<    5   6   7   8   9   10   11   12   13   >