[PATCH 4.14 14/49] KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode

2018-04-17 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit 19ce7909ed11c49f7eddf59e7f49cd3062bf83d5 upstream. This crashes with a "Bad real address for load" attempting to load from the vmalloc region in realmode (faulting addre

[PATCH 4.14 01/49] netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()

2018-04-17 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jozsef Kadlecsik commit f998b6b10144cd9809da6af02758615f789e8aa1 upstream. Patch "netfilter: ipset: use nfnl_mutex_is_locked" is added the real mutex locking check, which revealed the missing

[PATCH 4.14 12/49] Drivers: hv: vmbus: do not mark HV_PCIE as perf_device

2018-04-17 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit 238064f13d057390a8c5e1a6a80f4f0a0ec46499 upstream. The pci-hyperv driver's channel callback hv_pci_onchannelcallback() is not really a hot path, so we don't need to mark it a

Re: [PATCH] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-17 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 17, 2018 at 12:40:19PM -0400, Steven Rostedt escreveu: > On Tue, 17 Apr 2018 13:35:27 -0300 > Arnaldo Carvalho de Melo wrote: > > > > [root@jouet ~]# perf test openat > > 2: Detect openat syscall event : Ok > > 3: Detect openat syscall event on all cpus

[PATCH 4.15 40/53] apparmor: fix resource audit messages when auditing peer

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit b5beb07ad32ab533027aa988d96a44965ec116f7 upstream. Resource auditing is using the peer field which is not available when the rlim data struct is used, because it is a diff

[PATCH 4.14 10/49] parisc: Fix out of array access in match_pci_device()

2018-04-17 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 615b2665fd20c327b631ff1e79426775de748094 upstream. As found by the ubsan checker, the value of the 'index' variable can be out of range for the bc[] array: UBSAN: Undefine

[PATCH 4.15 49/53] getname_kernel() needs to make sure that ->name != ->iname in long case

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 30ce4d1903e1d8a7ccd110860a5eef3c638ed8be upstream. missed it in "kill struct filename.separate" several years ago. Cc: sta...@vger.kernel.org Signed-off-by: Al Viro Signed-off

[PATCH 4.15 48/53] mm/gup_benchmark: handle gup failures

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin commit 09e35a4a1ca8b9988ca9b8557d17948cd6c0808b upstream. Patch series "mm/get_user_pages_fast fixes, cleanups", v2. Turns out get_user_pages_fast and __get_user_pages_fast

Re: [PATCH] powerpc: Allow selection of CONFIG_LD_DEAD_CODE_DATA_ELIMINATION

2018-04-17 Thread Mathieu Malaterre
On Tue, Apr 17, 2018 at 12:49 PM, Christophe Leroy wrote: > This option does dead code and data elimination with the linker by > compiling with -ffunction-sections -fdata-sections and linking with > --gc-sections. > > By selecting this option on mpc885_ads_defconfig, > vmlinux LOAD segment size ge

[PATCH 4.15 46/53] s390/compat: fix setup_frame32

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 8b09ca746a643ca452cd41a522046a96ee5a55fd upstream. Git commit c60a03fee0e5 ("s390: switch to {get,put}_compat_sigset()") contains a typo and now copies the wrong pointer

[PATCH 4.15 44/53] s390/qdio: dont merge ERROR output buffers

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann commit 0cf1e05157b9e5530dcc3ca9fec9bf617fc93375 upstream. On an Output queue, both EMPTY and PENDING buffer states imply that the buffer is ready for completion-processing by t

[PATCH 4.15 42/53] nfit: fix region registration vs block-data-window ranges

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 8d0d8ed3356aa9ed43b819aaedd39b08ca453007 upstream. Commit 1cf03c00e7c1 "nfit: scrub and register regions in a workqueue" mistakenly attempts to register a region per BLK ap

[PATCH 4.15 43/53] s390/qdio: dont retry EQBS after CCQ 96

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann commit dae55b6fef58530c13df074bcc182c096609339e upstream. Immediate retry of EQBS after CCQ 96 means that we potentially misreport the state of buffers inspected during the fir

Re: usercopy whitelist woe in scsi_sense_cache

2018-04-17 Thread Jens Axboe
On 4/17/18 10:42 AM, Kees Cook wrote: > On Mon, Apr 16, 2018 at 8:12 PM, Kees Cook wrote: >> With a hardware watchpoint, I've isolated the corruption to here: >> >> bfq_dispatch_request+0x2be/0x1610: >> __bfq_dispatch_request at block/bfq-iosched.c:3902 >> 3900if (rq) { >> 3901inc_

[PATCH 4.15 52/53] rtl8187: Fix NULL pointer dereference in priv->conf_mutex

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Sudhir Sreedharan commit 7972326a26b5bf8dc2adac575c4e03ee7e9d193a upstream. This can be reproduced by bind/unbind the driver multiple times in AM3517 board. Analysis revealed that rtl8187_sta

[PATCH 4.15 41/53] block/loop: fix deadlock after loop_set_status

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 1e047eaab3bb5564f25b41e9cd3a053009f4e789 upstream. syzbot is reporting deadlocks at __blkdev_get() [1]. [ 92.493919] systemd-ude

[PATCH 4.15 02/53] netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Jozsef Kadlecsik commit f998b6b10144cd9809da6af02758615f789e8aa1 upstream. Patch "netfilter: ipset: use nfnl_mutex_is_locked" is added the real mutex locking check, which revealed the missing

Re: 4.17.0-rc1 doesn't boot.

2018-04-17 Thread Dave Hansen
On 04/17/2018 09:00 AM, Mike Galbraith wrote: > On Tue, 2018-04-17 at 17:31 +0200, Borislav Petkov wrote: >> On Tue, Apr 17, 2018 at 05:21:30PM +0200, Jörg Otte wrote: >>> finished bisection. >>> 39114b7a743e6759bab4d96b7d9651d44d17e3f9 is the first bad commit >>> (x86/pti: Never implicitly clear _

[PATCH 4.15 09/53] ip_gre: clear feature flags when incompatible o_flags are set

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 1cc5954f44150bb70cac07c3cc5df7cf0dfb61ec ] Commit dd9d598c6657 ("ip_gre: add the support for i/o_flags update via netlink") added the ability to change o_fla

[PATCH 4.15 08/53] l2tp: fix race in duplicate tunnel detection

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit f6cd651b056ffd3b4e8496afd44d4ed44bf69136 ] We can't use l2tp_tunnel_find() to prevent l2tp_nl_cmd_tunnel_create() from creating a duplicate tunnel. A tunnel

Re: [PATCH] powerpc: Allow selection of CONFIG_LD_DEAD_CODE_DATA_ELIMINATION

2018-04-17 Thread Christophe LEROY
Le 17/04/2018 à 18:45, Mathieu Malaterre a écrit : On Tue, Apr 17, 2018 at 12:49 PM, Christophe Leroy wrote: This option does dead code and data elimination with the linker by compiling with -ffunction-sections -fdata-sections and linking with --gc-sections. By selecting this option on mpc88

[PATCH 4.15 31/53] blk-mq: order getting budget and driver tag

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 0bca799b92807ee9be0890690f5dde7d8c6a8e25 upstream. This patch orders getting budget and driver tag by making sure to acquire driver tag after budget is got, this way can help t

[PATCH 4.15 07/53] l2tp: fix races in tunnel creation

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 6b9f34239b00e6956a267abed2bc559ede556ad6 ] l2tp_tunnel_create() inserts the new tunnel into the namespace's tunnel list and sets the socket's ->sk_user_data

[PATCH 4.15 05/53] slip: Check if rstate is initialized before uncompressing

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Tejaswi Tanikella [ Upstream commit 3f01ddb962dc506916c243f9524e8bef97119b77 ] On receiving a packet the state index points to the rstate which must be used to fill up IP and TCP headers. But

[PATCH 4.15 32/53] blk-mq: dont keep offline CPUs mapped to hctx 0

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit bffa9909a6b48d8ca3398dec601bc9162a4020c4 upstream. >From commit 4b855ad37194 ("blk-mq: Create hctx for each present CPU), blk-mq doesn't remap queue after CPU topo is changed,

Re: [PATCH 6/8] drm/amdgpu: use firmware_request_nowarn to load firmware

2018-04-17 Thread Andres Rodriguez
On 2018-04-17 12:41 PM, Andres Rodriguez wrote: On 2018-04-17 11:52 AM, Christian König wrote: Am 17.04.2018 um 17:41 schrieb Andres Rodriguez: On 2018-04-17 11:33 AM, Christian König wrote: Am 17.04.2018 um 17:07 schrieb Andres Rodriguez: On 2018-04-17 04:48 AM, Christian König wrote

[PATCH 4.15 34/53] xen: xenbus_dev_frontend: Fix XS_TRANSACTION_END handling

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Simon Gaiser commit 2a22ee6c3ab1d761bc9c04f1e4117edd55b82f09 upstream. Commit fd8aa9095a95 ("xen: optimize xenbus driver for multiple concurrent xenstore accesses") made a subtle change to the

[PATCH 4.15 06/53] vhost: fix vhost_vq_access_ok() log check

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Hajnoczi [ Upstream commit d14d2b78090c7de0557362b26a4ca591aa6a9faa ] Commit d65026c6c62e7d9616c8ceb5a53b68bcdc050525 ("vhost: validate log when IOTLB is enabled") introduced a regress

[PATCH 4.15 33/53] ovl: fix lookup with middle layer opaque dir and absolute path redirects

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 3ec9b3fafcaf441cc4d46b9742cd6ec0c79f8df0 upstream. As of now if we encounter an opaque dir while looking for a dentry, we set d->last=true. This means that there is no ne

[PATCH 4.15 37/53] scsi: qla2xxx: Fix small memory leak in qla2x00_probe_one on probe failure

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Bill Kuzeja commit 6d6340672ba3a99c4cf7af79c2edf7aa25595c84 upstream. The code that fixes the crashes in the following commit introduced a small memory leak: commit 6a2cf8d3663e ("scsi: qla2x

[PATCH 4.15 39/53] apparmor: fix display of .ns_name for containers

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit 040d9e2bce0a5b321c402b79ee43a8e8d2fd3b06 upstream. The .ns_name should not be virtualized by the current ns view. It needs to report the ns base name as that is being used

[PATCH 4.15 38/53] apparmor: fix logging of the existence test for signals

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit 98cf5bbff413eadf1b9cb195a7b80cc61c72a50e upstream. The existence test is not being properly logged as the signal mapping maps it to the last entry in the named signal tabl

[PATCH 4.15 36/53] nfsd: fix incorrect umasks

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: J. Bruce Fields commit 880a3a5325489a143269a8e172e7563ebf9897bc upstream. We're neglecting to clear the umask after it's set, which can cause a later unrelated rpc to (incorrectly) use the sam

[PATCH 4.15 30/53] lib: fix stall in __bitmap_parselist()

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Yury Norov commit 8351760ff5b2042039554b4948ddabaac644a976 upstream. syzbot is catching stalls at __bitmap_parselist() (https://syzkaller.appspot.com/bug?id=ad7e0351fbc90535558514a71cd3edc1168

Re: [PATCH 2/6 v2] iommu: of: make of_pci_map_rid() available for other devices too

2018-04-17 Thread Robin Murphy
On 17/04/18 11:21, Nipun Gupta wrote: iommu-map property is also used by devices with fsl-mc. This patch moves the of_pci_map_rid to generic location, so that it can be used by other busses too. Signed-off-by: Nipun Gupta --- drivers/iommu/of_iommu.c | 106

[PATCH 4.15 26/53] sunrpc: remove incorrect HMAC request initialization

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit f3aefb6a7066e24bfea7fcf1b07907576de69d63 upstream. make_checksum_hmac_md5() is allocating an HMAC transform and doing crypto API calls in the following order: crypto_a

[PATCH 4.15 23/53] hwmon: (ina2xx) Fix access to uninitialized mutex

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit 0c4c5860e9983eb3da7a3d73ca987643c3ed034b upstream. Initialize data->config_lock mutex before it is used by the driver code. This fixes following warning on Odroid XU3

[PATCH 4.15 04/53] rds: MP-RDS may use an invalid c_path

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Ka-Cheong Poon [ Upstream commit a43cced9a348901f9015f4730b70b69e7c41a9c9 ] rds_sendmsg() calls rds_send_mprds_hash() to find a c_path to use to send a message. Suppose the RDS connection is

[PATCH 4.15 20/53] KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit 19ce7909ed11c49f7eddf59e7f49cd3062bf83d5 upstream. This crashes with a "Bad real address for load" attempting to load from the vmalloc region in realmode (faulting addre

[PATCH 4.15 15/53] parisc: Fix out of array access in match_pci_device()

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 615b2665fd20c327b631ff1e79426775de748094 upstream. As found by the ubsan checker, the value of the 'index' variable can be out of range for the bc[] array: UBSAN: Undefine

[PATCH 4.15 18/53] PCI: hv: Serialize the present and eject work items

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit 021ad274d7dc31611d4f47f7dd4ac7a224526f30 upstream. When we hot-remove the device, we first receive a PCI_EJECT message and then receive a PCI_BUS_RELATIONS message with bus_r

Re: [PATCH v4 05/15] KVM: s390: enable/disable AP interpretive execution

2018-04-17 Thread Pierre Morel
On 17/04/2018 18:22, Tony Krowiak wrote: On 04/17/2018 12:13 PM, Pierre Morel wrote: On 17/04/2018 17:02, Tony Krowiak wrote: On 04/16/2018 06:51 AM, Pierre Morel wrote: On 15/04/2018 23:22, Tony Krowiak wrote: The VFIO AP device model exploits interpretive execution of AP instructions (APIE)

[PATCH 4.15 13/53] media: v4l: vsp1: Fix header display list status check in continuous mode

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Kieran Bingham commit 613928e85317b945c863bb893f5737d2f22f5425 upstream. To allow dual pipelines utilising two WPF entities when available, the VSP was updated to support header-mode display l

[PATCH 4.15 14/53] ipmi: Fix some error cleanup issues

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Corey Minyard commit cc095f0ac1f7c200e51a5c2a78a43c9f42049dbb upstream. device_remove_group() was called on any cleanup, even if the device attrs had not been added yet. That can occur in cer

[PATCH 4.15 01/53] drm/i915/edp: Do not do link training fallback or prune modes on EDP

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Manasi Navare commit a306343bcd7df89d9d45a601929e26866e7b7a81 upstream. In case of eDP because the panel has a fixed mode, the link rate and lane count at which it is trained corresponds to th

[PATCH 4.15 03/53] cdc_ether: flag the Cinterion AHS8 modem by gemalto as WWAN

2018-04-17 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Bassem Boubaker [ Upstream commit 53765341ee821c0a0f1dec41adc89c9096ad694c ] The Cinterion AHS8 is a 3G device with one embedded WWAN interface using cdc_ether as a driver. The modem is cont

[PATCH 4.15 00/53] 4.15.18-stable review

2018-04-17 Thread Greg Kroah-Hartman
NOTE, this is the last expected 4.15.y release. After this one, the tree is end-of-life. Please move to 4.16.y at this point in time. This is the start of the stable review cycle for the 4.15.18 release. There are 53 patches in this series, all w

Re: [PATCH v4 01/15] s390: zcrypt: externalize AP instructions available function

2018-04-17 Thread Cornelia Huck
On Tue, 17 Apr 2018 09:31:00 -0400 Tony Krowiak wrote: > My preference would be one of the following: > > 1. All of the interfaces defined in arch/s390/include/asm/ap.h > are implemented in a file that is built whether ZCRYPT is > built or not. > > 2. The drivers/s390/crypto/ap_asm.h fi

[PATCH 4.16 63/68] get_user_pages_fast(): return -EFAULT on access_ok failure

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin commit c61611f70958d86f659bca25c02ae69413747a8d upstream. get_user_pages_fast is supposed to be a faster drop-in equivalent of get_user_pages. As such, callers expect it to

Re: [PATCH] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-17 Thread Steven Rostedt
On Tue, 17 Apr 2018 12:40:19 -0400 Steven Rostedt wrote: > On Tue, 17 Apr 2018 13:35:27 -0300 > Arnaldo Carvalho de Melo wrote: > > > > [root@jouet ~]# perf test openat > > 2: Detect openat syscall event : Ok > > 3: Detect openat syscall event on all cpus

[PATCH 4.16 64/68] mm/gup_benchmark: handle gup failures

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin commit 09e35a4a1ca8b9988ca9b8557d17948cd6c0808b upstream. Patch series "mm/get_user_pages_fast fixes, cleanups", v2. Turns out get_user_pages_fast and __get_user_pages_fast

[PATCH 4.16 66/68] Bluetooth: Fix connection if directed advertising and privacy is used

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Szymon Janc commit 082f2300cfa1a3d9d5221c38c5eba85d4ab98bd8 upstream. Local random address needs to be updated before creating connection if RPA from LE Direct Advertising Report was resolved

Re: [PATCH] clocksource: arc_timer: add comments about locking while read GFRC

2018-04-17 Thread Vineet Gupta
On 04/17/2018 08:52 AM, Eugeniy Paltsev wrote: This came to light in some internal discussions and it is nice to have this documented rather than digging up the PRM (Prog Ref Manual) again. Signed-off-by: Eugeniy Paltsev Minor nits below, otherwise LGTM ! Acked-by: Vineet Gupta --- drive

[PATCH 4.16 24/68] perf intel-pt: Fix error recovery from missing TIP packet

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 1c196a6c771c47a2faa63d38d913e03284f73a16 upstream. When a TIP packet is expected but there is a different packet, it is an error. However the unexpected packet might be so

[PATCH 4.16 29/68] x86/mce/AMD, EDAC/mce_amd: Enumerate Reserved SMCA bank type

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Yazen Ghannam commit 68627a697c195937672ce07683094c72b1174786 upstream. Currently, bank 4 is reserved on Fam17h, so we chose not to initialize bank 4 in the smca_banks array. This means that w

[PATCH 4.16 62/68] s390/compat: fix setup_frame32

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 8b09ca746a643ca452cd41a522046a96ee5a55fd upstream. Git commit c60a03fee0e5 ("s390: switch to {get,put}_compat_sigset()") contains a typo and now copies the wrong pointer

[PATCH 4.16 60/68] s390/qdio: dont merge ERROR output buffers

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann commit 0cf1e05157b9e5530dcc3ca9fec9bf617fc93375 upstream. On an Output queue, both EMPTY and PENDING buffer states imply that the buffer is ready for completion-processing by t

[PATCH 4.16 57/68] block/loop: fix deadlock after loop_set_status

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 1e047eaab3bb5564f25b41e9cd3a053009f4e789 upstream. syzbot is reporting deadlocks at __blkdev_get() [1]. [ 92.493919] systemd-ude

[PATCH 4.16 55/68] apparmor: fix display of .ns_name for containers

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit 040d9e2bce0a5b321c402b79ee43a8e8d2fd3b06 upstream. The .ns_name should not be virtualized by the current ns view. It needs to report the ns base name as that is being used

[PATCH 4.16 53/68] Revert "scsi: core: return BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()"

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit cbe095e2b584623b882ebaf6c18e0b9077baa3f7 upstream. The description of commit e39a97353e53 is wrong: it mentions that commit 2a842acab109 introduced a bug in __scsi_error

[PATCH 4.16 46/68] ovl: set i_ino to the value of st_ino for NFS export

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 695b46e76b62447e506cddc87e088236498008e5 upstream. Eddie Horng reported that readdir of an overlayfs directory that was exported via NFSv3 returns entries with d_type set

[PATCH 4.16 42/68] blk-mq: make sure that correct hctx->next_cpu is set

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit a1c735fb790745f94a359df45c11df4a69760389 upstream. >From commit 20e4d81393196 (blk-mq: simplify queue mapping & schedule with each possisble CPU), one hctx can be mapped from a

Re: [PATCH] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-17 Thread Dominik Brodowski
On Tue, Apr 17, 2018 at 12:39:27PM -0400, Steven Rostedt wrote: > > > names, they do not match the default compare algorithm. As this was a > > > problem for power pc, the algorithm can be overwritten by the > > > architecture. > > > The solution is to have x86 have its own algorithm to do the com

[PATCH 4.16 40/68] blk-mq: Directly schedule q->timeout_work when aborting a request

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit bc6d65e6dc89c3b7ff78e4ad797117c122ffde8e upstream. Request abortion is performed by overriding deadline to now and scheduling timeout handling immediately. For the latter par

[PATCH 4.16 38/68] lib: fix stall in __bitmap_parselist()

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Yury Norov commit 8351760ff5b2042039554b4948ddabaac644a976 upstream. syzbot is catching stalls at __bitmap_parselist() (https://syzkaller.appspot.com/bug?id=ad7e0351fbc90535558514a71cd3edc1168

[PATCH 4.16 51/68] scsi: scsi_dh: Dont look for NULL devices handlers by name

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Thumshirn commit 2ee5671e3ae35e53bb5a53a89ac8f033e4b1721f upstream. Currently scsi_dh_lookup() doesn't check for NULL as a device name. This combined with nvme over dm-mpath results i

[PATCH 4.16 36/68] block: Change a rcu_read_{lock,unlock}_sched() pair into rcu_read_{lock,unlock}()

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 818e0fa293ca836eba515615c64680ea916fd7cd upstream. scsi_device_quiesce() uses synchronize_rcu() to guarantee that the effect of blk_set_preempt_only() will be visible fo

[PATCH 4.16 00/68] 4.16.3-stable review

2018-04-17 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.16.3 release. There are 68 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 Apr 19 15:57:33 UTC 2018. Anything receive

[PATCH 4.16 47/68] ovl: set lower layer st_dev only if setting lower st_ino

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 9f99e50d460ac7fd5f6c9b97aad0088c28c8656d upstream. For broken hardlinks, we do not return lower st_ino, so we should also not return lower pseudo st_dev. Fixes: a0c5ad30

Re: [PATCH] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-17 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 17, 2018 at 12:57:23PM -0400, Steven Rostedt escreveu: > On Tue, 17 Apr 2018 12:40:19 -0400 > Steven Rostedt wrote: > > > On Tue, 17 Apr 2018 13:35:27 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > > > [root@jouet ~]# perf test openat > > > 2: Detect openat syscall event

[PATCH 4.16 44/68] ovl: Set d->last properly during lookup

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Vivek Goyal commit 452061fd4521b2bf3225fc391dbe536e5f9c05e2 upstream. d->last signifies that this is the last layer we are looking into and there is no more. And that means this allows for som

Re: [PATCH 2/2] rtmutex: Reduce top-waiter blocking on a lock

2018-04-17 Thread Davidlohr Bueso
On Wed, 11 Apr 2018, kbuild test robot wrote: Hi Davidlohr, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16 next-20180411] [if your patch is applied to the wrong git tree, please drop us a note to help improve the sy

[PATCH 4.16 25/68] perf intel-pt: Fix timestamp following overflow

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 91d29b288aed3406caf7c454bf2b898c96cfd177 upstream. timestamp_insn_cnt is used to estimate the timestamp based on the number of instructions since the last known timestamp.

Re: [PATCH v3 1/3] nvmem: Update the OF binding to use a subnode for the cells list

2018-04-17 Thread Alban
On Tue, 17 Apr 2018 16:44:01 +0100 Srinivas Kandagatla wrote: > Thanks for explaining, > > On 17/04/18 15:54, Alban wrote: > > This will not only allow reading the calibration data from nvmem, but > > will also create a partition on the MTD device, which is not acceptable. > > With my proposed b

[PATCH v2] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-17 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Arnaldo noticed that the latest kernel is missing the syscall event system directory in x86. I bisected it down to d5a00528b58c ("syscalls/core, syscalls/x86: Rename struct pt_regs-based sys_*() to __x64_sys_*()"). The system call trace events are special, as ther

[PATCH 4.16 37/68] nvme: Skip checking heads without namespaces

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Keith Busch commit 2079699c10c8c60a9572540c2f77d045abf036eb upstream. If a task is holding a reference to a namespace on a removed controller, the head will not be released. If the same contro

[PATCH 4.16 49/68] hugetlbfs: fix bug in pgoff overflow checking

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Mike Kravetz commit 5df63c2a149ae65a9ec239e7c2af44efa6f79beb upstream. This is a fix for a regression in 32 bit kernels caused by an invalid check for pgoff overflow in hugetlbfs mmap setup.

[PATCH 4.16 07/68] ip_gre: clear feature flags when incompatible o_flags are set

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 1cc5954f44150bb70cac07c3cc5df7cf0dfb61ec ] Commit dd9d598c6657 ("ip_gre: add the support for i/o_flags update via netlink") added the ability to change o_fla

[PATCH 4.16 06/68] l2tp: fix race in duplicate tunnel detection

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit f6cd651b056ffd3b4e8496afd44d4ed44bf69136 ] We can't use l2tp_tunnel_find() to prevent l2tp_nl_cmd_tunnel_create() from creating a duplicate tunnel. A tunnel

[PATCH 4.16 04/68] vhost: fix vhost_vq_access_ok() log check

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Hajnoczi [ Upstream commit d14d2b78090c7de0557362b26a4ca591aa6a9faa ] Commit d65026c6c62e7d9616c8ceb5a53b68bcdc050525 ("vhost: validate log when IOTLB is enabled") introduced a regress

[PATCH 4.16 23/68] perf intel-pt: Fix sync_switch

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 63d8e38f6ae6c36dd5b5ba0e8c112e8861532ea2 upstream. sync_switch is a facility to synchronize decoding more closely with the point in the kernel when the context actually sw

[PATCH v2 1/2] powerpc: avoid an unnecessary test and branch in longjmp()

2018-04-17 Thread Christophe Leroy
Doing the test at exit of the function avoids an unnecessary test and branch inside longjmp() Signed-off-by: Christophe Leroy --- v2: Swapped both patches in the serie to reduce number of impacted lines arch/powerpc/kernel/misc.S | 9 - 1 file changed, 4 insertions(+), 5 deletions(-)

Re: [PATCH] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-17 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 17, 2018 at 12:57:23PM -0400, Steven Rostedt escreveu: > On Tue, 17 Apr 2018 12:40:19 -0400 > Steven Rostedt wrote: > > > On Tue, 17 Apr 2018 13:35:27 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > > > [root@jouet ~]# perf test openat > > > 2: Detect openat syscall event

[PATCH v2 2/2] powerpc/32be: use stmw/lmw for registers save/restore in asm

2018-04-17 Thread Christophe Leroy
arch/powerpc/Makefile activates -mmultiple on BE PPC32 configs in order to use multiple word instructions in functions entry/exit The patch does the same for the asm parts, for consistency On processors like the 8xx on which insn fetching is pretty slow, this speeds up registers save/restore Sig

[PATCH 4.16 08/68] vhost: Fix vhost_copy_to_user()

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Eric Auger [ Upstream commit 7ced6c98c7ab7a1f6743931e28671b833af79b1e ] vhost_copy_to_user is used to copy vring used elements to userspace. We should use VHOST_ADDR_USED instead of VHOST_ADD

Re: [PATCH v1 3/4] drm/tegra: plane: Add custom colorkey properties for older Tegra's

2018-04-17 Thread Dmitry Osipenko
On 17.04.2018 12:00, Daniel Vetter wrote: > On Mon, Apr 16, 2018 at 03:16:27PM +0300, Dmitry Osipenko wrote: >> Colorkey'ing allows to draw on top of overlapping planes, like for example >> on top of a video plane. Older Tegra's have a limited colorkey'ing >> capability such that blending features

[PATCH 4.16 21/68] KVM: PPC: Book3S HV: trace_tlbie must not be called in realmode

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit 19ce7909ed11c49f7eddf59e7f49cd3062bf83d5 upstream. This crashes with a "Bad real address for load" attempting to load from the vmalloc region in realmode (faulting addre

[PATCH 4.16 02/68] rds: MP-RDS may use an invalid c_path

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ka-Cheong Poon [ Upstream commit a43cced9a348901f9015f4730b70b69e7c41a9c9 ] rds_sendmsg() calls rds_send_mprds_hash() to find a c_path to use to send a message. Suppose the RDS connection is

[PATCH 4.16 19/68] PCI: hv: Serialize the present and eject work items

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit 021ad274d7dc31611d4f47f7dd4ac7a224526f30 upstream. When we hot-remove the device, we first receive a PCI_EJECT message and then receive a PCI_BUS_RELATIONS message with bus_r

[PATCH RESEND] PCI/AER: Use a common function to print AER error bits

2018-04-17 Thread Alexandru Gagniuc
On errors reported from CPER, cper_print_bits() was used to log the AER bits. This resulted in hard-to-understand messages, without a prefix. Instead use __aer_print_error() for both native AER and CPER to provide a more consistent log format. Signed-off-by: Alexandru Gagniuc --- drivers/pci/pci

Re: [PATCH] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-17 Thread Steven Rostedt
On Tue, 17 Apr 2018 14:08:22 -0300 Arnaldo Carvalho de Melo wrote: > > I get all the syscalls back. I'll make another patch. > > Argh, rebuilding the world, since lots of places include ftrace.h... "make localmodconfig" is your friend. -- Steve

[PATCH 4.16 35/68] f2fs: fix heap mode to reset it back

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Yunlong Song commit b94929d975c8423defc9aededb0f499ff936b509 upstream. Commit 7a20b8a61eff81bdb7097a578752a74860e9d142 ("f2fs: allocate node and hot data in the beginning of partition") introd

[PATCH 4.16 26/68] perf/core: Fix use-after-free in uprobe_perf_close()

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Prashant Bhole commit 621b6d2ea297d0fb6030452c5bcd221f12165fcf upstream. A use-after-free bug was caught by KASAN while running usdt related code (BCC project. bcc/tests/python/test_usdt2.py):

Applied "ASoC: amd: fixed checkpatch pl warnings" to the asoc tree

2018-04-17 Thread Mark Brown
The patch ASoC: amd: fixed checkpatch pl warnings has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Re: [PATCH] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-17 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 17, 2018 at 01:10:16PM -0400, Steven Rostedt escreveu: > On Tue, 17 Apr 2018 14:08:22 -0300 > Arnaldo Carvalho de Melo wrote: > > > > I get all the syscalls back. I'll make another patch. > > > > Argh, rebuilding the world, since lots of places include ftrace.h... > > "make localm

Re: [PATCH] powerpc: Allow selection of CONFIG_LD_DEAD_CODE_DATA_ELIMINATION

2018-04-17 Thread Mathieu Malaterre
On Tue, Apr 17, 2018 at 6:49 PM, Christophe LEROY wrote: > > > Le 17/04/2018 à 18:45, Mathieu Malaterre a écrit : >> >> On Tue, Apr 17, 2018 at 12:49 PM, Christophe Leroy >> wrote: >>> >>> This option does dead code and data elimination with the linker by >>> compiling with -ffunction-sections -f

Re: Issue with Enable LTR while pcie_aspm off

2018-04-17 Thread Bjorn Helgaas
On Tue, Apr 17, 2018 at 02:33:52PM +0530, Srinath Mannam wrote: > Hi Bjorn, > > Thank you for more insight you have given about the problem. > > For us the issue comes before we disable apst feature. > on APST quirk set, NVMe driver disable apst by send a command to NVMe > controller. > We see is

[PATCH 4.16 17/68] iwlwifi: add a bunch of new 9000 PCI IDs

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Luca Coelho commit 9e5053ad9d590e095829a8bb07adbbdbd893f0f9 upstream. A lot of new PCI IDs were added for the 9000 series. Add them to the list of supported PCI IDs. Cc: sta...@vger.kernel.o

[PATCH 4.16 18/68] Drivers: hv: vmbus: do not mark HV_PCIE as perf_device

2018-04-17 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit 238064f13d057390a8c5e1a6a80f4f0a0ec46499 upstream. The pci-hyperv driver's channel callback hv_pci_onchannelcallback() is not really a hot path, so we don't need to mark it a

Applied "ASoC: amd: fixed checkpatch pl warnings" to the asoc tree

2018-04-17 Thread Mark Brown
The patch ASoC: amd: fixed checkpatch pl warnings has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

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