Re: [PATCH 09/12] usb: phy: omap-otg: Replace the extcon API

2016-11-30 Thread Felipe Balbi
Hi, Chanwoo Choi writes: > This patch uses the resource-managed extcon API for extcon_register_notifier() > and replaces the deprecated extcon API as following: > - extcon_get_cable_state_() -> extcon_get_state() > > Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi -- balbi signature.as

Re: [PATCH 11/12] usb: phy: tahvo: Replace the deprecated extcon API

2016-11-30 Thread Felipe Balbi
Hi, Chanwoo Choi writes: > This patch replaces the deprecated extcon API as following: > - extcon_set_cable_state_() -> extcon_set_state_sync() > > Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP signature

Re: [PATCH 10/12] usb: phy: qcom-8x16-usb: Replace the extcon API

2016-11-30 Thread Felipe Balbi
Hi, Chanwoo Choi writes: > This patch uses the resource-managed extcon API for extcon_register_notifier() > and replaces the deprecated extcon API as following: > - extcon_get_cable_state_() -> extcon_get_state() > > Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi -- balbi signature.as

Re: [PATCH 08/12] usb: phy: msm: Replace the extcon API

2016-11-30 Thread Felipe Balbi
Hi, Chanwoo Choi writes: > This patch uses the resource-managed extcon API for extcon_register_notifier() > and replaces the deprecated extcon API as following: > - extcon_get_cable_state_() -> extcon_get_state() > > Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi -- balbi signature.as

Re: [PATCH 2/2] Synopsys USB 2.0 Device Controller (UDC) Driver

2016-11-30 Thread Felipe Balbi
Hi, Raviteja Garimella writes: > This is driver for Synopsys Designware Cores USB Device > Controller (UDC) Subsystem with the AMBA Advanced High-Performance > Bus (AHB). This driver works with Synopsys UDC20 products. > > Signed-off-by: Raviteja Garimella use drivers/usb/dwc2 instead of dupli

Re: net: GPF in rt6_get_cookie

2016-11-30 Thread Andrey Konovalov
On Sat, Nov 26, 2016 at 5:23 PM, 'Dmitry Vyukov' via syzkaller wrote: > Hello, > > I got several GPFs in rt6_get_cookie while running syzkaller: > > general protection fault: [#1] SMP DEBUG_PAGEALLOC KASAN > Dumping ftrace buffer: >(ftrace buffer empty) > Modules linked in: > CPU: 2 PID:

[PATCH] kernel/sysctl: return -EINVAL if write invalid val to ulong type sysctl

2016-11-30 Thread Yisheng Xie
I tried to echo an invalid value to an unsigned long type sysctl on 4.9.0-rc6: linux:~# cat /proc/sys/vm/user_reserve_kbytes 131072 linux:~# echo -1 > /proc/sys/vm/user_reserve_kbytes linux:~# cat /proc/sys/vm/user_reserve_kbytes 131072 The echo operation got error and the value do

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-11-30 Thread Will Deacon
On Wed, Nov 30, 2016 at 10:49:33AM +0100, Auger Eric wrote: > On 15/11/2016 14:09, Eric Auger wrote: > > Following LPC discussions, we now report reserved regions through > > iommu-group sysfs reserved_regions attribute file. > > > > Reserved regions are populated through the IOMMU get_resv_region

Re: [PATCH 06/12] usb: dwc3: omap: Replace the extcon API

2016-11-30 Thread Felipe Balbi
Hi, Chanwoo Choi writes: > This patch uses the resource-managed extcon API for extcon_register_notifier() > and replaces the deprecated extcon API as following: > - extcon_get_cable_state_() -> extcon_get_state() > > Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi -- balbi signature.as

Re: stmmac ethernet in kernel 4.4: coalescing related pauses?

2016-11-30 Thread Pavel Machek
On Mon 2016-11-28 07:31:43, Eric Dumazet wrote: > On Mon, 2016-11-28 at 09:54 -0500, David Miller wrote: > > From: Lino Sanfilippo > > Date: Mon, 28 Nov 2016 14:07:51 +0100 > > > > > Calling skb_orphan() in the xmit handler made this issue disappear. > > > > This is not the way to handle this pr

Re: [PATCH net] tipc: check minimum bearer MTU

2016-11-30 Thread Ying Xue
On 11/30/2016 05:57 PM, Michal Kubecek wrote: Qian Zhang (张谦) reported a potential socket buffer overflow in tipc_msg_build() which is also known as CVE-2016-8632: due to insufficient checks, a buffer overflow can occur if MTU is too short for even tipc headers. As anyone can set device MTU in a

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-30 Thread Donald Buczek
On 11/28/16 13:26, Paul Menzel wrote: [...] On 11/28/16 12:04, Michal Hocko wrote: [...] OK, so one of the stall is reported at [118077.988410] INFO: rcu_sched detected stalls on CPUs/tasks: [118077.988416] 1-...: (181 ticks this GP) idle=6d5/140/0 softirq=46417663/46417663 fq

Re: [PATCH net] tipc: check minimum bearer MTU

2016-11-30 Thread Michal Kubecek
On Wed, Nov 30, 2016 at 10:57:02AM +0100, Michal Kubecek wrote: > Qian Zhang (张谦) reported a potential socket buffer overflow in > tipc_msg_build() which is also known as CVE-2016-8632: due to > insufficient checks, a buffer overflow can occur if MTU is too short for > even tipc headers. As anyone

Re: [PATCH] iommu/vt-d: Flush old iotlb for kdump when the device gets context mapped

2016-11-30 Thread Baoquan He
On 11/30/16 at 05:53pm, Baoquan He wrote: > On 11/30/16 at 05:03pm, Baoquan He wrote: > > On 11/30/16 at 04:15pm, Xunlei Pang wrote: > > > On 11/29/2016 at 10:35 PM, Joerg Roedel wrote: > > > > On Thu, Nov 17, 2016 at 10:47:28AM +0800, Xunlei Pang wrote: > > > >> As per the comment, the code here o

Re: [PATCH V4] leds: pca955x: Add ACPI support for pca955x

2016-11-30 Thread Jacek Anaszewski
Hi Tin, Thanks for the patch. On 11/30/2016 11:00 AM, Mika Westerberg wrote: On Wed, Nov 30, 2016 at 04:47:25PM +0700, Tin Huynh wrote: This patch enables ACPI support for leds-pca955x driver. Signed-off-by: Tin Huynh Looks good to me now, Acked-by: Mika Westerberg Thanks for the revie

Re: [PATCH] printk.c: removed unnecessary code

2016-11-30 Thread Petr Mladek
On Wed 2016-11-30 10:14:28, Michal Hocko wrote: > [Resending with the full CC list as my email client has clobbered it in > the previous attempt for some reason] > > On Tue 29-11-16 16:19:01, Sebastian Duda wrote: > > snprintf((char *) ?, 0, ...); always returns Zero and doesn't change the > > da

Re: question about irq_enter()/irq_exit() calling policy

2016-11-30 Thread Russell King - ARM Linux
On Tue, Nov 29, 2016 at 05:47:12PM -0600, Grygorii Strashko wrote: > 2) Should these function be called for each processed irq? > > > HW IRQ: > switch (IRQ mode) > ... > while (irq = get_pending_irq()) { > ... > irq_enter() > handle(irq) - execute hw_irq_hadler >

[PATCH] serial: mxs-auart: support CMSPAR termios cflag

2016-11-30 Thread Wolfgang Ocker
If CMSPAR is set in the c_cflag of termios, "stick" parity is enabled. Tested on an i.MX28 system Signed-off-by: Wolfgang Ocker --- drivers/tty/serial/mxs-auart.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auar

Re: [PATCH 3/6] net: ethernet: ti: cpts: add support of cpts HW_TS_PUSH

2016-11-30 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:04:25PM -0600, Grygorii Strashko wrote: > +/* HW TS */ > +static int cpts_extts_enable(struct cpts *cpts, u32 index, int on) > +{ > + unsigned long flags; > + u32 v; > + > + if (index >= cpts->info.n_ext_ts) > + return -ENXIO; > + > + if (((cpt

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-11-30 Thread Auger Eric
Hi Ganapat, On 30/11/2016 11:04, Ganapatrao Kulkarni wrote: > Hi Eric, > > in you repo "https://github.com/eauger/linux/tree/v4.9-rc5-reserved-rfc-v3"; > there is 11th patch "pci: Enable overrides for missing ACS capabilities" > is this patch part of some other series? Actually this is a very ol

Re: [PATCH] perf probe: fix kconfig symbol names for kprobes and uprobes

2016-11-30 Thread Uwe Kleine-König
On Fri, Jul 22, 2016 at 11:00:44AM +0200, Uwe Kleine-König wrote: > These symbols both don't have a trailing 'S'. > > Signed-off-by: Uwe Kleine-König I just found this patch while rebasing my pending patches. It still applies and is still correct. Best regards Uwe > --- > tools/perf/util/prob

Re: [PATCH] iio: misc: add a generic regulator driver

2016-11-30 Thread Lars-Peter Clausen
On 11/29/2016 04:35 PM, Bartosz Golaszewski wrote: > 2016-11-29 16:30 GMT+01:00 Lars-Peter Clausen : >> On 11/29/2016 04:22 PM, Bartosz Golaszewski wrote: >> [...] >>> diff --git a/Documentation/devicetree/bindings/iio/misc/iio-regulator.txt >>> b/Documentation/devicetree/bindings/iio/misc/iio-reg

Re: [PATCH 0/2] USB: serial: kl5kusb105: fix open error paths

2016-11-30 Thread Johan Hovold
On Tue, Nov 29, 2016 at 04:55:00PM +0100, Johan Hovold wrote: > Pan Bian found an issue with the kl5kusb105 open error handling, which > would not abort an open attempt when a vendor command to "enable read" > failed. > > Turns out there were more issues with this function, specifically any > urb

RE: [patch net / RFC] net: fec: increase frame size limitation to actually available buffer

2016-11-30 Thread Andy Duan
From: Nikita Yushchenko Sent: Wednesday, November 30, 2016 2:35 AM >To: David S. Miller ; Andy Duan >; Troy Kisky ; >Andrew Lunn ; Eric Nelson ; Philippe >Reynes ; Johannes Berg ; >net...@vger.kernel.org >Cc: Chris Healy ; Fabio Estevam >; linux-kernel@vger.kernel.org; Nikita >Yushchenko

[PATCH 4.4 12/21] apparmor: fix change_hat not finding hat after policy replacement

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit 3d40658c977769ce2138f286cf131537bf68bdfe upstream. After a policy replacement, the task cred may be out of date and need to be updated. However change_hat is using the stal

[PATCH 4.4 14/21] parisc: Fix races in parisc_setup_cache_timing()

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 741dc7bf1c7c7d93b853bb55efe77baa27e1b0a9 upstream. Helge reported to me the following startup crash: [0.00] Linux version 4.8.0-1-parisc64-smp (debian-ker...@

Re: [PATCH V4] leds: pca955x: Add ACPI support for pca955x

2016-11-30 Thread Mika Westerberg
On Wed, Nov 30, 2016 at 04:47:25PM +0700, Tin Huynh wrote: > This patch enables ACPI support for leds-pca955x driver. > > Signed-off-by: Tin Huynh Looks good to me now, Acked-by: Mika Westerberg

Re: [PATCH 0/9] Get rid of bitmap images

2016-11-30 Thread Mauro Carvalho Chehab
Em Mon, 28 Nov 2016 18:09:46 -0700 Jonathan Corbet escreveu: > On Sun, 20 Nov 2016 14:08:31 -0200 > Mauro Carvalho Chehab wrote: > > > The goal of this patch series is to get rid of PNG images, using either > > graphviz > > or SVG for images. > > So the pdfdocs build fails with an error whe

Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-30 Thread Petr Mladek
On Tue 2016-11-29 09:36:00, Paul E. McKenney wrote: > Updated (but still untested) commit below. > > > Thanx, Paul > > > > commit d3df9bc5fb5d838b049f32a476721eadbc3495

[PATCH 4.4 10/21] tile: avoid using clocksource_cyc2ns with absolute cycle count

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chris Metcalf commit e658a6f14d7c0243205f035979d0ecf6c12a036f upstream. For large values of "mult" and long uptimes, the intermediate result of "cycles * mult" can overflow 64 bits. For exampl

[PATCH 4.4 09/21] scsi: mpt3sas: Fix secure erase premature termination

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Grodzovsky commit 18f6084a989ba1b38702f9af37a2e4049a924be6 upstream. This is a work around for a bug with LSI Fusion MPT SAS2 when perfoming secure erase. Due to the very long time the o

[PATCH 4.4 13/21] NFSv4.x: hide array-bounds warning

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit d55b352b01bc78fbc3d1bb650140668b87e58bf9 upstream. A correct bugfix introduced a harmless warning that shows up with gcc-7: fs/nfs/callback.c: In function 'nfs_callback_up

Re: [PATCH v2] reset: ti_syscon: fix a ti_syscon_reset_status issue

2016-11-30 Thread Philipp Zabel
Hi Jiancheng, Am Mittwoch, den 30.11.2016, 09:03 +0800 schrieb Jiancheng Xue: > If STATUS_SET was not set, ti_syscon_reset_status would always return 0 > no matter whether the status_bit was set or not. > > Signed-off-by: Jiancheng Xue Thank you, I've added: Fixes: cc7c2bb1493c ("reset: add TI

Re: [PATCH v3 2/5] i2c: Add STM32F4 I2C driver

2016-11-30 Thread M'boumba Cedric Madianga
Hi Wolfram, Thanks for reviewing this driver and sorry for this quite long answer. I was too busy in another project but now I am ready to complete the upstream of the STM32F4 I2C driver. 2016-07-22 9:02 GMT+02:00 Wolfram Sang : > Hi, > > thanks for this contribution! Looks mostly good, some comm

Re: [PATCH v6 4/9] dt-bindings: iio: iio-mux: document iio-mux bindings

2016-11-30 Thread Peter Rosin
Hi, v6 was apparently rushed a little bit too much, but I really wanted to supersede the stupidity I found elsewhere in v5. Perhaps I shouldn't have bolted on the changes for the iio-mux bindings, but so I did... On 2016-11-30 09:16, Peter Rosin wrote: > Signed-off-by: Peter Rosin > --- > .../b

Re: [PATCH 4/6] net: ethernet: ti: cpts: add ptp pps support

2016-11-30 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:04:26PM -0600, Grygorii Strashko wrote: > The TS_COMP output in the CPSW CPTS module is asserted for > ts_comp_length[15:0] RCLK periods when the time_stamp value compares > with the ts_comp_val[31:0] and the length value is non-zero. The > TS_COMP pulse edge occurs three

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-11-30 Thread Ganapatrao Kulkarni
Hi Eric, in you repo "https://github.com/eauger/linux/tree/v4.9-rc5-reserved-rfc-v3"; there is 11th patch "pci: Enable overrides for missing ACS capabilities" is this patch part of some other series? thanks Ganapat On Wed, Nov 30, 2016 at 3:19 PM, Auger Eric wrote: > Hi, > > On 15/11/2016 14:09

Re: [PATCH V3] leds: pca955x: Add ACPI support for pca955x

2016-11-30 Thread Jacek Anaszewski
On 11/30/2016 10:10 AM, Phong Vo wrote: +-Original Message- +From: Jacek Anaszewski [mailto:j.anaszew...@samsung.com] +Sent: Wednesday, November 30, 2016 4:00 PM +To: Phong Vo +Cc: Mika Westerberg; Rafael J. Wysocki; Richard Purdie; linux- +l...@vger.kernel.org; linux-kernel@vger.kernel.o

[PATCH 4.4 11/21] cfg80211: limit scan results cache size

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 9853a55ef1bb66d7411136046060bbfb69c714fa upstream. It's possible to make scanning consume almost arbitrary amounts of memory, e.g. by sending beacon frames with random BSSI

Re: [PATCH V3] leds: pca955x: Add ACPI support for pca955x

2016-11-30 Thread Mika Westerberg
On Wed, Nov 30, 2016 at 10:58:33AM +0100, Jacek Anaszewski wrote: > It certainly downgrades code readability, but in case there is > similar surrounding code there are two options to keep the things > consistent - either stick to the current style or change it. > IMHO the latter would generate only

Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-30 Thread Petr Mladek
On Tue 2016-11-29 18:10:38, Peter Zijlstra wrote: > On Tue, Nov 29, 2016 at 05:29:20PM +0100, Petr Mladek wrote: > > > > > People are very busy polishing the turd we call printk, but from where > > > > I'm sitting its terminally and unfixably broken. > > > > I still hope that we could do better :

[PATCH 4.8 00/37] 4.8.12-stable review

2016-11-30 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.12 release. There are 37 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 Fri Dec 2 09:27:19 UTC 2016. Anything receive

Re: cgroups and nice

2016-11-30 Thread Marat Khalili
On 29/11/16 00:13, Dhaval Giani wrote: This is an old version of the kernel. Do you see the same behavior on a newer version of the kernel? (4.8 is the latest stable kernel) Sadly, RedHat is not very keen on updating their kernels. I did a quick experiment on Ubuntu box with kernel 4.4, and inde

[PATCH 4.8 32/37] device-dax: fail all private mapping attempts

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 4cb19355ea19995941ccaad115dbfac6b75215ca upstream. The device-dax implementation originally tried to be tricky and allow private read-only mappings, but in the process allow

Re: [PATCH 2/6] net: ethernet: ti: cpts: add support for ext rftclk selection

2016-11-30 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:04:24PM -0600, Grygorii Strashko wrote: > Some CPTS instances, which can be found on KeyStone 2 1/10G Ethernet > Switch Subsystems, can control an external multiplexer that selects > one of up to 32 clocks for time sync reference (RFTCLK). This feature > can be configured

[PATCH net] tipc: check minimum bearer MTU

2016-11-30 Thread Michal Kubecek
Qian Zhang (张谦) reported a potential socket buffer overflow in tipc_msg_build() which is also known as CVE-2016-8632: due to insufficient checks, a buffer overflow can occur if MTU is too short for even tipc headers. As anyone can set device MTU in a user/net namespace, this issue can be abused by

Re: [PATCHv5 22/36] mm, hugetlb: switch hugetlbfs to multi-order radix-tree entries

2016-11-30 Thread Hillf Danton
On Tuesday, November 29, 2016 7:23 PM Kirill A. Shutemov wrote: > @@ -607,10 +605,10 @@ static long hugetlbfs_fallocate(struct file *file, int > mode, loff_t offset, > } > > /* Set numa allocation policy based on index */ > - hugetlb_set_vma_policy(&pseudo_

[PATCH 4.8 08/37] USB: serial: cp210x: add ID for the Zone DPMX

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paul Jakma commit 2ab13292d7a314fa45de0acc808e41aaad31989c upstream. The BRIM Brothers Zone DPMX is a bicycle powermeter. This ID is for the USB serial interface in its charging dock for the co

[PATCH 4.8 09/37] USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Doug Brown commit 9bfef729a3d11f04d12788d749a3ce6b47645734 upstream. This patch adds support for the TI CC3200 LaunchPad board, which uses a custom USB vendor ID and product ID. Channel A is us

[PATCH 4.4 21/21] mei: fix return value on disconnection

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Winkler commit 2d4d5481e2d6f93b25fcfb13a9f20bbfbf54266a upstream. Correct errno on client disconnection is -ENODEV not -EBUSY Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usysk

[PATCH 4.8 26/37] parisc: Also flush data TLB in flush_icache_page_asm

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 5035b230e7b67ac12691ed3b5495bbb617027b68 upstream. This is the second issue I noticed in reviewing the parisc TLB code. The fic instruction may use either the instruct

[PATCH 4.4 15/21] parisc: Fix race in pci-dma.c

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit c0452fb9fb8f49c7d68ab9fa0ad092016be7b45f upstream. We are still troubled by occasional random segmentation faults and memory memory corruption on SMP machines. The cau

[PATCH 4.4 17/21] mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit f5527f3f002b0a6b376163613b82f69de073 upstream. This fixes CVE-2016-8650. If mpi_powm() is given a zero exponent, it wants to immediately return either 1 or 0, depend

[PATCH 4.8 18/37] x86/fpu: Fix invalid FPU ptrace state after execve()

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Yu-cheng Yu commit b22cbe404a9cc3c7949e380fa1861e31934c8978 upstream. Robert O'Callahan reported that after an execve PTRACE_GETREGSET NT_X86_XSTATE continues to return the pre-exec register va

Re: [PATCH V3] leds: pca955x: Add ACPI support for pca955x

2016-11-30 Thread Jacek Anaszewski
Hi Peter, On 11/30/2016 10:36 AM, Peter Rosin wrote: On 2016-11-30 10:10, Phong Vo wrote: +-Original Message- +From: Jacek Anaszewski [mailto:j.anaszew...@samsung.com] + +Hi Phong, + +On 11/30/2016 09:23 AM, Phong Vo wrote: +> +-Original Message- +> +From: Jacek Anaszewski [mail

[PATCH 4.8 30/37] xc2028: Fix use-after-free bug properly

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 22a1e7783e173ab3d86018eb590107d68df46c11 upstream. The commit 8dfbcc4351a0 ("[media] xc2028: avoid use after free") tried to address the reported use-after-free by clearing

[PATCH 4.8 28/37] mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit f5527f3f002b0a6b376163613b82f69de073 upstream. This fixes CVE-2016-8650. If mpi_powm() is given a zero exponent, it wants to immediately return either 1 or 0, depend

[PATCH 4.8 19/37] x86/traps: Ignore high word of regs->cs in early_fixup_exception()

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit fc0e81b2bea0ebceb71889b61d2240856141c9ee upstream. On the 80486 DX, it seems that some exceptions may leave garbage in the high bits of CS. This causes sporadic failures

[PATCH 4.8 29/37] X.509: Fix double free in x509_cert_parse() [ver #3]

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 2b95fda2c4fcb6d6625963f889247538f247fce0 upstream. We shouldn't free cert->pub->key in x509_cert_parse() because x509_free_certificate() also does this: BUG: Doub

Re: [PATCH] iommu/vt-d: Flush old iotlb for kdump when the device gets context mapped

2016-11-30 Thread Baoquan He
On 11/30/16 at 05:03pm, Baoquan He wrote: > On 11/30/16 at 04:15pm, Xunlei Pang wrote: > > On 11/29/2016 at 10:35 PM, Joerg Roedel wrote: > > > On Thu, Nov 17, 2016 at 10:47:28AM +0800, Xunlei Pang wrote: > > >> As per the comment, the code here only needs to flush context caches > > >> for the spe

[PATCH 4.4 19/21] mei: me: disable driver on SPT SPS firmware

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Winkler commit 8c57cac1457f3125a5d13dc03635c0708c61bff0 upstream. Sunrise Point PCH with SPS Firmware doesn't expose working MEI interface, we need to quirk it out. The SPS Firmware is id

[PATCH 4.8 23/37] parisc: Fix races in parisc_setup_cache_timing()

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 741dc7bf1c7c7d93b853bb55efe77baa27e1b0a9 upstream. Helge reported to me the following startup crash: [0.00] Linux version 4.8.0-1-parisc64-smp (debian-ker...@

[PATCH v6 1/9] dt-bindings: document devicetree bindings for mux-controllers and mux-gpio

2016-11-30 Thread Peter Rosin
Signed-off-by: Peter Rosin --- .../devicetree/bindings/misc/mux-controller.txt| 127 + .../devicetree/bindings/misc/mux-gpio.txt | 68 +++ MAINTAINERS| 5 + 3 files changed, 200 insertions(+) create mode 100644 D

[PATCH V4] leds: pca955x: Add ACPI support for pca955x

2016-11-30 Thread Tin Huynh
This patch enables ACPI support for leds-pca955x driver. Signed-off-by: Tin Huynh --- drivers/leds/leds-pca955x.c | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) Change from V3: -Drop ".id =" and ".driver_data =" from pca955x_acpi_ids initializers. Change from

[PATCH 4.8 37/37] mm, oom: stop pre-mature high-order OOM killer invocations

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko 31e49bfda184 ("mm, oom: protect !costly allocations some more for !CONFIG_COMPACTION") was an attempt to reduce chances of pre-mature OOM killer invocation for high order requests.

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-11-30 Thread Auger Eric
Hi, On 15/11/2016 14:09, Eric Auger wrote: > Following LPC discussions, we now report reserved regions through > iommu-group sysfs reserved_regions attribute file. > > Reserved regions are populated through the IOMMU get_resv_region callback > (former get_dm_regions), now implemented by amd-iommu

[PATCH 4.8 11/37] scsi: mpt3sas: Fix secure erase premature termination

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Grodzovsky commit 18f6084a989ba1b38702f9af37a2e4049a924be6 upstream. This is a work around for a bug with LSI Fusion MPT SAS2 when perfoming secure erase. Due to the very long time the o

[PATCH] auxdisplay: ht16k33: select framebuffer helper modules

2016-11-30 Thread Robin van der Gracht
The new driver caused a rare randconfig failure: drivers/auxdisplay/ht16k33.o:(.data.ht16k33_fb_ops+0xc): undefined reference to `fb_sys_read' drivers/auxdisplay/ht16k33.o:(.data.ht16k33_fb_ops+0x10): undefined reference to `fb_sys_write' This selects the respective helper modules. Reported-by

[PATCH v6 4/9] dt-bindings: iio: iio-mux: document iio-mux bindings

2016-11-30 Thread Peter Rosin
Signed-off-by: Peter Rosin --- .../bindings/iio/multiplexer/iio-mux.txt | 40 ++ MAINTAINERS| 6 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/multiplexer/iio-mux.txt diff -

[PATCH v2] arm64: dts: zx: add zx296718's topcrm node

2016-11-30 Thread Baoyou Xie
Enable topcrm clock node for zx296718, which is used for CPU's frequency change. Furthermore, this patch adds the CPU clock phandle in CPU's node and uses operating-points-v2 to register operating points. So it can be used by cpufreq-dt driver. Signed-off-by: Baoyou Xie --- arch/arm64/boot/dts

Re: [PATCH net 04/16] net: ethernet: aurora: nb8800: fix fixed-link phydev leaks

2016-11-30 Thread Johan Hovold
On Wed, Nov 30, 2016 at 10:36:45AM +0100, Mason wrote: > On 28/11/2016 19:24, Johan Hovold wrote: > > > Make sure to deregister and free any fixed-link PHY registered using > > of_phy_register_fixed_link() on probe errors and on driver unbind. > > > > Fixes: c7dfe3abf40e ("net: ethernet: nb8800:

Re: [PATCH net-next v4 0/4] Fix OdroidC2 Gigabit Tx link issue

2016-11-30 Thread Jerome Brunet
On Mon, 2016-11-28 at 09:54 -0800, Florian Fainelli wrote: > On 11/28/2016 07:50 AM, Jerome Brunet wrote: > > > > This patchset fixes an issue with the OdroidC2 board (DWMAC + > > RTL8211F). > > The platform seems to enter LPI on the Rx path too often while > > performing > > relatively high TX tr

[PATCH v6 5/9] iio: multiplexer: new iio category and iio-mux driver

2016-11-30 Thread Peter Rosin
When a multiplexer changes how an iio device behaves (for example by feeding different signals to an ADC), this driver can be used to create one virtual iio channel for each multiplexer state. Depends on the generic multiplexer subsystem. Cache any ext_info values from the parent iio channel, cre

[PATCH v6 3/9] iio: inkern: api for manipulating ext_info of iio channels

2016-11-30 Thread Peter Rosin
Extend the inkern api with functions for reading and writing ext_info of iio channels. Signed-off-by: Peter Rosin --- drivers/iio/inkern.c | 60 include/linux/iio/consumer.h | 37 +++ 2 files changed, 97 insertions(+)

Re: [PATCH 1/6] net: ethernet: ti: netcp: add support of cpts

2016-11-30 Thread Richard Cochran
On Mon, Nov 28, 2016 at 05:04:23PM -0600, Grygorii Strashko wrote: > @@ -678,6 +744,9 @@ struct gbe_priv { > int num_et_stats; > /* Lock for updating the hwstats */ > spinlock_t hw_stats_lock; > + > + int

Re: [RFC] panic on cascade() of kernel/time/timer.c

2016-11-30 Thread Yisheng Xie
On 2016/11/30 17:18, Thomas Gleixner wrote: > On Wed, 30 Nov 2016, Yisheng Xie wrote: > >> Hi all, >> The kernel version is 4.1.18, and we got a panic at cascade(). >> from the log it seems cause by BUG_ON of kernel/time/timer.c:1120. >> Any ideas about about it? > > Probably a timer which got

RE: [char-msic 1/3] mei: me: disable driver on SPT SPS firmware

2016-11-30 Thread Winkler, Tomas
> > On Tue, Nov 29, 2016 at 09:41:41PM +, Winkler, Tomas wrote: > > > > > > > > > > On Tue, Nov 29, 2016 at 07:21:43PM +, Winkler, Tomas wrote: > > > > > > > > > > On Tue, Nov 29, 2016 at 02:44:44PM +0200, Tomas Winkler wrote: > > > > > > commit 8c57cac1457f3125a5d13dc03635c0708c61bff0 up

Re: [PATCH net 04/16] net: ethernet: aurora: nb8800: fix fixed-link phydev leaks

2016-11-30 Thread Mason
On 28/11/2016 19:24, Johan Hovold wrote: > Make sure to deregister and free any fixed-link PHY registered using > of_phy_register_fixed_link() on probe errors and on driver unbind. > > Fixes: c7dfe3abf40e ("net: ethernet: nb8800: support fixed-link DT node") > Signed-off-by: Johan Hovold > --- >

Re: [PATCH 00/11] locking/ww_mutex: Keep sorted wait list to avoid stampedes

2016-11-30 Thread Chris Wilson
On Mon, Nov 28, 2016 at 01:20:01PM +0100, Nicolai Hähnle wrote: > I've included timings taken from a contention-heavy stress test to some of > the patches. The stress test performs actual GPU operations which take a > good chunk of the wall time, but even so, the series still manages to > improve t

Re: [RFC v3 04/10] iommu: iommu_alloc_resv_region

2016-11-30 Thread Auger Eric
Hi Joerg, On 29/11/2016 17:11, Joerg Roedel wrote: > On Tue, Nov 15, 2016 at 01:09:17PM +, Eric Auger wrote: >> +static inline struct iommu_resv_region * >> +iommu_alloc_resv_region(phys_addr_t start, size_t length, unsigned int prot) >> +{ >> +return NULL; >> +} >> + > > Will this functi

Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-30 Thread Jean-Francois Moine
On Tue, 29 Nov 2016 22:59:32 +0100 Maxime Ripard wrote: > > > I'm still not sure which pipeline should I use. > > > > > > And, it seems that HDMI Slow Clock is not needed? > > > > > > (seems that it's only for EDID, but simplefb won't use EDID) > > > > So, I don't see how this may work. > > Ho

Re: [PATCH V3] leds: pca955x: Add ACPI support for pca955x

2016-11-30 Thread Peter Rosin
On 2016-11-30 10:10, Phong Vo wrote: > +-Original Message- > +From: Jacek Anaszewski [mailto:j.anaszew...@samsung.com] > + > +Hi Phong, > + > +On 11/30/2016 09:23 AM, Phong Vo wrote: > +> +-Original Message- > +> +From: Jacek Anaszewski [mailto:j.anaszew...@samsung.com] > +> + > +>

[PATCH 4.8 35/37] powerpc/boot: Fix the early OPAL console wrappers

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Oliver O'Halloran commit a1ff57416af9a7971a801d553cd53edd8afb28d6 upstream. When configured with CONFIG_PPC_EARLY_DEBUG_OPAL=y the kernel expects the OPAL entry and base addresses to be passed

[PATCH 4.8 15/37] drm/radeon: fix power state when port pm is unavailable (v2)

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peter Wu commit d3ac31f3b4bf9fade93d69770cb9c34912e017be upstream. When PCIe port PM is not enabled (system BIOS is pre-2015 or the pcie_port_pm=off parameter is set), legacy ATPX PM should sti

[PATCH 4.8 16/37] apparmor: fix change_hat not finding hat after policy replacement

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit 3d40658c977769ce2138f286cf131537bf68bdfe upstream. After a policy replacement, the task cred may be out of date and need to be updated. However change_hat is using the stal

[PATCH 4.8 07/37] usb: chipidea: move the lock initialization to core file

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peter Chen commit a5d906bb261cde5f881a949d3b0fbaa285dcc574 upstream. This can fix below dump when the lock is accessed at host mode due to it is not initialized. [ 46.119638] INFO: trying to

[PATCH 4.8 36/37] can: bcm: fix support for CAN FD frames

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 5499a6b22e5508b921c447757685b0a5e40a07ed upstream. Since commit 6f3b911d5f29b98 ("can: bcm: add support for CAN FD frames") the CAN broadcast manager supports CAN and CAN

[PATCH 4.8 10/37] Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Petr Vandrovec commit 2ce9d2272b98743b911196c49e7af5841381c206 upstream. Some code (all error handling) submits CDBs that are allocated on the stack. This breaks with CB/CBI code that tries to

[PATCH 4.8 27/37] mmc: sdhci-of-esdhc: fixup PRESENT_STATE read

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Michael Walle commit b0921d5c9ed6ffa8a4d6afc5ee5f136b87445f14 upstream. Since commit 87a18a6a5652 ("mmc: mmc: Use ->card_busy() to detect busy cards in __mmc_switch()") the ESDHC driver is brok

[PATCH 4.8 21/37] perf/x86/intel: Cure bogus unwind from PEBS entries

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit b8000586c90b4804902058a38d3a59ce5708e695 upstream. Vince Weaver reported that perf_fuzzer + KASAN detects that PEBS event unwinds sometimes do 'weird' things. In particula

[PATCH 4.4 06/21] USB: serial: cp210x: add ID for the Zone DPMX

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Jakma commit 2ab13292d7a314fa45de0acc808e41aaad31989c upstream. The BRIM Brothers Zone DPMX is a bicycle powermeter. This ID is for the USB serial interface in its charging dock for the co

[PATCH 4.4 20/21] mei: me: fix place for kaby point device ids.

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Winkler This is fix of the backported patch only, it places KBL DIDs on correct place to easy on backporting of further DIDs. Fixes: 5c99f32c461c ('mei: me: add kaby point device ids') Si

[PATCH 4.8 22/37] thermal/powerclamp: add back module device table

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Pan commit ec638db8cb9ddd5ca08b23f2835b6c9c15eb616d upstream. Commit 3105f234e0aba43e44e277c20f9b32ee8add43d4 replaced module cpu id table with a cpu feature check, which is logically cor

[PATCH 4.8 24/37] parisc: Switch to generic sched_clock implementation

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 43b1f6abd59063a088416a0df042b36450f91f75 upstream. Drop the open-coded sched_clock() function and replace it by the provided GENERIC_SCHED_CLOCK implementation. We have see

[PATCH 4.8 13/37] cfg80211: limit scan results cache size

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 9853a55ef1bb66d7411136046060bbfb69c714fa upstream. It's possible to make scanning consume almost arbitrary amounts of memory, e.g. by sending beacon frames with random BSSI

[PATCH 4.8 33/37] powerpc: Set missing wakeup bit in LPCR on POWER9

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit 7a43906f5cbfb74712af168988455e350707e310 upstream. There is a new bit, LPCR_PECE_HVEE (Hypervisor Virtualization Exit Enable), which controls wakeup from STOP stat

[PATCH 4.4 08/21] Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Petr Vandrovec commit 2ce9d2272b98743b911196c49e7af5841381c206 upstream. Some code (all error handling) submits CDBs that are allocated on the stack. This breaks with CB/CBI code that tries to

[PATCH 4.8 17/37] NFSv4.x: hide array-bounds warning

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit d55b352b01bc78fbc3d1bb650140668b87e58bf9 upstream. A correct bugfix introduced a harmless warning that shows up with gcc-7: fs/nfs/callback.c: In function 'nfs_callback_up

[PATCH 4.4 05/21] usb: chipidea: move the lock initialization to core file

2016-11-30 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Chen commit a5d906bb261cde5f881a949d3b0fbaa285dcc574 upstream. This can fix below dump when the lock is accessed at host mode due to it is not initialized. [ 46.119638] INFO: trying to

[PATCH 4.8 20/37] perf/core: Fix address filter parser

2016-11-30 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit e96271f3ed7e702fa36dd0605c0c5b5f065af816 upstream. The token table passed into match_token() must be null-terminated, which it currently is not in the perf's address f

<    3   4   5   6   7   8   9   >