Re: [PATCH] regulator: core: fix error path of regulator_ena_gpio_free

2016-02-23 Thread Jon Hunter
On 23/02/16 14:47, Krzysztof Adamski wrote: > This problem was introduced by: > commit daad134d6649 ("regulator: core: Request GPIO before creating > sysfs entries") > > The error path was not updated correctly and in case > regulator_ena_gpio_free failed, device_unregister was called even though

[PATCH 24/27] mm: Convert zone_reclaim to node_reclaim

2016-02-23 Thread Mel Gorman
As reclaim is now per-node based, convert zone_reclaim to be node_reclaim. It is possible that a node will be reclaimed multiple times if it has multiple zones but this is unavoidable without caching all nodes traversed so far. The documentation and interface to userspace is the same from a config

Re: [PATCH v1] serial: mctrl_gpio: Add missing module license

2016-02-23 Thread Fabio Estevam
On Tue, Feb 23, 2016 at 11:54 AM, Romain Izard wrote: > As the mctrl_gpio driver can be built as a module, it needs to have its > license specified with MODULE_LICENSE. Otherwise, it cannot access > required symbols exported through EXPORT_SYMBOL_GPL. > > Signed-off-by: Romain Izard > --- > driv

[PATCH 21/27] mm, vmscan: Update classzone_idx if buffer_heads_over_limit

2016-02-23 Thread Mel Gorman
If buffer heads are over the limit then the direct reclaim gfp_mask is promoted to __GFP_HIGHMEM so that lowmem is indirectly freed. With node-based reclaim, it is also required that the classzone_idx be updated or the pages will be skipped. Signed-off-by: Mel Gorman --- mm/vmscan.c | 4 +++- 1

[PATCH 20/27] mm: Move vmscan writes and file write accounting to the node

2016-02-23 Thread Mel Gorman
As reclaim is now node-based, it follows that page write activity due to page reclaim should also be accounted for on the node. For consistency, also account page writes and page dirtying on a per-node basis. After this patch, there are a few remaining zone counters that may appear strange but are

[PATCH 23/27] mm, vmscan: Account in vmstat for pages skipped during reclaim

2016-02-23 Thread Mel Gorman
Low reclaim efficiency occurs when many pages are scanned that cannot be reclaimed. This occurs for example when pages are dirty or under writeback. Node-based LRU reclaim introduces a new source as reclaim for allocation requests requiring lower zones will skip pages belonging to higher zones. Thi

[PATCH 25/27] mm, vmscan: Add classzone information to tracepoints

2016-02-23 Thread Mel Gorman
This is convenient when tracking down why the skip count is high because it'll show what classzone kswapd woke up at and what zones are being isolated. Signed-off-by: Mel Gorman --- include/trace/events/vmscan.h | 28 ++-- mm/vmscan.c | 4 ++-- 2 files

[PATCH 18/27] mm: Rename NR_ANON_PAGES to NR_ANON_MAPPED

2016-02-23 Thread Mel Gorman
NR_FILE_PAGES is the number offile pages. NR_FILE_MAPPED is the number of mapped file pages. NR_ANON_PAGES is the number of mapped anon pages. This is unhelpful naming as it's easy to confuse NR_FILE_MAPPED and NR_ANON_PAGES for mapped pages. This patch renames NR_ANON_PAGES so we have

[PATCH 19/27] mm: Move most file-based accounting to the node

2016-02-23 Thread Mel Gorman
There are now a number of accounting oddities such as mapped file pages being accounted for on the node while the total number of file pages are accounted on the zone. This can be coped with to some extent but it's confusing so this patch moves the relevant file-based accounted. Signed-off-by: Mel

[PATCH 22/27] mm, vmscan: Only wakeup kswapd once per node for the requested classzone

2016-02-23 Thread Mel Gorman
kswapd is woken when zones are below the low watermark but the wakeup decision is not taking the classzone into account. Now that reclaim is node-based, it is only required to wake kswapd once per node and only if all zones are unbalanced for the requested classzone. Note that one node might be c

[PATCH 26/27] mm, page_alloc: Remove fair zone allocation policy

2016-02-23 Thread Mel Gorman
The fair zone allocation policy interleaves allocation requests between zones to avoid an age inversion problem whereby new pages are reclaimed to balance a zone. Reclaim is now node-based so this should no longer be an issue and the fair zone allocation policy is not free. This patch removes it.

Re: [PATCH] char: xillybus: Fix internal data structure initialization

2016-02-23 Thread Greg KH
On Tue, Feb 23, 2016 at 01:41:28PM +0200, Eli Billauer wrote: > > Signed-off-by: Eli Billauer > --- > drivers/char/xillybus/xillybus_core.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) I can't accept patches without any changelog information :(

Re: [PATCH] ARM: socfpga: hide unused functions

2016-02-23 Thread Dinh Nguyen
On 02/23/2016 08:08 AM, Arnd Bergmann wrote: > The cpu_die and cpu_kill callbacks are only used when CONFIG_HOTPLUG_CPU > is enabled, otherwise we get a warning about them: > > arch/arm/mach-socfpga/platsmp.c:102:13: error: 'socfpga_cpu_die' defined but > not used [-Werror=unused-function] > ar

Re: [PATCH 2/2] ARM: dma-mapping: fix alloc/free for coherent + CMA + gfp=0

2016-02-23 Thread Rabin Vincent
On Fri, Feb 19, 2016 at 02:06:00PM +, Russell King - ARM Linux wrote: > On Fri, Feb 19, 2016 at 09:12:04AM +0100, Rabin Vincent wrote: > > Given a device which uses arm_coherent_dma_ops and on which > > dev_get_cma_area(dev) returns non-NULL, the following usage of the DMA > > API with gfp=0 re

Re: [PATCH 06/23] perf mem: Check for memory events support

2016-02-23 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 23, 2016 at 12:18:14PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Feb 15, 2016 at 09:34:36AM +0100, Jiri Olsa escreveu: > > Check if current kernel support available memory events > > and display the status within -e list option: > > > > $ perf mem record -e list > > [ok]

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-23 Thread Denis V. Lunev
On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote: On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote: From: Igor Redko Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory statistics protocol, corresponding to 'Available' in /proc/meminfo. It indicates to the hypervis

[PATCH v2] lib/bug.c: use common WARN helper

2016-02-23 Thread Josh Poimboeuf
The traceoff_on_warning option doesn't have any effect on s390, powerpc, arm64, parisc, and sh because there are two different types of WARN implementations: 1) The above mentioned architectures treat WARN() as a special case of a BUG() exception. They handle warnings in report_bug() in lib/bu

Re: [PATCH 00/61] gpio: Add and use devm_gpiochip_add_data()

2016-02-23 Thread Laxman Dewangan
Hi Linus, On Tuesday 23 February 2016 02:31 PM, Laxman Dewangan wrote: On Monday 22 February 2016 08:14 PM, Linus Walleij wrote: On Mon, Feb 22, 2016 at 3:07 PM, Laxman Dewangan wrote: Add resource management APIs for gpiochip_add_data() and gpiochip_remove() and use these APIs from diffe

Re: [PATCH 1/2] drm/tegra: Set DMA ops

2016-02-23 Thread Thierry Reding
On Tue, Feb 23, 2016 at 03:25:53PM +0900, Alexandre Courbot wrote: > The current settings leaves the DRM device's dma_ops field NULL, which > makes it use the dummy DMA ops on arm64 and return an error whenever we > try to import a buffer. Call of_dma_configure() with a NULL node (since > the devic

Re: [PATCH v4 04/10] serial: mps2-uart: add MPS2 UART driver

2016-02-23 Thread Peter Hurley
Hi Vladimir, On 02/23/2016 06:34 AM, Vladimir Murzin wrote: > This driver adds support to the UART controller found on ARM MPS2 > platform. Comments below. > Signed-off-by: Vladimir Murzin > --- > drivers/tty/serial/Kconfig | 12 + > drivers/tty/serial/Makefile |1 + > drivers

Re: [RFC][PATCH 4/7] perf: Fix scaling vs enable_on_exec

2016-02-23 Thread Peter Zijlstra
On Fri, Feb 19, 2016 at 03:37:47PM +0100, Peter Zijlstra wrote: > Oleg reported that enable_on_exec results in weird scale factors. > > The recent commit 3e349507d12d ("perf: Fix perf_enable_on_exec() event > scheduling") caused this by moving task_ctx_sched_out() from before > __perf_event_mask_e

Re: [PATCH 00/33] Compile-time stack metadata validation

2016-02-23 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 23, 2016 at 09:07:55AM -0600, Josh Poimboeuf escreveu: > I think 'objtool' is searchable enough. And I also like the fact that Yeah, agreed, there is even documentation available for it already: http://docs.bvstools.com/home/objtool > its name at least gives you an idea of what it d

[PATCH 27/27] mm: page_alloc: Cache the last node whose dirty limit is reached

2016-02-23 Thread Mel Gorman
If a page is about to be dirtied then the page allocator attempts to limit the total number of dirty pages that exists in any given zone. The call to node_dirty_ok is expensive so this patch records if the last pgdat examined hit the dirty limits. In some cases, this reduces the number of calls to

Re: [PATCH 2/2] ARM: dma-mapping: fix alloc/free for coherent + CMA + gfp=0

2016-02-23 Thread Rabin Vincent
On Fri, Feb 19, 2016 at 02:50:52PM +0100, Michal Nazarewicz wrote: > I haven’t looked closely at the code, but why not: > > struct cma *cma = > if (!cma_release(dev_get_cma_area(dev), page, size >> PAGE_SHIFT)) { > // ... do whatever other non-CMA free > } The p

RE: [RFC PATCH] drivers: ata: Read Rx water mark value from device-tree

2016-02-23 Thread Anurag Kumar Vulisha
Hi Arnd, > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Tuesday, February 23, 2016 3:51 PM > To: Anurag Kumar Vulisha > Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; > ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; t...@kernel.org; > dev

Re: [PATCH v4 05/10] serial: mps2-uart: add support for early console

2016-02-23 Thread Peter Hurley
On 02/23/2016 06:34 AM, Vladimir Murzin wrote: > This adds support early console for MPS2 UART which can be enabled via > earlycon=mps2,0x40004000 Reviewed-by: Peter Hurley

Re: Freezable workqueue blocks non-freezable workqueue during the system resume process

2016-02-23 Thread Alan Stern
On Tue, 23 Feb 2016, Peter Chen wrote: > Hi Tejun Heo and Florian Mickler, > > I have a question that during the system resume process, the freezable > workqueue can be thawed if there is a non-freezable workqueue is > blocked (At uninterruptable state)? > > My case like below, I have a USB OTG

Re: fs: NULL deref in atime_needs_update

2016-02-23 Thread Dmitry Vyukov
On Mon, Feb 22, 2016 at 6:23 PM, Al Viro wrote: > On Mon, Feb 22, 2016 at 12:20:30PM +0100, Dmitry Vyukov wrote: > >> I've reproduced the second report (the one originating in openat) with >> this patch and the WARNING did _not_ fire: > > Lovely... Could you dump your inode.o on anonftp somewhere

Re: [PATCH 06/23] perf mem: Check for memory events support

2016-02-23 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 23, 2016 at 04:29:57PM +0100, Jiri Olsa escreveu: > On Tue, Feb 23, 2016 at 12:18:14PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Feb 15, 2016 at 09:34:36AM +0100, Jiri Olsa escreveu: > > > Check if current kernel support available memory events > > > and display the status with

Re: [PATCH 06/23] perf mem: Check for memory events support

2016-02-23 Thread Jiri Olsa
On Tue, Feb 23, 2016 at 12:18:14PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Feb 15, 2016 at 09:34:36AM +0100, Jiri Olsa escreveu: > > Check if current kernel support available memory events > > and display the status within -e list option: > > > > $ perf mem record -e list > > [ok] ld

Re: [PATCH v2] lib/bug.c: use common WARN helper

2016-02-23 Thread Steven Rostedt
Andrew, Would you like to take this patch? Acked-by: Steven Rostedt -- Steve On Tue, 23 Feb 2016 09:27:40 -0600 Josh Poimboeuf wrote: > The traceoff_on_warning option doesn't have any effect on s390, powerpc, > arm64, parisc, and sh because there are two different types of WARN > implement

Re: [PATCH] mm,vmscan: compact memory from kswapd when lots of memory free already

2016-02-23 Thread Rik van Riel
On Tue, 2016-02-23 at 10:18 +0100, Vlastimil Babka wrote: > On 02/23/2016 04:50 AM, Rik van Riel wrote: > > If kswapd is woken up for a higher order allocation, for example > > from alloc_skb, but the system already has lots of memory free, > > kswapd_shrink_zone will rightfully decide kswapd shoul

Re: [PATCH 06/23] perf mem: Check for memory events support

2016-02-23 Thread Jiri Olsa
On Tue, Feb 23, 2016 at 12:24:52PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Feb 23, 2016 at 12:18:14PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Feb 15, 2016 at 09:34:36AM +0100, Jiri Olsa escreveu: > > > Check if current kernel support available memory events > > > and display

Re: [PATCH 3/4] Remove dl_new

2016-02-23 Thread Peter Zijlstra
On Mon, Feb 22, 2016 at 11:57:04AM +0100, Luca Abeni wrote: > switched_to_dl() can be used instead This seems unrelated to the other patches, and looks like a nice cleanup.

Re: [RFC][PATCH 4/7] perf: Fix scaling vs enable_on_exec

2016-02-23 Thread Jiri Olsa
On Tue, Feb 23, 2016 at 04:27:29PM +0100, Peter Zijlstra wrote: > On Fri, Feb 19, 2016 at 03:37:47PM +0100, Peter Zijlstra wrote: > > Oleg reported that enable_on_exec results in weird scale factors. > > > > The recent commit 3e349507d12d ("perf: Fix perf_enable_on_exec() event > > scheduling") ca

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-23 Thread Peter Zijlstra
On Wed, Feb 10, 2016 at 01:42:40PM +, Juri Lelli wrote: > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > > index 9503d59..0ee0ec2 100644 > > > --- a/kernel/sched/core.c > > > +++ b/kernel/sched/core.c > > > @@ -2432,7 +2432,7 @@ static int dl_overflow(struct task_struct *p, > >

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-23 Thread Juri Lelli
On 23/02/16 16:48, Peter Zijlstra wrote: > On Wed, Feb 10, 2016 at 01:42:40PM +, Juri Lelli wrote: > > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > > > index 9503d59..0ee0ec2 100644 > > > > --- a/kernel/sched/core.c > > > > +++ b/kernel/sched/core.c > > > > @@ -2432,7 +2432,7

Re: [PATCH] char: xillybus: Fix internal data structure initialization

2016-02-23 Thread Eli Billauer
Oops. Didn't know it was required. I'll resubmit this patch soon. Sorry. Eli On 23/02/16 17:22, Greg KH wrote: On Tue, Feb 23, 2016 at 01:41:28PM +0200, Eli Billauer wrote: Signed-off-by: Eli Billauer --- drivers/char/xillybus/xillybus_core.c |4 +++- 1 files changed, 3 insertions(

BUGZILLA [112941] - Cannot reenable SRIOV after disabling SRIOV on AMD GPU

2016-02-23 Thread Zytaruk, Kelly
Bjorn, As per our offline discussions I have created Bugzilla #112941 for the SRIOV issue. When trying to enable SRIOV on AMD GPU after doing a previous enable / disable sequence the following warning is shown in dmesg. I suspect that there might be something missing from the cleanup on the d

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-23 Thread Michael S. Tsirkin
On Tue, Feb 23, 2016 at 06:26:47PM +0300, Denis V. Lunev wrote: > On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote: > >On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote: > >>From: Igor Redko > >> > >>Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory > >>statistics prot

Re: [lkp] [printk] 34578dc67f: EIP is at vprintk_emit+0x1ea/0x600

2016-02-23 Thread Sergey Senozhatsky
On (02/23/16 22:15), Sergey Senozhatsky wrote: > On (02/23/16 08:55), kernel test robot wrote: > > [ 33.497678] ### dt-test ### of_unittest_destroy_tracked_overlays: > > overlay destroy failed for #6 > > [ 33.497693] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! > > [swapper:1] > > [

Re: [lkp] [rcutorture] f5b06dd00f: WARNING: CPU: 0 PID: 18 at kernel/rcu/rcuperf.c:361 rcu_perf_writer+0x3cd/0x418()

2016-02-23 Thread Paul E. McKenney
On Tue, Feb 23, 2016 at 08:49:20AM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > dev.2015.01.12a > commit f5b06dd00f499c7a155a13c2dbedfcfd9b24bb6d ("rcutorture: Add RCU > grace-period performance

Re: [PATCH] tty: audit: remove unused variable

2016-02-23 Thread Peter Hurley
Hi Sudip, On 02/23/2016 12:30 AM, Sudip Mukherjee wrote: > While building with W=1 we were getting build warning: > drivers/tty/tty_audit.c:149:16: warning: variable 'sessionid' set but not used > > The local variable sessionid was only assigned the value of > current->sessionid but was never reu

Re: [PATCH 2/2] drm/tegra: Set the DMA mask

2016-02-23 Thread Thierry Reding
On Tue, Feb 23, 2016 at 03:25:54PM +0900, Alexandre Courbot wrote: > The default DMA mask covers a 32 bits address range, but tegradrm can > address more than that. Set the DMA mask to the actual addressable range > to avoid the use of unneeded bounce buffers. > > Signed-off-by: Alexandre Courbot

Re: [RFC][PATCH v2 3/3] mm/zsmalloc: increase ZS_MAX_PAGES_PER_ZSPAGE

2016-02-23 Thread Minchan Kim
On Tue, Feb 23, 2016 at 07:35:27PM +0900, Sergey Senozhatsky wrote: > On (02/23/16 17:25), Minchan Kim wrote: > [..] > > > > That sounds like a plan but at a first glance, my worry is we might need > > some special handling related to objs_per_zspage and pages_per_zspage > > because currently, we

Re: [PATCHv6 7/7] misc: at24: replace memory_accessor with nvmem_device_read

2016-02-23 Thread Sekhar Nori
On Friday 19 February 2016 04:21 PM, Srinivas Kandagatla wrote: > + adding davinci maintainers to the loop. > > Hi Andrew, > > Not sure which tree should take the patch, but we needs acks from the > mach-davinci maitainers. Can someone forward the original patch to me so I can test it? Thanks,

Re: [PATCH v1] serial: mctrl_gpio: Add missing module license

2016-02-23 Thread Romain Izard
2016-02-23 16:21 GMT+01:00 Fabio Estevam : > On Tue, Feb 23, 2016 at 11:54 AM, Romain Izard > wrote: >> As the mctrl_gpio driver can be built as a module, it needs to have its >> license specified with MODULE_LICENSE. Otherwise, it cannot access >> required symbols exported through EXPORT_SYMBOL_G

Re: [PATCH 1/3] ARM: omap2: mark unused functions as __maybe_unused

2016-02-23 Thread Tony Lindgren
* Arnd Bergmann [160223 05:58]: > The omap_generic_init() and omap_hwmod_init_postsetup() functions are > used in the initialization for all OMAP2+ SoC types, but in the > extreme case that those are all disabled, we get a warning about > unused code: > > arch/arm/mach-omap2/io.c:412:123: error:

Re: [PATCHv6 7/7] misc: at24: replace memory_accessor with nvmem_device_read

2016-02-23 Thread Andrew Lunn
On Tue, Feb 23, 2016 at 09:25:16PM +0530, Sekhar Nori wrote: > On Friday 19 February 2016 04:21 PM, Srinivas Kandagatla wrote: > > + adding davinci maintainers to the loop. > > > > Hi Andrew, > > > > Not sure which tree should take the patch, but we needs acks from the > > mach-davinci maitainers

Re: [PATCH 2/3] ARM: omap1: avoid unused variable warning

2016-02-23 Thread Tony Lindgren
* Arnd Bergmann [160223 05:58]: > The osk_mistral_init() contains code that is only compiled when > CONFIG_PM is set, but it uses a variable that is declared outside > of the #ifdef: > > arch/arm/mach-omap1/board-osk.c: In function 'osk_mistral_init': > arch/arm/mach-omap1/board-osk.c:513:7: warn

[PATCH] [media] tvp5150: remove signal generator as input from the DT binding

2016-02-23 Thread Javier Martinez Canillas
The chip internal signal generator was modelled as an input connector and represented as a media entity but isn't really a connector so the driver was changed to use the V4L2_CID_TEST_PATTERN control instead. Remove the signal generator input from the list of connectors in the tvp5150 DT binding d

Re: [PATCH 3/3] ARM: omap1/ams-delta: warn about failed regulator enable

2016-02-23 Thread Tony Lindgren
* Arnd Bergmann [160223 05:58]: > The modem pm handler in the ams-delta board uses regulator_enable() > but does not check for a successful return code: > > board-ams-delta.c:521:3: error: ignoring return value of 'regulator_enable', > declared with attribute warn_unused_result [-Werror=unused-r

Re: [PATCH 01/10] mtip32xx: Abort secure erase when drive is mounted

2016-02-23 Thread Jens Axboe
On Mon, Feb 22 2016, Asai Thambi SP wrote: > > To avoid erasing a device with a mounted filesystem, try to get exclusive > access to the blkdev object corresponding to the device. I don't think this needs to be in the kernel, why not just check from the official format tool if the device is mount

Re: interesting commit about llvm introducing barrier_data()

2016-02-23 Thread Paul E. McKenney
On Tue, Feb 23, 2016 at 02:58:37PM +, Mathieu Desnoyers wrote: > - On Feb 23, 2016, at 9:46 AM, Stephan Mueller smuel...@chronox.de wrote: > > > Am Dienstag, 23. Februar 2016, 14:32:43 schrieb Mathieu Desnoyers: > > > > Hi Mathieu, > > > >> - On Feb 23, 2016, at 9:23 AM, Paul E. McKe

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-23 Thread Denis V. Lunev
On 02/23/2016 06:53 PM, Michael S. Tsirkin wrote: On Tue, Feb 23, 2016 at 06:26:47PM +0300, Denis V. Lunev wrote: On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote: On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote: From: Igor Redko Add a new field, VIRTIO_BALLOON_S_AVAIL, to vir

[PATCH] Documentation: kselftest: Remove duplicate word

2016-02-23 Thread Zhiyi Sun
Remove duplicate word "for" in kselftest.txt. Signed-off-by: Zhiyi Sun --- Documentation/kselftest.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt index 9bbbcdc..979eaca 100644 --- a/Documentation/kselftest.txt +++

[PATCH v7 1/2] clk: qcom: Add support for SMD-RPM Clocks

2016-02-23 Thread Georgi Djakov
This adds initial support for clocks controlled by the Resource Power Manager (RPM) processor on some Qualcomm SoCs, which use the qcom_smd_rpm driver to communicate with RPM. Such platforms are msm8916, apq8084 and msm8974. The RPM is a dedicated hardware engine for managing the shared SoC resour

[PATCH v7 2/2] clk: qcom: Add support for RPM Clocks

2016-02-23 Thread Georgi Djakov
This adds initial support for clocks controlled by the Resource Power Manager (RPM) processor on some Qualcomm SoCs, which use the qcom_rpm driver to communicate with RPM. Such platforms are apq8064 and msm8960. Signed-off-by: Georgi Djakov --- .../devicetree/bindings/clock/qcom,rpmcc.txt

[PATCH v7 0/2] Add initial support for RPM clocks

2016-02-23 Thread Georgi Djakov
This patchset adds initial support for the clocks controlled by the RPM (Resource Power Manager) processor on Qualcomm platforms. The RPM is a dedicated hardware engine for managing the shared SoC resources in order to keep the lowest power profile. It communicates with other hardware subsystems v

Re: [PATCH 00/10] mtip32xx: various fixes

2016-02-23 Thread Jens Axboe
On Mon, Feb 22 2016, Asai Thambi SP wrote: > Hi Jens, > > This patchset includes various fixes for mtip32xx driver, tested > on kernel 4.5-rc3 > > Selvan Mani (10): > mtip32xx: Abort secure erase when drive is mounted > mtip32xx: Fix broken service thread handling > mtip32xx: Remove unwante

Re: [PATCH 11/48] perf data: Support converting data from bpf_perf_event_output()

2016-02-23 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 22, 2016 at 09:10:38AM +, Wang Nan escreveu: > bpf_perf_event_output() outputs data through sample->raw_data. This > patch adds support to convert those data into CTF. A python script > then can be used to process output data from BPF programs. > > Test result: Trying to test this

Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding

2016-02-23 Thread Laurent Pinchart
Hi Javier, On Tuesday 23 February 2016 13:09:58 Javier Martinez Canillas wrote: > The chip internal signal generator was modelled as an input connector > and represented as a media entity but isn't really a connector so the > driver was changed to use the V4L2_CID_TEST_PATTERN control instead. >

Re: [PATCH 3/3] ARM: omap1/ams-delta: warn about failed regulator enable

2016-02-23 Thread One Thousand Gnomes
> > It is not easy to propagate that return code to the callers in > > uart_configure_port/uart_suspend_port/uart_resume_port, unless > > we change all UART drivers, and it is unclear what those would > > do with the return code. > > > > Instead, this patch uses a runtime warning to replace the >

Re: [PATCH net-next 0/4] net: dsa: pass bridge device to drivers

2016-02-23 Thread Vivien Didelot
Hi all, Vivien Didelot writes: > This patchset simplifies the DSA layer. > > A switch may support multiple bridges with the same hardware VLAN. Thus a > check > such as dsa_bridge_check_vlan_range must be moved from the DSA layer to the > concerned driver. > > The first purpose of this patchset

Re: [PATCH 2/2] drm/tegra: Set the DMA mask

2016-02-23 Thread Terje Bergstrom
On 02/23/2016 08:04 AM, Thierry Reding wrote: * PGP Signed by an unknown key > > On Tue, Feb 23, 2016 at 03:25:54PM +0900, Alexandre Courbot wrote: >> The default DMA mask covers a 32 bits address range, but tegradrm >> can address more than that. Set the DMA mask to the actual >> addressabl

Re: [PATCH] kernel/resource.c: fix muxed resource handling in __request_region()

2016-02-23 Thread Simon Guinot
On Mon, Feb 22, 2016 at 12:46:09PM -0800, Jesse Barnes wrote: > On 02/22/2016 05:49 AM, Alan Cox wrote: > >> we have some good alternatives in the form of bus and platform > >> drivers that > >> can manage the appropriate serialization and keep things from > >> stomping > >> on one another. > > >

Re: [PATCH 3/4] sched/deadline: Tracepoints for deadline scheduler

2016-02-23 Thread Daniel Bristot de Oliveira
On 02/23/2016 07:44 AM, Peter Zijlstra wrote: >>> Worse, the proposed tracepoints are atrocious, look at crap like this: >>> > > > > > +if (trace_sched_deadline_yield_enabled()) { > > > +u64 delta_exec = rq_clock_task(rq) - > > > p->se.exec_start;

kernel panic in FIPS mode (3.18.27)

2016-02-23 Thread Tapas Sarangi
I am recompiling 3.18.27 on a platform derived from el6. FIPS mode is enabled by checking the following configs: CONFIG_CRYPTO_FIPS=y CONFIG_CRYPTO_TEST=y Following RH docs, initramfs was regenerated using dracut-fips (el6). I also generated hmac signed vmlinuz during the compilation. During boo

Alert!

2016-02-23 Thread Admin Support
Dear User, This is to inform you that on 22 February 2016, we updated our webmail display framework with the all new Display and Network EPM. We’ve temporarily limited what you can do with your email account as you are still using the old server. Update your email to gain full access to all the

Re: [PATCH 2/2] drm/tegra: Set the DMA mask

2016-02-23 Thread Thierry Reding
On Tue, Feb 23, 2016 at 08:18:26AM -0800, Terje Bergstrom wrote: > > > On 02/23/2016 08:04 AM, Thierry Reding wrote: > >* PGP Signed by an unknown key > > On Tue, Feb 23, 2016 at 03:25:54PM > >+0900, Alexandre Courbot wrote: > >> The default DMA mask covers a 32 bits address range, but tegradrm

Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding

2016-02-23 Thread Javier Martinez Canillas
Hello Laurent, On 02/23/2016 01:16 PM, Laurent Pinchart wrote: Hi Javier, On Tuesday 23 February 2016 13:09:58 Javier Martinez Canillas wrote: The chip internal signal generator was modelled as an input connector and represented as a media entity but isn't really a connector so the driver was

[REGRESSION] dell-wmi, dell-laptop: select DMI, Kconfig recursive dependency

2016-02-23 Thread Jeremiah Mahler
Hi Andy, Running the latest linux-next I am getting a Kconfig recursive dependency detected message that was not present before. jeri@hudson:~/linux-next$ make oldconfig scripts/kconfig/conf --oldconfig Kconfig drivers/gpio/Kconfig:34:error: recursive dependency detected! For a resolutio

Re: [PATCH v3] net: jme: fix suspend/resume on JMC260

2016-02-23 Thread Diego Viola
On Tue, Feb 23, 2016 at 12:04 PM, Diego Viola wrote: > The JMC260 network card fails to suspend/resume because the call to > jme_start_irq() was too early, moving the call to jme_start_irq() after > the call to jme_reset_link() makes it work. > > Prior this change suspend/resume would fail unless

Re: [RFC][PATCH 4/7] perf: Fix scaling vs enable_on_exec

2016-02-23 Thread Pratyush Anand
Hi Peter/Jiri, On 23/02/2016:04:48:49 PM, Jiri Olsa wrote: > On Tue, Feb 23, 2016 at 04:27:29PM +0100, Peter Zijlstra wrote: > > On Fri, Feb 19, 2016 at 03:37:47PM +0100, Peter Zijlstra wrote: > > > Oleg reported that enable_on_exec results in weird scale factors. > > > > > > The recent commit 3e

Re: [PATCH 46/61] gpio: tegra: Use devm_gpiochip_add_data() for gpio registration

2016-02-23 Thread Thierry Reding
On Mon, Feb 22, 2016 at 07:38:35PM +0530, Laxman Dewangan wrote: > Use devm_gpiochip_add_data() for GPIO registration. > > Signed-off-by: Laxman Dewangan > Cc: Stephen Warren > Cc: Thierry Reding > --- > drivers/gpio/gpio-tegra.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > dif

[PATCH v7 4/9] ARM: dts: am437x: Disable wait pin monitoring for NAND

2016-02-23 Thread Roger Quadros
The NAND Ready/Busy# line is connected to GPMC_WAIT0 pin and can't be used for wait state insertion for NAND I/O read/write. So disable read/write wait monitoring as per Reference Manual's suggestion [1]. [1] AM437x TRM: SPRUHL7D: 9.1.3.3.12.2 NAND Device-Ready Pin Signed-off-by: Roger Quadros -

[PATCH v7 0/9] ARM: dts: omap2+: GPMC NAND node fixes

2016-02-23 Thread Roger Quadros
Hi Tony, These patches are a preparatory step towards the NAND DT cleanup done in [1]. They mostly deal with adding the missing compatible property and interrupt resources and fixing up register resources for the NAND nodes. Patches based on v4.5-rc1. Tested on dra7-evm, am437x-gp-evm and omap3

[PATCH v7 2/9] ARM: dts: dra7: Remove redundant nand property

2016-02-23 Thread Roger Quadros
wait pin monitoring is not used for nand so it is pointless to have the gpmc,wait-monitoring-ns property. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7-evm.dts | 1 - arch/arm/boot/dts/dra72-evm.dts | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/

[PATCH v7 5/9] ARM: dts: am335x: Fix NAND device nodes

2016-02-23 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. The GPMC node will provide an interrupt controller for the NAND IRQs. Cc: Teresa Remmet Cc: Ilya Ledvich Cc: Yegor Yefremov Cc: Rostislav Lisovy Cc: Enric Balletbo i Serra Signed-off-by: Roger Quadros

[PATCH v7 9/9] ARM: dts: omap3: Fix NAND device nodess

2016-02-23 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. The GPMC node will provide an interrupt controller for the NAND IRQs. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | 3 ++- arch/arm/boot/dts/logicpd-torpedo-som.dts

[PATCH v7 7/9] ARM: dts: dm816x: Fix NAND device nodes

2016-02-23 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. The GPMC node will provide an interrupt controller for the NAND IRQs. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dm8168-evm.dts | 5 + arch/arm/boot/dts/dm816x.dtsi| 2 ++ 2 files changed,

[PATCH v7 8/9] ARM: dts: dm8168-evm: ARM: dts: Disable wait pin monitoring for NAND

2016-02-23 Thread Roger Quadros
The NAND Ready/Busy# line is connected to GPMC_WAIT0 pin and can't be used for wait state insertion for NAND I/O read/write. So disable read/write wait monitoring as per Reference Manual's suggestion [1]. [1] dm816x TRM: SPRUGX8C: 9.2.4.12.2 NAND Device-Ready Pin Signed-off-by: Roger Quadros ---

[PATCH v7 6/9] ARM: dts: am335x: Disable wait pin monitoring for NAND

2016-02-23 Thread Roger Quadros
The NAND Ready/Busy# line is connected to GPMC_WAIT0 pin and can't be used for wait state insertion for NAND I/O read/write. So disable read/write wait monitoring as per Reference Manual's suggestion [1]. [1] AM335x TRM: SPRUH73L: 7.1.3.3.12.2 NAND Device-Ready Pin Cc: Teresa Remmet Cc: Ilya Led

Re: [PATCH] Staging: comedi: mite: added spaces around | and *

2016-02-23 Thread Ian Abbott
On 23/02/16 12:38, Philippe Loctaux wrote: On Tue, Feb 23, 2016 at 11:07:15AM +, Ian Abbott wrote: Even better: just remove the macro, as it isn't used. How can I do that? I'm asking that because my C knowledge isn't very good :P Are you sure you should be writing kernel patches in that c

[PATCH v7 3/9] ARM: dts: am437x: Fix NAND device nodes

2016-02-23 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. The GPMC node will provide an interrupt controller for the NAND IRQs. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/am4372.dtsi| 2 ++ arch/arm/boot/dts/am437x-cm-t43.dts | 6 +- arch/ar

[PATCH v7 1/9] ARM: dts: dra7: Fix NAND device nodes.

2016-02-23 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. The GPMC node will provide an interrupt controller for the NAND IRQs. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7-evm.dts | 6 +- arch/arm/boot/dts/dra7.dtsi | 2 ++ arch/arm/boot/dts

Re: [PATCH] Staging: comedi: mite: added spaces around | and *

2016-02-23 Thread Ian Abbott
On 22/02/16 23:38, Philippe Loctaux wrote: Added spaces around | and *, fixing 2 checkpatch checks. Signed-off-by: Philippe Loctaux --- drivers/staging/comedi/drivers/mite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) [snip] @@ -216,7 +216,7 @@ EXPORT_SYMBOL_GPL(mite_free_rin

[PATCH 0/6] staging: lustre: update modinfo data

2016-02-23 Thread James Simmons
The module information for Lustre is stale or in some cases completely missing. This collection of patches brings the modinfo up to date as well as filling in any missing information. Andreas Dilger (4): staging: lustre: add missing MODULE_AUTHOR for LNet selftest module staging: lustre: updat

[PATCH 5/6] staging: lustre: make module_init/exit naming consistent

2016-02-23 Thread James Simmons
From: Andreas Dilger Make the name of the module_init()/_exit() functions consistently {module_name}_init and {module_name}_exit. Signed-off-by: Andreas Dilger Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204 Reviewed-on: http://review.whamcloud.com/16787 Reviewed-by: John L. Hammond R

[PATCH 3/6] staging: lustre: update the MODULE_VERSION for all lustre modules

2016-02-23 Thread James Simmons
For several lustre modules the MODULE_VERSION has the wrong value, located in the wrong place in the source code, or completely missing. This patch brings it up to date. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204 Reviewed-on: http://review.whamcloud.com/

[PATCH 6/6] staging: lustre: update format for lnet_lib_init/exit comment

2016-02-23 Thread James Simmons
From: Andreas Dilger The documentation about the return values for lnet_lib_init and lnet_lib_exit was in the old style format. Bring it in sync with the rest of the LNet core. Broken out of patch 16787. Signed-off-by: Andreas Dilger Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204 Revi

[PATCH v3 0/8] arm64: dts: apq8016 dt patches (Set2).

2016-02-23 Thread Srinivas Kandagatla
Hi Andy, Here are few more dt patches (set2) which enables usb and lpass, with some fixes. I have tested these patches with few changes to defconfig on DB410C + a usb phy fix. Thanks, srini Changes since v2: - fixed usb and usb-id pinctrl nodes as suggested by Bjorn Changes since v1: - moved

[PATCH 1/6] staging: lustre: move module info to end of libcfs module.c file

2016-02-23 Thread James Simmons
Move the MODULE_* field in module.c that belongs to libcfs to the end of the file like it is done for other kernel drivers. Signed-off-by: James Simmons --- drivers/staging/lustre/lustre/libcfs/module.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/stagin

[PATCH v3 1/8] arm64: dts: qcom: add manual pullup setting to otg.

2016-02-23 Thread Srinivas Kandagatla
This patch adds manual pull up setting for usb otg indicating that the vbus is vbus is not routed to USB controller/phy therefore enables pull-up explicitly before starting controller. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 1 + 1 file changed, 1 insertion

[PATCH v3 3/8] arm64: dts: qcom: add audio pinctrls

2016-02-23 Thread Srinivas Kandagatla
This patch adds pinctrls required for digital and analog audio via lpass. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 216 + 1 file changed, 216 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi b/arch/arm6

[PATCH v3 2/8] arm64: dts: qcom: apq8016-sbc: add usb support

2016-02-23 Thread Srinivas Kandagatla
Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi | 14 + arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 34 ++ 2 files changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi b/arch/arm6

[PATCH v3 7/8] arm64: dts: qcom: apq8016-sbc: enable bam dma node.

2016-02-23 Thread Srinivas Kandagatla
This patch enables bam dma node, dma is used for both tx and rx on spi and on high speed serial. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/d

[PATCH v3 4/8] arm64: dts: qcom: add lpass node

2016-02-23 Thread Srinivas Kandagatla
This patch adds lpass node to the SOC. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index c1592d4..a6fddc

[PATCH v3 8/8] arm64: dts: qcom: Fix MPP's function used for LED control

2016-02-23 Thread Srinivas Kandagatla
From: "Ivan T. Ivanov" The qcom-spmi-mpp driver is now using string "digital" to denote old "normal" functionality. Update DTS file. Also update the powersource. Signed-off-by: Ivan T. Ivanov --- arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH v3 6/8] arm64: dts: qcom: fix usb digital voltage levels

2016-02-23 Thread Srinivas Kandagatla
This patch updates the digital voltage levels from corner values to microvolts as we are going to use s1 regulator directly for vddcx instead of s1_corner. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

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