[PATCH 4.17 312/324] xfrm_user: prevent leaking 2 bytes of kernel memory

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 45c180bc29babbedd6b8c01b975780ef44d9d09c upstream. struct xfrm_userpolicy_type has two holes, so we should not use C99 style initializer. KMSAN report: BUG: KMSAN: kernel

[PATCH 4.17 307/324] ext4: fix spectre gadget in ext4_mb_regular_allocator()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Cline commit 1a5d5e5d51e75a5bca67dadbcea8c841934b7b85 upstream. 'ac->ac_g_ex.fe_len' is a user-controlled value which is used in the derivation of 'ac->ac_2order'. 'ac->ac_2order', in t

[PATCH 4.17 297/324] nvme: fix handling of metadata_len for NVME_IOCTL_IO_CMD

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Roland Dreier [ Upstream commit 9b382768135ee3ff282f828c906574a8478e036b ] The old code in nvme_user_cmd() passed the userspace virtual address from nvme_passthru_cmd.metadata as the length of

[PATCH 4.17 027/324] selftests: static_keys: return Kselftest Skip code for skipped tests

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: "Shuah Khan (Samsung OSG)" [ Upstream commit 8781578087b8fb8829558bac96c3c24e5ba26f82 ] When static_keys test is skipped because of unmet dependencies and/or unsupported configuration, it exit

[PATCH 4.17 298/324] mm: use helper functions for allocating and freeing vm_area structs

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds [ Upstream commit 3928d4f5ee37cdc523894f6e549e6aae521d8980 ] The vm_area_struct is one of the most fundamental memory management objects, but the management of it is entirely op

Re: [PATCH v2 5/5] KVM: s390: vsie: Do the CRYCB validation first

2018-08-23 Thread David Hildenbrand
On 23.08.2018 10:34, Janosch Frank wrote: > On 23.08.2018 10:01, Pierre Morel wrote: >> On 23/08/2018 09:31, David Hildenbrand wrote: >>> On 23.08.2018 09:17, Pierre Morel wrote: On 22/08/2018 19:15, David Hildenbrand wrote: > On 22.08.2018 18:51, Pierre Morel wrote: >> When entering t

[PATCH] fs: fix local var type

2018-08-23 Thread Weikang Shi
In the seq_hex_dump function,the remaining variable is int, but it receive a type of size_t argument. So I change the type of remaining Signed-off-by: Weikang Shi --- fs/seq_file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/seq_file.c b/fs/seq_file.c index 1dea7a8.

Re: linux-next: build failure after merge of the kbuild tree

2018-08-23 Thread Masahiro Yamada
Hi Stephen, 2018-08-23 7:35 GMT+09:00 Stephen Rothwell : > Hi Masahiro, > > After merging the kbuild tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > ld: failed to merge target specific data of file drivers/input/mouse/alps.o > ld: drivers/input/mouse/byd.o: compile

[PATCH 4.17 293/324] soc: imx: gpc: restrict register range for regmap access

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Anson Huang [ Upstream commit de2d9b5284bcb5c159c5882ac69f6bfd4dec7c67 ] GPC registers are NOT continuous, some registers are reserved and accessing them from userspace will trigger external a

[PATCH 4.17 258/324] rtc: fix alarm read and set offset

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni [ Upstream commit fd6792bb022e43faa0c4a45b6f25285e21206f9d ] The offset needs to be added after reading the alarm value. It also needs to be subtracted after the now < alarm

[PATCH 4.17 283/324] PCI: designware: Fix I/O space page leak

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov [ Upstream commit fd07f5e19c6fcdfa318944764248cf44eb06e532 ] When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY driver is left disabled, the kernel crashed

[PATCH 4.17 259/324] qlogic: check kstrtoul() for errors

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 5fc853cc01c68f84984ecc2d5fd777ecad78240f ] We accidentally left out the error handling for kstrtoul(). Fixes: a520030e326a ("qlcnic: Implement flash sysfs call

[PATCH 4.17 260/324] tcp: remove DELAYED ACK events in DCTCP

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yuchung Cheng [ Upstream commit a69258f7aa2623e0930212f09c586fd06674ad79 ] After fixing the way DCTCP tracking delayed ACKs, the delayed-ACK related callbacks are no longer needed Signed-off-

[PATCH 4.17 251/324] ixgbe: Off by one in ixgbe_ipsec_tx()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit c411104115e6821f26fc8f6de8b235ddf98de688 ] The ipsec->tx_tbl[] has IXGBE_IPSEC_MAX_SA_COUNT elements so the > needs to be changed to >= so we don't read one ele

[PATCH 4.17 274/324] btrfs: scrub: Dont use inode page cache in scrub_handle_errored_block()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Qu Wenruo [ Upstream commit 665d4953cde6d9e75c62a07ec8f4f8fd7d396ade ] In commit ac0b4145d662 ("btrfs: scrub: Don't use inode pages for device replace") we removed the branch of copy_nocow_pag

[PATCH 4.17 275/324] nvme: ensure forward progress during Admin passthru

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Scott Bauer [ Upstream commit cf39a6bc342b980f10f344d88035829638a89a48 ] If the controller supports effects and goes down during the passthru admin command we will deadlock during namespace re

[PATCH 4.17 256/324] sfc: hold filter_sem consistently during reset

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bert Kenward [ Upstream commit 193f20033c54db0dc9563f722fbafbcd5fa0e80d ] We should take and release the filter_sem consistently during the reset process, in the same manner as the mac_lock an

[PATCH 4.17 281/324] PCI: xgene: Fix I/O space page leak

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov [ Upstream commit 925652d03589084850023d8924b376b7ee3c1b1b ] When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY driver was left disabled, the kernel crashe

[PATCH 4.17 255/324] sfc: avoid hang from nested use of the filter_sem

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bert Kenward [ Upstream commit 1c56c0994a533ce564843a0d17af7a3e6e68f269 ] In some situations we may end up calling down_read while already holding the semaphore for write, thus hanging. This h

[PATCH 4.17 276/324] octeon_mgmt: Fix MIX registers configuration on MTU setup

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Sverdlin [ Upstream commit 4aac0b43474d18f6160302a3caa147d77fa3baa1 ] octeon_mgmt driver doesn't drop RX frames that are 1-4 bytes bigger than MTU set for the corresponding interface

[PATCH 4.17 277/324] net: usb: rtl8150: demote allmulti message to dev_dbg()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: David Lechner [ Upstream commit 3a9b0455062ffb9d2f6cd4473a76e3456f318c9f ] This driver can spam the kernel log with multiple messages of: net eth0: eth0: allmulti set Usually 4 or 8 at a

[PATCH 4.17 257/324] packet: reset network header if packet shorter than ll reserved space

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 993675a3100b16a4c80dfd70cbcde8ea7127b31d ] If variable length link layer headers result in a packet shorter than dev->hard_header_len, reset the network head

[PATCH 4.17 271/324] net/ethernet/freescale/fman: fix cross-build error

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap [ Upstream commit c133459765fae249ba482f62e12f987aec4376f0 ] CC [M] drivers/net/ethernet/freescale/fman/fman.o In file included from ../drivers/net/ethernet/freescale/fman/fman

[PATCH 4.17 272/324] ibmvnic: Fix error recovery on login failure

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: John Allen [ Upstream commit 3578a7ecb69920efc3885dbd610e98c00dbdf5db ] Testing has uncovered a failure case that is not handled properly. In the event that a login fails and we are not able t

[PATCH 4.17 279/324] net/smc: reset recv timeout after clc handshake

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Karsten Graul [ Upstream commit f6bdc42f021194ec095914b92c7a8b1a09789e6d ] During clc handshake the receive timeout is set to CLC_WAIT_TIME. Remember and reset the original timeout value after

[PATCH 4.17 280/324] PCI: OF: Fix I/O space page leak

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov [ Upstream commit a5fb9fb023a1435f2b42bccd7f547560f3a21dc3 ] When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY driver was left disabled, the kernel crashe

[PATCH 4.17 278/324] kvmclock: fix TSC calibration for nested guests

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Peng Hao [ Upstream commit e10f7805032365cc11c739a97f226ebb48aee042 ] Inside a nested guest, access to hardware can be slow enough that tsc_read_refs always return ULLONG_MAX, causing tsc_refi

[PATCH 4.17 253/324] tools: build: Use HOSTLDFLAGS with fixdep

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott [ Upstream commit 8b247a92ebd0cda7dec49a6f771d9c4950f3d3ad ] The final link of fixdep uses LDFLAGS but not the existing HOSTLDFLAGS. Fix this. Signed-off-by: Laura Abbott Acked-

[PATCH 4.17 269/324] ibmvnic: Revise RX/TX queue error messages

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Falcon [ Upstream commit 2d14d3795294d42aacc278948984a480569bcc23 ] During a device failover, there may be latency between the loss of the current backing device and a notification from

[PATCH 4.17 273/324] ARM: dts: omap4-droid4: fix dts w.r.t. pwm

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Machek [ Upstream commit d3f6daede246038cf2ea38b78d732f9dd8feb1d6 ] pwm node should not be under gpio6 node in the device tree. This fixes detection of the pwm on Droid 4. Fixes: 6d7bd

[PATCH 4.17 270/324] hv/netvsc: fix handling of fallback to single queue mode

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Hemminger [ Upstream commit 916c5e1413be058d1c1f6e502db350df890730ce ] The netvsc device may need to fallback to running in single queue mode if host side only wants to support single

[PATCH 4.17 267/324] drm/nouveau/gem: off by one bugs in nouveau_gem_pushbuf_reloc_apply()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 7f073d011f93e92d4d225526b9ab6b8b0bbd6613 ] The bo array has req->nr_buffers elements so the > should be >= so we don't read beyond the end of the array. Fixes:

[PATCH 4.17 268/324] of: overlay: update phandle cache on overlay apply and remove

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Frank Rowand [ Upstream commit b9952b5218added5577e4a3443969bc20884cea9 ] A comment in the review of the patch adding the phandle cache said that the cache would have to be updated when module

[PATCH 4.17 266/324] sched/deadline: Fix switched_from_dl() warning

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Juri Lelli [ Upstream commit e117cb52bdb4d376b711bee34af6434c9e314b3b ] Mark noticed that syzkaller is able to reliably trigger the following warning: dl_rq->running_bw > dl_rq->this_bw W

[PATCH 4.17 265/324] kvm: nVMX: Restore exit qual for VM-entry failure due to MSR loading

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jim Mattson [ Upstream commit 0b88abdc3f964c28ec03bc69eb17cb6b3b034564 ] This exit qualification was inadvertently dropped when the two VM-entry failure blocks were coalesced. Fixes: e79f245d

[PATCH 4.17 264/324] net/9p/client.c: put refcount of trans_mod in error case in parse_opts()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: piaojun [ Upstream commit c290fba8c4ce6530cd941ea14db5a4ac2f77183f ] In my testing, the second mount will fail after umounting successfully. The reason is that we put refcount of trans_mod in

[PATCH 4.17 229/324] bnxt_en: Fix inconsistent BNXT_FLAG_AGG_RINGS logic.

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Chan [ Upstream commit 07f4fde53d12eb8d921b465bb298e964e0bdc38c ] If there aren't enough RX rings available, the driver will attempt to use a single RX ring without the aggregation rin

[PATCH 4.17 263/324] pinctrl: nsp: Fix potential NULL dereference

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun [ Upstream commit c29e9da56bebb4c2c794e871b0dc0298bbf08142 ] platform_get_resource() may fail and return NULL, so we should better check it's return value to avoid a NULL pointer d

[PATCH 4.17 262/324] pinctrl: nsp: off by ones in nsp_pinmux_enable()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit f90a21c898db58eaea14b8ad7e9af3b9e15e5f8a ] The > comparisons should be >= or else we read beyond the end of the pinctrl->functions[] array. Fixes: cc4fa83f66e9

[PATCH 4.17 261/324] pinctrl: ingenic: Fix inverted direction for < JZ4770

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Paul Cercueil [ Upstream commit 0084a786ca8c84b443f67c4a697b4f2552761650 ] The .gpio_set_direction() callback was setting inverted direction for SoCs older than the JZ4770, this restores the c

[PATCH 4.17 252/324] tools: build: Fixup host c flags

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott [ Upstream commit 6fdbd824fd7a3876aac43d32fdf1f30b9ef72ce4 ] Commit 0c3b7e42616f ("tools build: Add support for host programs format") introduced host_c_flags which referenced CHO

[PATCH 4.17 220/324] net: ieee802154: adf7242: Fix erroneous RX enable

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Hennerich [ Upstream commit 36d26d6b6208399070a9d7993534fef9fc26b1ba ] Only enable RX mode if the netdev is opened. Signed-off-by: Michael Hennerich Signed-off-by: Alexandru Ardelean

[PATCH 4.17 227/324] ARC: Improve cmpxchg syscall implementation

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra [ Upstream commit e8708786d4fe21c043d38d760f768949a3d71185 ] This is used in configs lacking hardware atomics to emulate atomic r-m-w for user space, implemented by disabling pr

[PATCH 4.17 225/324] netfilter: nf_conntrack: Fix possible possible crash on module loading.

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin [ Upstream commit 2045cdfa1b40d66f126f3fd05604fc7c754f0022 ] Loading the nf_conntrack module with doubled hashsize parameter, i.e. modprobe nf_conntrack hashsize=1234

[PATCH 4.17 226/324] ARC: [plat-hsdk]: Configure APB GPIO controller on ARC HSDK platform

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo Pimentel [ Upstream commit ec58ba16e174d7ca24c8955a21cd0a53e0c32fdf ] In case of HSDK we have intermediate INTC in for of DW APB GPIO controller which is used as a de-bounce logic for

[PATCH 4.17 246/324] sfp: fix module initialisation with netdev already up

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Russell King [ Upstream commit 576cd32082351620a4e76b8babc4d5ae9b4bbb98 ] It was been observed that with a particular order of initialisation, the netdev can be up, but the SFP module still ha

[PATCH 4.17 245/324] sfp: ensure we clean up properly on bus registration failure

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Russell King [ Upstream commit f20a4c46b984331a509528fa2b84125c617ef98b ] We fail to correctly clean up after a bus registration failure, which can lead to an incorrect assumption about the re

[PATCH 4.17 247/324] ARM: DRA7/OMAP5: Enable ACTLR[0] (Enable invalidates of BTB) for secondary cores

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Nishanth Menon [ Upstream commit 2f8b5b21830aea95989a6e67d8a971297272a086 ] Call secure services to enable ACTLR[0] (Enable invalidates of BTB with ICIALLU) when branch hardening is enabled fo

[PATCH 4.17 243/324] RDMA/mlx5: Fix memory leak in mlx5_ib_create_srq() error path

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kamal Heib [ Upstream commit d63c46734c545ad0488761059004a65c46efdde3 ] Fix memory leak in the error path of mlx5_ib_create_srq() by making sure to free the allocated srq. Fixes: c2b37f76485f

[PATCH 4.17 241/324] perf tools: Use python-config --includes rather than --cflags

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Cline [ Upstream commit 32aa928a7b817140c84987b726d5014911808fa4 ] Builds started failing in Fedora on Python 3.7 with: `.gnu.debuglto_.debug_macro' referenced in section `.gnu

[PATCH 4.17 248/324] ARM: dts: am3517.dtsi: Disable reference to OMAP3 OTG controller

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Adam Ford [ Upstream commit 923847413f7316b5ced3491769b3fefa6c56a79a ] The AM3517 has a different OTG controller location than the OMAP3, which is included from omap3.dtsi. This results in a

[PATCH 4.17 242/324] nfit: fix unchecked dereference in acpi_nfit_ctl

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dave Jiang [ Upstream commit ee6581ceba7f8314b81b2f2a81f1cf3f67c679e2 ] Incremental patch to fix the unchecked dereference in acpi_nfit_ctl. Reported by Dan Carpenter: "acpi/nfit: fix cmd_rc

[PATCH 4.17 244/324] ARM: 8780/1: ftrace: Only set kernel memory back to read-only after boot

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (VMware)" [ Upstream commit b4c7e2bd2eb4764afe3af9409ff3b1b87116fa30 ] Dynamic ftrace requires modifying the code segments that are usually set to read-only. To do this, a per

[PATCH 4.17 223/324] drm/armada: fix irq handling

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Russell King [ Upstream commit 92298c1cd8e8a6b56322b602ad72b54e6237631d ] Add the missing locks to the IRQ enable/disable paths, and fix a comment in the interrupt handler: reading the ISR cle

[PATCH 4.17 249/324] ixgbe: Be more careful when modifying MAC filters

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit d14c780c11fbc10f66c43e7b64eefe87ca442bd3 ] This change makes it so that we are much more explicit about the ordering of updates to the receive address registe

[PATCH 4.17 250/324] amd/dc/dce100: On dce100, set clocks to 0 on suspend

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: David Francis [ Upstream commit 8d4235f71513cdccd9dc52b674323c3591552bc1 ] [Why] When a dce100 asic was suspended, the clocks were not set to 0. Upon resume, the new clock was compared to the

[PATCH 4.17 224/324] netfilter: nft_compat: explicitly reject ERROR and standard target

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit 21d5e078192d244df3d6049f9464fff2f72cfd68 ] iptables-nft never requests these, but make this explicitly illegal. If it were quested, kernel could oops as ->ev

[PATCH 4.17 240/324] perf script python: Fix dict reference counting

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Janne Huttunen [ Upstream commit db0ba84c04ef2cf293aaada5ae97531127844d9d ] The dictionaries are attached to the parameter tuple that steals the references and takes care of releasing them whe

[PATCH 4.17 222/324] drm/armada: fix colorkey mode property

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Russell King [ Upstream commit d378859a667edc99e3473704847698cae97ca2b1 ] The colorkey mode property was not correctly disabling the colorkeying when "disabled" mode was selected. Arrange for

[PATCH 4.17 237/324] perf llvm-utils: Remove bashism from kernel include fetch script

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kim Phillips [ Upstream commit f6432b9f65001651412dbc3589d251534822d4ab ] Like system(), popen() calls /bin/sh, which may/may not be bash. Script when run on dash and encounters the line, yie

[PATCH 4.17 238/324] perf test shell: Prevent temporary editor files from being considered test scripts

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kim Phillips [ Upstream commit db8fec583f250557ddd6def1505a6c466c9747aa ] Allows a perf shell test developer to concurrently edit and run their test scripts, avoiding perf test attempts to exe

[PATCH 4.17 235/324] scsi: qedf: Send the driver state to MFW

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Saurav Kashyap [ Upstream commit 6ac174756dfc9884f08b23af840ca911155f5578 ] Need to notify firmware when driver is loaded and unloaded. Signed-off-by: Saurav Kashyap Signed-off-by: Chad Dupu

[PATCH 4.17 236/324] scsi: qedi: Send driver state to MFW

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Manish Rangankar [ Upstream commit a3440d0d2f57f7ba102fc332086961cf261180af ] In case of iSCSI offload BFS environment, MFW requires to mark virtual link based upon qedi load status. Signed-o

[PATCH 4.17 232/324] bnxt_en: Fix for system hang if request_irq fails

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Vikas Gupta [ Upstream commit c58387ab1614f6d7fb9e244f214b61e7631421fc ] Fix bug in the error code path when bnxt_request_irq() returns failure. bnxt_disable_napi() should not be called in thi

[PATCH 4.17 196/324] net: qrtr: Reset the node and port ID of broadcast messages

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Arun Kumar Neelakantam [ Upstream commit d27e77a3de2866b0a772803fd03cd667b5ff8a9a ] All the control messages broadcast to remote routers are using QRTR_NODE_BCAST instead of using local router

[PATCH 4.17 233/324] samples/bpf: Fix tc and ip paths in xdp2skb_meta.sh

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Taeung Song [ Upstream commit b9626f45abccd044f8048269c67720f0719f2d4e ] The below path error can occur: # ./xdp2skb_meta.sh --dev eth0 --list ./xdp2skb_meta.sh: line 61: /usr/sbin/tc: No

[PATCH 4.17 234/324] scsi: hpsa: correct enclosure sas address

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Don Brace [ Upstream commit 01d0e789a14aa735ddcfddd468ef06d4f917e06d ] The original complaint was the lsscsi -t showed the same SAS address of the two enclosures (SEP devices). In fact the SAS

[PATCH 4.17 231/324] bnxt_en: Do not modify max IRQ count after RDMA driver requests/frees IRQs.

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Chan [ Upstream commit 30f529473ec962102e8bcd33a6a04f1e1b490ae2 ] Calling bnxt_set_max_func_irqs() to modify the max IRQ count requested or freed by the RDMA driver is flawed. The max

[PATCH 4.17 194/324] ipv6: make ipv6_renew_options() interrupt/kernel safe

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore [ Upstream commit a9ba23d48dbc6ffd08426bb10f05720e0b9f5c14 ] At present the ipv6_renew_options_kern() function ends up calling into access_ok() which is problematic if done from ins

[PATCH 4.17 195/324] net: qrtr: Broadcast messages only from control port

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Arun Kumar Neelakantam [ Upstream commit fdf5fd3975666804118e62c69de25dc85cc0909c ] The broadcast node id should only be sent with the control port id. Signed-off-by: Arun Kumar Neelakantam

[PATCH 4.17 221/324] net: ieee802154: adf7242: Fix OCL calibration runs

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Hennerich [ Upstream commit 58e9683d14752debc6f22daf6b23e031787df31f ] Reissuing RC_RX every 400ms - to adjust for offset drift in receiver see datasheet page 61, OCL section. Signed-

[PATCH 4.17 230/324] bnxt_en: Always set output parameters in bnxt_get_max_rings().

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Chan [ Upstream commit 78f058a4aa0f2280dc4d45d2c4a95728398ef857 ] The current code returns -ENOMEM and does not bother to set the output parameters to 0 when no rings are available. S

[PATCH 4.17 197/324] sh_eth: fix invalid context bug while calling auto-negotiation by ethtool

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy [ Upstream commit 53a710b5044d8475faa6813000b6dd659400ef7b ] Since commit 35b5f6b1a82b ("PHYLIB: Locking fixes for PHY I/O potentially sleeping") phy_start_aneg() function u

[PATCH 4.17 218/324] gpu: host1x: Check whether size of unpin isnt 0

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Osipenko [ Upstream commit ec58923215dbbeef59ee82923ee94d745f73db58 ] Only gather pins are mapped by the Host1x driver, regular BO relocations are not. Check whether size of unpin isn't

[PATCH 4.17 192/324] netfilter: x_tables: set module owner for icmp(6) matches

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit d376bef9c29b3c65aeee4e785fffcd97ef0a9a81 ] nft_compat relies on xt_request_find_match to increment refcount of the module that provides the match/target. Th

[PATCH 4.17 219/324] drm/tegra: Fix comparison operator for buffer size

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mikko Perttunen [ Upstream commit 5265f0338bc0feec6c0d544dfe005dec1a93cb93 ] Here we are checking for the buffer length, not an offset for writing to, so using > is correct. The current code i

[PATCH 4.17 193/324] qed: off by one in qed_parse_mcp_trace_buf()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 0df8adbb88db8283f102a2afa91610a502245cb2 ] If format_idx == s_mcp_trace_meta.formats_num then we read one element beyond the end of the s_mcp_trace_meta.formats

[PATCH 4.17 191/324] ieee802154: 6lowpan: set IFLA_LINK

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lubomir Rintel [ Upstream commit b30c122c0bbb0a1dc413085e177ea09467e65fdb ] Otherwise NetworkManager (and iproute alike) is not able to identify the parent IEEE 802.15.4 interface of a 6LoWPAN

[PATCH 4.17 217/324] gpu: host1x: Skip IOMMU initialization if firewall is enabled

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Osipenko [ Upstream commit 4466b1f0e022f94a026bd700fee34bff15cdc4ef ] Host1x's CDMA can't access the command buffers if IOMMU and Host1x firewall are enabled in the kernels config becau

[PATCH 4.17 216/324] ieee802154: fakelb: switch from BUG_ON() to WARN_ON() on problem

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Schmidt [ Upstream commit 8f2fbc6c60ff213369e06a73610fc882a42fdf20 ] The check is valid but it does not warrant to crash the kernel. A WARN_ON() is good enough here. Found by checkpatch

[PATCH 4.17 214/324] ieee802154: at86rf230: switch from BUG_ON() to WARN_ON() on problem

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Schmidt [ Upstream commit 20f330452ad8814f2289a589baf65e21270879a7 ] The check is valid but it does not warrant to crash the kernel. A WARN_ON() is good enough here. Found by checkpatch

[PATCH 4.17 215/324] ieee802154: at86rf230: use __func__ macro for debug messages

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Schmidt [ Upstream commit 8a81388ec27c4c0adbdecd20e67bb5f411ab46b2 ] Instead of having the function name hard-coded (it might change and we forgot to update them in the debug output) we

[PATCH 4.17 211/324] bpf: fix sk_skb programs without skb->dev assigned

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: John Fastabend [ Upstream commit 0c6bc6e531a6db36f49622f1f115770160f7afb0 ] Multiple BPF helpers in use by sk_skb programs calculate the max skb length using the __bpf_skb_max_len function. Ho

[PATCH 4.17 213/324] drm/sun4i: link in front-end code if needed

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit 3156b53c2e2fadafa1a16412a8791b38f94b5bdc ] When the base sun4i DRM driver is built-in but the back-end is a loadable module, we run into a link error: drivers/

[PATCH 4.17 207/324] net: macb: Free RX ring for all queues

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Harini Katakam [ Upstream commit e50b770ea5c9eff0013e8ae714d20182ed50d5e6 ] rx ring is allocated for all queues in macb_alloc_consistent. Free the same for all queues instead of just Q0. Sign

[PATCH 4.17 212/324] ipfrag: really prevent allocation on netns exit

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit f6f2a4a2eb92bc73671204198bb2f8ab53ff59fb ] Setting the low threshold to 0 has no effect on frags allocation, we need to clear high_thresh instead. The code was p

[PATCH 4.17 206/324] ARM: pxa: irq: fix handling of ICMR registers in suspend/resume

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack [ Upstream commit 0c1049dcb4ceec640d8bd797335bcbebdcab44d2 ] PXA3xx platforms have 56 interrupts that are stored in two ICMR registers. The code in pxa_irq_suspend() and pxa_irq_re

[PATCH 4.17 208/324] net/sched: act_csum: fix NULL dereference when goto chain is used

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Davide Caratti [ Upstream commit 11a245e2f7bf25fc21f47e4c9c8491841b128890 ] the control action in the common member of struct tcf_csum must be a valid value, as it can contain the chain index

[PATCH 4.17 190/324] ieee802154: mcr20a: add missing includes

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit a6032120d341badd9b034cb64411e7089d8f4285 ] Without CONFIG_GPIOLIB, some headers are not included implicitly, leading to a build failure: drivers/net/ieee802154

[PATCH 4.17 210/324] nvmem: Dont let a NULL cell_id for nvmem_cell_get() crash us

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Douglas Anderson [ Upstream commit 87ed1405ef09d29a14df43295f7b6a93b63bfe6e ] In commit ca04d9d3e1b1 ("phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips") you can see a call like: dev

[PATCH 4.17 209/324] net/sched: act_tunnel_key: fix NULL dereference when goto chain is used

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Davide Caratti [ Upstream commit 38230a3e0e0933bbcf5df6fa469ba0667f667568 ] the control action in the common member of struct tcf_tunnel_key must be a valid value, as it can contain the chain

[PATCH 4.17 205/324] cxgb4: assume flash part size to be 4MB, if it cant be determined

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Casey Leedom [ Upstream commit 843789f6dd6ae1651a77ac99c13bcaf191ebe05c ] t4_get_flash_params() fails in a fatal fashion if the FLASH part isn't one of the recognized parts. But this leads to

[PATCH 4.17 203/324] tipc: fix correct setting of message type in second discoverer

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jon Maloy [ Upstream commit 92018c7ca959ccd346d6235dac03cf7fc1ba51f7 ] The duplicate address discovery protocol is not safe against two discoverers running in parallel. The one executing first

[PATCH 4.17 204/324] tipc: make function tipc_net_finalize() thread safe

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jon Maloy [ Upstream commit 9faa89d4ed9d7d326f4763d262842270450f9b1f ] The setting of the node address is not thread safe, meaning that two discoverers may decide to set it simultanously, with

[PATCH 4.17 201/324] tipc: fix wrong return value from function tipc_node_try_addr()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jon Maloy [ Upstream commit 2a57f182420174c7fd4b19db979a2d135231a963 ] The function for checking if there is an node address conflict is supposed to return a suggestion for a new address if it

[PATCH 4.17 202/324] tipc: correct discovery message handling during address trial period

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jon Maloy [ Upstream commit e415577f57f4452150642500364cbe5fa6112813 ] With the duplicate address discovery protocol for tipc nodes addresses we introduced a one second trial period before a n

[PATCH 4.17 200/324] ravb: fix invalid context bug while changing link options by ethtool

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy [ Upstream commit 05925e52a7d379192a5fdff2c33710f573190ead ] The change fixes sleep in atomic context bug, which is encountered every time when link settings are changed by

[PATCH 4.17 199/324] ravb: fix invalid context bug while calling auto-negotiation by ethtool

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy [ Upstream commit 0973a4dd79fe56a3beecfcff675ba4c01df0b0c1 ] Since commit 35b5f6b1a82b ("PHYLIB: Locking fixes for PHY I/O potentially sleeping") phy_start_aneg() function u

[PATCH 4.17 189/324] samples/bpf: Check the error of write() and read()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Taeung Song [ Upstream commit 02a2f000a3629274bfad60bfc4de9edec49e63e7 ] test_task_rename() and test_urandom_read() can be failed during write() and read(), So check the result of them. Revie

[PATCH 4.17 164/324] ipvlan: call dev_change_flags when ipvlan mode is reset

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hangbin Liu [ Upstream commit 5dc2d3996a8b221c20dd0900bdad45031a572530 ] After we change the ipvlan mode from l3 to l2, or vice versa, we only reset IFF_NOARP flag, but don't flush the ARP tab

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