Re: [PATCH v2] [media] vb2: Fix an off by one error in 'vb2_plane_vaddr'

2017-04-28 Thread Sakari Ailus
On Fri, Apr 28, 2017 at 06:51:40AM +0200, Christophe JAILLET wrote: > We should ensure that 'plane_no' is '< vb->num_planes' as done in > 'vb2_plane_cookie' just a few lines below. > > Cc: sta...@vger.kernel.org > Fixes: e23ccc0ad925 ("[media] v4l: add videobuf2 Video for Linux 2 driver >

[no subject]

2017-04-28 Thread Anatolij Gustschin
Subject: [PATCH v3] gpiolib: Add stubs for gpiod lookup table interface Add stubs for gpiod_add_lookup_table() and gpiod_remove_lookup_table() for the !GPIOLIB case to prevent build errors. Also add prototypes. Signed-off-by: Anatolij Gustschin --- Changes in v3: - add stubs for !GPIOLIB case.

Re: ipsec doesn't route TCP with 4.11 kernel

2017-04-28 Thread Steffen Klassert
On Thu, Apr 27, 2017 at 06:13:38PM -0400, Don Bowman wrote: > On 27 April 2017 at 04:42, Steffen Klassert > wrote: > > On Wed, Apr 26, 2017 at 10:01:34PM -0700, Cong Wang wrote: > >> (Cc'ing netdev and IPSec maintainers) > >> > >> On Tue, Apr 25, 2017 at 6:08 PM, Don Bowman wrote: > > for 'esp'

Re: [PATCHv2 0/6] mcp23s08 pinconf support

2017-04-28 Thread Linus Walleij
On Thu, Apr 27, 2017 at 4:19 PM, Sebastian Reichel wrote: > Back in January I sent patches adding pinconf support > for configuring mcp23s08's pull-ups. Apart from my > custom Raspberry Pi setup the pull-up support is also > needed by Toby Churchill SL50. > > Changes since PATCHv1: > * Add

[PATCH] acer-wmi: setup accelerometer when appropriate acpi device was found

2017-04-28 Thread Lee, Chun-Yi
The 98d610c3739a patch was introduced since v4.11-rc1 that it causes that the accelerometer input device will not be created on workable machines because the HID string comparing logic is wrong. And, the patch doesn't prevent that the accelerometer input device be created on the machines that

[PATCH 4.4 01/17] tipc: make sure IPv6 header fits in skb headroom

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Richard Alpe commit 9bd160bfa27fa41927dbbce7ee0ea779700e09ef upstream. Expand headroom further in order to be able to fit the larger IPv6 header. Prior to this patch this caused a skb under

[PATCH 4.4 17/17] perf/core: Fix concurrent sys_perf_event_open() vs. move_group race

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 321027c1fe77f892f4ea07846aeae08cefbbb290 upstream. Di Shen reported a race between two concurrent sys_perf_event_open() calls where both try and move the same

[PATCH 4.4 14/17] vfio/pci: Fix integer overflows, bitmask check

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Tsyrklevich commit 05692d7005a364add85c6e25a6c4447ce08f913a upstream. The VFIO_DEVICE_SET_IRQS ioctl did not sufficiently sanitize user-supplied integers, potentially allowing memory

[PATCH 4.4 09/17] tipc: fix socket timer deadlock

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jon Paul Maloy commit f1d048f24e66ba85d3dabf3d076cefa5f2b546b0 upstream. We sometimes observe a 'deadly embrace' type deadlock occurring between mutually connected sockets on the same node.

[PATCH 4.4 16/17] ping: implement proper locking

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 43a6684519ab0a6c52024b5e25322476cabad893 upstream. We got a report of yet another bug in ping http://www.openwall.com/lists/oss-security/2017/03/24/6 ->disconnect() is

[PATCH 4.4 07/17] gfs2: avoid uninitialized variable warning

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 67893f12e5374bbcaaffbc6e570acbc2714ea884 upstream. We get a bogus warning about a potential uninitialized variable use in gfs2, because the compiler does not figure out

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-04-28 Thread Linus Walleij
On Thu, Apr 27, 2017 at 4:56 PM, Andy Shevchenko wrote: > On Thu, Apr 27, 2017 at 11:19 AM, Jacopo Mondi > wrote: >> Add bi-directional and output-enable pin configuration properties. >> >> bi-directional allows to specify when a pin shall operate in input and >> output mode at the same time.

[PATCH 4.4 06/17] hostap: avoid uninitialized variable use in hfa384x_get_rid

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 48dc5fb3ba53b20418de8514700f63d88c5de3a3 upstream. The driver reads a value from hfa384x_from_bap(), which may fail, and then assigns the value to a local variable. gcc

[PATCH 4.4 08/17] tipc: fix random link resets while adding a second bearer

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Parthasarathy Bhuvaragan commit d2f394dc4816b7bd1b44981d83509f18f19c53f0 upstream. In a dual bearer configuration, if the second tipc link becomes active while the first link still has pending

Re: [PATCH 4/6] ubifs: Maintain a parent pointer

2017-04-28 Thread Hyunchul Lee
Hi Richard I found a mistake in this patch. On Thu, Dec 01, 2016 at 11:02:19PM +0100, Richard Weinberger wrote: > The new feature UBIFS_FLG_PARENTPOINTER allows looking > up the parent. Usually the Linux VFS walks down the filesystem > and no parent pointers are needed. But when a filesystem >

[PATCH 4.4 05/17] tty: nozomi: avoid a harmless gcc warning

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit a4f642a8a3c2838ad09fe8313d45db46600e1478 upstream. The nozomi wireless data driver has its own helper function to transfer data from a FIFO, doing an extra byte swap on

[PATCH 3.18 13/47] powerpc/kprobe: Fix oops when kprobed on stdu instruction

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria commit 9e1ba4f27f018742a1aa95d11e35106feba08ec1 upstream. If we set a kprobe on a 'stdu' instruction on powerpc64, we see a kernel OOPS: Bad kernel stack pointer cd93c840 at

[PATCH 3.18 04/47] tracing: Allocate the snapshot buffer before enabling probe

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit df62db5be2e5f070ecd1a5ece5945b590ee112e0 upstream. Currently the snapshot trigger enables the probe and then allocates the snapshot. If the probe triggers

[PATCH 4.4 02/17] tipc: make dist queue pernet

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Erik Hugne commit 541726abe7daca64390c2ec34e6a203145f1686d upstream. Nametable updates received from the network that cannot be applied immediately are placed on a defer queue. This queue is

[PATCH 3.18 07/47] CIFS: remove bad_network_name flag

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Germano Percossi commit a0918f1ce6a43ac980b42b300ec443c154970979 upstream. STATUS_BAD_NETWORK_NAME can be received during node failover, causing the flag to be set and making the reconnect

[PATCH 3.18 31/47] net: vxge: avoid unused function warnings

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 57e7c8cef224af166b8ec932b5e383641418c005 upstream. When CONFIG_PCI_MSI is disabled, we get warnings about unused functions in the vxge driver:

[PATCH 3.18 06/47] cifs: Do not send echoes before Negotiate is complete

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Prabhu commit 62a6cfddcc0a5313e7da3e8311ba16226fe0ac10 upstream. commit 4fcd1813e640 ("Fix reconnect to not defer smb3 session reconnect long after socket reconnect") added support for

[PATCH 3.18 02/47] KEYS: Change the name of the dead type to ".dead" to prevent user access

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit c1644fe041ebaf6519f6809146a77c3ead9193af upstream. This fixes CVE-2017-6951. Userspace should not be able to do things with the "dead" key type as it doesn't have some

[PATCH 3.18 34/47] MIPS: MSP71xx: remove odd locking in PCI config space access code

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sergey Ryazanov commit c4a305374bbf36414515d2ae00d588c67051e67d upstream. Caller (generic PCI code) already do proper locking so no need to add another one here. Signed-off-by: Sergey

[PATCH 3.18 44/47] [media] xc2028: avoid use after free

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 8dfbcc4351a0b6d2f2d77f367552f48ffefafe18 upstream. If struct xc2028_config is passed without a firmware name, the following trouble may happen: [11009.907205]

[PATCH 3.18 46/47] staging/android/ion : fix a race condition in the ion driver

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: EunTaik Lee commit 9590232bb4f4cc824f3425a6e1349afbe6d6d2b7 upstream. There is a use-after-free problem in the ion driver. This is caused by a race condition in the ion_ioctl() function. A

[PATCH 3.18 20/47] MIPS: Fix the build on jz4740 after removing the custom gpio.h

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alban Bedel commit 5b235dc2647e4977b17b5c41d959d0f455831c3f upstream. Somehow the wrong version of the patch to remove the use of custom gpio.h on mips has been merged. This patch add the

[PATCH 3.18 18/47] gadgetfs: fix uninitialized variable in error handling

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann gcc warns about a bug in 3.18.y: drivers/usb/gadget/legacy/inode.c:648:10: warning: 'value' may be used This is caused by the backport of f01d35a15fa0416 from 4.0 to 3.18:

[PATCH 3.18 22/47] fs/nfs: fix new compiler warning about boolean in switch

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Andre Przywara commit c7757074839f2cd440521482d76ea180d0d4bdac upstream. The brand new GCC 5.1.0 warns by default on using a boolean in the switch condition. This results in the following

[PATCH 3.18 21/47] perf: Avoid horrible stack usage

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra (Intel) commit 86038c5ea81b519a8a1fcfcd5e4599aab0cdd119 upstream. Both Linus (most recent) and Steve (a while ago) reported that perf related callbacks have massive stack

Re: Generic approach to customizable zones - was: Re: [PATCH v7 0/7] Introduce ZONE_CMA

2017-04-28 Thread Michal Hocko
I didn't read this thoughly yet because I will be travelling shortly but this point alone just made ask, because it seems there is some misunderstanding On Fri 28-04-17 11:04:27, Igor Stoppa wrote: [...] > * if one is happy to have a 64bits type, allow for as many zones as > it's possible to

[PATCH 3.18 14/47] x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Yazen Ghannam commit 29f72ce3e4d18066ec75c79c857bee0618a3504b upstream. MCA bank 3 is reserved on systems pre-Fam17h, so it didn't have a name. However, MCA bank 3 is defined on Fam17h

[PATCH 3.18 40/47] aic94xx: Skip reading user settings if flash is not found

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit 36dd5acd196574d41de3e81d8264df475bbb7123 upstream. If no user settings are found it's pointless trying to read them from flash. So skip that step. This also fixes a

[PATCH 3.18 23/47] iommu/vt-d: Remove unused variable

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit 509fca899d5682a6eee3d1fb70bba7c89439034b upstream. Unused after commit 71684406905f ("iommu/vt-d: Detach domain *only* from attached iommus"). Reported by 0-day

[PATCH 3.18 19/47] dm bufio: hide bogus warning

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann mips-gcc-5.3 warns about correct code on linux-3.18 and earlier: In file included from ../include/linux/blkdev.h:4:0, from ../drivers/md/dm-bufio.h:12,

[PATCH 3.18 42/47] kconfig: tinyconfig: provide whole choice blocks to avoid warnings

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 236dec051078a8691950f56949612b4b74107e48 upstream. Using "make tinyconfig" produces a couple of annoying warnings that show up for build test machines all the time:

[PATCH 3.18 17/47] clk: at91: usb: fix determine_rate prototype again

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann We had an incorrect backport of 4591243102fa ("clk: at91: usb: propagate rate modification to the parent clk") that was fixed incorrectly in linux-3.18.y by 76723e7ed589 ("clk:

[PATCH 3.18 45/47] vfio/pci: Fix integer overflows, bitmask check

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Tsyrklevich commit 05692d7005a364add85c6e25a6c4447ce08f913a upstream. The VFIO_DEVICE_SET_IRQS ioctl did not sufficiently sanitize user-supplied integers, potentially allowing memory

[PATCH 3.18 47/47] ping: implement proper locking

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 43a6684519ab0a6c52024b5e25322476cabad893 upstream. We got a report of yet another bug in ping http://www.openwall.com/lists/oss-security/2017/03/24/6 ->disconnect() is

[PATCH 3.18 39/47] ARM: 8296/1: cache-l2x0: clean up aurora cache handling

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 20e783e39e55c2615fb61d1b3d139ee9edcf6772 upstream. The aurora cache controller is the only remaining user of a couple of functions in this file and are completely unused

[PATCH 3.18 33/47] hostap: avoid uninitialized variable use in hfa384x_get_rid

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 48dc5fb3ba53b20418de8514700f63d88c5de3a3 upstream. The driver reads a value from hfa384x_from_bap(), which may fail, and then assigns the value to a local variable. gcc

[PATCH 3.18 16/47] arm64: avoid returning from bad_mode

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland commit 7d9e8f71b989230bc613d121ca38507d34ada849 upstream. Generally, taking an unexpected exception should be a fatal event, and bad_mode is intended to cater for this. However,

[PATCH 3.18 41/47] MIPS: ralink: Cosmetic change to prom_init().

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: John Crispin commit 9c48568b3692f1a56cbf1935e4eea835e6b185b1 upstream. Over the years the code has been changed various times leading to argc/argv being defined in a different function to

[PATCH 3.18 43/47] ARM: 8383/1: nommu: avoid deprecated source register on mov

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit 970d96f9a81b0dd83ddd8bce0e5e1ba31881c5f5 upstream. In Thumb2 mode, the stack register r13 is deprecated if the destination register is the program counter (r15). Similar

[PATCH 3.18 37/47] gfs2: avoid uninitialized variable warning

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 67893f12e5374bbcaaffbc6e570acbc2714ea884 upstream. We get a bogus warning about a potential uninitialized variable use in gfs2, because the compiler does not figure out

[PATCH 3.18 35/47] net: tulip: turn compile-time warning into dev_warn()

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit de92718883ddbcd11b738d36ffcf57617b97fa12 upstream. The tulip driver causes annoying build-time warnings for allmodconfig builds for all recent architectures:

[tip:x86/boot] x86/KASLR: Fix kexec kernel boot crash when KASLR randomization fails

2017-04-28 Thread tip-bot for Baoquan He
Commit-ID: da63b6b20077469bd6bd96e07991ce145fc4fbc4 Gitweb: http://git.kernel.org/tip/da63b6b20077469bd6bd96e07991ce145fc4fbc4 Author: Baoquan He AuthorDate: Thu, 27 Apr 2017 15:42:20 +0800 Committer: Ingo Molnar CommitDate: Fri, 28 Apr 2017 08:31:15 +0200 x86/KASLR: Fix kexec kernel

Re: [PATCH -mm -v10 1/3] mm, THP, swap: Delay splitting THP during swap out

2017-04-28 Thread Minchan Kim
On Thu, Apr 27, 2017 at 03:12:34PM +0800, Huang, Ying wrote: > Minchan Kim writes: > > > On Tue, Apr 25, 2017 at 08:56:56PM +0800, Huang, Ying wrote: > >> From: Huang Ying > >> > >> In this patch, splitting huge page is delayed from almost the first > >> step of swapping out to after

[PATCH 3.18 27/47] nfsd: work around a gcc-5.1 warning

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 6ac75368e1a658903cf57b2bbf66e60d34f8 upstream. gcc-5.0 warns about a potential uninitialized variable use in nfsd: fs/nfsd/nfs4state.c: In function

[PATCH 3.18 30/47] tty: nozomi: avoid a harmless gcc warning

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit a4f642a8a3c2838ad09fe8313d45db46600e1478 upstream. The nozomi wireless data driver has its own helper function to transfer data from a FIFO, doing an extra byte swap on

[PATCH 3.18 29/47] brcmfmac: avoid gcc-5.1 warning

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 22f44150aad7a1d6b074ab6cf59abee61c7187c6 upstream. gcc-5.0 gained a new warning in the fwsignal portion of the brcmfmac driver:

[PATCH 3.18 08/47] s390/mm: fix CMMA vs KSM vs others

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit a8f60d1fadf7b8b54449fcc9d6b15248917478ba upstream. On heavy paging with KSM I see guest data corruption. Turns out that KSM will add pages to its tree, where the

Re:

2017-04-28 Thread Linus Walleij
On Fri, Apr 28, 2017 at 10:20 AM, Anatolij Gustschin wrote: > Subject: [PATCH v3] gpiolib: Add stubs for gpiod lookup table interface > > Add stubs for gpiod_add_lookup_table() and gpiod_remove_lookup_table() > for the !GPIOLIB case to prevent build errors. Also add prototypes. > >

[PATCH 3.18 26/47] MIPS: asm: compiler: Add new macros to set ISA and arch asm annotations

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Markos Chandras commit be5136988e25ae0dc8379fcb937efc63d87aba9e upstream. There are certain places where the code uses .set mips32 or .set mips64 or .set arch=r4000. In preparation of MIPS R6

[PATCH 3.18 25/47] net: ti: cpmac: Fix compiler warning due to type confusion

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 2f5281ba2a8feaf6f0aee93356f350855bb530fc upstream. cpmac_start_xmit() used the max() macro on skb->len (an unsigned int) and ETH_ZLEN (a signed int literal). This led to

[PATCH 3.18 24/47] mm/init: fix zone boundary creation

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Oliver O'Halloran commit 90cae1fe1c3540f791d5b8e025985fa5e699b2bb upstream. As a part of memory initialisation the architecture passes an array to free_area_init_nodes() which specifies the

Re: [PATCHv2 0/6] mcp23s08 pinconf support

2017-04-28 Thread Sebastian Reichel
Hi, On Fri, Apr 28, 2017 at 10:22:24AM +0200, Linus Walleij wrote: > On Thu, Apr 27, 2017 at 4:19 PM, Sebastian Reichel > wrote: > > > Back in January I sent patches adding pinconf support > > for configuring mcp23s08's pull-ups. Apart from my > > custom Raspberry Pi setup the pull-up support

[PATCH 3.18 03/47] KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit c9f838d104fed6f2f61d68164712e3204bf5271b upstream. This fixes CVE-2017-7472. Running the following program as an unprivileged user exhausts kernel memory by leaking

[PATCH 3.18 09/47] Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thorsten Leemhuis commit 704de489e0e3640a2ee2d0daf173e9f7375582ba upstream. Temporary got a Lifebook E547 into my hands and noticed the touchpad only works after running: echo "1" >

[PATCH 3.18 12/47] ubi/upd: Always flush after prepared for an update

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Siewior commit 9cd9a21ce070be8a918ffd3381468315a7a76ba6 upstream. In commit 6afaf8a484cb ("UBI: flush wl before clearing update marker") I managed to trigger and fix a similar bug.

[PATCH 3.18 15/47] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Suzuki K Poulose commit 8b3405e345b5a098101b0c31b264c812bba045d9 upstream. In kvm_free_stage2_pgd() we don't hold the kvm->mmu_lock while calling unmap_stage2_range() on the entire memory

[PATCH 3.18 11/47] mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Haibo Chen commit 9f327845358d3dd0d8a5a7a5436b0aa5c432e757 upstream. Currently for DDR50 card, it need tuning in default. We meet tuning fail issue for DDR50 card and some data CRC error when

[PATCH 0/9] usb: dwc2: gadget: Add LPM functionality

2017-04-28 Thread Sevak Arakelyan
This series adds LPM functionality for gadget side. In USB 2 for LPM support 2.01 version and additional BOS descriptors needed to be sent to indicate LPM support so usb: gadget: composite: was patched to support that. Tested on HAPS platform with DWC_hsotg IP version 3.30a from device side and

[no subject]

2017-04-28 Thread администратор
внимания; Ваши сообщения превысил лимит памяти, который составляет 5 Гб, определенных администратором, который в настоящее время работает на 10.9GB, Вы не сможете отправить или получить новую почту, пока вы повторно не проверить ваш почтовый ящик почты. Чтобы восстановить работоспособность

[PATCH v2] staging: speakup: fix wrong code indent

2017-04-28 Thread Michael Mera
Remove unnecessary multiline comment, fixes checkpatch messages: ERROR: code indent should use tabs where possible WARNING: Block comments should align the * on each line Signed-off-by: Michael Mera --- drivers/staging/speakup/speakup_decpc.c | 4 +--- 1 file changed, 1 insertion(+), 3

Re: [patch] Re: x86-tip tsc/tick gripage

2017-04-28 Thread Mike Galbraith
> On Fri, 2017-04-28 at 09:35 +0200, Mike Galbraith wrote: > ...which makes my DL980 a happy camper with tip. Bah, nevermind. I forgot to restore command line.

[PATCH 3.18 05/47] ring-buffer: Have ring_buffer_iter_empty() return true when empty

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 78f7a45dac2a2d2002f98a3a95f7979867868d73 upstream. I noticed that reading the snapshot file when it is empty no longer gives a status. It suppose to show the

[PATCH 1/9] usb: dwc2: Fix GLPMCFG... definitions

2017-04-28 Thread Sevak Arakelyan
Make field names of GLPMCFG register in definitoins to be the same with the databook. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/hw.h | 38 -- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/drivers/usb/dwc2/hw.h

Re: [PATCH 0/5] RFC: ADV748x HDMI/Analog video receiver

2017-04-28 Thread Kieran Bingham
Hi Simon, On 28/04/17 08:09, Simon Horman wrote: > On Thu, Apr 27, 2017 at 07:25:59PM +0100, Kieran Bingham wrote: >> From: Kieran Bingham >> >> This is an RFC for the Analog Devices ADV748x driver, and follows on from a >> previous posting by Niklas Söderlund [0] of an earlier incarnation of

[PATCH 4/9] usb: dwc2: gadget: LPM interrupt handler

2017-04-28 Thread Sevak Arakelyan
This interrupt indicates that an LPM transaction was received on the USB bus. After getting this interrupt we are going from L0 state to L1 state. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core_intr.c | 60 1 file changed, 60 insertions(+)

[PATCH 2/9] usb: dwc2: Add core parameters for LPM support

2017-04-28 Thread Sevak Arakelyan
Add lpm, lpm_clock_gating, besl, hird_threshold_en and hird_threshold core parameters. These will indicate LPM and LPM Errata support as well as chosen L1 sleeping mode for the core and PHY. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core.h| 20

[PATCH 3.18 10/47] ACPI / power: Avoid maybe-uninitialized warning

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit fe8c470ab87d90e4b5115902dd94eced7e3305c3 upstream. gcc -O2 cannot always prove that the loop in acpi_power_get_inferred_state() is enterered at least once, so it assumes

[PATCH 3/9] usb: dwc2: gadget: Add functionality to exit from LPM L1 state

2017-04-28 Thread Sevak Arakelyan
Add a function which will be called if device is in L1 sleep state and Resume/Remote Wakeup Detected interrupt is asserted. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core_intr.c | 49 1 file changed, 49 insertions(+) diff --git

[PATCH 3.18 01/47] KEYS: Disallow keyrings beginning with . to be joined as session keyrings

2017-04-28 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit ee8f844e3c5a73b999edf733df1c529d6503ec2f upstream. This fixes CVE-2016-9604. Keyrings whose name begin with a '.' are special internal keyrings and so userspace isn't

[PATCH 4.4 03/17] tipc: re-enable compensation for socket receive buffer double counting

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jon Paul Maloy commit 7c8bcfb1255fe9d929c227d67bdcd84430fd200b upstream. In the refactoring commit d570d86497ee ("tipc: enqueue arrived buffers in socket in separate function") we did by

Re: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-04-28 Thread Linus Walleij
On Thu, Apr 27, 2017 at 10:19 AM, Jacopo Mondi wrote: > Add pin configuration subnode for ETHER ethernet controller. > > Signed-off-by: Jacopo Mondi (...) > + pins_bidir { > + pinmux = ;/* P3_3 = ET_MDIO */ > + bi-directional; > +

[PATCH 4.4 04/17] tipc: correct error in node fsm

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jon Paul Maloy commit c4282ca76c5b81ed73ef4c5eb5c07ee397e51642 upstream. commit 88e8ac7000dc ("tipc: reduce transmission rate of reset messages when link is down") revealed a flaw in the node

[PATCH 3.18 00/47] 3.18.51-stable review

2017-04-28 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.51 release. There are 47 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 Sun Apr 30 08:30:25 UTC 2017. Anything

[PATCH 4.4 11/17] [media] xc2028: avoid use after free

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 8dfbcc4351a0b6d2f2d77f367552f48ffefafe18 upstream. If struct xc2028_config is passed without a firmware name, the following trouble may happen: [11009.907205]

Re: [RFC] drm/amd/amdgpu: get rid of else branch

2017-04-28 Thread Christian König
Am 27.04.2017 um 18:17 schrieb Nikola Pajkovsky: This is super simple elimination of else branch and I should probably even use unlikely in if (ring->count_dw < count_dw) { However, amdgpu_ring_write() has similar if condition, but does not return after DRM_ERROR and it looks

[PATCH 4.4 15/17] staging/android/ion : fix a race condition in the ion driver

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: EunTaik Lee commit 9590232bb4f4cc824f3425a6e1349afbe6d6d2b7 upstream. There is a use-after-free problem in the ion driver. This is caused by a race condition in the ion_ioctl() function. A

Re: [PATCH 4/5] arm64: dts: r8a7795: salvator-x: enable VIN, CSI and ADV7482

2017-04-28 Thread Sergei Shtylyov
Hello! On 4/27/2017 9:26 PM, Kieran Bingham wrote: From: Kieran Bingham Provide bindings between the VIN, CSI and the ADV7482 on the r8a7795. Signed-off-by: Kieran Bingham --- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 129 + 1 file changed, 129 insertions(+)

[PATCH 4.4 10/17] mnt: Add a per mount namespace limit on the number of mounts

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit d29216842a85c7970c536108e093963f02714498 upstream. CAI Qian pointed out that the semantics of shared subtrees make it possible to create an exponentially increasing

Re: [PATCH v2 3/3] fs: ubifs: set s_uuid in super block

2017-04-28 Thread Amir Goldstein
On Fri, Apr 28, 2017 at 1:03 AM, Richard Weinberger wrote: > Am 24.04.2017 um 17:47 schrieb Richard Weinberger: >>> So, if some flag should be implemented, who should do it? :) >> >> I'll not do it for you. ;) > > Please also see http://marc.info/?l=linux-fsdevel=149327990608749=2 > Perhaps you

[PATCH 4.4 00/17] 4.4.65-stable review

2017-04-28 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.65 release. There are 17 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 Sun Apr 30 08:28:47 UTC 2017. Anything

[PATCH 4.4 12/17] netfilter: nfnetlink: correctly validate length of batch messages

2017-04-28 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Phil Turnbull commit c58d6c93680f28ac58984af61d0a7ebf4319c241 upstream. If nlh->nlmsg_len is zero then an infinite loop is triggered because 'skb_pull(skb, msglen);' pulls zero bytes. The

[PATCH 5/9] usb: dwc2: Enable LPM Transaction Received interrupt.

2017-04-28 Thread Sevak Arakelyan
Enable LPM Trasaction Received interrupt. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core_intr.c | 5 +++-- drivers/usb/dwc2/gadget.c| 3 ++- drivers/usb/dwc2/hcd.c | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc2/core_intr.c

[PATCH 7/9] [HSLPM] usb: gadget: composite: Exclude SS Dev Cap Desc

2017-04-28 Thread Sevak Arakelyan
From: John Youn Don't send the SuperSpeed USB Device Capability descriptor if the gadget is not capable of SuperSpeed. Signed-off-by: John Youn Signed-off-by: Sevak Arakelyan --- drivers/usb/gadget/composite.c | 51 +++--- 1 file changed, 28 insertions(+),

[PATCH 6/9] usb: dwc2: gadget: Configure the core to enable LPM.

2017-04-28 Thread Sevak Arakelyan
Configure core in device mode to support LPM according to programming guide. Device will start giving valid responses for LPM tokens. After this patch device side LPM will start working. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/core.h | 2 ++ drivers/usb/dwc2/core_intr.c | 1 +

[PATCH 8/9] [HSLPM] usb: gadget: Allow a non-SuperSpeed gadget to support LPM

2017-04-28 Thread Sevak Arakelyan
From: John Youn This commit allows a gadget that does not support SuperSpeed to indicate that it supports LPM. It does this by setting the 'lpm_capable' flag in the gadget structure. If a gadget sets this, the composite gadget framework will set the bcdUSB to 0x0201 to indicate that this

[PATCH 9/9] [HSLPM] usb: dwc2: Enable LPM

2017-04-28 Thread Sevak Arakelyan
From: John Youn Set 'lpm_capable' flag in the gadget structure so indicating that LPM is supported. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/gadget.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index

Re: [alsa-devel] [PATCH 1/3] ASoC: simple-card: Use devm_kcalloc() in asoc_simple_card_parse_aux_devs()

2017-04-28 Thread Alexandre Belloni
Hi, On 26/04/2017 at 15:04:11 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 26 Apr 2017 14:21:51 +0200 > > A multiplication for the size determination of a memory allocation > indicated that an array data structure should be processed. > Thus use the corresponding function

Re: [PATCH v2] staging: speakup: fix wrong code indent

2017-04-28 Thread Greg Kroah-Hartman
On Fri, Apr 28, 2017 at 05:46:07PM +0900, Michael Mera wrote: > Remove unnecessary multiline comment, fixes checkpatch messages: > ERROR: code indent should use tabs where possible > WARNING: Block comments should align the * on each line > > Signed-off-by: Michael Mera > --- >

RE: [PATCH] pstore: Solve lockdep warning by moving inode locks

2017-04-28 Thread Lofstedt, Marta
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Friday, April 28, 2017 10:53 AM > To: Kees Cook > Cc: linux-kernel@vger.kernel.org; Anton Vorontsov ; > Colin Cross ; Luck, Tony ; > Lofstedt, Marta ; Namhyung Kim > > Subject: Re: [PATCH] pstore: Solve

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-28 Thread Peter Zijlstra
On Thu, Apr 27, 2017 at 03:38:19PM +0200, Petr Mladek wrote: > Also we need to look for alternatives. There is a chance > to create crashdump and get the ftrace messages from it. > Also this might be scenario when we might need to suggest > the early_printk() patchset from Peter Zijlstra. I'd be

Re: Generic approach to customizable zones - was: Re: [PATCH v7 0/7] Introduce ZONE_CMA

2017-04-28 Thread Igor Stoppa
On 28/04/17 11:36, Michal Hocko wrote: > I didn't read this thoughly yet because I will be travelling shortly ok, thanks for bearing with me =) > but > this point alone just made ask, because it seems there is some > misunderstanding It is possible, so far I did some changes, but I have not

Re: [PATCH] pwm: sun4i: switch to atomic PWM

2017-04-28 Thread Maxime Ripard
On Fri, Apr 28, 2017 at 12:00:02AM +0200, Alexandre Belloni wrote: > Switch the driver to atomic PWM. This makes it easier to wait a proper > amount of time when changing the duty cycle before disabling the channel > (main use case is switching the duty cycle to 0 before disabling). > > Also, the

Re: [PATCH v2 1/4] perf utils: passing pmu as a parameter to function get_cpuid_str

2017-04-28 Thread Jayachandran C
On Fri, Apr 28, 2017 at 10:23:44AM +0530, Ganapatrao Kulkarni wrote: > cpuid string will not be same on all CPUs on heterogeneous > platforms like ARM's big.LITTLE, adding provision(using pmu->cpus) > to find cpuid string from associated CPUs of PMU CORE device. > > Signed-off-by: Ganapatrao

Re: [PATCH 4/6] ubifs: Maintain a parent pointer

2017-04-28 Thread Richard Weinberger
Hyunchul, Am 28.04.2017 um 10:31 schrieb Hyunchul Lee: > I guess that dir->i_ino should be assigned to ui->parent_inum. Uff, right. It is obvious that I did this series in a hurry. :D Thanks, //richard

[PATCH v1 2/2] dt-bindings: pcie: Add documentation for Mediatek PCIe

2017-04-28 Thread Ryder Lee
Add binding document for Mediatek PCIe Gen2 v1 host controller driver. Signed-off-by: Ryder Lee --- .../bindings/pci/mediatek,gen2v1-pcie.txt | 174 + 1 file changed, 174 insertions(+) create mode 100644

<    4   5   6   7   8   9   10   11   12   13   >