Re: [PATCH v2 1/2] drm/panel: Add Sharp LS043T1LE01 panel binding documentation

2015-11-23 Thread Thierry Reding
On Fri, Oct 30, 2015 at 03:34:29PM -0700, Bjorn Andersson wrote: > From: Werner Johansson > > Signed-off-by: Werner Johansson > Signed-off-by: Bjorn Andersson > --- > > Change since v1: > -

Re: [PATCH v2 2/2] drm/panel: Add Sharp LS043T1LE01 MIPI DSI panel

2015-11-23 Thread Thierry Reding
On Fri, Oct 30, 2015 at 03:34:30PM -0700, Bjorn Andersson wrote: > From: Werner Johansson > > This adds support for the Sharp panel found on the Qualcomm > Snapdragon 800 Dragonboard (APQ8074) > > Signed-off-by: Werner Johansson

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Nikita Yushchenko
23.11.2015 15:03, Russell King - ARM Linux пишет: > On Mon, Nov 23, 2015 at 02:59:06PM +0300, nyushche...@dev.rtsoft.ru wrote: >> From: Nikita Yushchenko >> >> While running an imx6s boasrd, I got following message in boot log: >> >> [0.032414] CPU1: failed to boot:

[PATCH] ASoC: hdac_hdmi: fix possible NULL dereference

2015-11-23 Thread Sudip Mukherjee
kzalloc() can return NULL if it fails, and then we will be dereferencing a NULL pointer. Signed-off-by: Sudip Mukherjee --- sound/soc/codecs/hdac_hdmi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c index

[PATCH] memcg: fix memory.high target

2015-11-23 Thread Vladimir Davydov
When the memory.high threshold is exceeded, try_charge() schedules a task_work to reclaim the excess. The reclaim target is set to the number of pages requested by try_charge(). This is wrong, because try_charge() usually charges more pages than requested (batch > nr_pages) in order to refill per

[PATCH v2] mm: fix up sparse warning in gfpflags_allow_blocking

2015-11-23 Thread Jeff Layton
sparse says: include/linux/gfp.h:274:26: warning: incorrect type in return expression (different base types) include/linux/gfp.h:274:26:expected bool include/linux/gfp.h:274:26:got restricted gfp_t Add a comparison to zero to have it return bool. Cc: Michal Hocko

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Vladimir Murzin
On 23/11/15 12:06, Nikita Yushchenko wrote: > 23.11.2015 15:03, Russell King - ARM Linux пишет: >> On Mon, Nov 23, 2015 at 02:59:06PM +0300, nyushche...@dev.rtsoft.ru wrote: >>> From: Nikita Yushchenko >>> >>> While running an imx6s boasrd, I got following message in

[PATCH] libertas: fix possible NULL dereference

2015-11-23 Thread Sudip Mukherjee
We were dereferencing cmd first and checking for NULL later. Lets first check for NULL. Signed-off-by: Sudip Mukherjee --- drivers/net/wireless/marvell/libertas/cfg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] clk: tegra: Fix bypassing of PLLs

2015-11-23 Thread Jon Hunter
On 20/11/15 17:15, Stephen Boyd wrote: > On 11/20, Jon Hunter wrote: >> The _clk_disable_pll() function will attempt to place a PLL into bypass >> if the TEGRA_PLL_BYPASS is specified for the PLL and then disable the PLL >> by clearing the enable bit. To place the PLL into bypass, the bypass bit

Re: [PATCH 9/9] netfilter: implement xt_cgroup cgroup2 path match

2015-11-23 Thread Daniel Wagner
Hi Tejun, On 11/21/2015 05:14 PM, Tejun Heo wrote:> +static int > cgroup_mt_check_v1(const struct xt_mtchk_param *par) > +{ > + struct xt_cgroup_info_v1 *info = par->matchinfo; > + struct cgroup *cgrp; > + > + if ((info->invert_path & ~1) || (info->invert_classid & ~1)) > +

Re: [PATCH v2 1/5] ARM: dts: sun8i: Add SID node

2015-11-23 Thread Maxime Ripard
Hi, On Mon, Nov 23, 2015 at 09:02:48AM +0100, Josef Gajdusek wrote: > Add a node describing the Security ID memory to the > Allwinner H3 .dtsi file. > > Signed-off-by: Josef Gajdusek > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > > diff

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Nikita Yushchenko
> While running an imx6s boasrd, I got following message in boot log: > > [0.032414] CPU1: failed to boot: -38 > > This looked strange: imx6s is singe-core and kernel perfectly knows > that. However, for some reason it tries to initialize CPU 1? > > I found this

Re: [PATCH 2/2] crypto: mcryptd - use list_first_entry_or_null()

2015-11-23 Thread Herbert Xu
On Mon, Nov 16, 2015 at 10:37:15PM +0800, Geliang Tang wrote: > Simplify mcryptd_opportunistic_flush() with list_first_entry_or_null(). > > Signed-off-by: Geliang Tang Patch applied. Thanks. -- Email: Herbert Xu Home Page:

[PATCH 3.12 00/72] 3.12.51-stable review

2015-11-23 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.51 release. There are 72 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Nov 25 14:04:50 CET 2015. Anything

[PATCH 3.12 07/72] ASoC: wm8904: Correct number of EQ registers

2015-11-23 Thread Jiri Slaby
From: Charles Keepax 3.12-stable review patch. If anyone has any objections, please let me know. === commit 97aff2c03a1e4d343266adadb52313613efb027f upstream. There are 24 EQ registers not 25, I suspect this bug came about because the

[PATCH 3.12 09/72] sfc: Fix memcpy() with const destination compiler warning.

2015-11-23 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1d20a16062e771b6e26b843c0cde3b17c1146e00 upstream. drivers/net/ethernet/sfc/selftest.c: In function ‘efx_iterate_state’:

[PATCH 3.12 08/72] mm: make sendfile(2) killable

2015-11-23 Thread Jiri Slaby
From: Jan Kara 3.12-stable review patch. If anyone has any objections, please let me know. === commit 296291cdd1629c308114504b850dc343eabc2782 upstream. Currently a simple program below issues a sendfile(2) system call which takes about 62 days to complete in my

[PATCH 3.12 06/72] powerpc/rtas: Validate rtas.entry before calling enter_rtas()

2015-11-23 Thread Jiri Slaby
From: Vasant Hegde 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8832317f662c06f5c06e638f57bfe89a71c9b266 upstream. Currently we do not validate rtas.entry before calling enter_rtas(). This leads to a kernel

[PATCH 3.12 36/72] macvtap: unbreak receiving of gro skb with frag list

2015-11-23 Thread Jiri Slaby
From: Jason Wang 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit f23d538bc24a83c16127c2eb82c9cf1adc2b5149 ] We don't have fraglist support in TAP_FEATURES. This will lead software segmentation of gro skb with

[PATCH 3.12 71/72] x86/mm/hotplug: Pass sync_global_pgds() a correct argument in remove_pagetable()

2015-11-23 Thread Jiri Slaby
From: Yasuaki Ishimatsu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5255e0a79fcc0ff47b387af92bd9ef5729b1b859 upstream. When hot-adding memory after hot-removing memory, following call traces are shown:

[PATCH 3.12 61/72] rbd: don't leak parent_spec in rbd_dev_probe_parent()

2015-11-23 Thread Jiri Slaby
From: Ilya Dryomov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1f2c6651f69c14d0d3a9cfbda44ea101b02160ba upstream. Currently we leak parent_spec and trigger a "parent reference underflow" warning if rbd_dev_create() in

[PATCH 3.12 66/72] KVM: x86: work around infinite loop in microcode when #AC is delivered

2015-11-23 Thread Jiri Slaby
From: Eric Northup 3.12-stable review patch. If anyone has any objections, please let me know. === commit 54a20552e1eae07aa240fa370a0293e006b5faed upstream. It was found that a guest can DoS a host by triggering an infinite stream of "alignment check"

[PATCH 3.12 70/72] ipv6: addrconf: validate new MTU before applying it

2015-11-23 Thread Jiri Slaby
From: Marcelo Leitner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 77751427a1ff25b27d47a4c36b12c3c8667855ac upstream. Currently we don't check if the new MTU is valid or not and this allows one to configure a smaller

[PATCH 3.12 59/72] serial: 8250_dw: Fix deadlock in LCR workaround

2015-11-23 Thread Jiri Slaby
From: Peter Hurley 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7fd6f640f2dd17dac6ddd6702c378cb0bb9cfa11 upstream. Trying to write console output from within the serial console driver while the port->lock is held

[PATCH 3.12 58/72] r8169: disable L23

2015-11-23 Thread Jiri Slaby
From: hayeswang 3.12-stable review patch. If anyone has any objections, please let me know. === commit b51ecea852b712618796d9eab8428a7d5f1f106f upstream. For RTL8411, RTL8111G, RTL8402, RTL8105, and RTL8106, disable the feature of entering the L2/L3 link

[PATCH 3.12 57/72] r8169: fix the incorrect tx descriptor version

2015-11-23 Thread Jiri Slaby
From: hayeswang 3.12-stable review patch. If anyone has any objections, please let me know. === commit f75761b6b5bf6277296505941d2dd8e11f9b5c35 upstream. The tx descriptor version of RTL8111B belong to RTL_TD_0. Signed-off-by: Hayes Wang

[PATCH 3.12 53/72] ceph: protect kick_requests() with mdsc->mutex

2015-11-23 Thread Jiri Slaby
From: "Yan, Zheng" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 656e4382948d4b2c81bdaf707f1400f53eff2625 upstream. Signed-off-by: "Yan, Zheng" Reviewed-by: Sage Weil Signed-off-by:

[PATCH 3.12 63/72] KEYS: Fix race between key destruction and finding a keyring by name

2015-11-23 Thread Jiri Slaby
From: David Howells 3.12-stable review patch. If anyone has any objections, please let me know. === commit 94c4554ba07adbdde396748ee7ae01e86cf2d8d7 upstream. There appears to be a race between: (1) key_gc_unused_keys() which frees key->security and then

[PATCH 3.12 65/72] KVM: x86: Defining missing x86 vectors

2015-11-23 Thread Jiri Slaby
From: Nadav Amit 3.12-stable review patch. If anyone has any objections, please let me know. === commit c9cdd085bb75226879fd468b88e2e7eb467325b7 upstream. Defining XE, XM and VE vector numbers. Signed-off-by: Nadav Amit

Re: [PATCH] PCI: keystone: fix crash with deferred probe

2015-11-23 Thread Russell King - ARM Linux
On Mon, Nov 23, 2015 at 07:22:09PM +0800, Jisheng Zhang wrote: > when trying to add berlin pcie support and came up one patch > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/384575.html > > when build testing, I also realized this issue, but keystone relies on >

[PATCH char-misc-next 2/4] misc: mic: return error properly

2015-11-23 Thread Sudip Mukherjee
If request_firmware() succeeds then rc becomes 0. After that if the test for strcmp() fails then we were jumping to label done: and returning rc. But rc being 0 we returned success whereas we have failed here and we were supposed to return an error. Signed-off-by: Sudip Mukherjee

[PATCH char-misc-next 4/4] misc: mic: use common error path

2015-11-23 Thread Sudip Mukherjee
Instead of calling release_firmware() on every error and then jumping lets have a common release_firmware() in the error path. This patch also fixes a memory leak where we missed release_firmware() if mic_x100_load_command_line() fails. Signed-off-by: Sudip Mukherjee ---

[PATCH char-misc-next 3/4] misc: mic: return error directly

2015-11-23 Thread Sudip Mukherjee
Instead of jumping to a label and then returning from there lets return directly. Signed-off-by: Sudip Mukherjee --- drivers/misc/mic/host/mic_x100.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/mic/host/mic_x100.c

[PATCH char-misc-next 1/4] misc: mic: remove unneeded debug message

2015-11-23 Thread Sudip Mukherjee
>From the error path we are printing an error message with dev_err(). No need to print almost same message with dev_dbg(). Signed-off-by: Sudip Mukherjee --- drivers/misc/mic/host/mic_x100.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git

Re: [PATCH V3 net-next 4/5] net:hns: Add support of ethtool TSO set option for Hip06 in HNS

2015-11-23 Thread Salil Mehta
On 20/11/15 14:07, Sergei Shtylyov wrote: On 11/19/2015 11:58 PM, Salil Mehta wrote: From: Salil This patch adds the support of ethtool TSO option to V1 patch, meant to add support of Hip06 SoC to HNS Signed-off-by: Salil Mehta

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Russell King - ARM Linux
On Mon, Nov 23, 2015 at 02:59:06PM +0300, nyushche...@dev.rtsoft.ru wrote: > From: Nikita Yushchenko > > While running an imx6s boasrd, I got following message in boot log: > > [0.032414] CPU1: failed to boot: -38 > > This looked strange: imx6s is singe-core and

RE: [RFC 0/6] mmc: Field Firmware Update

2015-11-23 Thread Avi Shchislowski
Hi Holger, Thank you for resubmitting the FFU patches again. We did couple of fixes since our last submission (in [RFC 6/6]), so we will post them soon. Also, we would like to leave the original "signed-off-by" names in your FFU patch commits. Could you please add the original: Signed-off-by:

Re: [PATCH] fs: clear file set[ug]id when writing via mmap

2015-11-23 Thread Jan Kara
On Thu 19-11-15 16:10:43, Kees Cook wrote: > Normally, when a user can modify a file that has setuid or setgid bits, > those bits are cleared when they are not the file owner or a member of the > group. This is enforced when using write() directly but not when writing > to a shared mmap on the

Re: [PATCH] leds/powernv : removing NULL check

2015-11-23 Thread Jacek Anaszewski
On 11/23/2015 10:28 AM, Saurabh Sengar wrote: no need to explicitly check for pointer to be null, of_prop_next_string anyways return NULL, if passed pointer is NULL and hence loop will continue Signed-off-by: Saurabh Sengar --- drivers/leds/leds-powernv.c | 2 -- 1

Re: [PATCH v2 4/5] dt-bindings: document sun8i_ths

2015-11-23 Thread Maxime Ripard
Hi, On Mon, Nov 23, 2015 at 09:02:51AM +0100, Josef Gajdusek wrote: > This patch adds the binding documentation for the sun8i_ths driver > > Signed-off-by: Josef Gajdusek > --- > .../devicetree/bindings/thermal/sun8i-ths.txt | 31 > ++ > 1 file changed,

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Nikita Yushchenko
While running an imx6s boasrd, I got following message in boot log: [0.032414] CPU1: failed to boot: -38 This looked strange: imx6s is singe-core and kernel perfectly knows that. However, for some reason it tries to initialize CPU 1? I found this to be

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Nikita Yushchenko
23.11.2015 15:19, Russell King - ARM Linux пишет: > On Mon, Nov 23, 2015 at 12:12:16PM +, Russell King - ARM Linux wrote: >> iMX6 is fairly well supported in mainline. The only reason to use a >> custom kernel is if you want to use some feature which mainline does >> not support (or support

Re: [PATCH 8/9] netfilter: prepare xt_cgroup for multi revisions

2015-11-23 Thread Daniel Wagner
Hi Tejun, On 11/21/2015 05:14 PM, Tejun Heo wrote: > xt_cgroup will grow cgroup2 path based match. Postfix existing > symbols with _v0 and prepare for multi revision registration. > > Signed-off-by: Tejun Heo > Cc: Daniel Borkmann > Cc: Daniel Wagner

MPT2SAS boot fail... due to silently loosing the driver

2015-11-23 Thread Peter Zijlstra
Hi all, Due to merging the MPT[23]SAS drivers (which undoubtedly is a good thing) my .config automagically lost its MPT2SAS entries and didn't ask for MPT3SAS because that was a pre-existing config which I didn't have selected. c84b06a48c4d ("mpt3sas: Single driver module which supports both

Re: [RFC PATCH] xfs: support for non-mmu architectures

2015-11-23 Thread Brian Foster
On Mon, Nov 23, 2015 at 09:04:00AM +1100, Dave Chinner wrote: > On Fri, Nov 20, 2015 at 05:47:34PM -0500, Brian Foster wrote: > > On Sat, Nov 21, 2015 at 07:36:02AM +1100, Dave Chinner wrote: > > > On Fri, Nov 20, 2015 at 10:11:19AM -0500, Brian Foster wrote: > > > > On Fri, Nov 20, 2015 at

Re: [PATCH] fs: clear file set[ug]id when writing via mmap

2015-11-23 Thread Eric W. Biederman
Jan Kara writes: > On Thu 19-11-15 16:10:43, Kees Cook wrote: >> Normally, when a user can modify a file that has setuid or setgid bits, >> those bits are cleared when they are not the file owner or a member of the >> group. This is enforced when using write() directly but not when

[PATCH] thermal: ti-soc-thermal: fix error check

2015-11-23 Thread Sudip Mukherjee
We were only checking if data is not NULL but ti_bandgap_get_sensor_data() can return NULL or ERR_PTR. Signed-off-by: Sudip Mukherjee --- drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Russell King - ARM Linux
On Mon, Nov 23, 2015 at 03:47:34PM +0300, Nikita Yushchenko wrote: > > While running an imx6s boasrd, I got following message in boot log: > > > > [0.032414] CPU1: failed to boot: -38 > > > > This looked strange: imx6s is singe-core and kernel perfectly knows > > that.

Re: [PATCH v3] crypto: atmel: fix bogus select

2015-11-23 Thread Herbert Xu
On Wed, Nov 18, 2015 at 04:33:54PM +0100, Arnd Bergmann wrote: > >From 0d53d42a56e9a3769847fd03c703876f2c063fb4 Mon Sep 17 00:00:00 2001 > From: Arnd Bergmann > Date: Tue, 27 Jan 2015 22:34:04 +0100 > Subject: [PATCH] [SUBMITTED] crypto: atmel: fix bogus select > > The Atmel at91

Re: [PATCH 1/2] crypto: sahara: set nb_[in|out]_sg as signed int

2015-11-23 Thread Herbert Xu
On Thu, Nov 19, 2015 at 01:38:17PM +0100, LABBE Corentin wrote: > The two unsigned int variables nb_in_sg and nb_out_sg can be assigned > signed value (-EINVAL) from sg_nents_for_len(). > Furthermore they are used only by dma_map_sg and dma_unmap_sg which wait > for an signed int, so they must be

Re: [PATCH] sched: idle: move need_resched check after function rcu_idle_enter

2015-11-23 Thread Peter Zijlstra
On Sat, Nov 21, 2015 at 01:02:02AM -0800, Lianwei Wang wrote: > The rcu_idle_endter may call wakeup_softirqd to set the need resched > flag on idle process. But if we don't check it after that, then the > cpu will enter idle state with RESCHED flag set and can not be woken > up by wakeup/resched

[PATCH 3.12 45/72] net: fix a race in dst_release()

2015-11-23 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit d69bbf88c8d0b367cf3e3a052f6daadf630ee566 ] Only cpu seeing dst refcount going to 0 can safely dereference dst->flags. Otherwise an other cpu

[PATCH 3.12 47/72] RDS: verify the underlying transport exists before creating a connection

2015-11-23 Thread Jiri Slaby
From: Sasha Levin 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 74e98eb085889b0d2d4908f59f6e00026063014f ] There was no verification that an underlying transport exists when creating a connection, this

[PATCH 3.12 46/72] virtio-net: drop NETIF_F_FRAGLIST

2015-11-23 Thread Jiri Slaby
From: Jason Wang 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 ] virtio declares support for NETIF_F_FRAGLIST, but assumes that there are at most MAX_SKB_FRAGS + 2

[PATCH 3.12 69/72] KVM: x86: Use new is_noncanonical_address in _linearize

2015-11-23 Thread Jiri Slaby
From: Nadav Amit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4be4de7ef9fd3a4d77320d4713970299ffecd286 upstream. Replace the current canonical address check with the new function which is identical.

[PATCH 3.12 67/72] KVM: svm: unconditionally intercept #DB

2015-11-23 Thread Jiri Slaby
From: Paolo Bonzini 3.12-stable review patch. If anyone has any objections, please let me know. === commit cbdb967af3d54993f5814f1cee0ed311a055377d upstream. This is needed to avoid the possibility that the guest triggers an infinite stream of #DB exceptions

[PATCH 3.12 62/72] rbd: prevent kernel stack blow up on rbd map

2015-11-23 Thread Jiri Slaby
From: Ilya Dryomov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6d69bb536bac0d403d83db1ca841444981b280cd upstream. Mapping an image with a long parent chain (e.g. image foo, whose parent is bar, whose parent is baz,

[PATCH 3.12 68/72] KVM: x86: Fix far-jump to non-canonical check

2015-11-23 Thread Jiri Slaby
From: Nadav Amit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7e466f6cd5dbf3c7bd04a7e75d19475ac9f2 upstream. Commit d1442d85cc30 ("KVM: x86: Handle errors when RIP is set during far jumps") introduced a bug

[PATCH 3.12 56/72] macmace: add missing platform_set_drvdata() in mace_probe()

2015-11-23 Thread Jiri Slaby
From: Wei Yongjun 3.12-stable review patch. If anyone has any objections, please let me know. === commit 06a2feb9e3bd0d2d555ccb19607ff5583cfa03e8 upstream. Add missing platform_set_drvdata() in mace_probe(), otherwise calling platform_get_drvdata()

[PATCH 3.12 54/72] ceph: fix kick_requests()

2015-11-23 Thread Jiri Slaby
From: "Yan, Zheng" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 282c105225ec3229f344c5fced795b9e1e634440 upstream. __do_request() may unregister the request. So we should update iterator 'p' before calling

[PATCH 3.12 55/72] net: sun4i-emac: fix memory leak on bad packet

2015-11-23 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2670cc699a66c4cf268cb3e3f6dfc325ec14f224 upstream. Upon reception of a new frame, the emac driver checks for a number of error conditions, and flag the

[PATCH 3.12 52/72] ceph: make sure request isn't in any waiting list when kicking request.

2015-11-23 Thread Jiri Slaby
From: "Yan, Zheng" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 03974e8177b36d672eb59658f976f03cb77c1129 upstream. we may corrupt waiting list if a request in the waiting list is kicked. Signed-off-by: "Yan, Zheng"

RE: [PATCH v3 1/2] ASoC: da7218: Add bindings documentation for DA7218 audio codec

2015-11-23 Thread Opensource [Adam Thomson]
On November 20, 2015 15:54, Rob Herring wrote: > > +- dlg,micbias1-lvl-millivolt : Voltage (mV) for Mic Bias 1 > > + [<1200>, <1600>, <1800>, <2000>, <2200>, <2400>, <2600>, <2800>, > <3000>] > > +- dlg,micbias2-lvl-millivolt : Voltage (mV) for Mic Bias 2 > > + [<1200>, <1600>, <1800>,

Re: [PATCH] mm: fix up sparse warning in gfpflags_allow_blocking

2015-11-23 Thread Jeff Layton
On Mon, 23 Nov 2015 10:50:49 +0100 Michal Hocko wrote: > On Fri 20-11-15 09:40:59, Jeff Layton wrote: > > sparse says: > > > > include/linux/gfp.h:274:26: warning: incorrect type in return > > expression (different base types) > > include/linux/gfp.h:274:26:

Re: another uninterruptable hang in sendfile

2015-11-23 Thread Jan Kara
On Fri 20-11-15 17:16:06, Dmitry Vyukov wrote: > Hello, > > On commit 8005c49d9aea74d382f474ce11afbbc7d7130bec (Nov 15). > > The program is: > > // autogenerated by syzkaller (http://github.com/google/syzkaller) > #define _GNU_SOURCE > #include > #include > #include > #include > #include >

[RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread nyushchenko
From: Nikita Yushchenko While running an imx6s boasrd, I got following message in boot log: [0.032414] CPU1: failed to boot: -38 This looked strange: imx6s is singe-core and kernel perfectly knows that. However, for some reason it tries to initialize CPU 1? I

Re: Use-after-free in ppoll

2015-11-23 Thread Dmitry Vyukov
On Sun, Nov 22, 2015 at 7:46 PM, Rainer Weikusat wrote: > Dmitry Vyukov writes: >> On Sun, Nov 22, 2015 at 3:32 PM, Rainer Weikusat >> wrote: >>> Dmitry Vyukov writes: Hello,

Re: multi-codec support for arizona-ldo1 was Re: System with multiple arizona (wm5102) codecs

2015-11-23 Thread Charles Keepax
On Mon, Nov 23, 2015 at 11:30:41AM +, Mark Brown wrote: > On Mon, Nov 23, 2015 at 10:25:22AM +, Richard Fitzgerald wrote: > > On Mon, 2015-11-23 at 11:11 +0100, Pavel Machek wrote: > > > > That's what I'm saying. It is good to know who is the person of > > > authority, as you can't tell

Hello

2015-11-23 Thread W.A.Veen
-- Would you be interested to partner with me on a profitable business project worth £1,000,000.00(One Million British Pound Sterling) regarding an unclaimed lottery prize.You will receive 40% of the total sum as my partner.If willing, reply with your full name and phone number for a

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Russell King - ARM Linux
On Mon, Nov 23, 2015 at 03:06:52PM +0300, Nikita Yushchenko wrote: > 23.11.2015 15:03, Russell King - ARM Linux пишет: > > On Mon, Nov 23, 2015 at 02:59:06PM +0300, nyushche...@dev.rtsoft.ru wrote: > >> From: Nikita Yushchenko > >> > >> While running an imx6s boasrd, I

Re: [PATCH v2] vmscan: do not force-scan file lru if its absolute size is small

2015-11-23 Thread Michal Hocko
On Mon 23-11-15 13:39:33, Vladimir Davydov wrote: > We assume there is enough inactive page cache if the size of inactive > file lru is greater than the size of active file lru, in which case we > force-scan file lru ignoring anonymous pages. While this logic works > fine when there are plenty of

Re: [RFC/PATCH] arm: do not skip SMP init calls on SMP_ON_UP case

2015-11-23 Thread Russell King - ARM Linux
On Mon, Nov 23, 2015 at 12:12:16PM +, Russell King - ARM Linux wrote: > iMX6 is fairly well supported in mainline. The only reason to use a > custom kernel is if you want to use some feature which mainline does > not support (or support very well) such as video decode, the full IPU >

Re: collect2: error: ld returned 1 exit status

2015-11-23 Thread Fengguang Wu
Hi Michael, On Mon, Nov 23, 2015 at 08:54:53PM +1100, Michael Ellerman wrote: > On Sun, 2015-11-22 at 09:05 +0800, kbuild test robot wrote: > > > Hi Anton, > > > > FYI, the error/warning still remains. > > ... > > > > >

Re: [PATCH v2] mm: fix up sparse warning in gfpflags_allow_blocking

2015-11-23 Thread Michal Hocko
On Mon 23-11-15 07:23:29, Jeff Layton wrote: > sparse says: > > include/linux/gfp.h:274:26: warning: incorrect type in return expression > (different base types) > include/linux/gfp.h:274:26:expected bool > include/linux/gfp.h:274:26:got restricted gfp_t > > Add a comparison

Re: Asterisk deadlocks since Kernel 4.1

2015-11-23 Thread Stefan Priebe - Profihost AG
Am 19.11.2015 um 20:51 schrieb Stefan Priebe: > > Am 19.11.2015 um 14:19 schrieb Florian Weimer: >> On 11/19/2015 01:46 PM, Stefan Priebe - Profihost AG wrote: >> >>> I can try Kernel 4.4-rc1 next week. Or something else? >> >> I found this bug report which indicates that 4.1.10 works: >> >>

Re: [PATCH v4 3/4] Crypto: rockchip/crypto - add crypto driver for rk3288

2015-11-23 Thread Herbert Xu
On Tue, Nov 17, 2015 at 12:00:46PM +0800, Zain Wang wrote: > > +static void rk_ablk_hw_init(struct rk_crypto_info *dev) > +{ > + struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(dev->ablk_req); > + struct rk_cipher_ctx *ctx = crypto_ablkcipher_ctx(tfm); > + u32 conf_reg = 0; >

Re: Asterisk deadlocks since Kernel 4.1

2015-11-23 Thread Hannes Frederic Sowa
On Mon, Nov 23, 2015, at 13:44, Stefan Priebe - Profihost AG wrote: > Am 19.11.2015 um 20:51 schrieb Stefan Priebe: > > > > Am 19.11.2015 um 14:19 schrieb Florian Weimer: > >> On 11/19/2015 01:46 PM, Stefan Priebe - Profihost AG wrote: > >> > >>> I can try Kernel 4.4-rc1 next week. Or something

Re: [PATCH 1/2] crypto: api - use list_first_entry_or_null and list_next_entry

2015-11-23 Thread Herbert Xu
On Mon, Nov 16, 2015 at 10:37:14PM +0800, Geliang Tang wrote: > Simplify crypto_more_spawns() with list_first_entry_or_null() > and list_next_entry(). > > Signed-off-by: Geliang Tang Patch applied. Thanks. -- Email: Herbert Xu Home Page:

Re: [PATCH] crypto: atmel: fix 64-bit warnings

2015-11-23 Thread Herbert Xu
On Tue, Nov 17, 2015 at 10:22:06AM +0100, Arnd Bergmann wrote: > The atmel AES driver assumes that 'int' and 'size_t' are the same > type in multiple locations, which the compiler warns about when > building it for 64-bit systems: > > In file included from ../drivers/crypto/atmel-aes.c:17:0: >

Re: [PATCH 7/9] sock, cgroup: add sock->sk_cgroup

2015-11-23 Thread Daniel Wagner
Hi Tejun, On 11/21/2015 05:13 PM, Tejun Heo wrote: > Signed-off-by: Tejun Heo > Cc: Daniel Borkmann > Cc: Daniel Wagner I did a quick test and for new connection the cgroup2 match worked as expected. For an existing connection

Re: [PATCH 1/1] crypto: tcrypt: fix keysize argument of test_aead_speed for gcm(aes)

2015-11-23 Thread Herbert Xu
On Tue, Nov 17, 2015 at 01:37:10PM +0100, Cyrille Pitchen wrote: > The key sizes used by AES in GCM mode should be 128, 192 or 256 bits (16, > 24 or 32 bytes). > There is no additional 4byte nonce as for RFC 4106. > > Signed-off-by: Cyrille Pitchen Patch applied.

dwarf unwinder question

2015-11-23 Thread Vineet Gupta
Hi Jan, ARC port has kernel dwarf unwinder shamelessly copied from your original code which existed in tree at the time (circa 2008) I was wondering if u could answer a question in that respect: arch/arc/kernel/unwind.c If the binary search for a PC fails, it resorts to linear search, which

[PATCH 2/2] dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers

2015-11-23 Thread Ludovic Desroches
When setting the channel configuration register, the perid field is not set to 0 since it is useless for mem2mem transfers. Unfortunately, a device has 0 as perid. It could cause spurious flags status because the controller could mix some events from the two channels. For that reason, use the

[PATCH 1/2] dmaengine: at_xdmac: fix macro typo

2015-11-23 Thread Ludovic Desroches
Fix typo in a macro which was not used until now. It explains why there is no error at compilation time. Signed-off-by: Ludovic Desroches Fixes: e1f7c9eee707 "dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver" Cc: sta...@vger.kernel.org # 3.19

[PATCH 3.12 12/72] drm/nouveau/gem: return only valid domain when there's only one

2015-11-23 Thread Jiri Slaby
From: Ilia Mirkin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2a6c521bb41ce862e43db46f52e7681d33e8d771 upstream. On nv50+, we restrict the valid domains to just the one where the buffer was originally created.

[PATCH 3.12 13/72] rbd: require stable pages if message data CRCs are enabled

2015-11-23 Thread Jiri Slaby
From: Ronny Hegewald 3.12-stable review patch. If anyone has any objections, please let me know. === commit bae818ee1577c27356093901a0ea48f672eda514 upstream. rbd requires stable pages, as it performs a crc of the page data before they are send to the

[PATCH 3.12 38/72] RDS-TCP: Recover correctly from pskb_pull()/pksb_trim() failure in rds_tcp_data_recv

2015-11-23 Thread Jiri Slaby
From: Sowmini Varadhan 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 8ce675ff39b9958d1c10f86cf58e357efaafc856 ] Either of pskb_pull() or pskb_trim() may fail under low memory conditions. If

[PATCH 3.12 44/72] net: avoid NULL deref in inet_ctl_sock_destroy()

2015-11-23 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 8fa677d2706d325d71dab91bf6e6512c05214e37 ] Under low memory conditions, tcp_sk_init() and icmp_sk_init() can both iterate on all possible cpus

[PATCH 3.12 01/72] dm btree remove: fix a bug when rebalancing nodes after removal

2015-11-23 Thread Jiri Slaby
From: Joe Thornber 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2871c69e025e8bc507651d5a9cf81a8a7da9d24b upstream. Commit 4c7e309340ff ("dm btree remove: fix bug in redistribute3") wasn't a complete fix for

[PATCH 3.12 43/72] sit: fix sit0 percpu double allocations

2015-11-23 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 4ece9009774596ee3df0acba65a324b7ea79387c ] sit0 device allocates its percpu storage twice : - One time in ipip6_tunnel_init() - One time in

[PATCH 3.12 72/72] x86/mm/hotplug: Modify PGD entry when removing memory

2015-11-23 Thread Jiri Slaby
From: Yasuaki Ishimatsu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9661d5bcd058fe15b4138a00d96bd36516134543 upstream. When hot-adding/removing memory, sync_global_pgds() is called for synchronizing PGD to

[PATCH 3.12 60/72] ARM: orion: Fix DSA platform device after mvmdio conversion

2015-11-23 Thread Jiri Slaby
From: Florian Fainelli 3.12-stable review patch. If anyone has any objections, please let me know. === commit d836ace65ee98d7079bc3c5afdbcc0e27dca20a3 upstream. DSA expects the host_dev pointer to be the device structure associated with the MDIO bus

[PATCH 3.12 40/72] stmmac: Correctly report PTP capabilities.

2015-11-23 Thread Jiri Slaby
From: Phil Reid 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit e6dbe1eb2db0d7a14991c06278dd3030c45fb825 ] priv->hwts_*_en indicate if timestamping is enabled/disabled at run time. But

[PATCH 3.12 42/72] qmi_wwan: fix entry for HP lt4112 LTE/HSPA+ Gobi 4G Module

2015-11-23 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 70910791731b5956171e1bfcad707766b8e18fee ] The lt4112 is a HP branded Huawei me906e modem. Like other Huawei modems, it does not have a fixed

Re: dwarf unwinder question

2015-11-23 Thread Jan Beulich
>>> On 23.11.15 at 14:03, wrote: > I was wondering if u could answer a question in that respect: > arch/arc/kernel/unwind.c > > If the binary search for a PC fails, it resorts to linear search, which for > our > case was taking 3 million cycles (vs. normal ~2000). >

[PATCH 3.12 64/72] KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring

2015-11-23 Thread Jiri Slaby
From: David Howells 3.12-stable review patch. If anyone has any objections, please let me know. === commit f05819df10d7b09f6d1eb6f8534a8f68e5a4fe61 upstream. The following sequence of commands: i=`keyctl add user a a @s` keyctl request2 keyring foo

[PATCH 3.12 51/72] net:socket: set msg_namelen to 0 if msg_name is passed as NULL in msghdr struct from userland.

2015-11-23 Thread Jiri Slaby
From: Ani Sinha 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6a2a2b3ae0759843b22c929881cc184b00cc63ff upstream. Linux manpage for recvmsg and sendmsg calls does not explicitly mention setting msg_namelen to 0 when

[PATCH 3.12 50/72] bridge: superfluous skb->nfct check in br_nf_dev_queue_xmit

2015-11-23 Thread Jiri Slaby
From: Vasily Averin 3.12-stable review patch. If anyone has any objections, please let me know. === commit aff09ce303f83bd370772349238482ae422a2341 upstream. Currently bridge can silently drop ipv4 fragments. If node have loaded nf_defrag_ipv4 module but have

[lkp] [regression] 9bd5b8dffd: BUG: unable to handle kernel NULL pointer dereference at (null)

2015-11-23 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/alaahl/linux.git for-upstream commit 9bd5b8dffd77ec3d258425e9f4dd4f31c41a30b0 ("regression: Disable FENTRY") +--+++ | | e2f9dc3bd2 |

Re: Deadlock between bind and splice

2015-11-23 Thread Dmitry Vyukov
On Tue, Nov 10, 2015 at 3:59 AM, Al Viro wrote: > On Tue, Nov 10, 2015 at 02:38:54AM +, Al Viro wrote: >> On Fri, Nov 06, 2015 at 07:42:15AM -0800, Eric Dumazet wrote: >> >> > Thank you for this report. >> > >> > pipe is part of fs, not net ;) >> >> AF_UNIX bind() vs.

<    9   10   11   12   13   14   15   16   17   18   >