[PATCH 4.14 33/80] tcp: clear tp->packets_out when purging write queue

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Soheil Hassas Yeganeh Clear tp->packets_out when purging the write queue, otherwise tcp_rearm_rto() mistakenly assumes TCP write queue is not empty. This results in NULL pointer dereference.

Re: [PATCH 4/4] KVM: arm64: Add support for PUD hugepages at stage 2

2018-04-27 Thread Punit Agrawal
Christoffer Dall writes: > On Fri, Apr 20, 2018 at 03:54:09PM +0100, Punit Agrawal wrote: >> KVM only supports PMD hugepages at stage 2. Extend the stage 2 fault >> handling to add support for PUD hugepages. >> >> Addition of pud hugepage support enables additional hugepage >> sizes (e.g., 1G wi

[PATCH 4.14 07/80] Revert "ath10k: send (re)assoc peer command when NSS changed"

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Karthikeyan Periyasamy commit 55cc11da69895a680940c1733caabc37be685f5e upstream. This reverts commit 55884c045d31a29cf69db8332d1064a1b61dd159. When Ath10k is in AP mode and an unassociated ST

[PATCH 4.14 00/80] 4.14.38-stable review

2018-04-27 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.38 release. There are 80 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 29 13:57:13 UTC 2018. Anything receiv

[PATCH 4.14 08/80] bonding: do not set slave_dev npinfo before slave_enable_netpoll in bond_enslave

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit ddea788c63094f7c483783265563dd5b50052e28 ] After Commit 8a8efa22f51b ("bonding: sync netpoll code with bridge"), it would set slave_dev npinfo in slave_enable_netpo

[PATCH 4.14 09/80] ipv6: add RTA_TABLE and RTA_PREFSRC to rtm_ipv6_policy

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit aa8f8778493c85fff480cdf8b349b1e1dcb5f243 ] KMSAN reported use of uninit-value that I tracked to lack of proper size check on RTA_TABLE attribute. I also believ

Re: [PATCH v6 01/24] soc: qcom dt-bindings: Add APR bus bindings

2018-04-27 Thread Rob Herring
On Thu, Apr 26, 2018 at 10:45:43AM +0100, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch add dt bindings for Qualcomm APR (Asynchronous Packet Router) > bus driver. This bus is used for communicating with DSP which provides > audio and various other services to c

[PATCH 4.14 45/80] s390: scrub registers on kernel entry and KVM exit

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit 7041d28115e91f2144f811ffe8a195c696b1e1d0 ] Clear all user space registers on entry to the kernel and all KVM guest registers on KVM guest exit if the regi

[PATCH 4.14 46/80] s390: add optimized array_index_mask_nospec

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit e2dd833389cc4069a96b57bdd24227b5f52288f5 ] Add an optimized version of the array_index_mask_nospec function for s390 based on a compare and a subtract wit

Re: [PATCH RFC PoC 0/2] platform: different approach to early platform drivers

2018-04-27 Thread Arnd Bergmann
On Fri, Apr 27, 2018 at 4:05 PM, Bartosz Golaszewski wrote: > 2018-04-27 14:40 GMT+02:00 Arnd Bergmann : >> For timer-ti-dm, it seems like a leftover from old times that can >> be removed. The other four are shared between arch/sh and >> arch/arm/mach-shmobile and already have some #ifdef >> to h

Re: [PATCH RFC] tracepoint: Introduce tracepoint callbacks executing with preempt on

2018-04-27 Thread Steven Rostedt
On Fri, 27 Apr 2018 10:26:29 -0400 (EDT) Mathieu Desnoyers wrote: > The general approach and the implementation look fine, except for > one small detail: I would be tempted to explicitly disable preemption > around the call to the tracepoint callback for the rcuidle variant, > unless we plan to a

[PATCH 4.14 49/80] s390: run user space and KVM guests with modified branch prediction

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit 6b73044b2b0081ee3dd1cd6eaab7dee552601efb ] Define TIF_ISOLATE_BP and TIF_ISOLATE_BP_GUEST and add the necessary plumbing in entry.S to be able to run user

[PATCH 4.14 48/80] s390: add options to change branch prediction behaviour for the kernel

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit d768bd892fc8f066cd3aa000eb1867bcf32db0ee ] Add the PPA instruction to the system entry and exit path to switch the kernel to a different branch prediction

[PATCH 4.14 50/80] s390: introduce execute-trampolines for branches

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit f19fbd5ed642dc31c809596412dab1ed56f2f156 ] Add CONFIG_EXPOLINE to enable the use of the new -mindirect-branch= and -mfunction_return= compiler options to

[PATCH 4.14 51/80] KVM: s390: force bp isolation for VSIE

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky From: Christian Borntraeger [ Upstream commit f315104ad8b0c32be13eac628569ae707c332cb5 ] If the guest runs with bp isolation when doing a SIE instruction, we must also ru

[PATCH 4.14 52/80] s390: Replace IS_ENABLED(EXPOLINE_*) with IS_ENABLED(CONFIG_EXPOLINE_*)

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky From: Eugeniu Rosca [ Upstream commit 2cb370d615e9fbed9e95ed222c2c8f337181aa90 ] I've accidentally stumbled upon the IS_ENABLED(EXPOLINE_*) lines, which obviously always

[PATCH 4.14 53/80] s390: do not bypass BPENTER for interrupt system calls

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit d5feec04fe578c8dbd9e2e1439afc2f0af761ed4 ] The system call path can be interrupted before the switch back to the standard branch prediction with BPENTER h

[PATCH 4.14 55/80] s390: move nobp parameter functions to nospec-branch.c

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit b2e2f43a01bace1a25bdbae04c9f9846882b727a ] Keep the code for the nobp parameter handling with the code for expolines. Both are related to the spectre v2 m

[PATCH 4.14 54/80] s390/entry.S: fix spurious zeroing of r0

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky From: Christian Borntraeger [ Upstream commit d3f468963cd6fd6d2aa5e26aed8b24232096d0e1 ] when a system call is interrupted we might call the critical section cleanup hand

Re: [PATCH v4 5/7] dt-bindings: arm: Document emtrion emCON-MX6 bindings

2018-04-27 Thread Rob Herring
On Fri, Apr 27, 2018 at 03:24:40PM +0200, jan.tu...@emtrion.com wrote: > From: Jan Tuerk > > Document the compatible strings for emtrion emCON-MX6 SoM's. > > Signed-off-by: Jan Tuerk > --- > For v4: > - separate patch for the emtrion emCON-MX6 DT-bindings > > Documentation/devicetree/binding

[PATCH 4.14 57/80] s390: report spectre mitigation via syslog

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit bc035599718412cfba9249aa713f90ef13f13ee9 ] Add a boot message if either of the spectre defenses is active. The message is "Spectre V2 mitigation: exec

[PATCH 4.14 59/80] s390: correct nospec auto detection init order

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit 6a3d1e81a434fc311f224b8be77258bafc18ccc6 ] With CONFIG_EXPOLINE_AUTO=y the call of spectre_v2_auto_early() via early_initcall is done *after* the early_pa

[PATCH 4.14 61/80] microblaze: Setup dependencies for ASM optimized lib functions

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michal Simek commit 18ffc0cce4ff947a2acc9b2e06ae5309a6e6fb43 upstream. The patch: "microblaze: Setup proper dependency for optimized lib functions" (sha1: 7b6ce52be3f86520524711a6f33f3866f9339

[PATCH 4.14 60/80] s390: correct module section names for expoline code revert

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky [ Upstream commit 6cf09958f32b9667bb3ebadf74367c791112771b ] The main linker script vmlinux.lds.S for the kernel image merges the expoline code patch tables into two sectio

[PATCH 4.14 64/80] commoncap: Handle memory allocation failure.

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 1f5781725dcbb026438e77091c91a94f678c3522 upstream. syzbot is reporting NULL pointer dereference at xattr_getsecurity() [1], for cap_inode_getsecurity() is returning sizeof(

[PATCH 4.14 66/80] cdrom: information leak in cdrom_ioctl_media_changed()

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 9de4ee40547fd315d4a0ed1dd15a2fa3559ad707 upstream. This cast is wrong. "cdi->capacity" is an int and "arg" is an unsigned long. The way the check is written now, if one

[PATCH 4.14 65/80] scsi: mptsas: Disable WRITE SAME

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin K. Petersen commit 94e5395d2403c8bc2504a7cbe4c4caaacb7b8b84 upstream. First generation MPT Fusion controllers can not translate WRITE SAME when the attached device is a SATA drive. Disa

[PATCH 4.14 67/80] fsnotify: Fix fsnotify_mark_connector race

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Robert Kolchmeyer commit d90a10e2444ba5a351fa695917258ff4c5709fa5 upstream. fsnotify() acquires a reference to a fsnotify_mark_connector through the SRCU-protected pointer to_tell->i_fsnotify_

[PATCH 4.14 68/80] m68k/mac: Dont remap SWIM MMIO region

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Finn Thain commit b64576cbf36afa5fabf3b31f62a1994c429ef855 upstream. For reasons I don't understand, calling ioremap() then iounmap() on the SWIM MMIO region causes a hang on 68030 (but not on

[PATCH 4.14 38/80] net: ethernet: ti: cpsw: fix tx vlan priority mapping

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Khoronzhuk [ Upstream commit 5e391dc5a8d801a2410d0032ad4a428d1d61800c ] The CPDMA_TX_PRIORITY_MAP in real is vlan pcp field priority mapping register and basically replaces vlan pcp fiel

[GIT PULL] Char/Misc driver fixes for 4.17-rc3

2018-04-27 Thread Greg KH
The following changes since commit 6d08b06e67cd117f6992c46611dfb4ce267cd71e: Linux 4.17-rc2 (2018-04-22 19:20:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.17-rc3 for you to fetch changes up to 6a7228d

[PATCH] soc: qcom: qmi: fix a buffer sizing bug

2018-04-27 Thread Alex Elder
In qmi_handle_init(), a buffer is allocated for to hold messages received through the handle's socket. Any "normal" messages (expected by the caller) will have a header prepended, so the buffer size is adjusted to accomodate that. The buffer must also be of sufficient size to receive control mess

[PATCH 4.14 69/80] block/swim: Check drive type

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Finn Thain commit 8a500df63d07d8aee44b7ee2c54e462e47ce93ec upstream. The SWIM chip is compatible with GCR-mode Sony 400K/800K drives but this driver only supports MFM mode. Therefore only Sony

[PATCH 4.14 39/80] virtio_net: split out ctrl buffer

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" [ Upstream commit 12e571693837d6164bda61e316b1944972ee0d97 ] When sending control commands, virtio net sets up several buffers for DMA. The buffers are all part of the ne

[GIT PULL] Driver core fixes for 4.17-rc3

2018-04-27 Thread Greg KH
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -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.17-rc3 for you to fetch changes up to b93

[PATCH 4.14 70/80] block/swim: Dont log an error message for an invalid ioctl

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Finn Thain commit 8e2ab5a4efaac77fb93e5b5b109d0b3976fdd3a0 upstream. The 'eject' shell command may send various different ioctl commands. This leads to error messages on the console even thoug

[GIT PULL] TTY/Serial fixes for 4.17-rc3

2018-04-27 Thread Greg KH
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.17-rc3 for you to fetch changes up to bcdd0ca8cb8730573af

[GIT PULL] Staging driver fixes for 4.17-rc3 - take 2

2018-04-27 Thread Greg KH
Now with the correct message: -- The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tag

[PATCH 4.14 41/80] Revert "microblaze: fix endian handling"

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman This reverts commit ac3d021048be9edb825f0794da5b42f04fefecef which is commit 71e7673dadfdae0605d4c1f66ecb4b045c79fe0f upstream. kbuild reports that this causes build regress

Re: [GIT PULL] Staging driver fixes for 4.17-rc3

2018-04-27 Thread Greg KH
On Fri, Apr 27, 2018 at 04:39:54PM +0200, Greg KH wrote: > The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: > > Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/

[PATCH 4.14 43/80] s390: enable CPU alternatives unconditionally

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky From: Heiko Carstens [ Upstream commit 049a2c2d486e8cc82c5cd79fa479c5b105b109e9 ] Remove the CPU_ALTERNATIVES config option and enable the code unconditionally. The confi

[PATCH 4.14 40/80] virtio_net: fix adding vids on big-endian

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" [ Upstream commit d7fad4c840f33a6bd333dd7fbb3006edbcf0017a ] Programming vids (adding or removing them) still passes guest-endian values in the DMA buffer. That's wrong i

[GIT PULL] Staging driver fixes for 4.17-rc3

2018-04-27 Thread Greg KH
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.17-rc3 for you to fetch changes up to bcdd0ca8cb8730573af

[GIT PULL] USB driver fixes for 4.17-rc3

2018-04-27 Thread Greg KH
The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.17-rc3 for you to fetch changes up to 573a094873752d22504

Re: dm/raid1: Remove VLA usage

2018-04-27 Thread Mike Snitzer
On Thu, Apr 26 2018 at 7:31pm -0400, Kees Cook wrote: > On Tue, Apr 10, 2018 at 9:43 PM, Kees Cook wrote: > > On the quest to remove all VLAs from the kernel[1], this avoids VLAs > > in dm-raid1.c by just using the maximum size for the stack arrays. > > The nr_mirrors value was already capped a

[PATCH 4.14 34/80] net: sched: ife: handle malformed tlv length

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Aring [ Upstream commit cc74eddd0ff325d57373cea99f642b787d7f76f5 ] There is currently no handling to check on a invalid tlv length. This patch adds such handling to avoid killing th

[PATCH 4.14 42/80] s390: introduce CPU alternatives

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky From: Vasily Gorbik [ Upstream commit 686140a1a9c41d85a4212a1c26d671139b76404b ] Implement CPU alternatives, which allows to optionally patch newer instructions at runtim

[PATCH 4.14 74/80] block/swim: Fix array bounds check

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Finn Thain commit 7ae6a2b6cc058005ee3d0d2b9ce27688e51afa4b upstream. In the floppy_find() function in swim.c is a call to get_disk(swd->unit[drive].disk). The actual parameter to this call can

[PATCH 4.14 73/80] block/swim: Select appropriate drive on device open

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Finn Thain commit b3906535ccc6cd04c42f9b1c7e31d1947b3ebc74 upstream. The driver supports internal and external FDD units so the floppy_open function must not hard-code the drive location. Cc:

[PATCH 4.14 76/80] tracing: Fix missing tab for hwlat_detector print format

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Xu commit 9a0fd675304d410f3a9586e1b333e16f4658d56c upstream. It's been missing for a while but no one is touching that up. Fix it. Link: http://lkml.kernel.org/r/20180315060639.9578-1-

[PATCH 4.14 77/80] s390/cio: update chpid descriptor after resource accessibility event

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Ott commit af2e460ade0b0180d0f3812ca4f4f59cc9597f3e upstream. Channel path descriptors have been seen as something stable (as long as the chpid is configured). Recent tests have show

[PATCH 4.14 78/80] s390/dasd: fix IO error for newly defined devices

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Haberland commit 5d27a2bf6e14f5c7d1033ad1e993fcd0eba43e83 upstream. When a new CKD storage volume is defined at the storage server, Linux may be relying on outdated information about th

[PATCH 4.14 79/80] s390/uprobes: implement arch_uretprobe_is_alive()

2018-04-27 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 783c3b53b9506db3e05daacfe34e0287eebb09d8 upstream. Implement s390 specific arch_uretprobe_is_alive() to avoid SIGSEGVs observed with uretprobes in combination with setjmp

Re: [PATCH v4 2/2] ThunderX2: Add Cavium ThunderX2 SoC UNCORE PMU driver

2018-04-27 Thread Will Deacon
On Fri, Apr 27, 2018 at 08:15:25AM -0500, Kim Phillips wrote: > On Fri, 27 Apr 2018 10:30:27 +0100 > Mark Rutland wrote: > > On Thu, Apr 26, 2018 at 05:06:24PM -0500, Kim Phillips wrote: > > > On Wed, 25 Apr 2018 14:30:47 +0530 > > > Ganapatrao Kulkarni wrote: > > > > > > > +static int thunderx2

[PATCH 4.16 10/81] ipv6: add RTA_TABLE and RTA_PREFSRC to rtm_ipv6_policy

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit aa8f8778493c85fff480cdf8b349b1e1dcb5f243 ] KMSAN reported use of uninit-value that I tracked to lack of proper size check on RTA_TABLE attribute. I also believ

[PATCH 4.16 01/81] Revert "pinctrl: intel: Initialize GPIO properly when used through irqchip"

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman This reverts commit f5a26acf0162477af6ee4c11b4fb9cffe5d3e257 Mike writes: It seems that commit f5a26acf0162 ("pinctrl: intel: Initialize GPIO properly when u

[PATCH 4.16 13/81] l2tp: check sockaddr length in pppol2tp_connect()

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit eb1c28c05894a4b1f6b56c5bf072205e64cfa280 ] Check sockaddr_len before dereferencing sp->sa_protocol, to ensure that it actually points to valid data. Fixes:

[PATCH 4.16 11/81] ipv6: sr: fix NULL pointer dereference in seg6_do_srh_encap()- v4 pkts

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ahmed Abdelsalam [ Upstream commit a957fa190aa9d9168b33d460a5241a6d088c6265 ] In case of seg6 in encap mode, seg6_do_srh_encap() calls set_tun_src() in order to set the src addr of outer IPv6

Re: [PATCH v4 1/7] dt-bindings: display: Document the EDT et* displays in one file.

2018-04-27 Thread Rob Herring
On Fri, Apr 27, 2018 at 03:24:36PM +0200, jan.tu...@emtrion.com wrote: > From: Jan Tuerk > > Document the Emerging Display Technology Corp. (EDT) using the > simple-panel binding in one single file. > > Signed-off-by: Jan Tuerk > --- > Changes for v4: > - re-arrange the Patch-series to match

[PATCH 4.16 12/81] KEYS: DNS: limit the length of option strings

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers [ Upstream commit 9c438d7a3a52dcc2b9ed095cb87d3a5e83cf7e60 ] Adding a dns_resolver key whose payload contains a very long option name resulted in that string being printed in ful

[PATCH 4.16 16/81] net: fix deadlock while clearing neighbor proxy table

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Wolfgang Bumiller [ Upstream commit 53b76cdf7e8fecec1d09e38aad2f8579882591a8 ] When coming from ndisc_netdev_event() in net/ipv6/ndisc.c, neigh_ifdown() is called with &nd_tbl, locking this w

[PATCH 4.16 19/81] net/smc: fix shutdown in state SMC_LISTEN

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ursula Braun [ Upstream commit 1255fcb2a655f05e02f3a74675a6d6525f187afd ] Calling shutdown with SHUT_RD and SHUT_RDWR for a listening SMC socket crashes, because commit 127f49705823 ("net/

[PATCH 4.16 20/81] net: stmmac: Disable ACS Feature for GMAC >= 4

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jose Abreu [ Upstream commit 565020aaeebfa7c8b3ec077bee38f4c15acc9905 ] ACS Feature is currently enabled for GMAC >= 4 but the llc_snap status is never checked in descriptor rx_status callbac

[PATCH 4.16 17/81] net: mvpp2: Fix DMA address mask size

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Maxime Chevallier [ Upstream commit da42bb271305d68df6cbf99eed90542f1f1ee1c9 ] PPv2 TX/RX descriptors uses 40bits DMA addresses, but 41 bits masks were used (GENMASK_ULL(40, 0)). This commit

[PATCH 4.16 22/81] pppoe: check sockaddr length in pppoe_connect()

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit a49e2f5d5fb141884452ddb428f551b123d436b5 ] We must validate sockaddr_len, otherwise userspace can pass fewer data than we expect and we end up accessing inva

[PATCH 4.16 02/81] drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Neil Armstrong commit 9c305eb442f3b371fc722ade827bbf673514123e upstream. The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also identified needing this workaround. This patch

[PATCH 4.16 23/81] Revert "macsec: missing dev_put() on error in macsec_newlink()"

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit bd28899dd34f9283c567f7eeb31bb546f10820b5 ] This patch is just wrong, sorry. I was trying to fix a static checker warning and misread the code. The reference

Re: [PATCH v4 3/5] dt-bindings: remoteproc: Add Q6v5 Modem PIL binding for SDM845

2018-04-27 Thread Rob Herring
On Wed, Apr 25, 2018 at 08:38:41PM +0530, Sibi Sankar wrote: > Add new compatible string for Qualcomm SDM845 SoCs > > Signed-off-by: Sibi Sankar > --- > Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Rob Herring

Re: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces

2018-04-27 Thread Kani, Toshi
On Fri, 2018-04-27 at 09:37 +0200, j...@8bytes.org wrote: > On Thu, Apr 26, 2018 at 10:30:14PM +, Kani, Toshi wrote: > > Thanks for the clarification. After reading through SDM one more time, I > > agree that we need a TLB purge here. Here is my current understanding. > > > > - INVLPG purges

[PATCH 4.16 28/81] tcp: dont read out-of-bounds opsize

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn [ Upstream commit 7e5a206ab686f098367b61aca989f5cdfa8114a3 ] The old code reads the "opsize" variable from out-of-bounds memory (first byte behind the segment) if a broken TCP segme

[PATCH 4.16 24/81] sctp: do not check port in sctp_inet6_cmp_addr

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 1071ec9d453a38023579714b64a951a2fb982071 ] pf->cmp_addr() is called before binding a v6 address to the sock. It should not check ports, like in sctp_inet_cmp_addr.

[PATCH 4.16 25/81] strparser: Do not call mod_delayed_work with a timeout of LONG_MAX

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Doron Roberts-Kedes [ Upstream commit 7c5aba211dd61f41d737a2c51729eb9fdcd3edf4 ] struct sock's sk_rcvtimeo is initialized to LONG_MAX/MAX_SCHEDULE_TIMEOUT in sock_init_data. Calling mod_delay

[PATCH 4.16 30/81] team: avoid adding twice the same option to the event list

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 4fb0534fb7bbc2346ba7d3a072b538007f4135a5 ] When parsing the options provided by the user space, team_nl_cmd_options_set() insert them in a temporary list to send

Re: [PATCH v6 03/24] ASoC: qdsp6: dt-bindings: Add q6core dt bindings

2018-04-27 Thread Rob Herring
On Thu, Apr 26, 2018 at 10:45:45AM +0100, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch add DT bindings for Q6CORE DSP module. > > Signed-off-by: Srinivas Kandagatla > Reviewed-and-tested-by: Rohit kumar > --- > .../devicetree/bindings/sound/qcom,q6core.txt

[PATCH 4.16 32/81] tipc: add policy for TIPC_NLA_NET_ADDR

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ec518f21cb1a1b1f8a516499ea05c60299e04963 ] Before syzbot/KMSAN bites, add the missing policy for TIPC_NLA_NET_ADDR Fixes: 27c21416727a ("tipc: add net set to n

[PATCH 4.16 04/81] tpm: cmd_ready command can be issued only after granting locality

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Winkler commit 888d867df4417deffc33927e6fc2c6925736fe92 upstream. The correct sequence is to first request locality and only after that perform cmd_ready handshake, otherwise the hardwar

Re: [PATCH v4 3/4] dt-bindings: iio: afe: add binding for current-sense-amplifier

2018-04-27 Thread Rob Herring
On Mon, Apr 23, 2018 at 11:08:08PM +0200, Peter Rosin wrote: > Similar to current sense shunts, but an amplifier enables the use > of a smaller sense resistance. > > Signed-off-by: Peter Rosin > --- > .../bindings/iio/afe/current-sense-amplifier.txt | 26 > ++ > MAINTAINER

Re: [PATCH v5 00/11] vsprintf: Prevent silent crashes and consolidate error handling

2018-04-27 Thread Petr Mladek
On Wed 2018-04-25 13:12:40, Petr Mladek wrote: > Crash in vsprintf() might be silent when it happens under logbuf_lock > in vprintk_emit(). This patch set prevents most of the crashes by probing > the address. The check is done only by %s and some %p* specifiers that need > to dereference the addre

[PATCH 4.16 09/81] docs: ip-sysctl.txt: fix name of some ipv6 variables

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Olivier Gayot [ Upstream commit ab913455dd59b81204b6a0d387a44697b0e0bd85 ] The name of the following proc/sysctl entries were incorrectly documented: /proc/sys/net/ipv6/conf//max_dst_opt

[PATCH 4.16 08/81] bonding: do not set slave_dev npinfo before slave_enable_netpoll in bond_enslave

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit ddea788c63094f7c483783265563dd5b50052e28 ] After Commit 8a8efa22f51b ("bonding: sync netpoll code with bridge"), it would set slave_dev npinfo in slave_enable_netpo

Re: [PATCH v4 2/4] dt-bindings: iio: afe: add binding for voltage-divider

2018-04-27 Thread Rob Herring
On Mon, Apr 23, 2018 at 11:08:07PM +0200, Peter Rosin wrote: > An ADC is often used to measure other quantities indirectly. This > binding describe one cases, a "big" voltage measured with the help > of a voltage divider. > > Signed-off-by: Peter Rosin > --- > .../bindings/iio/afe/voltage-divide

[PATCH 4.16 07/81] Revert "ath10k: send (re)assoc peer command when NSS changed"

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Karthikeyan Periyasamy commit 55cc11da69895a680940c1733caabc37be685f5e upstream. This reverts commit 55884c045d31a29cf69db8332d1064a1b61dd159. When Ath10k is in AP mode and an unassociated ST

[PATCH 4.16 34/81] vmxnet3: fix incorrect dereference when rxvlan is disabled

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ronak Doshi [ Upstream commit 65ec0bd1c7c14522670a5294de35710fb577a7fd ] vmxnet3_get_hdr_len() is used to calculate the header length which in turn is used to calculate the gso_size for skb.

[PATCH 4.16 44/81] l2tp: fix {pppol2tp, l2tp_dfs}_seq_stop() in case of seq_file overflow

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 5411b6187adf62909e3b998ac782e722904c7487 ] Commit 0e0c3fee3a59 ("l2tp: hold reference on tunnels printed in pppol2tp proc file") assumed that if pppol2tp_se

[PATCH 4.16 46/81] llc: fix NULL pointer deref for SOCK_ZAPPED

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 3a04ce7130a7e5dad4e78d45d50313747f8c830f ] For SOCK_ZAPPED socket, we don't need to care about llc->sap, so we should just skip these refcount functions in this ca

[PATCH 4.16 48/81] s390/qeth: avoid control IO completion stalls

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 901e3f49facbd31b2b3d1786637b4a35e1022e9b ] For control IO, qeth currently tracks the index of the buffer that it expects to complete the next IO on each qeth

[PATCH 4.16 47/81] s390/qeth: fix error handling in adapter command callbacks

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 686c97ee29c886ee07d17987d0059874c5c3b5af ] Make sure to check both return code fields before(!) processing the command response. Otherwise we risk operating

Re: [PATCH v4 2/8] dt-bindings: display: atmel: optional video-interface of endpoints

2018-04-27 Thread Rob Herring
On Mon, Apr 23, 2018 at 09:22:55AM +0200, Peter Rosin wrote: > With bus-type/bus-width properties in the endpoint nodes, the video- > interface of the connection can be specified for cases where the > heuristic fails to select the correct output mode. This can happen > e.g. if not all RGB pins are

[PATCH 4.16 52/81] bnxt_en: Fix memory fault in bnxt_ethtool_init()

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Vasundhara Volam [ Upstream commit a60faa60da891e311e19fd3e88d611863f431130 ] In some firmware images, the length of BNX_DIR_TYPE_PKG_LOG nvram type could be greater than the fixed buffer len

[PATCH 4.16 49/81] s390/qeth: handle failure on workqueue creation

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit a936b1ef37ce1e996533878f4b23944f9444dcdf ] Creating the global workqueue during driver init may fail, deal with it. Also, destroy the created workqueue on an

[PATCH 4.16 45/81] llc: hold llc_sap before release_sock()

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit f7e43672683b097bb074a8fe7af9bc600a23f231 ] syzbot reported we still access llc->sap in llc_backlog_rcv() after it is freed in llc_sap_remove_socket(): Call Trace:

Re: [PATCH v5 13/14] dt-bindings: sdhci-omap: Add pinctrl bindings

2018-04-27 Thread Rob Herring
On Fri, Apr 27, 2018 at 05:17:22PM +0530, Kishon Vijay Abraham I wrote: > Add pinctrl binding rquired to get the mux mode and IODelay > values from devicetree. > > Signed-off-by: Kishon Vijay Abraham I > --- > Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 5 + > 1 file changed, 5 in

[PATCH 4.16 50/81] net: ethernet: ti: cpsw: fix tx vlan priority mapping

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Khoronzhuk [ Upstream commit 5e391dc5a8d801a2410d0032ad4a428d1d61800c ] The CPDMA_TX_PRIORITY_MAP in real is vlan pcp field priority mapping register and basically replaces vlan pcp fiel

Re: [PATCH RFC] tracepoint: Introduce tracepoint callbacks executing with preempt on

2018-04-27 Thread Mathieu Desnoyers
- On Apr 27, 2018, at 12:26 AM, Joel Fernandes joe...@google.com wrote: > In recent tests with IRQ on/off tracepoints, a large performance > overhead ~10% is noticed when running hackbench. This is root caused to > calls to rcu_irq_enter_irqson and rcu_irq_exit_irqson from the > tracepoint cod

[PATCH 4.16 54/81] VSOCK: make af_vsock.ko removable again

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Hajnoczi [ Upstream commit 05e489b1596f0aa1025a1fa572676631cd9665da ] Commit c1eef220c1760762753b602c382127bfccee226d ("vsock: always call vsock_init_tables()") introduced a module_ini

[PATCH 4.16 35/81] amd-xgbe: Add pre/post auto-negotiation phy hooks

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tom Lendacky [ Upstream commit 4d945663a6a0acf3cbe45940503f2eb9584bfee7 ] Add hooks to the driver auto-negotiation (AN) flow to allow the different phy implementations to perform any steps ne

[GIT PULL] Thermal SoC management updates for v4.17-rc3

2018-04-27 Thread Eduardo Valentin
Hello Rui, Please consider pulling these fixes on Thermal SoC management for v4.17-rc3. This has only a couple of fixes on exynos driver that were causing emergency shutdown. Here is what kernelci has to say about it: Full Boot Summary: https://kernelci.org/boot/all/job/evalenti/branch/for-ker

[PATCH 4.16 55/81] net: aquantia: Regression on reset with 1.x firmware

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Igor Russkikh [ Upstream commit cce96d1883dae4b79f44890e5118243d806da286 ] On ASUS XG-C100C with 1.5.44 firmware a special mode called "dirty wake" is active. With this mode when motherboard

[PATCH 4.16 59/81] virtio_net: fix adding vids on big-endian

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" [ Upstream commit d7fad4c840f33a6bd333dd7fbb3006edbcf0017a ] Programming vids (adding or removing them) still passes guest-endian values in the DMA buffer. That's wrong i

[PATCH 4.16 62/81] scsi: mptsas: Disable WRITE SAME

2018-04-27 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Martin K. Petersen commit 94e5395d2403c8bc2504a7cbe4c4caaacb7b8b84 upstream. First generation MPT Fusion controllers can not translate WRITE SAME when the attached device is a SATA drive. Disa

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