Re: double free issue, mvpp2 driver, armada375 modules

2016-12-13 Thread Thomas Petazzoni
Hello, On Mon, 2 May 2016 11:46:46 +0200, Raphael G wrote: > enclosed the kernel panic we obtain after boot with a slightly patched > upstream kernel (4.5.2). > > (as well as the patchset applied to the upstream kernel, so that you can > know which code we are talking about. Too bad we cannot

Re: [PATCH] staging: Remove slicoss driver

2016-12-13 Thread Guenter Roeck
On Tue, Dec 13, 2016 at 04:16:56AM -0800, Greg Kroah-Hartman wrote: > On Mon, Dec 12, 2016 at 07:32:07PM -0800, Guenter Roeck wrote: > > There is now a different driver for the slicoss devices in > > drivers/net/ethernet/alacritech/. That driver supports the same PCI > > device IDs as the driver in

Re: WARNING: kernel stack frame pointer at ffffffff82e03f40 in swapper:0 has bad value (null)

2016-12-13 Thread Andy Lutomirski
On Tue, Dec 13, 2016 at 6:34 AM, Josh Poimboeuf wrote: > On Mon, Dec 12, 2016 at 05:05:11PM -0600, Josh Poimboeuf wrote: >> On Mon, Dec 12, 2016 at 11:33:54PM +0100, Borislav Petkov wrote: >> > On Mon, Dec 12, 2016 at 04:11:47PM -0600, Josh Poimboeuf wrote: >> > > Yes, please. >> > >> > Attached.

Re: [inotify] fee1df54b6: BUG_kmalloc-#(Not_tainted):Freepointer_corrupt

2016-12-13 Thread Nikolay Borisov
So this thing resurfaced again and I took a hard look into the code but couldn't find anything suspicious. So the allocating and freeing contexts leads me to believe it's the 'tbl' pointer that is being corrupted. The only thing which I do with it is to increase it by two. Perhaps some liveness is

[PATCH] powerpc/32: Remove FIX_SRR1

2016-12-13 Thread Christophe Leroy
FIX_SRR1() is defined as blank. Last useful instance of FIX_SRR1() was removed by commit 40ef8cbc6d360 ("powerpc: Get 64-bit configs to compile with ARCH=powerpc") in 2005. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/ppc_asm.h | 1 - arch/powerpc/kernel/entry_32.S | 4

Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Andy Lutomirski
On Tue, Dec 13, 2016 at 2:12 AM, Michal Hocko wrote: > [CC Andy] > > I've noticed the same > http://lkml.kernel.org/r/20161209142820.ga4...@dhcp22.suse.cz > and also concluded same as you > > On Mon 12-12-16 17:46:21, Andrey Ryabinin wrote: >> DEBUG_PREEMPT complains about using this_cpu_ptr() in

Re: [PATCH] ARM: add cmpxchg64 helper for ARMv7-M

2016-12-13 Thread Russell King - ARM Linux
On Sat, Dec 10, 2016 at 01:32:34PM +0100, Pablo Neira Ayuso wrote: > Hi Arnd, > > On Sat, Dec 10, 2016 at 11:36:34AM +0100, Arnd Bergmann wrote: > > A change to the netfilter code in net-next introduced the first caller of > > cmpxchg64 that can get built on ARMv7-M, leading to an error from the >

[PATCH] ARM: dts: Add missing CPU frequencies for Exynos5422/5800

2016-12-13 Thread Bartlomiej Zolnierkiewicz
Add missing 2000MHz & 1900MHz OPPs (for A15 cores) and 1400MHz OPP (for A7 cores). Also update common Odroid-XU3 Lite/XU3/XU4 thermal cooling maps to account for new OPPs. Since new OPPs are not available on all Exynos5422/5800 boards modify dts files for Odroid-XU3 Lite (limited to 1.8 GHz / 1.3

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-13 Thread Cyrille Pitchen
Le 08/12/2016 à 16:31, Boris Brezillon a écrit : > On Tue, 6 Dec 2016 18:14:24 +0100 > Cyrille Pitchen wrote: > >> This patch removes the WARN_ONCE() test in spi_nor_write(). >> This macro triggers the display of a warning message almost every time we >> use a UBI file-system because a write oper

Re: [PATCH] orinoco: Use shash instead of ahash for MIC calculations

2016-12-13 Thread Kalle Valo
Andy Lutomirski writes: > On Tue, Dec 13, 2016 at 3:35 AM, Kalle Valo wrote: >> Andy Lutomirski writes: >> >>> Eric Biggers pointed out that the orinoco driver pointed scatterlists >>> at the stack. >>> >>> Fix it by switching from ahash to shash. The result should be >>> simpler, faster, and

Re: [PATCH] keys/encrypted: Fix two crypto-on-the-stack bugs

2016-12-13 Thread Andy Lutomirski
On Tue, Dec 13, 2016 at 8:45 AM, David Howells wrote: > Andy Lutomirski wrote: > >> After all, rodata is ordinary memory, is backed by struct page, etc. > > Is that actually true? I thought some arches excluded the kernel image from > the page struct array to make the array consume less memory.

[PATCH v2] ath9k: do not return early to fix rcu unlocking

2016-12-13 Thread Tobias Klausmann
Starting with commit d94a461d7a7d ("ath9k: use ieee80211_tx_status_noskb where possible") the driver uses rcu_read_lock() && rcu_read_unlock(), yet on returning early in ath_tx_edma_tasklet() the unlock is missing leading to stalls and suspicious RCU usage: === [ INFO

[PATCH] tty/serial: atmel_serial: BUG: stop DMA from transmitting in stop_tx

2016-12-13 Thread Richard Genoud
If we don't disable the transmitter in atmel_stop_tx, the DMA buffer continues to send data until it is emptied. This cause problems with the flow control (CTS is asserted and data are still sent). So, disabling the transmitter in atmel_stop_tx is a sane thing to do. Tested on at91sam9g35-cm(DMA)

Re: [PATCH v6 3/8] PWM: add pwm-stm32 DT bindings

2016-12-13 Thread Benjamin Gaignard
2016-12-13 16:57 GMT+01:00 Rob Herring : > On Tue, Dec 13, 2016 at 5:11 AM, Lee Jones wrote: >> On Mon, 12 Dec 2016, Rob Herring wrote: >> >>> On Fri, Dec 09, 2016 at 03:15:14PM +0100, Benjamin Gaignard wrote: >>> > Define bindings for pwm-stm32 >>> > >>> > version 6: >>> > - change st,breakinput

Re: [PATCH v8 3/3] perf annotate: Fix jump target outside of function address range

2016-12-13 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 05, 2016 at 09:26:47PM +0530, Ravi Bangoria escreveu: > If jump target is outside of function range, perf is not handling it > correctly. Especially when target address is lesser than function start > address, target offset will be negative. But, target address declared > to be unsigned

Re: [PATCH 1/1] mtd: spi-nor: improve macronix_quad_enable()

2016-12-13 Thread Cyrille Pitchen
Le 06/12/2016 à 20:01, Marek Vasut a écrit : > On 12/06/2016 05:01 PM, Cyrille Pitchen wrote: >> The patch checks whether the Quad Enable bit is already set in the Status >> Register. If so, the function exits immediately with a successful return >> code. > > Performance optimization I presume ? >

Re: Remaining crypto API regressions with CONFIG_VMAP_STACK

2016-12-13 Thread Andy Lutomirski
On Mon, Dec 12, 2016 at 7:39 PM, Herbert Xu wrote: > On Mon, Dec 12, 2016 at 10:34:10AM -0800, Andy Lutomirski wrote: >> >> Here's my status. >> >> > drivers/crypto/bfin_crc.c:351 >> > drivers/crypto/qce/sha.c:299 >> > drivers/crypto/sahara.c:973,988 >> > drivers/cr

Re: [PATCH v6 3/8] PWM: add pwm-stm32 DT bindings

2016-12-13 Thread Rob Herring
On Tue, Dec 13, 2016 at 10:28 AM, Benjamin Gaignard wrote: > 2016-12-13 16:57 GMT+01:00 Rob Herring : >> On Tue, Dec 13, 2016 at 5:11 AM, Lee Jones wrote: >>> On Mon, 12 Dec 2016, Rob Herring wrote: >>> On Fri, Dec 09, 2016 at 03:15:14PM +0100, Benjamin Gaignard wrote: > Define bindings

Re: [PATCH v2 3/3] kvm: svm: Use the hardware provided GPA instead of page walk

2016-12-13 Thread Paolo Bonzini
On 12/12/2016 18:51, Brijesh Singh wrote: > As per the AMD BKDG [1] Section 2.7.1, we should not be using any of > these instruction for MMIO access, the behavior is undefined. > > The question is, do we really need to add logic to detect the cross-page > MMIO accesses and push/pop mem operation

Re: [PATCHSET/RFC v2] blk-mq scheduling framework

2016-12-13 Thread Jens Axboe
On 12/13/2016 09:15 AM, Paolo Valente wrote: > >> Il giorno 13 dic 2016, alle ore 16:17, Jens Axboe ha scritto: >> >> On Tue, Dec 13 2016, Paolo Valente wrote: >>> Il giorno 08 dic 2016, alle ore 21:13, Jens Axboe ha scritto: As a followup to this posting from yesterday: >>>

Re: [PATCH] vfio/pci: Support error recovery

2016-12-13 Thread Alex Williamson
On Tue, 13 Dec 2016 18:12:34 +0200 "Michael S. Tsirkin" wrote: > On Mon, Dec 12, 2016 at 08:39:48PM -0700, Alex Williamson wrote: > > On Tue, 13 Dec 2016 05:15:13 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Mon, Dec 12, 2016 at 03:43:13PM -0700, Alex Williamson wrote: > > > > > So ju

[PATCH 4.8 00/33] 4.8.15-stable review

2016-12-13 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.15 release. There are 33 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 Thu Dec 15 17:15:24 UTC 2016. Anything receive

[PATCH 4.4 06/16] locking/rtmutex: Prevent dequeue vs. unlock race

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit dbb26055defd03d59f678cb5f2c992abe05b064a upstream. David reported a futex/rtmutex state corruption. It's caused by the following problem: CPU0CPU1

[PATCH 4.4 07/16] locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 1be5d4fa0af34fb7bafa205aeb59f5c7cc7a089d upstream. While debugging the rtmutex unlock vs. dequeue race Will suggested to use READ_ONCE() in rt_mutex_owner() as it might r

[PATCH 4.8 01/33] powerpc/eeh: Fix deadlock when PE frozen state cant be cleared

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Donnellan commit 409bf7f8a02ef88db5a0f2cdcf9489914f4b8508 upstream. In eeh_reset_device(), we take the pci_rescan_remove_lock immediately after after we call eeh_reset_pe() to reset the

[PATCH 4.8 20/33] crypto: marvell - Dont copy hash operation twice into the SRAM

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Romain Perier commit 68c7f8c1c4e9b06e6b153fa3e9e0cda2ef5aaed8 upstream. No need to copy the template of an hash operation twice into the SRAM from the step function. Fixes: commit 85030c5168f1

[PATCH 4.8 17/33] acpi, nfit, libnvdimm: fix / harden ars_status output length handling

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit efda1b5d87cbc3d8816f94a3815b413f1868e10d upstream. Given ambiguities in the ACPI 6.1 definition of the "Output (Size)" field of the ARS (Address Range Scrub) Status command,

Re: [PATCH] rcu: shift by 1UL rather than 1 to fix sign extension error

2016-12-13 Thread Mark Rutland
Hi, On Tue, Dec 13, 2016 at 10:56:46AM +, Colin King wrote: > From: Colin Ian King > > mask and bit are unsigned longs, so if bit is 31 we end up sign > extending the 1 and mask ends up as 0x8000. Fix this > by explicitly adding integer suffix UL ensure 1 is a unsigned long > rat

[PATCH 4.8 28/33] ARM: dts: imx7d: fix LCDIF clock assignment

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit 4b707fa00a80b19b80bc8df6f1cbf4bdd9c91402 upstream. The eLCDIF IP of the i.MX 7 SoC knows multiple clocks and lists them separately: Clock Clock Root Descr

[PATCH 4.8 29/33] ceph: dont set req->r_locked_dir in ceph_d_revalidate

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit c3f4688a08fd86f1bf8e055724c84b7a40a09733 upstream. This function sets req->r_locked_dir which is supposed to indicate to ceph_fill_trace that the parent's i_rwsem is locked f

[PATCH 4.8 27/33] ARM: dts: orion5x: fix number of sata port for linkstation ls-gl

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Roger Shimizu commit 038ccb3e8cee52e07dc118ff99f47eaebc1d0746 upstream. Bug report from Debian [0] shows there's minor changed model of Linkstation LS-GL that uses the 2nd SATA port of the SoC.

[PATCH 4.8 31/33] batman-adv: Check for alloc errors when preparing TT local data

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit c2d0f48a13e53b4747704c9e692f5e765e52041a upstream. batadv_tt_prepare_tvlv_local_data can fail to allocate the memory for the new TVLV block. The caller is informed about t

Re: [PATCH v5] cgroup: Add new capability to allow a process to migrate other tasks between cgroups

2016-12-13 Thread Casey Schaufler
On 12/13/2016 8:49 AM, John Stultz wrote: > On Tue, Dec 13, 2016 at 8:39 AM, Casey Schaufler > wrote: >> On 12/13/2016 1:47 AM, Michael Kerrisk (man-pages) wrote: >>> Hi John, >>> >>> On 13 December 2016 at 02:39, John Stultz wrote: This patch adds CAP_GROUP_MIGRATE and logic to allows a pr

[PATCH 4.8 30/33] m68k: Fix ndelay() macro

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 7e251bb21ae08ca2e4fb28cc0981fac2685a8efa upstream. The current ndelay() macro definition has an extra semi-colon at the end of the line thus leading to a compilation erro

[PATCH 4.8 32/33] hotplug: Make register and unregister notifier API symmetric

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 777c6e0daebb3fcefbbd6f620410a946b07ef6d0 upstream. Yu Zhao has noticed that __unregister_cpu_notifier only unregisters its notifiers when HOTPLUG_CPU=y while the registratio

[PATCH 4.8 02/33] powerpc/mm: Fix lazy icache flush on pre-POWER5

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit dd7b2f035ec41a409f7a7cec7aabc0ec0eacf476 upstream. On 64-bit CPUs with no-execute support and non-snooping icache, such as 970 or POWER4, we have a software mechan

fs/namespace: inconsistent lock state

2016-12-13 Thread Sudeep Holla
te ] 4.9.0-next-20161213-6-g733bb9f77ddb #244 Not tainted - inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. swapper/4/0 [HC0[0]:SC1[1]:HE1:SE0] takes: (mnt_id_lock){+.?...}, at: [] mnt_free_id.isra.7+0x2c/0x70 {SOFTIRQ-ON-W} state was registered at: mar

Re: WARNING: kernel stack frame pointer at ffffffff82e03f40 in swapper:0 has bad value (null)

2016-12-13 Thread Borislav Petkov
On Tue, Dec 13, 2016 at 08:55:53AM -0800, Andy Lutomirski wrote: > I want to file a GCC bug, though. This code sucks. Looks like it started doing that with gcc-5. gcc-4.9 output looks fine here: .globl x86_64_start_kernel .type x86_64_start_kernel, @function x86_64_start_kerne

[PATCH 4.8 18/33] acpi, nfit: validate ars_status output buffer size

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 82aa37cf09867c5e2c0326649d570e5b25c1189a upstream. If an ARS Status command returns truncated output, do not process partial records or otherwise consume non-status fields.

[PATCH 4.8 09/33] locking/rtmutex: Prevent dequeue vs. unlock race

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit dbb26055defd03d59f678cb5f2c992abe05b064a upstream. David reported a futex/rtmutex state corruption. It's caused by the following problem: CPU0CPU1

[PATCH 4.8 24/33] can: raw: raw_setsockopt: limit number of can_filter that can be set

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit 332b05ca7a438f857c61a3c21a88489a21532364 upstream. This patch adds a check to limit the number of can_filters that can be set via setsockopt on CAN_RAW sockets. Otherwi

[PATCH 4.8 05/33] parisc: Purge TLB before setting PTE

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit c78e710c1c9fbeff43dddc0aa3d0ff458e70b0cc upstream. The attached change interchanges the order of purging the TLB and setting the corresponding page table entry. TLB pu

Re: [PATCH v2 5/5] staging: lustre: headers: use proper byteorder functions in lustre_idl.h

2016-12-13 Thread Dan Carpenter
On Tue, Dec 13, 2016 at 11:14:26AM -0500, Oleg Drokin wrote: > > On Dec 13, 2016, at 3:31 AM, Dan Carpenter wrote: > > > It used to be that great swathes of Lustre were used in both user space > > and kernel space. We had huge unused modules in the kernel that were > > only used for user space.

[PATCH 4.8 11/33] device-dax: fix private mapping restriction, permit read-only

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 325896ffdf90f7cbd59fb873b7ba20d60d1ddf3c upstream. Hugh notes in response to commit 4cb19355ea19 "device-dax: fail all private mapping attempts": "I think that is more re

[PATCH 4.8 07/33] parisc: Fix TLB related boot crash on SMP machines

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 24d0492b7d5d321a9c5846c8c974eba9823ffaa0 upstream. At bootup we run measurements to calculate the best threshold for when we should be using full TLB flushes instead of just

[PATCH 4.8 08/33] zram: restrict add/remove attributes to root only

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sergey Senozhatsky commit 5c7e9ccd91b90d87029261f8856294ee51934cab upstream. zram hot_add sysfs attribute is a very 'special' attribute - reading from it creates a new uninitialized zram device

[PATCH 4.8 26/33] Revert "ACPI: Execute _PTS before system reboot"

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit 9713adc2a1a5488f4889c657a0c0ce0c16056d3c upstream. Revert commit 2c85025c75df (ACPI: Execute _PTS before system reboot) as it is reported to cause poweroff and reboot t

[PATCH 4.8 19/33] acpi, nfit: fix bus vs dimm confusion in xlat_status

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit d6eb270c57fef35798525004ddf2ac5dcdadd43b upstream. Given dimms and bus commands share the same command number space we need to be careful that we are translating status in t

[PATCH 4.8 10/33] locking/rtmutex: Use READ_ONCE() in rt_mutex_owner()

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 1be5d4fa0af34fb7bafa205aeb59f5c7cc7a089d upstream. While debugging the rtmutex unlock vs. dequeue race Will suggested to use READ_ONCE() in rt_mutex_owner() as it might r

[PATCH 4.8 06/33] parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit febe42964fe182281859b3d43d844bb25ca49367 upstream. We have four routines in pacache.S that use temporary alias pages: copy_user_page_asm(), clear_user_page_asm(), flush

[PATCH 4.8 23/33] crypto: marvell - Dont corrupt state of an STD req for re-stepped ahash

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Romain Perier commit 9e5f7a149e00d211177f6de8be427ebc72a1c363 upstream. mv_cesa_hash_std_step() copies the creq->state into the SRAM at each step, but this is only required on the first one. By

[PATCH 4.8 22/33] crypto: mcryptd - Check mcryptd algorithm compatibility

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: tim commit 48a992727d82cb7db076fa15d372178743b1f4cd upstream. Algorithms not compatible with mcryptd could be spawned by mcryptd with a direct crypto_alloc_tfm invocation using a "mcryptd(alg)"

[PATCH 4.4 08/16] perf/x86: Fix full width counter, counter overflow

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra (Intel) commit 7f612a7f0bc13a2361a152862435b7941156b6af upstream. Lukasz reported that perf stat counters overflow handling is broken on KNL/SLM. Both these parts have full_widt

[PATCH 4.4 15/16] hotplug: Make register and unregister notifier API symmetric

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 777c6e0daebb3fcefbbd6f620410a946b07ef6d0 upstream. Yu Zhao has noticed that __unregister_cpu_notifier only unregisters its notifiers when HOTPLUG_CPU=y while the registratio

[PATCH 4.8 04/33] fuse: fix clearing suid, sgid for chown()

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit c01638f5d919728f565bf8b5e0a6a159642df0d9 upstream. Basically, the pjdfstests set the ownership of a file to 06555, and then chowns it (as root) to a new uid/gid. Prior to

[PATCH 4.8 33/33] crypto: rsa - Add Makefile dependencies to fix parallel builds

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Michael commit 57891633eeef60e732e045731cf20e50ee80acb4 upstream. Both asn1 headers are included by rsa_helper.c, so rsa_helper.o should explicitly depend on them. Signed-off-by: David M

[PATCH 4.4 09/16] crypto: mcryptd - Check mcryptd algorithm compatibility

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: tim commit 48a992727d82cb7db076fa15d372178743b1f4cd upstream. Algorithms not compatible with mcryptd could be spawned by mcryptd with a direct crypto_alloc_tfm invocation using a "mcryptd(alg)"

Re: [PATCH v4 4/4] regulator: Prevent falling too fast

2016-12-13 Thread Mark Brown
On Mon, Dec 12, 2016 at 01:15:02PM -0800, Matthias Kaehlcke wrote: > El Fri, Oct 28, 2016 at 07:15:21PM +0100 Mark Brown ha dit: > > On Mon, Sep 26, 2016 at 10:41:59AM -0700, Doug Anderson wrote: > > What you're describing to me is a discrete DCDC that has an input > > voltage that sets the output

[PATCH 4.8 16/33] acpi, nfit: fix extended status translations for ACPI DSMs

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vishal Verma commit 9a901f5495e26e691c7d0ea7b6057a2f3e6330ed upstream. ACPI DSMs can have an 'extended' status which can be non-zero to convey additional information about the command. In the x

[PATCH 4.4 05/16] zram: restrict add/remove attributes to root only

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sergey Senozhatsky commit 5c7e9ccd91b90d87029261f8856294ee51934cab upstream. zram hot_add sysfs attribute is a very 'special' attribute - reading from it creates a new uninitialized zram device

[PATCH 4.4 03/16] parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit febe42964fe182281859b3d43d844bb25ca49367 upstream. We have four routines in pacache.S that use temporary alias pages: copy_user_page_asm(), clear_user_page_asm(), flush

[PATCH 4.8 13/33] sched/autogroup: Fix 64-bit kernel nice level adjustment

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith commit 83929cce95251cc77e5659bf493bd424ae0e7a67 upstream. Michael Kerrisk reported: > Regarding the previous paragraph... My tests indicate > that writing *any* value to the au

[PATCH 4.8 03/33] powerpc/boot: Fix build failure in 32-bit boot wrapper

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 10c77dba40ff58fc03587b3b60725bb7fd723183 upstream. OPAL is not callable from 32-bit mode and the assembly code for it may not even build (depending on how binutils was conf

[PATCH 4.8 14/33] vhost-vsock: fix orphan connection reset

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao commit c4587631c7bad47c045e081d1553cd73a23be59a upstream. local_addr.svm_cid is host cid. We should check guest cid instead, which is remote_addr.svm_cid. Otherwise we end up resetting

[PATCH 4.8 12/33] scsi: lpfc: fix oops/BUG in lpfc_sli_ringtxcmpl_put()

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mauricio Faria de Oliveira commit 2319f847a8910cff1d46c9b66aa1dd7cc3e836a9 upstream. The BUG_ON() recently introduced in lpfc_sli_ringtxcmpl_put() is hit in the lpfc_els_abort() > lpfc_sli_issu

[PATCH 4.8 15/33] perf/x86: Fix full width counter, counter overflow

2016-12-13 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra (Intel) commit 7f612a7f0bc13a2361a152862435b7941156b6af upstream. Lukasz reported that perf stat counters overflow handling is broken on KNL/SLM. Both these parts have full_widt

[PATCH 4.4 02/16] parisc: Purge TLB before setting PTE

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit c78e710c1c9fbeff43dddc0aa3d0ff458e70b0cc upstream. The attached change interchanges the order of purging the TLB and setting the corresponding page table entry. TLB pu

[PATCH 4.4 01/16] powerpc/eeh: Fix deadlock when PE frozen state cant be cleared

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Donnellan commit 409bf7f8a02ef88db5a0f2cdcf9489914f4b8508 upstream. In eeh_reset_device(), we take the pci_rescan_remove_lock immediately after after we call eeh_reset_pe() to reset the

Re: WARNING: kernel stack frame pointer at ffffffff82e03f40 in swapper:0 has bad value (null)

2016-12-13 Thread Josh Poimboeuf
On Tue, Dec 13, 2016 at 08:55:53AM -0800, Andy Lutomirski wrote: > On Tue, Dec 13, 2016 at 6:34 AM, Josh Poimboeuf wrote: > > On Mon, Dec 12, 2016 at 05:05:11PM -0600, Josh Poimboeuf wrote: > >> On Mon, Dec 12, 2016 at 11:33:54PM +0100, Borislav Petkov wrote: > >> > On Mon, Dec 12, 2016 at 04:11:4

[PATCH 4.4 12/16] arm64: futex.h: Add missing PAN toggling

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit 811d61e384e24759372bb3f01772f3744b0a8327 upstream. futex.h's futex_atomic_cmpxchg_inatomic() does not use the __futex_atomic_op() macro and needs its own PAN toggling. This w

[PATCH] drivers: media: i2c: ak881x: constify v4l2_subdev_* structures

2016-12-13 Thread Bhumika Goyal
v4l2_subdev_{core/video}_ops structures are stored in the fields of the v4l2_subdev_ops structure which are of type const. Also, v4l2_subdev_ops structure is passed to a function having its argument of type const. As these structures are never modified, so declare them as const. Done using Coccinel

[PATCH 4.4 13/16] m68k: Fix ndelay() macro

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 7e251bb21ae08ca2e4fb28cc0981fac2685a8efa upstream. The current ndelay() macro definition has an extra semi-colon at the end of the line thus leading to a compilation erro

[PATCH 4.4 16/16] crypto: rsa - Add Makefile dependencies to fix parallel builds

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: David Michael commit 57891633eeef60e732e045731cf20e50ee80acb4 upstream. Both asn1 headers are included by rsa_helper.c, so rsa_helper.o should explicitly depend on them. Signed-off-by: David M

[PATCH 4.4 04/16] parisc: Fix TLB related boot crash on SMP machines

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 24d0492b7d5d321a9c5846c8c974eba9823ffaa0 upstream. At bootup we run measurements to calculate the best threshold for when we should be using full TLB flushes instead of just

[PATCH 4.4 14/16] batman-adv: Check for alloc errors when preparing TT local data

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit c2d0f48a13e53b4747704c9e692f5e765e52041a upstream. batadv_tt_prepare_tvlv_local_data can fail to allocate the memory for the new TVLV block. The caller is informed about t

[PATCH 4.4 00/16] 4.4.39-stable review

2016-12-13 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.39 release. There are 16 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 Thu Dec 15 17:15:06 UTC 2016. Anything receive

[PATCH 4.4 10/16] can: raw: raw_setsockopt: limit number of can_filter that can be set

2016-12-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit 332b05ca7a438f857c61a3c21a88489a21532364 upstream. This patch adds a check to limit the number of can_filters that can be set via setsockopt on CAN_RAW sockets. Otherwi

[PATCH] drivers: media: i2c: ml86v7667: constify v4l2_subdev_* structures

2016-12-13 Thread Bhumika Goyal
v4l2_subdev_{core/video}_ops structures are stored in the fields of the v4l2_subdev_ops structure which are of type const. Also, v4l2_subdev_ops structure is passed to a function having its argument of type const. As these structures are never modified, so declare them as const. Done using Coccinel

[PATCH] kcm: fix spelling mistake in Kconfig, "connectons"

2016-12-13 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake "connectons" to "connections" in Kconfig text. Signed-off-by: Colin Ian King --- net/kcm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/kcm/Kconfig b/net/kcm/Kconfig index 87fca36..23b01e1 100644 --- a/net/kc

Re: [PATCH v5] cgroup: Add new capability to allow a process to migrate other tasks between cgroups

2016-12-13 Thread John Stultz
On Tue, Dec 13, 2016 at 9:17 AM, Casey Schaufler wrote: > On 12/13/2016 8:49 AM, John Stultz wrote: >> On Tue, Dec 13, 2016 at 8:39 AM, Casey Schaufler >> wrote: >>> On 12/13/2016 1:47 AM, Michael Kerrisk (man-pages) wrote: How about CAP_CGROUP_CONTROL or some such, with the idea that this

Re: [PATCH] kcm: fix spelling mistake in Kconfig, "connectons"

2016-12-13 Thread Colin Ian King
On 13/12/16 17:30, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake "connectons" to "connections" in > Kconfig text. > > Signed-off-by: Colin Ian King > --- > net/kcm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/kcm/Kconfig b

Re: [git pull] drm tree for 4.10

2016-12-13 Thread Alex Williamson
On Tue, 13 Dec 2016 09:59:58 +0100 Daniel Vetter wrote: > On Tue, Dec 13, 2016 at 03:20:07PM +1000, Dave Airlie wrote: > > Hi Linus, > > > > This is the main drm pull request for the 4.10. Posting it early as I'm > > probably > > on holidays for next few days. > > > > Items of note: > > There

[GIT PULL] Driver core changes for 4.10-rc1

2016-12-13 Thread Greg KH
The following changes since commit a909d3e636995ba7c349e2ca5dbb528154d4ac30: Linux 4.9-rc3 (2016-10-29 13:52:02 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.10-rc1 for you to fetch changes up to 5d47

Re: [PATCH 9/9] arm64: dts: rockchip: add regulator info for Kevin digitizer

2016-12-13 Thread Heiko Stuebner
Am Donnerstag, 1. Dezember 2016, 18:27:33 CET schrieb Brian Norris: > We need to enable this regulator before the digitizer can be used. Wacom > recommended waiting for 100 ms before talking to the HID. > > Signed-off-by: Brian Norris > --- > Uses WIP bindings: > > [PATCH v3 1/2] devicetree: i2c

[GIT PULL] Char/Misc driver patches for 4.10-rc1

2016-12-13 Thread Greg KH
The following changes since commit a25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6: Linux 4.9-rc5 (2016-11-13 10:32:32 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.10-rc1 for you to fetch changes up to 190cc65e

[GIT PULL] Staging/IIO driver changes for 4.10-rc1

2016-12-13 Thread Greg KH
The following changes since commit a25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6: Linux 4.9-rc5 (2016-11-13 10:32:32 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.10-rc1 for you to fetch changes up to 3e0f9b2ca8e4

[GIT PULL] USB/PHY driver changes patches for 4.10-rc1

2016-12-13 Thread Greg KH
The following changes since commit e5517c2a5a49ed5e99047008629f1cd60246ea0e: Linux 4.9-rc7 (2016-11-27 13:08:04 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.10-rc1 for you to fetch changes up to d8a12b7117b42fd708f1

Re: [PATCH v2 1/2] ARC: SMP: Set the default affinity to the boot cpu

2016-12-13 Thread Vineet Gupta
Hi Yuriy, On 12/09/2016 01:59 AM, Yuriy Kolerov wrote: > By default the kernel sets a value for default affinity which may > not correspond to the real bitmap of potentially online CPUs. E.g. > for ARC HS processors with 2 cores the default value of affinity in > the kernel may be 0xF and it is wr

[PATCH] drivers: media: i2c: mt9m111: constify v4l2_subdev_* structures

2016-12-13 Thread Bhumika Goyal
v4l2_subdev_{core/video}_ops structures are stored in the fields of the v4l2_subdev_ops structure which are of type const. Also, v4l2_subdev_ops structure is passed to a function having its argument of type const. As these structures are never modified, so declare them as const. Done using Coccinel

Re: [PATCH 12/23] drm: omapdrm: plane: update fifo size on atomic update

2016-12-13 Thread Laurent Pinchart
Hi Sebastian, Thank you for the patch. On Tuesday 08 Mar 2016 17:39:44 Sebastian Reichel wrote: > This is a workaround for a hardware bug occuring > on OMAP3 with manually updated panels. Could you please explain what the bug is and how the workaround operates ? Do you have a reference to an er

Re: [PATCH] mm-add-vfree_atomic-fix

2016-12-13 Thread Michal Hocko
On Tue 13-12-16 08:57:34, Andy Lutomirski wrote: > On Tue, Dec 13, 2016 at 2:12 AM, Michal Hocko wrote: > > [CC Andy] > > > > I've noticed the same > > http://lkml.kernel.org/r/20161209142820.ga4...@dhcp22.suse.cz > > and also concluded same as you > > > > On Mon 12-12-16 17:46:21, Andrey Ryabinin

page allocation stall in kernel 4.9 when copying files from one btrfs hdd to another

2016-12-13 Thread David Arendt
Hi, I receive the following page allocation stall while copying lots of large files from one btrfs hdd to another. Dec 13 13:04:29 server kernel: kworker/u16:8: page allocation stalls for 12260ms, order:0, mode:0x2400840(GFP_NOFS|__GFP_NOFAIL) Dec 13 13:04:29 server kernel: CPU: 0 PID: 24959 Comm

[GIT PULL] TTY/Serial driver changes for 4.10-rc1

2016-12-13 Thread Greg KH
The following changes since commit a909d3e636995ba7c349e2ca5dbb528154d4ac30: Linux 4.9-rc3 (2016-10-29 13:52:02 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.10-rc1 for you to fetch changes up to a9b01b5823f73dc741b6

Re: [PATCH 1/6] clk: sunxi-ng: fix PLL_CPUX adjusting on A33

2016-12-13 Thread Maxime Ripard
On Tue, Dec 13, 2016 at 11:22:47PM +0800, Icenowy Zheng wrote: > When adjusting PLL_CPUX on A33, the PLL is temporarily driven too high, > and the system hangs. > > Add a notifier to avoid this situation by temporarily switching to a > known stable 24 MHz oscillator. > > Signed-off-by: Icenowy Zh

Re: [PATCH v9] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-12-13 Thread Cyrille Pitchen
Le 13/12/2016 à 08:53, Marek Vasut a écrit : > On 12/02/2016 12:31 PM, Ricardo Ribalda Delgado wrote: >> Xilinx Spartan-3AN FPGAs contain an In-System Flash where they keep >> their configuration data and (optionally) some user data. >> >> The protocol of this flash follows most of the spi-nor stan

Re: [PATCH v2 2/2] ARCv2: MCIP: Deprecate setting of affinity in Device Tree

2016-12-13 Thread Vineet Gupta
On 12/09/2016 01:59 AM, Yuriy Kolerov wrote: > Ignore value of interrupt distribution mode for common interrupts in > IDU since setting of affinity using value from Device Tree is deprecated > in ARC. Originally it is done in idu_irq_xlate() function and it is > semantically wrong and does not guar

Re: [PATCH v5] cgroup: Add new capability to allow a process to migrate other tasks between cgroups

2016-12-13 Thread Casey Schaufler
On 12/13/2016 9:24 AM, John Stultz wrote: > On Tue, Dec 13, 2016 at 9:17 AM, Casey Schaufler > wrote: >> On 12/13/2016 8:49 AM, John Stultz wrote: >>> On Tue, Dec 13, 2016 at 8:39 AM, Casey Schaufler >>> wrote: On 12/13/2016 1:47 AM, Michael Kerrisk (man-pages) wrote: > How about CAP_C

Re: [PATCH 8/9] arm64: dts: rockchip: partially describe PWM regulators for Gru

2016-12-13 Thread Heiko Stuebner
Am Mittwoch, 7. Dezember 2016, 09:09:17 CET schrieb Brian Norris: > Hi Heiko, > > On Wed, Dec 07, 2016 at 05:48:24PM +0100, Heiko Stuebner wrote: > > Am Donnerstag, 1. Dezember 2016, 18:27:32 CET schrieb Brian Norris: > > > We need to add regulators to the CPU nodes, so cpufreq doesn't think it >

[PATCH] Input: i8042 - force synchronous probing of PNP drivers

2016-12-13 Thread Dmitry Torokhov
We rely on the result of scanning PNP bus for keyboard and mouse devices to decide whether we should continue initialization of i8042 driver or not, so the probes can not be asynchronous. Also, it is not a good idea to unbind either of the PNP devices while i8042 is running, so let's disable bind/

[PATCH v2] drivers: media: i2c: mt9m111: constify v4l2_subdev_* structures

2016-12-13 Thread Bhumika Goyal
v4l2_subdev_{core/video}_ops structures are stored in the fields of the v4l2_subdev_ops structure which are of type const. Also, v4l2_subdev_ops structure is passed to a function having its argument of type const. As these structures are never modified, so declare them as const. Done using Coccinel

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