Re: [PATCH v2 1/9] ext4: allow DAX writeback for hole punch

2016-09-22 Thread Jan Kara
On Wed 21-09-16 09:22:44, Ross Zwisler wrote: > On Tue, Aug 23, 2016 at 04:04:11PM -0600, Ross Zwisler wrote: > > Currently when doing a DAX hole punch with ext4 we fail to do a writeback. > > This is because the logic around filemap_write_and_wait_range() in > > ext4_punch_hole() only looks for di

[PATCH 3/3] watchdog: dw_wdt: add stop watchdog operation

2016-09-22 Thread Steffen Trumtrar
The only way of stopping the watchdog is by resetting it. Add the watchdog op for stopping the device and reset if a reset line is provided. Signed-off-by: Steffen Trumtrar Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch...@vger.kernel.org --- drivers/watchdog/dw_wdt.c | 16

[PATCH 0/3] watchdog: dw_wdt: add reset lines

2016-09-22 Thread Steffen Trumtrar
Hi! This series adds support for the reset line that is (potentially) holding the watchdog in reset. As the watchdog is useless if this happens, it needs to be deasserted in the probe function. Additionally, the reset is the only way of stopping a once started watchdog. This was previously not su

[PATCH 1/3] watchdog: bindings: dw_wdt: add reset lines

2016-09-22 Thread Steffen Trumtrar
Document the reset lines holding the watchdog core in reset. Signed-off-by: Steffen Trumtrar Cc: Wim Van Sebroeck Cc: Rob Herring Cc: Mark Rutland Cc: linux-watch...@vger.kernel.org Cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/watchdog/dw_wdt.txt | 5 + 1 file chan

[PATCH 2/3] watchdog: dw_wdt: get reset lines from dt

2016-09-22 Thread Steffen Trumtrar
The dw_wdt has an external reset line, that can keep the device in reset and therefore rendering it useless and also is the only way of stopping the watchdog once it was started. Get the reset lines for this core from the devicetree. If resets are not specified just warn but don't fail probing to

Re: [PATCH] tty/serial: atmel: fix fractional baud rate computation

2016-09-22 Thread Uwe Kleine-König
On Wed, Sep 21, 2016 at 12:44:14PM +0200, Nicolas Ferre wrote: > From: Alexey Starikovskiy > > The problem with previous code was it rounded values in wrong > place and produced wrong baud rate in some cases. > > Signed-off-by: Alexey Starikovskiy > [nicolas.fe...@atmel.com: port to newer kerne

Re: + softirq-fix-tasklet_kill-and-its-users.patch added to -mm tree

2016-09-22 Thread Thomas Gleixner
B1;2802;0cOn Wed, 21 Sep 2016, Santosh Shilimkar wrote: > I requested you to include this patch but now am not sure anymore. > Looks like there are almost 30 more users which are directly > tweaking 'tasklet_struct' fields and calling other APIs. Hunting them > and fixing them probably would be an

[PATCH v5 1/3] ASoC: sun4i-codec: Rename sun4i_codec_widgets for consistency

2016-09-22 Thread Danny Milosavljevic
ASoC: sun4i-codec: Rename "sun4i_codec_widgets" to "sun4i_codec_controls" for consistency with the struct field name. Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sou

[PATCH v5 2/3] ASoC: sun4i-codec: Rename some sun7i-only registers

2016-09-22 Thread Danny Milosavljevic
Some of the registers defined in the driver are only usable on the A20. Rename these registers. Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-cod

[PATCH v5 0/3] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-22 Thread Danny Milosavljevic
ASoC: sun4i-codec: Introduce mechanism to detect sun7i and provide a different regmap different compared to sun4i Allwinner A10. The controls will be extended in a forthcoming patch - it is necessary to distinguish between sun4i and sun7i controls because they have different registers. Renamed

[PATCH v5 3/3] ASoC: sun4i-codec: Add custom regmap configs

2016-09-22 Thread Danny Milosavljevic
The A20 has a few extra registers that the A10 doesn't have. Therefore, use different regmaps for A10 as compared to A20. Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 38 +++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 01/11] staging: dgnc: remove redundant initialization for

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 02:20:51PM +0900, Daeseok Youn wrote: > The channel array in board_t was initialized in dgnc_found_board() > with NULL. But the channel is going to initialize in dgnc_tty_init(). > So the channel array doesn't need to set NULL for initailization. > > Signed-off-by: Daeseok

Re: [PATCH 03/11] staging: dgnc: missing NULL check for ioremap in

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 02:21:38PM +0900, Daeseok Youn wrote: > The ioremap() function can be failed, so it need to have error > handling in dgnc_do_remap(). And also the return type of > dgnc_do_remap() should be changed from "void" to "int" > > Signed-off-by: Daeseok Youn > --- > drivers/stagi

Re: [PATCH 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-09-22 Thread Peter Ujfalusi
On 09/21/16 19:11, Mugunthan V N wrote: > This patch adds the required pieces to ti_am335x_adc driver for > DMA support > > Signed-off-by: Mugunthan V N > --- > drivers/iio/adc/ti_am335x_adc.c | 160 > ++- > include/linux/mfd/ti_am335x_tscadc.h | 7 ++ > 2

Re: [PATCH 04/11] staging: dgnc: kfree for board structure in

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 02:22:03PM +0900, Daeseok Youn wrote: > The board structure should be freed when any function was failed > in dgnc_found_board(). And the board strucure will be stored > into dgnc_board array when the dgnc_found_board() function has no error. > > Signed-off-by: Daeseok Youn

Re: [PATCH net-next v2 0/6] ftgmac100 support for ast2500

2016-09-22 Thread David Miller
From: Joel Stanley Date: Thu, 22 Sep 2016 08:34:57 +0930 > Hello Dave, > > This series adds support to the ftgmac100 driver for the Aspeed ast2400 and > ast2500 SoCs. In particular, they ensure the driver works correctly on the > ast2500 where the MAC block has seen some changes in register layo

Re: [PATCH] Fix tasks being forgotten for a long time on SMP

2016-09-22 Thread Peter Zijlstra
On Tue, Sep 20, 2016 at 06:14:34PM -0700, Yuriy Romanenko wrote: > From e9a304ae91fa2a4427bde7d3aea18296d0ebb27f Mon Sep 17 00:00:00 2001 > From: Yuriy Romanenko > Date: Tue, 20 Sep 2016 17:47:28 -0700 > Subject: [PATCH] Fix tasks being forgotten for a long time on SMP > > Observed occasional ver

Re: [PATCH v2 3/3] tools: move pcmcia crc32hash tool from Documentation

2016-09-22 Thread Dominik Brodowski
On Wed, Sep 21, 2016 at 06:51:13PM -0600, Shuah Khan wrote: > Move pcmcia crc32hash tool from Documentation to tools/pcmcia and > remove it from Documentation Makefile. Update location information > for this tool. Create a new Makefile to build pcmcia. It can be built > from top level directory or

Re: [PATCH] tty/serial: atmel: fix fractional baud rate computation

2016-09-22 Thread Boris Brezillon
On Thu, 22 Sep 2016 09:07:46 +0200 Uwe Kleine-König wrote: > On Wed, Sep 21, 2016 at 12:44:14PM +0200, Nicolas Ferre wrote: > > From: Alexey Starikovskiy > > > > The problem with previous code was it rounded values in wrong > > place and produced wrong baud rate in some cases. > > > > Signed-o

ATA failure regression

2016-09-22 Thread Shah, Nehal-bakulchandra
Hi Jiang, Currently I am working on AMD future platform. I am hitting the same bug of ATA Failure Regression reported in past. (https://patchwork.kernel.org/patch/6875661/) or http://lkml.iu.edu/hypermail/linux/kernel/1507.3/01961.html I am newbie to this and because of this Ubuntu 16.04 is n

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2016-09-22 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7d1e042314619115153a0f6f06e4552c09a50e13 commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 8 months ago config:

Re: [PATCH 1/2] jump_labels: Add API to deal with keys embedded in structures

2016-09-22 Thread Peter Zijlstra
On Tue, Sep 20, 2016 at 02:54:01PM +0200, Christoffer Dall wrote: > On Tue, Sep 20, 2016 at 02:42:58PM +0200, Peter Zijlstra wrote: > > 'struct static_key' should indeed not be used and is deprecated. 'struct > > static_key_{true,false}' however should be fine. > > ah, ok, didn't realize this, esp

Re: [RFC PATCH v2 3/5] futex: Throughput-optimized (TO) futexes

2016-09-22 Thread Peter Zijlstra
On Wed, Sep 21, 2016 at 07:37:34PM -0400, Waiman Long wrote: > On 09/21/2016 02:59 AM, Mike Galbraith wrote: > >On Tue, 2016-09-20 at 09:42 -0400, Waiman Long wrote: > >>This patch introduces a new futex implementation called > >>throughput-optimized (TO) futexes. > >nit: 'TO' sounds way too much l

Re: [PATCH v14 4/4] CMDQ: save more energy in idle

2016-09-22 Thread Jassi Brar
On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: > Use clk_disable_unprepare instead of clk_disable to save more energy > when CMDQ is idle. > > Signed-off-by: HS Liao > --- > drivers/mailbox/mtk-cmdq.c | 54 > +++--- The driver is introduced by second patc

[GIT] Networking

2016-09-22 Thread David Miller
Mostly small bits scattered all over the place, which is usually how things go this late in the -rc series. 1) Proper driver init device resets in bnx2, from Baoquan He. 2) Fix accounting overflow in __tcp_retransmit_skb(), sk_forward_alloc, and ip_idents_reserve, from Eric Dumazet. 3) Fix c

Re: perf event grouping for dummies (was Re: [PATCH] arc: perf: Enable generic "cache-references" and "cache-misses" events)

2016-09-22 Thread Peter Zijlstra
On Wed, Sep 21, 2016 at 07:43:28PM -0500, Paul Clarke wrote: > On 09/20/2016 03:56 PM, Vineet Gupta wrote: > >On 09/01/2016 01:33 AM, Peter Zijlstra wrote: > >>>- is that what perf event grouping is ? > >> > >>Again, nope. Perf event groups are single counter (so no implicit > >>addition) that are

Re: [PATCH V2] sched/fair: Fix that tasks are not constrained by cfs_b->quota on hotplug core, when hotplug core is offline and then online.

2016-09-22 Thread Jeehong Kim
>Peter Zijlstra writes: > >> You forgot to Cc Ben, who gave you feedback on v1, which is rather poor >> style. Also, I don't see how kernel-janitors is relevant to this patch. >> This is very much not a janitorial thing. >> >> (also, why send it twice?) >> >> On Tue, Aug 30, 2016 at 10:12:40PM +09

Re: [PATCH 5/7] slab, workqueue: remove keventd_up() usage

2016-09-22 Thread Joonsoo Kim
On Thu, Sep 15, 2016 at 03:30:19PM -0400, Tejun Heo wrote: > Now that workqueue can handle work item queueing from very early > during boot, there is no need to gate schedule_delayed_work_on() while > !keventd_up(). Remove it. > > Signed-off-by: Tejun Heo > Cc: Christoph Lameter > Cc: Pekka Enb

Re: strace lockup when tracing exec in go

2016-09-22 Thread Michal Hocko
On Thu 22-09-16 06:15:02, Mike Galbraith wrote: [...] > master.today... Thanks for trying to reproduce this. My tiny laptop (2 cores, 2 threads per core) cannot reproduce even in 10 minutes or so. I've tried to use the same machine I was testing with 3.12 kernel (2 sockets, 8 cores per soc. and 2

[PATCH] clocksource/drivers/ti-32k: Prevent ftrace recursion

2016-09-22 Thread Jisheng Zhang
Currently ti-32k can be used as a scheduler clock. We properly marked omap_32k_read_sched_clock() as notrace but we then call another function ti_32k_read_cycles() that _wasn't_ notrace. Having a traceable function in the sched_clock() path leads to a recursion within ftrace and a kernel crash. F

Re: [PATCH v2 7/7] sched/core: Add debug code to catch missing update_rq_clock()

2016-09-22 Thread Peter Zijlstra
On Wed, Sep 21, 2016 at 05:58:27PM +0200, Petr Mladek wrote: > > +static inline void assert_clock_updated(struct rq *rq) > > +{ > > +#ifdef CONFIG_SCHED_DEBUG > > + /* > > +* The only reason for not seeing a clock update since the > > +* last rq_pin_lock() is if we're currently skipping u

Re: [PATCH v2 1/1] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-09-22 Thread Hillf Danton
> > dissolve_free_huge_pages() will either run into the VM_BUG_ON() or a > list corruption and addressing exception when trying to set a memory > block offline that is part (but not the first part) of a hugetlb page > with a size > memory block size. > > When no other smaller hugetlb page sizes a

Re: recommended use of request_any_context_irq()

2016-09-22 Thread Marc Zyngier
Leo, On 21/09/16 22:14, Leo Li wrote: > Hi Marc and Thomas, > > With the introduction of request_any_context_irq() routine, driver can > deal with interrupt controllers using either threaded irq or normal > irq. But I don't see many drivers that have been changed to use this > function to reques

Re: [PATCH net-next 0/9] rxrpc: Preparation for slow-start algorithm

2016-09-22 Thread David Howells
I'm going to post a V2 for this. I've used a couple of 64-bit division operators rather than calling the appropriate function (which is fine on x86_64) and managed to transpose the last two patches (causing an undefined symbol in one of them). David

Re: [PATCH v14 2/4] CMDQ: Mediatek CMDQ driver

2016-09-22 Thread Jassi Brar
On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > CMDQ is used to help write registers with critical time limitation, > such as updating display configuration during the vblank. It controls > Global Command Engine (GCE) hardw

RE: [PATCH v5 2/2] QE: remove PPCisms for QE

2016-09-22 Thread Qiang Zhao
On Mon, Sep 22, 2016 at 2:19 AM, Leo Li wrote: > -Original Message- > From: Leo Li [mailto:pku@gmail.com] > Sent: Thursday, September 22, 2016 2:19 AM > To: Qiang Zhao > Cc: Scott Wood ; linuxppc-dev d...@lists.ozlabs.org>; lkml ; X.B. Xie > > Subject: Re: [PATCH v5 2/2] QE: remove P

Re: strace lockup when tracing exec in go

2016-09-22 Thread Aleksa Sarai
So I've stared into do_notify_parent some more and the following was just very confusing if (!tsk->ptrace && sig == SIGCHLD && (psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN || (psig->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT))) { /*

[PATCH net-next 3/9] rxrpc: Add per-peer RTT tracker [ver #2]

2016-09-22 Thread David Howells
Add a function to track the average RTT for a peer. Sources of RTT data will be added in subsequent patches. The RTT data will be useful in the future for determining resend timeouts and for handling the slow-start part of the Rx protocol. Also add a pair of tracepoints, one to log transmissions

[PATCH net-next 4/9] rxrpc: Send pings to get RTT data [ver #2]

2016-09-22 Thread David Howells
Send a PING ACK packet to the peer when we get a new incoming call from a peer we don't have a record for. The PING RESPONSE ACK packet will tell us the following about the peer: (1) its receive window size (2) its MTU sizes (3) its support for jumbo DATA packets (4) if it supports slow st

[PATCH net-next 1/9] rxrpc: Don't store the rxrpc header in the Tx queue sk_buffs [ver #2]

2016-09-22 Thread David Howells
Don't store the rxrpc protocol header in sk_buffs on the transmit queue, but rather generate it on the fly and pass it to kernel_sendmsg() as a separate iov. This reduces the amount of storage required. Note that the security header is still stored in the sk_buff as it may get encrypted along wit

[PATCH net-next 5/9] rxrpc: Expedite ping response transmission [ver #2]

2016-09-22 Thread David Howells
Expedite the transmission of a response to a PING ACK by sending it from sendmsg if one is pending. We're most likely to see a PING ACK during the client call Tx phase as the other side may use it to determine a number of parameters, such as the client's receive window size, the RTT and whether th

[PATCH net-next 0/9] rxrpc: Preparation for slow-start algorithm [ver #2]

2016-09-22 Thread David Howells
kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160922-v2 David --- David Howells (9): rxrpc: Don't store the rxrpc header in the Tx queue sk_buffs rxrpc: Add re-sent Tx annotation rxrpc: Add per-peer RTT tracker rxrpc: Send pings to get RTT data rxrpc

[PATCH net-next 8/9] rxrpc: Reduce the number of ACK-Requests sent [ver #2]

2016-09-22 Thread David Howells
Reduce the number of ACK-Requests we set on DATA packets that we're sending to reduce network traffic. We set the flag on odd-numbered DATA packets to start off the RTT cache until we have at least three entries in it and then probe once per second thereafter to keep it topped up. This could be m

[PATCH net-next 6/9] rxrpc: Add ktime_sub_ms() [ver #2]

2016-09-22 Thread David Howells
Add a ktime_sub_ms() to go with ktime_add_ms() and co. for use in AF_RXRPC RTT determination. Signed-off-by: David Howells --- include/linux/ktime.h |5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/ktime.h b/include/linux/ktime.h index 2b6a204bd8d4..aa118bad1407 100644

[PATCH net-next 9/9] rxrpc: Reduce the number of PING ACKs sent [ver #2]

2016-09-22 Thread David Howells
We don't want to send a PING ACK for every new incoming call as that just adds to the network traffic. Instead, we send a PING ACK to the first three that we receive and then once per second thereafter. This could probably be made adjustable in future. Signed-off-by: David Howells --- net/rxr

[PATCH net-next 7/9] rxrpc: Obtain RTT data by requesting ACKs on DATA packets [ver #2]

2016-09-22 Thread David Howells
In addition to sending a PING ACK to gain RTT data, we can set the RXRPC_REQUEST_ACK flag on a DATA packet and get a REQUESTED-ACK ACK. The ACK packet contains the serial number of the packet it is in response to, so we can look through the Tx buffer for a matching DATA packet. This requires that

[PATCH net-next 2/9] rxrpc: Add re-sent Tx annotation [ver #2]

2016-09-22 Thread David Howells
Add a Tx-phase annotation for packet buffers to indicate that a buffer has already been retransmitted. This will be used by future congestion management. Re-retransmissions of a packet don't affect the congestion window managment in the same way as initial retransmissions. Signed-off-by: David H

Re: mm/slub.o:undefined reference to `_GLOBAL_OFFSET_TABLE_'

2016-09-22 Thread Jesper Dangaard Brouer
On Thu, 22 Sep 2016 13:50:21 +0800 kbuild test robot wrote: > Hi Jesper, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 7d1e042314619115153a0f6f06e4552c09a50e13 > commit: d0ecd894e3d5f768a84403b34019c4

Re: [PATCH v5 2/3] ASoC: sun4i-codec: Rename some sun7i-only registers

2016-09-22 Thread Maxime Ripard
On Thu, Sep 22, 2016 at 09:13:12AM +0200, Danny Milosavljevic wrote: > Some of the registers defined in the driver are only usable on the > A20. Rename these registers. > > Signed-off-by: Danny Milosavljevic Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Lin

[PATCH 0/4] GPU-DRM-TILCDC: Fine-tuning for two function implementations

2016-09-22 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 22 Sep 2016 10:25:43 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Use kmalloc_array() Return directly after a failed kfree_table_init() in tilcdc_convert_slave_node() Less function calls in til

Re: [PATCH v5 3/3] ASoC: sun4i-codec: Add custom regmap configs

2016-09-22 Thread Maxime Ripard
On Thu, Sep 22, 2016 at 09:13:13AM +0200, Danny Milosavljevic wrote: > The A20 has a few extra registers that the A10 doesn't have. > Therefore, use different regmaps for A10 as compared to A20. > > Signed-off-by: Danny Milosavljevic Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, F

Re: [PATCH v5 0/3] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-22 Thread Maxime Ripard
Hi, On Thu, Sep 22, 2016 at 09:13:10AM +0200, Danny Milosavljevic wrote: > ASoC: sun4i-codec: Introduce mechanism to detect sun7i and provide a > different regmap different compared to sun4i Allwinner A10. > > The controls will be extended in a forthcoming patch - it is necessary > to distinguis

Regmap commit 815806e3 from 4.8-rc6 introduces a deadlock

2016-09-22 Thread Nikita Yushchenko
Hi. Here is a trace: amixer D 8068ae98 0 197183 0x Backtrace: [<8068ab7c>] (__schedule) from [<8068b1c4>] (schedule+0xb8/0xd0) [<8068b10c>] (schedule) from [<8068b61c>] (schedule_preempt_disabled+0x20/0x2c) [<8068b5fc>] (schedule_preempt_disabled) from [<8068cd18>] (_

[PATCH 1/4] GPU-DRM-TILCDC: Use kmalloc_array() in kfree_table_init()

2016-09-22 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 22 Sep 2016 09:05:14 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software.

[PATCH net-next] net: ethernet: mediatek: use phydev from struct net_device

2016-09-22 Thread sean.wang
From: Sean Wang reuse phydev already in struct net_device instead of creating another new one in private structure. Signed-off-by: Sean Wang --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 73 ++--- drivers/net/ethernet/mediatek/mtk_eth_soc.h | 2 - 2 files changed,

[PATCH 3/4] GPU-DRM-TILCDC: Less function calls in tilcdc_convert_slave_node() after error detection

2016-09-22 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 22 Sep 2016 10:06:50 +0200 The of_node_put() function was called in some cases by the tilcdc_convert_slave_node() function during error handling even if the passed variable contained a null pointer. * Adjust jump targets according to the Linux coding style convent

[PATCH 2/4] GPU-DRM-TILCDC: Return directly after a failed kfree_table_init() in tilcdc_convert_slave_node()

2016-09-22 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 22 Sep 2016 09:29:23 +0200 Return directly after a memory allocation failed in this function at the beginning. Signed-off-by: Markus Elfring --- drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

Re: [PATCH 3.10 098/180] wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel

2016-09-22 Thread Jiri Slaby
On 08/22/2016, 07:35 AM, Johannes Berg wrote: > On Sun, 2016-08-21 at 15:30 +, Willy Tarreau wrote: >> From: Prasun Maiti >> >> commit 3d5fdff46c4b2b9534fa2f9fc78e90a48e0ff724 upstream. >> >> iwpriv app uses iw_point structure to send data to Kernel. The >> iw_point structure holds a pointer.

Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class

2016-09-22 Thread Peter Zijlstra
On Tue, Sep 20, 2016 at 09:59:08AM -0700, bseg...@google.com wrote: > Peter Zijlstra writes: > > Google has this patch-set replacing min_vruntime with an actual global > > 0-lag, which greatly simplifies things. If only they'd post it sometime > > :/ /me prods pjt and ben with a sharp stick :-) >

RE: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-22 Thread Sriram Dash
>From: Arnd Bergmann [mailto:a...@arndb.de] >On Wednesday, September 21, 2016 11:43:59 AM CEST Sriram Dash wrote: >> >From: Arnd Bergmann [mailto:a...@arndb.de] On Wednesday, September >> >21, 2016 11:06:47 AM CEST Sriram Dash wrote: >> >> ===

Re: EFI co-maintainer

2016-09-22 Thread Matt Fleming
On Wed, 21 Sep, at 07:59:51PM, Lukas Wunner wrote: > > That is great to hear, thanks a lot from me as well. > > Just curious, are there any plans to integrate the new repo into > linux-next? It would be great to have testing as early as possible. Yes, the existing one is also part of linux-nex

[PATCH 4/4] GPU-DRM-TILCDC: Delete unnecessary variable initialisations in tilcdc_convert_slave_node()

2016-09-22 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 22 Sep 2016 10:15:36 +0200 Four local variables will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation which became unnecessary with a previous update step. Signed-off-by: Markus Elfring --- drivers/gpu/drm/tilcdc/tilcdc_slave_c

Re: [PATCH v2 7/7] sched/core: Add debug code to catch missing update_rq_clock()

2016-09-22 Thread Jan Kara
On Thu 22-09-16 10:04:36, Peter Zijlstra wrote: > On Wed, Sep 21, 2016 at 05:58:27PM +0200, Petr Mladek wrote: > > > +static inline void assert_clock_updated(struct rq *rq) > > > +{ > > > +#ifdef CONFIG_SCHED_DEBUG > > > + /* > > > + * The only reason for not seeing a clock update since the > > >

[PATCH net-next] net: ethernet: mediatek: remove superfluous local variable for phy address

2016-09-22 Thread sean.wang
From: Sean Wang remove the unused variable for parsing PHY address and the related logic for sanity test which would be all already handled done when of_mdiobus_register was called Reported-by: Nelson Chang Signed-off-by: Sean Wang --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 10 +---

Re: strace lockup when tracing exec in go

2016-09-22 Thread Michal Hocko
On Thu 22-09-16 10:01:26, Michal Hocko wrote: > On Thu 22-09-16 06:15:02, Mike Galbraith wrote: > [...] > > master.today... > > Thanks for trying to reproduce this. My tiny laptop (2 cores, 2 threads > per core) cannot reproduce even in 10 minutes or so. I've tried to use > the same machine I was

RE: ftrace function_graph causes system crash

2016-09-22 Thread Bean Huo (beanhuo)
> -Original Message- > From: Steven Rostedt [mailto:rost...@goodmis.org] > Sent: Mittwoch, 21. September 2016 20:17 > To: Jisheng Zhang > Cc: Bean Huo (beanhuo) ; Zoltan Szubbocsev > (zszubbocsev) ; catalin.mari...@arm.com; > will.dea...@arm.com; r...@lists.rocketboards.org; linux- > ker..

Re: [PATCH 1/2] NFSD: notifiers registration cleanup

2016-09-22 Thread Vasily Averin
On 21.09.2016 16:20, Jeff Layton wrote: > Good catch. I'm not very fond of the refcounting this here but it > should > serve the purpose and I don't have anything better to suggest. FWIW, I > think the nfsd_mutex is held during all of these operations so we > probably don't need atomics for the ref

[PATCH net-next] net: ethernet: mediatek: use [get|set]_link_ksettings

2016-09-22 Thread sean.wang
From: Sean Wang 1) use new api [get|set]_link_ksettings instead of [get|set]_settings old ones. 2) dev->phydev is sure being ready before calling these callbacks, so removing all the sanity check if it is existing. Signed-off-by: Sean Wang --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 33

[PATCH net-next] net: ethernet: mediatek: get out of potential invalid pointer access

2016-09-22 Thread sean.wang
From: Sean Wang Potential dangerous invalid pointer might be accessed if the error happens when couple phy_device to net_device so cleanup the error path. Signed-off-by: Sean Wang --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

Re: [PATCH 03/13] genirq/msi: Switch to new irq spreading infrastructure

2016-09-22 Thread Alexander Gordeev
On Wed, Sep 14, 2016 at 04:18:49PM +0200, Christoph Hellwig wrote: > static int msix_setup_entries(struct pci_dev *dev, void __iomem *base, > - struct msix_entry *entries, int nvec) > + struct msix_entry *entries, int nvec, > +

[PATCH v3 1/3] xen/pciback: simplify pcistub device handling

2016-09-22 Thread Juergen Gross
The Xen pciback driver maintains a list of all its seized devices. There are two functions searching the list for a specific device with basically the same semantics just returning different structures in case of a match. Split out the search function. Signed-off-by: Juergen Gross --- drivers/x

[PATCH v3 2/3] xen/pciback: avoid multiple entries in slot list

2016-09-22 Thread Juergen Gross
The Xen pciback driver has a list of all pci devices it is ready to seize. There is no check whether a to be added entry already exists. While this might be no problem in the common case it might confuse those which consume the list via sysfs. Modify the handling of this list by not adding an entr

[PATCH v3 3/3] xen/pciback: support driver_override

2016-09-22 Thread Juergen Gross
Support the driver_override scheme introduced with commit 782a985d7af2 ("PCI: Introduce new device binding path using pci_dev.driver_override") As pcistub_probe() is called for all devices (it has to check for a match based on the slot address rather than device type) it has to check for driver_ov

include/linux/kprobes.h:361:2: error: invalid use of undefined type 'struct kprobe_ctlblk'

2016-09-22 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7d1e042314619115153a0f6f06e4552c09a50e13 commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files date: 1 year, 3 months ago config: mn10300-allyesconf

[PATCH v3 0/3] xen/pciback: support driver_override

2016-09-22 Thread Juergen Gross
Support the driver_override scheme introduced with commit 782a985d7af2 ("PCI: Introduce new device binding path using pci_dev.driver_override") Today you'd need something like: echo :07:10.0 > /sys/bus/pci/devices/\:07\:10.0/driver/unbind echo :07:10.0 > /sys/bus/pci/drivers/pciback/n

[PATCH v0 0/3] [RESEND] lockperf: a few small improvments

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner Hi Jeff, I had a bunch of small patches in my tree, which I forgot to send. So here they are... cheers, daniel Daniel Wagner (3): Synchronize all clients on start up posix03, posix04: Use '-l' instead of '-i' as option argument name posix03: Do not kill everything in

[PATCH] Coccinelle: pm_runtime: ensure relevance of pm_runtime reports

2016-09-22 Thread Julia Lawall
pm_runtime.cocci starts with one rule that searches for a variety of functions calls, followed by various rules that report errors. Previously, the only connection between the first rule and the rest was to check that the first rule had matched somewhere. Change the rules to propagate a position

[PATCH v0 3/3] posix03: Do not kill everything in the process group

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner kill(0, SIGINT) sends to all in the process group the signal including the parent shell. Instead remember the PIDs of all children and just send the signal to these processes. Reported-by: Dave Chinner Signed-off-by: Daniel Wagner --- posix03.c | 17 +++-- 1 f

[PATCH v0 1/3] Synchronize all clients on start up

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner The child process start working as soon as they are forked. Sometimes that leads to a workload pattern that no contention happens at all even with a high number of processes. Since the main motivation of this this is to benchmark the contention overhead let the clients wait ti

Re: EFI co-maintainer

2016-09-22 Thread Ard Biesheuvel
On 22 September 2016 at 09:34, Matt Fleming wrote: > On Wed, 21 Sep, at 07:59:51PM, Lukas Wunner wrote: >> >> That is great to hear, thanks a lot from me as well. >> >> Just curious, are there any plans to integrate the new repo into >> linux-next? It would be great to have testing as early as po

[PATCH v0 2/3] posix03, posix04: Use '-l' instead of '-i' as option argument name

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner All other test use '=l' instead of '-i' to as option name for defining how many loops should be executed. Let's streamline posix03 and posix04. Signed-off-by: Daniel Wagner --- posix03.c | 6 +++--- posix04.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) dif

fscrypt: in-place decrypt vs. out-of-place encrypt?

2016-09-22 Thread Richard Weinberger
Hi! While reading the fscrypt code I noticed that some functions use the bounce pages and some not. fscrypt_decrypt_page() and fscrypt_decrypt_bio_pages() work in-place while fscrypt_encrypt_page() and fscrypt_zeroout_range() use a bounce page. So, both ext4 and f2fs encrypt data using an extra

Re: solo6010 modprobe lockup since e1ceb25a (v4.3 regression)

2016-09-22 Thread Krzysztof Hałasa
Andrey Utkin writes: > It happens in solo_disp_init at uploading default motion thresholds > array. > > I've got a prints trace with solo6010-fix-lockup branch > https://github.com/bluecherrydvr/linux/tree/solo6010-fix-lockup/drivers/media/pci/solo6x10 > the trace itself in jpg: > https://decent.

Re: [PATCH v2] i2c / ACPI: Do not touch an I2C device if it belongs to another adapter

2016-09-22 Thread Mika Westerberg
On Wed, Sep 21, 2016 at 06:14:38PM +0200, Wolfram Sang wrote: > On Wed, Sep 21, 2016 at 11:45:02AM +0300, Mika Westerberg wrote: > > On Wed, Sep 21, 2016 at 07:48:35AM +0200, Wolfram Sang wrote: > > > On Tue, Sep 20, 2016 at 04:59:25PM +0300, Mika Westerberg wrote: > > > > When enumerating I2C devi

Re: [PATCH] L2TP:Adjust intf MTU, add underlay L3, overlay L2

2016-09-22 Thread Derek Fawcus
On Wed, Sep 21, 2016 at 02:11:04pm -0700, R. Parameswaran wrote: > [snip] > @@ -206,6 +209,46 @@ static void l2tp_eth_show(struct seq_file *m, void > *arg) > } > #endif [snip] > + > static int l2tp_eth_create(struct net *net, u32 tunnel_id, u32 session_id, > u32 peer_session_id, struct l2tp_s

Re: failed to add c++ probe

2016-09-22 Thread Peter Zijlstra
On Wed, Sep 21, 2016 at 01:43:24PM +0900, Masami Hiramatsu wrote: > On Wed, 21 Sep 2016 12:37:59 +0900 > Masami Hiramatsu wrote: > Hmm, I found there are 3 issues in perf-probe to define event on C++ libs. > > 1) No mangle/demangle symbol support. This needs a) fix option parser to >accept C

Re: EFI co-maintainer

2016-09-22 Thread Lukas Wunner
On Thu, Sep 22, 2016 at 09:34:02AM +0100, Matt Fleming wrote: > On Wed, 21 Sep, at 07:59:51PM, Lukas Wunner wrote: > > Just curious, are there any plans to integrate the new repo into > > linux-next? It would be great to have testing as early as possible. > > Yes, the existing one is also part o

Re: [PATCH v2] i2c / ACPI: Do not touch an I2C device if it belongs to another adapter

2016-09-22 Thread Wolfram Sang
> > Huh? It doesn't apply on top of rc7 here? What did you base it on? > > It is based on linux-next as it is on top of Jarkko's I2C ACPI namespace > cleanup patches. I'm wondering if I make an updated patch on top of > v4.8-rc7 does it conflict with the I2C stuff in linux-next? What's your > pre

{standard input}:199: Error: unknown opcode

2016-09-22 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7d1e042314619115153a0f6f06e4552c09a50e13 commit: b4214e41b7152b1964a3421a40251d202ae2d2c0 sh: add SMP support for J2 date: 7 weeks ago config: sh-j2_defconfi

[PATCH resend] xen-netback: switch to threaded irq for control ring

2016-09-22 Thread Juergen Gross
Instead of open coding it use the threaded irq mechanism in xen-netback. Signed-off-by: Juergen Gross --- resend due to missing netdev list in first attempt --- drivers/net/xen-netback/common.h| 4 +--- drivers/net/xen-netback/interface.c | 38 ++--- drivers/

[PATCH] regmap: fix deadlock on _regmap_raw_write() error path

2016-09-22 Thread Nikita Yushchenko
Commit 815806e39bf6 ("regmap: drop cache if the bus transfer error") added a call to regcache_drop_region() to error path in _regmap_raw_write(). However that path runs with regmap lock taken, and regcache_drop_region() tries to re-take it, causing deadlock: amixer D 8068ae98 0 197

[PATCH 1/2] net: thunderx: Fix issue with IRQ namimg

2016-09-22 Thread sunil . kovvuri
From: Sunil Goutham This patch fixes a regression caused by previous commit 'Use netdev's name for naming VF's interrupts' where irq name exceeds 20 byte array if interface's name size is large. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h | 2 +- 1 file changed,

[PATCH 0/2] BQL support and fix for a regression issue

2016-09-22 Thread sunil . kovvuri
From: Sunil Goutham These patches add byte queue limit support and also fixes a regression issue introduced by commit 'net: thunderx: Use netdev's name for naming VF's interrupts' Sunil Goutham (2): net: thunderx: Fix issue with IRQ namimg net: thunderx: Support for byte queue limits drive

[PATCH 2/2] net: thunderx: Support for byte queue limits

2016-09-22 Thread sunil . kovvuri
From: Sunil Goutham This patch adds support for byte queue limits Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 11 ++-- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 30 ++ 2 files changed, 29 insertions(+), 12 deletions(-

[PATCH resend 2] xen-netback: switch to threaded irq for control ring

2016-09-22 Thread Juergen Gross
Instead of open coding it use the threaded irq mechanism in xen-netback. Signed-off-by: Juergen Gross --- resend due to missing netdev list in first attempt and wrong address in second. --- drivers/net/xen-netback/common.h| 4 +--- drivers/net/xen-netback/interface.c | 38 ++

Re: [PATCH] HID: alps: fix stick device not working after resume

2016-09-22 Thread Jiri Kosina
On Mon, 19 Sep 2016, Kai-Heng Feng wrote: > The stick device does not work after resume, add U1_SP_ABS_MODE flag can > make the device work after resume. > > Signed-off-by: Kai-Heng Feng Applied with ammended changelog. Thanks, -- Jiri Kosina SUSE Labs

Re: GPU-DRM-OMAP: Fine-tuning for several function implementations

2016-09-22 Thread SF Markus Elfring
>> For the next pile of driver patches _please_ talk with driver maintainers >> before starting to create&submit patches. Did the software development discussion start a bit here? Would you like to support an other "talking style" on a conference like in Berlin next month? >> Like I said I won'

Re: [RFC PATCH v7 4/5] tracing: Measure delayed hrtimer offset latency

2016-09-22 Thread Binoy Jayan
Hi Thomas, Thank you for the reply and sharing your insights. On 21 September 2016 at 21:28, Thomas Gleixner wrote: > Sorry. This has nothing to do with changing the hrtimer_base, simply > because the time base is the same on all cpus. The condition 'ktime_to_ns(tim) < ktime_to_ns(now)' checks

[PATCH] fs/9p: Drop memory allocation cast

2016-09-22 Thread Vaishali Thakkar
Drop useless cast on the result of kmem_cache_alloc. Signed-off-by: Vaishali Thakkar --- fs/ncpfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index 1af15fc..2cc3090 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c @@ -52,7 +

Re: [PATCHv2] arm64: Correctly bounds check virt_addr_valid

2016-09-22 Thread Will Deacon
On Wed, Sep 21, 2016 at 03:25:04PM -0700, Laura Abbott wrote: > > virt_addr_valid is supposed to return true if and only if virt_to_page > returns a valid page structure. The current macro does math on whatever > address is given and passes that to pfn_valid to verify. vmalloc and > module address

  1   2   3   4   5   6   7   8   9   10   >