[PATCH 4.17 141/324] dev-dax: check_vma: ratelimit dev_info-s

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Moyer [ Upstream commit 5a14e91d559aee5bdb0e002e1153fd9c4338a29e ] This is easily triggered from userspace, so let's ratelimit the messages. Signed-off-by: Jeff Moyer Signed-off-by:

[PATCH 4.17 148/324] blk-mq: dont queue more if we get a busy return

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jens Axboe [ Upstream commit 1f57f8d442f8017587eeebd8617913bfc3661d3d ] Some devices have different queue limits depending on the type of IO. A classic case is SATA NCQ, where some commands

[PATCH 4.17 145/324] drm/exynos: gsc: Fix support for NV16/61, YUV420/YVU420 and YUV422 modes

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski [ Upstream commit dd209ef809080ced903e7747ee3ef640c923a1d2 ] Fix following issues related to planar YUV pixel format configuration: - NV16/61 modes were incorrectly

[PATCH 4.17 147/324] drm/exynos: decon5433: Fix WINCONx reset value

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski [ Upstream commit 7b7aa62c05eac9789c208b946f515983a9255d8d ] The only bits that should be preserved in decon_win_set_fmt() is WINCONx_ENWIN_F. All other bits depends on the

[PATCH 4.17 146/324] drm/exynos: decon5433: Fix per-plane global alpha for XRGB modes

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski [ Upstream commit ab337fc274a1957ff0771f19e826c736253f7c39 ] Set per-plane global alpha to maximum value to get proper blending of XRGB and ARGB planes. This fixes the

[PATCH 4.17 149/324] drbd: Fix drbd_request_prepare() discard handling

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche [ Upstream commit fad2d4ef636654e926d374ef038f4cd4286661f6 ] Fix the test that verifies whether bio_op(bio) represents a discard or write zeroes operation. Compile-tested

[PATCH 4.17 144/324] nl80211: check nla_parse_nested() return values

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg [ Upstream commit 95bca62fb723a121954fc7ae5473bb2c1f0d5986 ] At the very least we should check the return value if nla_parse_nested() is called with a non-NULL policy.

[PATCH 4.17 139/324] drm/amd/powerplay: correct vega12 thermal support as true

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Evan Quan [ Upstream commit 363a3d3fb7d478d7dd49b8c6294436b8ba5984cc ] Thermal support is enabled on vega12. Signed-off-by: Evan Quan Acked-by: Alex Deucher Signed-off-by: Alex Deucher

[PATCH 4.17 095/324] batman-adv: Fix bat_ogm_iv best gw refcnt after netlink dump

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit b5685d2687d6612adf5eac519eb7008f74dfd1ec ] A reference for the best gateway is taken when the list of gateways in the mesh is sent via netlink. This is

[PATCH 4.17 136/324] dmaengine: pl330: report BURST residue granularity

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski [ Upstream commit e3f329c600033f011a978a8bc4ddb1e2e94c4f4d ] The reported residue is already calculated in BURST unit granularity, so advertise this capability properly to

[PATCH 4.17 151/324] PCI: xilinx: Add missing of_node_put()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Mc Guire [ Upstream commit 8c3f9bd851a4d3acf0a0f222d4e9e41c0cd1ea8e ] The call to of_get_next_child() returns a node pointer with refcount incremented thus it must be explicitly

[PATCH 4.17 150/324] bpf, s390: fix potential memleak when later bpf_jit_prog fails

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit f605ce5eb26ac934fb8106d75d46a2c875a2bf23 ] If we would ever fail in the bpf_jit_prog() pass that writes the actual insns to the image after we got header via

[PATCH 4.17 142/324] mac80211: disable BHs/preemption in ieee80211_tx_control_port()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Denis Kenzior [ Upstream commit e7441c9274a6a5453e06f4c2b8b5f72eca0a3f17 ] On pre-emption enabled kernels the following print was being seen due to missing local_bh_disable/local_bh_enable

[PATCH 4.17 186/324] RISC-V: Fix PTRACE_SETREGSET bug.

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jim Wilson [ Upstream commit 1db9b80980d26fe95c942e0bb8bde2ca715029ad ] In riscv_gpr_set, pass regs instead of to user_regset_copyin to fix gdb segfault. Signed-off-by: Jim Wilson

[PATCH 4.17 185/324] RISC-V: Dont include irq-riscv-intc.h

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Palmer Dabbelt [ Upstream commit 8606544890d7dc4f7a740963f70dc1e1d54f8e30 ] This file has never existed in the upstream kernel, but it's guarded by an #ifdef that's also never existed in the

[PATCH 4.17 182/324] smsc75xx: Add workaround for gigabit link up hardware errata.

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yuiko Oshino [ Upstream commit d461e3da905332189aad546b2ad9adbe6071c7cc ] In certain conditions, the device may not be able to link in gigabit mode. This software workaround ensures that the

[PATCH 4.17 184/324] RISC-V: fix R_RISCV_ADD32/R_RISCV_SUB32 relocations

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Schwab [ Upstream commit 781c8fe2da3d2c7c95cd7ffddbab63b80a79da4d ] The R_RISCV_ADD32/R_RISCV_SUB32 relocations should add/subtract the address of the symbol (without overflow check),

[PATCH 4.17 183/324] drm/bridge/sii8620: Fix display of packed pixel modes

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Maciej Purski [ Upstream commit fdddc65ab35d575b42aab411b2dc687601eab680 ] Current implementation does not guarantee packed pixel modes working with every dongle. There are some dongles,

[PATCH 4.17 181/324] net: phy: marvell: change default m88e1510 LED configuration

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wang Dongsheng [ Upstream commit 02468ec141b22e1e7c0c58bc09e2f9dc8762 ] The m88e1121 LED default configuration does not apply m88e151x. So add a function to relpace m88e1121 LED

[PATCH] arm64: dts: Fix various entry-method properties to reflect documentation

2018-08-23 Thread Amit Kucheria
The idle-states binding documentation[1] mentions that the 'entry-method' property is required on 64-bit platforms and must be set to "psci". commit a13f18f59d26 ("Documentation: arm: Fix typo in the idle-states bindings examples") attempted to fix this earlier but clearly more is needed. Fix

[PATCH 4.17 178/324] bpf: hash map: decrement counter on error

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mauricio Vasquez B [ Upstream commit ed2b82c03dc187018307c7c6bf9299705f3db383 ] Decrement the number of elements in the map in case the allocation of a new node fails. Fixes: 6c9059817432

[PATCH 4.17 180/324] kasan: fix shadow_size calculation error in kasan_module_alloc

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Zhen Lei [ Upstream commit 1e8e18f694a52d703665012ca486826f64bac29d ] There is a special case that the size is "(N << KASAN_SHADOW_SCALE_SHIFT) Pages plus X", the value of X is [1,

[PATCH 4.17 160/324] openrisc: entry: Fix delay slot exception detection

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stafford Horne [ Upstream commit ae15a41a641449f536578b0d9ec0e4ade130deb5 ] Originally in patch e6d20c55a4 ("openrisc: entry: Fix delay slot detection") I fixed delay slot detection, but only

[PATCH 4.17 161/324] crypto: arm/speck - fix building in Thumb2 mode

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers [ Upstream commit a068b94d74ddb7776ca707b6d39d1ac0d2d057e6 ] Building the kernel with CONFIG_THUMB2_KERNEL=y and CONFIG_CRYPTO_SPECK_NEON set fails with the following errors:

[PATCH 4.17 168/324] sched/nohz: Skip remote tick on idle task entirely

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Frederic Weisbecker [ Upstream commit d9c0ffcabd6aae7ff1e34e8078354c13bb9f1183 ] Some people have reported that the warning in sched_tick_remote() occasionally triggers, especially in favour

[PATCH 4.17 167/324] nds32: Fix the dts pointer is not passed correctly issue.

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Greentime Hu [ Upstream commit 6897e6ecb3167598cb45e1a1424dd4d5e3778837 ] We found that the original implementation will only use the built-in dtb pointer instead of the pointer pass from

[PATCH 4.17 187/324] samples/bpf: add missing

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 4d5d33a085335ef469c9a87792bc8e64d8c4 ] This fixes build error regarding redefinition: CLANG-bpf samples/bpf/parse_varlen.o

[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

[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:

[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

[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

[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

[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

[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 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

[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

[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

[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

[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

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:

[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

[PATCH 4.17 300/324] mm: make vm_area_alloc() initialize core fields

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 490fc053865c9cc40f1085ef8a5504f5341f79d2 ] Like vm_area_dup(), it initializes the anon_vma_chain head, and the basic mm pointer. The rest of the fields end

[PATCH 4.17 309/324] drm/amdgpu/pm: Fix potential Spectre v1

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit ddf74e79a54070f277ae520722d3bab7f7a6c67a upstream. idx can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre variant

[PATCH 4.17 289/324] net: qca_spi: Make sure the QCA7000 reset is triggered

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren [ Upstream commit 711c62dfa6bdb4326ca6c587f295ea5c4f7269de ] In case the SPI thread is not running, a simple reset of sync state won't fix the transmit timeout. We also need to

[PATCH 4.17 303/324] mm: Allow non-direct-map arguments to free_reserved_area()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit 0d83432811f26871295a9bc24d3c387924da6071 upstream. free_reserved_area() takes pointers as arguments to show which addresses should be freed. However, it does this in a

[PATCH 4.17 301/324] EDAC: Add missing MEM_LRDDR4 entry in edac_mem_types[]

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b748f2de4b2f578599f46c6000683a8da755bf68 upstream. The edac_mem_types[] array misses a MEM_LRDDR4 entry, which leads to NULL pointer dereference when accessed via sysfs or

[PATCH 4.17 286/324] PCI: mediatek: 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 438477b9a089e45ea7c8fb549553e52833117ed8 ] When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY driver was left disabled, the kernel

[PATCH 4.17 306/324] x86/mm/init: Remove freed kernel image areas from alias mapping

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit c40a56a7818cfe735fc93a69e1875f8bba834483 upstream. The kernel image is mapped into two places in the virtual address space (addresses without KASLR, of course): 1.

[PATCH 4.17 284/324] PCI: aardvark: 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 1df3e5b3feebf29a3ecfa0c0f06f79544ca573e4 ] When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY driver was left disabled, the kernel

[PATCH 4.17 313/324] netfilter: conntrack: dccp: treat SYNC/SYNCACK as invalid if no prior state

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit 6613b6173dee098997229caf1f3b961c49da75e6 upstream. When first DCCP packet is SYNC or SYNCACK, we insert a new conntrack that has an un-initialized timeout value, i.e.

[PATCH 4.17 319/324] PCI: Skip MPS logic for Virtual Functions (VFs)

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Myron Stowe commit 3dbe97efe8bf450b183d6dee2305cbc032e6b8a4 upstream. PCIe r4.0, sec 9.3.5.4, "Device Control Register", shows both Max_Payload_Size (MPS) and Max_Read_request_Size (MRRS) to

[PATCH 4.17 291/324] net: cavium: Add fine-granular dependencies on PCI

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 e40562abdf81f32356218d4196c33f5f93c040f7 ] Add dependencies on PCI where necessary. Fixes: 7e2bc7fb65 ("net: cavium: Drop dependency of NET_VENDOR_CAVIUM

[PATCH 4.17 315/324] net/smc: no shutdown in state SMC_LISTEN

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ursula Braun commit caa21e19e08d7a1445116a93f7ab4e187ebbbadb upstream. Invoking shutdown for a socket in state SMC_LISTEN does not make sense. Nevertheless programs like syzbot fuzzing the

[PATCH 4.17 324/324] reiserfs: fix broken xattr handling (heap corruption, bad retval)

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit a13f085d111e90469faf2d9965eb39b11c114d7e upstream. This fixes the following issues: - When a buffer size is supplied to reiserfs_listxattr() such that each individual name

[PATCH 4.17 320/324] PCI: pciehp: Fix use-after-free on unplug

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 281e878eab191cce4259abbbf1a0322e3adae02c upstream. When pciehp is unbound (e.g. on unplug of a Thunderbolt device), the hotplug_slot struct is deregistered and thus freed

[PATCH 4.17 317/324] PCI / ACPI / PM: Resume all bridges on suspend-to-RAM

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit 9d64b539b738fc181442caab95f1f76d9bd58539 upstream. Commit 26112ddc254c (PCI / ACPI / PM: Resume bridges w/o drivers on suspend-to-RAM) attempted to fix a functional

[PATCH 4.17 308/324] drm/i915/kvmgt: Fix potential Spectre v1

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit de5372da605d3bca46e3102bab51b7e1c0e0a6f6 upstream. info.index can be indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre

[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:

[PATCH 4.17 302/324] pty: fix O_CLOEXEC for TIOCGPTPEER

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Matthijs van Duin commit 36ecc1481dc8d8c52d43ba18c6b642c1d2fde789 upstream. It was being ignored because the flags were not passed to fd allocation. Fixes: 54ebbfb16034 ("tty: add

[PATCH 4.17 305/324] x86/mm/init: Add helper for freeing kernel image pages

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit 6ea2738e0ca0e626c75202fb051c1e88d7a950fa upstream. When chunks of the kernel image are freed, free_init_pages() is used directly. Consolidate the three sites that do this.

[PATCH 4.17 299/324] mm: make vm_area_dup() actually copy the old vma data

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 95faf6992df468f617edb788da8c21c6eed0dfa7 ] .. and re-initialize th eanon_vma_chain head. This removes some boiler-plate from the users, and also makes it

[PATCH 4.17 304/324] x86/mm/init: Pass unconverted symbol addresses to free_init_pages()

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit 9f515cdb411ef34f1aaf4c40bb0c932cf6db5de1 upstream. The x86 code has several places where it frees parts of kernel image: 1. Unused SMP alternative 2. __init code 3. The

[PATCH 4.17 290/324] net: qca_spi: Fix log level if probe fails

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren [ Upstream commit 50973993260a6934f0a00da53d9b746cfbea89ab ] In cases the probing fails the log level of the messages should be an error. Signed-off-by: Stefan Wahren

[PATCH 4.17 285/324] PCI: faraday: 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 e30609454b39139a91faf631685f503b7ea3f27d ] When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY driver was left disabled, the kernel

[PATCH 4.17 318/324] PCI: hotplug: Dont leak pci_slot on registration failure

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 4ce6435820d1f1cc2c2788e232735eb244bcc8a3 upstream. If addition of sysfs files fails on registration of a hotplug slot, the struct pci_slot as well as the entry in the

[PATCH 4.17 288/324] net: qca_spi: Avoid packet drop during initial sync

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren [ Upstream commit b2bab426dc715de147f8039a3fccff27d795f4eb ] As long as the synchronization with the QCA7000 isn't finished, we cannot accept packets from the upper layers. So

[PATCH 4.17 287/324] PCI: v3-semi: 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 270ed733e68955049b693bea8f4a1efb293a96ae ] When testing the R-Car PCIe driver on the Condor board, if the PCIe PHY driver was left disabled, the 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

[PATCH 4.9 095/130] bnxt_en: Fix for system hang if request_irq fails

2018-08-23 Thread Greg Kroah-Hartman
4.9-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

[PATCH 4.17 294/324] ACPI / EC: Use ec_no_wakeup on more Thinkpad X1 Carbon 6th systems

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: "Robin H. Johnson" [ Upstream commit 2c4d6baf1bc4f7729773ffcee9ba2a9781578633 ] The ec_no_wakeup matcher added for Thinkpad X1 Carbon 6th gen systems beyond matched only a single DMI model

[PATCH 4.17 163/324] objtool: Support GCC 8 -fnoreorder-functions

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Josh Poimboeuf [ Upstream commit 08b393d01c88aff27347ed2b1b354eb4db2f1532 ] Since the following commit: cd77849a69cf ("objtool: Fix GCC 8 cold subfunction detection for aliased

[PATCH 4.9 094/130] bnxt_en: Always set output parameters in bnxt_get_max_rings().

2018-08-23 Thread Greg Kroah-Hartman
4.9-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.

[PATCH 4.14 062/217] nvmet: reset keep alive timer in controller enable

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Max Gurtuvoy [ Upstream commit d68a90e148f5a82aa67654c5012071e31c0e4baa ] Controllers that are not yet enabled should not really enforce keep alive timeouts, but we still want to track a

[PATCH 4.17 089/324] irqchip/gic-v2m: Fix SPI release on error path

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier [ Upstream commit cbaf45a6be497c272e80500e4fd9bccdf20d5050 ] On failing to allocate the required SPIs, the actual number of interrupts should be freed and not its log2 value.

[PATCH 4.17 004/324] HID: google: Add support for whiskers

2018-08-23 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Boichat [ Upstream commit 3e84c7651dde7cca43c5cfd7385086599cce5a5d ] Another device in the hammer class, with USB id 0x5030. Signed-off-by: Nicolas Boichat Acked-by: Benjamin

[PATCH 4.14 198/217] ACPI / EC: Use ec_no_wakeup on more Thinkpad X1 Carbon 6th systems

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Robin H. Johnson" [ Upstream commit 2c4d6baf1bc4f7729773ffcee9ba2a9781578633 ] The ec_no_wakeup matcher added for Thinkpad X1 Carbon 6th gen systems beyond matched only a single DMI model

Re: [RFC PATCH] EDAC, ghes: Enable per-layer error reporting for ARM

2018-08-23 Thread James Morse
Hi guys, (CC: +Fan Wu) On 19/07/18 19:36, Tyler Baicar wrote: > On 7/19/2018 10:46 AM, James Morse wrote: >> On 19/07/18 15:01, Borislav Petkov wrote: >>> On Mon, Jul 16, 2018 at 01:26:49PM -0400, Tyler Baicar wrote: Enable per-layer error reporting for ARM systems so that the error

Re: [RFC PATCH 5/5] mm/memory_hotplug: Simplify node_states_check_changes_offline

2018-08-23 Thread Oscar Salvador
On Wed, Aug 22, 2018 at 11:32:26AM +0200, Oscar Salvador wrote: > From: Oscar Salvador > > This patch tries to simplify node_states_check_changes_offline > and make the code more understandable by: > > - Removing the if (N_MEMORY == N_NORMAL_MEMORY) wrong statement > - Removing the if (N_MEMORY

Re: microblaze-linux-ld: cannot find sound/soc/jz4740/jz4740-i2s.o: No such file or directory

2018-08-23 Thread Masahiro Yamada
Hi. 2018-08-23 7:40 GMT+09:00 kbuild test robot : > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 899fbc33fd775b9dfa363db28f322272920a2196 > commit: 0fbe9a245c60bedebb6dd329966f463bb724450a microblaze: add endianness > options to LDFLAGS instead

[PATCH 4.14 078/217] batman-adv: Fix bat_v best gw refcnt after netlink dump

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 9713cb0cf19f1cec6c007e3b37be0697042b6720 ] A reference for the best gateway is taken when the list of gateways in the mesh is sent via netlink. This is

[PATCH 4.14 077/217] batman-adv: Fix bat_ogm_iv best gw refcnt after netlink dump

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit b5685d2687d6612adf5eac519eb7008f74dfd1ec ] A reference for the best gateway is taken when the list of gateways in the mesh is sent via netlink. This is

[PATCH 4.14 076/217] arm64: dts: msm8916: fix Coresight ETF graph connections

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Rob Herring [ Upstream commit 6b4154a655a258c67bcfabbd4c3a06637e74ebcd ] The ETF input should be connected to the funnel output, and the ETF output should be connected to the replicator

[PATCH 4.14 143/217] ipv6: make ipv6_renew_options() interrupt/kernel safe

2018-08-23 Thread Greg Kroah-Hartman
4.14-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

[PATCH 4.14 104/217] ARM64: dts: meson-gxl: fix Mali GPU compatible string

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Blumenstingl [ Upstream commit 1c38f4afd5d40234b67635b3c608a4093be04b96 ] meson-gxl-mali.dtsi is only used on GXL SoCs. Thus it should use the GXL specific compatible string instead of

[PATCH 4.14 119/217] PCI: faraday: Add missing of_node_put()

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Mc Guire [ Upstream commit 3dc6ddfedc2818eaaa36842fbb049191e0c5e50f ] The call to of_get_next_child() returns a node pointer with refcount incremented thus it must be explicitly

[PATCH 4.14 129/217] x86/mm/32: Initialize the CR4 shadow before __flush_tlb_all()

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Zhenzhong Duan [ Upstream commit 4fb5f58e8d191f7c81637ad81284e4848afb4244 ] On 32-bit kernels, __flush_tlb_all() may have read the CR4 shadow before the initialization of CR4 shadow in

[PATCH 4.14 121/217] fsl/fman: fix parser reporting bad checksum on short frames

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Madalin Bucur [ Upstream commit b95f6fbc8e15803a596ca5e5e21008fba29694c6 ] The FMan hardware parser needs to be configured to remove the short frame padding from the checksum calculation,

[PATCH 4.14 127/217] ipvlan: call dev_change_flags when ipvlan mode is reset

2018-08-23 Thread Greg Kroah-Hartman
4.14-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

[PATCH 4.14 120/217] bnx2x: Fix receiving tx-timeout in error or recovery state.

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sudarsana Reddy Kalluru [ Upstream commit 484c016d9392786ce5c74017c206c706f29f823d ] Driver performs the internal reload when it receives tx-timeout event from the OS. Internal reload might

[PATCH 4.14 128/217] drm/amdgpu: fix swapped emit_ib_size in vce3

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher [ Upstream commit 0859df22ab7cfb3ad2df2caed76cadce6ac33a80 ] The phys and vm versions had the values swapped. Reviewed-by: Junwei Zhang Signed-off-by: Alex Deucher

[PATCH 4.14 126/217] objtool: Support GCC 8 -fnoreorder-functions

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Josh Poimboeuf [ Upstream commit 08b393d01c88aff27347ed2b1b354eb4db2f1532 ] Since the following commit: cd77849a69cf ("objtool: Fix GCC 8 cold subfunction detection for aliased

[PATCH 4.14 123/217] acpi/nfit: fix cmd_rc for acpi_nfit_ctl to always return a value

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dave Jiang [ Upstream commit c1985cefd844e26bd19673a6df8d8f0b1918c2db ] cmd_rc is passed in by reference to the acpi_nfit_ctl() function and the caller expects a value returned. However, when

[PATCH 4.14 122/217] dpaa_eth: DPAA SGT needs to be 256B

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Madalin Bucur [ Upstream commit 595e802e53f24642a145cf7f3e4ac9afab4c21ec ] The DPAA HW requires that at least 256 bytes from the start of the first scatter-gather table entry are allocated

[PATCH 4.14 131/217] ARM: imx_v6_v7_defconfig: Select ULPI support

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam [ Upstream commit 157bcc06094c3c5800d3f4676527047b79b618e7 ] Select CONFIG_USB_CHIPIDEA_ULPI and CONFIG_USB_ULPI_BUS so that USB ULPI can be functional on some boards like

[PATCH 4.14 105/217] dmaengine: pl330: report BURST residue granularity

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski [ Upstream commit e3f329c600033f011a978a8bc4ddb1e2e94c4f4d ] The reported residue is already calculated in BURST unit granularity, so advertise this capability properly to

[PATCH 4.14 130/217] HID: wacom: Correct touch maximum XY of 2nd-gen Intuos

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gerecke [ Upstream commit 3b8d573586d1b9dee33edf6cb6f2ca05f4bca568 ] The touch sensors on the 2nd-gen Intuos tablets don't use a 4096x4096 sensor like other similar tablets (3rd-gen

[PATCH 4.14 106/217] dmaengine: k3dma: Off by one in k3_of_dma_simple_xlate()

2018-08-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit c4c2b7644cc9a41f17a8cc8904efe3f66ae4c7ed ] The d->chans[] array has d->dma_requests elements so the > should be >= here. Fixes: 8e6152bc660e ("dmaengine: Add

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