[PATCH 4.17 199/220] Input: elantech - enable middle button of touchpads on ThinkPad P52

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Ma commit 24bb555e6e46d96e2a954aa0295029a81cc9bbaa upstream. PNPID is better way to identify the type of touchpads. Enable middle button support on 2 types of touchpads on Lenovo P52. C

[PATCH 4.17 204/220] ALSA: hda/realtek - Add a quirk for FSC ESPRIMO U9210

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 275ec0cb946cb75ac8977f662e608fce92f8b8a8 upstream. Fujitsu Seimens ESPRIMO Mobile U9210 requires the same fixup as H270 for the correct pin configs. Bugzilla: https://bugz

[PATCH 4.17 200/220] Input: elantech - fix V4 report decoding for module with middle key

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: ??? commit e0ae2519ca004a628fa55aeef969c37edce522d3 upstream. Some touchpad has middle key and it will be indicated in bit 2 of packet[0]. We need to fix V4 formation's byte mask to prevent er

[PATCH 4.17 201/220] ALSA: timer: Fix UBSAN warning at SNDRV_TIMER_IOCTL_NEXT_DEVICE ioctl

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b41f794f284966fd6ec634111e3b40d241389f96 upstream. The kernel may spew a WARNING about UBSAN undefined behavior at handling ALSA timer ioctl SNDRV_TIMER_IOCTL_NEXT_DEVICE:

[PATCH 4.17 205/220] ALSA: hda/realtek - Fix the problem of two front mics on more machines

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit e41fc8c5bd41b96bfae5ce4c66bee6edabc932e8 upstream. We have 3 more Lenovo machines, they all have 2 front mics on them, so they need the fixup to change the location for one of

[PATCH 4.17 206/220] Revert "i2c: algo-bit: init the bus to a known state"

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 2a2c8ee2d72c4f1ba0f7fbb02dc74f971df0f934 upstream. This reverts commit 3e5f06bed72fe72166a6778f630241a893f67799. As per bugzilla #200045, this caused a regression. I don't

[PATCH 4.17 208/220] slub: fix failure when we delete and create a slab cache

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit d50d82faa0c964e31f7a946ba8aba7c715ca7ab0 upstream. In kernel 4.17 I removed some code from dm-bufio that did slab cache merging (commit 21bb13276768: "dm bufio: remove c

[PATCH 4.17 209/220] kasan: depend on CONFIG_SLUB_DEBUG

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jason A. Donenfeld commit dd275caf4a0d9b219fffe49288b6cc33cd564312 upstream. KASAN depends on having access to some of the accounting that SLUB_DEBUG does; without it, there are immediate cras

[PATCH 4.17 211/220] pmem: only set QUEUE_FLAG_DAX for fsdax mode

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ross Zwisler commit 4557641b4c7046625c026fb809c47ef0d43ae595 upstream. QUEUE_FLAG_DAX is an indication that a given block device supports filesystem DAX and should not be set for PMEM namespac

Re: [PATCH v2 1/3] arm64: dts: actions: Enable clock controller for S700

2018-07-01 Thread Saravanan Sekar
Hi Stephen, On 06/29/18 19:36, Stephen Boyd wrote: Quoting Saravanan Sekar (2018-06-28 12:18:03) diff --git a/arch/arm64/boot/dts/actions/s700-cubieboard7.dts b/arch/arm64/boot/dts/actions/s700-cubieboard7.dts index ef79d7905f44..28f3f4a0f7f0 100644 --- a/arch/arm64/boot/dts/actions/s700-cubie

[PATCH 4.17 212/220] block: Fix transfer when chunk sectors exceeds max

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Keith Busch commit 15bfd21fbc5d35834b9ea383dc458a1f0c9e3434 upstream. A device may have boundary restrictions where the number of sectors between boundaries exceeds its max transfer size. In t

[PATCH 4.17 214/220] x86/e820: put !E820_TYPE_RAM regions into memblock.reserved

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 124049decbb121ec32742c94fb5d9d6bed8f24d8 upstream. There is a kernel panic that is triggered when reading /proc/kpageflags on the kernel booted with kernel parameter 'me

[PATCH 4.17 213/220] block: Fix cloning of requests with a special payload

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 297ba57dcdec7ea37e702bcf1a577ac32a034e21 upstream. This patch avoids that removing a path controlled by the dm-mpath driver while mkfs is running triggers the following

[PATCH 4.17 217/220] x86/efi: Fix efi_call_phys_epilog() with CONFIG_X86_5LEVEL=y

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kirill A. Shutemov commit cfe19577047e74cdac5826adbdc2337d8437f8fb upstream. Open-coded page table entry checks don't work correctly when we fold the page table level at runtime. pgd_present(

[PATCH 4.17 215/220] selinux: move user accesses in selinuxfs out of locked regions

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit 0da74120c5341389b97c4ee27487a97224999ee1 upstream. If a user is accessing a file in selinuxfs with a pointer to a userspace buffer that is backed by e.g. a userfaultfd, the us

[PATCH 4.17 219/220] dm thin: handle running out of data space vs concurrent discard

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit a685557fbbc3122ed11e8ad3fa63a11ebc5de8c3 upstream. Discards issued to a DM thin device can complete to userspace (via fstrim) _before_ the metadata changes associated with

[PATCH 4.17 189/220] rbd: flush rbd_dev->watch_dwork after watch is unregistered

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dongsheng Yang commit 23edca864951250af845a11da86bb3ea63522ed2 upstream. There is a problem if we are going to unmap a rbd device and the watch_dwork is going to queue delayed work for watch:

[PATCH 4.17 218/220] dm zoned: avoid triggering reclaim from inside dmz_map()

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 2d0b2d64d325e22939d9db3ba784f1236459ed98 upstream. This patch avoids that lockdep reports the following: == WARNING:

[PATCH 4.17 216/220] x86/entry/64/compat: Fix "x86/entry/64/compat: Preserve r8-r11 in int $0x80"

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 22cd978e598618e82c3c3348d2069184f6884182 upstream. Commit: 8bb2610bc496 ("x86/entry/64/compat: Preserve r8-r11 in int $0x80") was busted: my original patch had a min

[PATCH 4.17 191/220] mm: fix devmem_is_allowed() for sub-page System RAM intersections

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 2bdce74412c249ac01dfe36b6b0043ffd7a5361e upstream. Hussam reports: I was poking around and for no real reason, I did cat /dev/mem and strings /dev/mem. Then I saw

[PATCH 4.17 190/220] mm/ksm.c: ignore STABLE_FLAG of rmap_item->address in rmap_walk_ksm()

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jia He commit 1105a2fc022f3c7482e32faf516e8bc44095f778 upstream. In our armv8a server(QDF2400), I noticed lots of WARN_ON caused by PAGE_SIZE unaligned for rmap_item->address under memory pres

[PATCH 4.17 194/220] net: ethernet: fix suspend/resume in davinci_emac

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Golaszewski commit dc45519eb181b5687ac8382361a8aa085acd1fe1 upstream. This patch reverts commit 3243ff2a05ec ("net: ethernet: davinci_emac: Deduplicate bus_find_device() by name matchi

[PATCH 4.17 220/220] virt: vbox: Only copy_from_user the request-header once

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wenwen Wang commit bd23a7269834dc7c1f93e83535d16ebc44b75eba upstream. In vbg_misc_device_ioctl(), the header of the ioctl argument is copied from the userspace pointer 'arg' and saved to the k

[PATCH 4.17 192/220] tracing: Check for no filter when processing event filters

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 70303420b5721c38998cf987e6b7d30cc62d4ff1 upstream. The syzkaller detected a out-of-bounds issue with the events filter code, specifically here: prog[N].

[PATCH 4.17 193/220] xen: Remove unnecessary BUG_ON from __unbind_from_irq()

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Boris Ostrovsky commit eef04c7b3786ff0c9cb1019278b6c6c2ea0ad4ff upstream. Commit 910f8befdf5b ("xen/pirq: fix error path cleanup when binding MSIs") fixed a couple of errors in error cleanup p

[PATCH 4.17 185/220] ACPI / LPSS: Add missing prv_offset setting for byt/cht PWM devices

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit fdcb613d49321b5bf5d5a1bd0fba8e7c241dcc70 upstream. The LPSS PWM device on on Bay Trail and Cherry Trail devices has a set of private registers at offset 0x800, the current

[PATCH 4.17 188/220] pwm: lpss: platform: Save/restore the ctrl register over a suspend/resume

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 1d375b58c12f08d8570b30b865def4734517f04f upstream. On some devices the contents of the ctrl register get lost over a suspend/resume and the PWM comes back up disabled afte

[PATCH 4.17 177/220] media: cx231xx: Add support for AverMedia DVD EZMaker 7

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 29e61d6ef061b012d320327af7dbb3990e75be45 upstream. User reports AverMedia DVD EZMaker 7 can be driven by VIDEO_GRABBER. Add the device to the id_table to make it work. Bu

[PATCH 4.17 207/220] i2c: gpio: initialize SCL to HIGH again

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 12b731dd46d9ee646318e6e9dc587314a3908a46 upstream. It seems that during the conversion from gpio* to gpiod*, the initial state of SCL was wrongly switched to LOW. Fix it to

[PATCH 4.17 175/220] media: cx231xx: Ignore an i2c mux adapter

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Brad Love commit 13a257f8d5a530bd2aa004a067ba1f2b8f5ef76d upstream. Hauppauge 935C cannot communicate with the si2157 when using the mux adapter returned by the si2168, so disable it to fix th

[PATCH 4.17 210/220] dm: use bio_split() when splitting out the already processed bio

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit f21c601a2bb319ec19eb4562eadc7797d90fd90e upstream. Use of bio_clone_bioset() is inefficient if there is no need to clone the original bio's bio_vec array. Best to use the

[PATCH 4.17 187/220] Input: elan_i2c - add ELAN0618 (Lenovo v330 15IKB) ACPI ID

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexandr Savca commit 8938fc7b8fe9ccfa11751ead502a8d385b607967 upstream. Add ELAN0618 to the list of supported touchpads; this ID is used in Lenovo v330 15IKB devices. Signed-off-by: Alexandr

[PATCH 4.17 203/220] ALSA: hda/realtek - Fix pop noise on Lenovo P50 & co

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit d5a6cabf02210b896a60eee7c04c670ee9ba6dca upstream. Some Lenovo laptops, e.g. Lenovo P50, showed the pop noise at resume or runtime resume. It turned out to be reduced by a

[PATCH 4.17 198/220] Input: elan_i2c_smbus - fix more potential stack buffer overflows

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 50fc7b61959af4b95fafce7fe5dd565199e0b61a upstream. Commit 40f7090bb1b4 ("Input: elan_i2c_smbus - fix corrupted stack") fixed most of the functions using i2c_smbus_read_blo

[PATCH 4.17 196/220] Input: xpad - fix GPD Win 2 controller name

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Enno Boland commit dd6bee81c942c0ea01030da9356026afb88f9d18 upstream. This fixes using the controller with SDL2. SDL2 has a naive algorithm to apply the correct settings to a controller. For

[PATCH 4.17 183/220] NFSv4: Fix a typo in nfs41_sequence_process

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 995891006ccbb73c0c9c3923cf9d25c4d07ec16b upstream. We want to compare the slot_id to the highest slot number advertised by the server. Fixes: 3be0f80b5fe9c ("NFSv4.1: F

[PATCH 4.17 155/220] backlight: as3711_bl: Fix Device Tree node lookup

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 4a9c8bb2aca5b5a2a15744333729745dd9903562 upstream. Fix child-node lookup during probe, which ended up searching the whole device tree depth-first starting at the parent rat

[PATCH 4.17 151/220] rpmsg: smd: do not use mananged resources for endpoints and channels

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Kandagatla commit 4a2e84c6ed85434ce7843e4844b4d3263f7e233b upstream. All the managed resources would be freed by the time release function is invoked. Handling such memory in qcom_smd

[PATCH 4.17 186/220] Input: silead - add MSSL0002 ACPI HID

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit fc573af632b44f355f8fa15ab505f5593368078d upstream. The Silead touchscreen on the Chuwi Vi8 tablet uses MSSL0002 as ACPI HID, rather then the usual MSSL1680 id. Signed-off

[PATCH 4.17 153/220] ubi: fastmap: Correctly handle interrupted erasures in EBA

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 781932375ffc6411713ee0926ccae8596ed0261c upstream. Fastmap cannot track the LEB unmap operation, therefore it can happen that after an interrupted erasure the mapping

[PATCH 4.17 176/220] media: v4l2-compat-ioctl32: prevent go past max size

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit ea72fbf588ac9c017224dcdaa2019ff52ca56fee upstream. As warned by smatch: drivers/media/v4l2-core/v4l2-compat-ioctl32.c:879 put_v4l2_ext_controls32() warn:

[PATCH 4.17 161/220] um: Fix raw interface options

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Anton Ivanov commit 5ec9121195a4f1cecd0fa592636c5f81eb03dc8c upstream. Raw interface initialization needs QDISC_BYPASS. Otherwise it sees its own packets when transmitting. Fixes: 49da7e64f33

[PATCH 4.17 166/220] arm: dts: mt7623: fix invalid memory node being generated

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sean Wang commit c0b0d540db1a8bfb041166c4991dd6f624e8de45 upstream. Below two wrong nodes in existing DTS files would cause a fail boot since in fact the address 0 is not the correct place the

[PATCH 4.17 148/220] clk: at91: PLL recalc_rate() now using cached MUL and DIV values

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Ziemianowicz commit a982e45dc150da3a08907b6dd676b735391704b4 upstream. When a USB device is connected to the USB host port on the SAM9N12 then you get "-62" error which seems to indicat

[PATCH 4.17 171/220] perf intel-pt: Fix "Unexpected indirect branch" error

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 9fb523363f6e3984457fee95bb7019395384ffa7 upstream. Some Atom CPUs can produce FUP packets that contain NLIP (next linear instruction pointer) instead of CLIP (current line

[PATCH 4.17 163/220] mfd: intel-lpss: Program REMAP register in PIO mode

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit d28b62520830b2d0bffa2d98e81afc9f5e537e8b upstream. According to documentation REMAP register has to be programmed in either DMA or PIO mode of the slice. Move the DMA c

[PATCH 4.17 173/220] media: vsp1: Release buffers for each video node

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kieran Bingham commit 83967993f2320575c0ab27a80bf1d7535909c2f4 upstream. Commit 372b2b0399fc ("media: v4l: vsp1: Release buffers in start_streaming error path") introduced a helper to clean up

[PATCH 4.17 159/220] f2fs: dont use GFP_ZERO for page caches

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit 81114baa835b59ed02d14aa1d67f91ea874077cd upstream. Related to https://lkml.org/lkml/2018/4/8/661 Sometimes, we need to write meta data to new allocated block address, then we w

[PATCH 4.17 117/220] auxdisplay: fix broken menu

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap commit b5b903fba96a4d1771422efd5c713ebb73f7dc82 upstream. Having the CHARLCD Kconfig symbol between "menuconfig AUXDISPLAY" and "if AUXDISPLAY" breaks the AUXDISPLAY submenus, so

[PATCH 4.17 115/220] PCI: pciehp: Clear Presence Detect and Data Link Layer Status Changed on resume

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 13c65840feab8109194f9490c9870587173cb29d upstream. After a suspend/resume cycle the Presence Detect or Data Link Layer Status Changed bits might be set. If we don't cle

[PATCH 4.17 129/220] iio: adc: ad7791: remove sample freq sysfs attributes

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexandru Ardelean commit 7eb6b35d93c356f1afebbfb808bc296d6351e708 upstream. In the current state, these attributes are broken, because they are registered already, and the kernel throws a war

[PATCH 4.17 131/220] mm: fix __gup_device_huge vs unmap

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit a9b6de77b1a3ff729f7bfc54b2e17711776a416c upstream. get_user_pages_fast() for device pages is missing the typical validation that all page references have been taken while t

[PATCH 4.17 112/220] PCI: hv: Make sure the bus domain is really unique

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sridhar Pitchai commit 29927dfb7f69bcf2ae7fd1cda10997e646a5189c upstream. When Linux runs as a guest VM in Hyper-V and Hyper-V adds the virtual PCI bus to the guest, Hyper-V always provides un

[PATCH 4.17 142/220] scsi: zfcp: fix missing REC trigger trace on terminate_rport_io for ERP_FAILED

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit d70aab55924b44f213fec2b900b095430b33eec6 upstream. For problem determination we always want to see when we were invoked on the terminate_rport_io callback whether we perfo

[PATCH 4.17 134/220] scsi: qla2xxx: Delete session for nport id change

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Quinn Tran commit 1d317b21231bb2b81a6e0f94f708b8619ec8775b upstream. This patch fixes regression introduced by commit a4239945b8ad ("scsi: qla2xxx: Add switch command to simplify fabric discov

[PATCH 4.17 145/220] linvdimm, pmem: Preserve read-only setting for pmem devices

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Robert Elliott commit 254a4cd50b9fe2291a12b8902e08e56dcc4e9b10 upstream. The pmem driver does not honor a forced read-only setting for very long: $ blockdev --setro /dev/pmem0

[PATCH 4.17 078/220] of: overlay: validate offset from property fixups

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Frank Rowand commit 482137bf2aecd887ebfa8756456764a2f6a0e545 upstream. The smatch static checker marks the data in offset as untrusted, leading it to warn: drivers/of/resolver.c:125 update_

[PATCH 4.17 126/220] locking/rwsem: Fix up_read_non_owner() warning with DEBUG_RWSEMS

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit 03eeafdd9ab06a770d42c2b264d50dff7e2f4eee upstream. It was found that the use of up_read_non_owner() in NFS was causing the following warning when DEBUG_RWSEMS was configured

[PATCH 4.17 121/220] cpufreq: intel_pstate: Fix scaling max/min limits with Turbo 3.0

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Pandruvada commit ff7c9917143b3a6cf2fa61212a32d67cf259bf9c upstream. When scaling max/min settings are changed, internally they are converted to a ratio using the max turbo 1 core tur

[PATCH 4.17 071/220] crypto: arm64/aes-blk - fix and move skcipher_walk_done out of kernel_neon_begin, _end

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jia He commit 6e88f01206edab0e5bc105d8f35fac10f4ee14c5 upstream. In a arm64 server(QDF2400),I met a similar might-sleep warning as [1]: [7.019116] BUG: sleeping function called from invali

[PATCH 4.17 077/220] ARM64: dts: meson-gx: fix ATF reserved memory region

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Hilman commit 48e21ded0432ee1e2359d4143d7a6925cefee1b5 upstream. Vendor firmware/uboot has different reserved regions depending on firmware version, but current codebase reserves the sam

[PATCH 4.17 075/220] arm64: dts: stratix10: Fix SPI nodes for Stratix10

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Thor Thayer commit 4595299c5eaebbec0ca5822214ad1925a10b3876 upstream. Remove the unused bus-num node and change num-chipselect to num-cs to match SPI bindings. Cc: sta...@vger.kernel.org Fixe

[PATCH 4.17 096/220] RDMA/mlx4: Discard unknown SQP work requests

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 6b1ca7ece15e94251d1d0d919f813943e4a58059 upstream. There is no need to crash the machine if unknown work request was received in SQP MAD. Cc: # 3.6 Fixes: 37bfc7c1e83f

[PATCH 4.17 104/220] mtd: rawnand: micron: add ONFI_FEATURE_ON_DIE_ECC to supported features

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chris Packham commit 12baf7721143c83150fa973484b7b5fcd86b23f0 upstream. Add ONFI_FEATURE_ON_DIE_ECC to the set/get features list for Micron NAND flash. Fixes: 789157e41a06 ("mtd: rawnand: all

[PATCH 4.17 095/220] IB/uverbs: Fix ordering of ucontext check in ib_uverbs_write

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 1eb9364ce81d9445ad6f9d44921a91d2a6597156 upstream. During disassociation the ucontext will become NULL, however due to how the SRCU locking works the ucontext must only

[PATCH 4.17 086/220] IB/mlx4: Mark user MR as writable if actual virtual memory is writable

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein commit d8f9cc328c369880e2527e9186d745f2bbf6 upstream. To allow rereg_user_mr to modify the MR from read-only to writable without using get_user_pages again, we needed to d

[PATCH 4.17 101/220] mtd: rawnand: denali_dt: set clk_x_rate to 200 MHz unconditionally

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada commit 3f6e6986045d47f87bd982910821b7ab9758487e upstream. Since commit 1bb88666775e ("mtd: nand: denali: handle timing parameters by setup_data_interface()"), denali_dt.c gets

[PATCH 4.17 099/220] mtd: rawnand: Do not check FAIL bit when executing a SET_FEATURES op

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 782d1967d0479ffd59412b2f3179c8bb35f50ff6 upstream. The ONFI spec clearly says that FAIL bit is only valid for PROGRAM, ERASE and READ-with-on-die-ECC operations, and sho

[PATCH 4.17 092/220] IB/hfi1: Reorder incorrect send context disable

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael J. Ruhl commit a93a0a3231bb1949f4a83b17238f0fa32d6a upstream. User send context integrity bits are cleared before the context is disabled. If the send context is still processing

[PATCH 4.17 090/220] IB/isert: fix T10-pi check mask setting

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Max Gurtovoy commit 0e12af84cdd3056460f928adc164f9e87f4b303b upstream. A copy/paste bug (probably) caused setting of an app_tag check mask in case where a ref_tag check was needed. Fixes: 38a

[PATCH 4.17 042/220] fuse: dont keep dead fuse_conn at fuse_fill_super().

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 543b8f8662fe6d21f19958b666ab0051af9db21a upstream. syzbot is reporting use-after-free at fuse_kill_sb_blk() [1]. Since sb->s_fs_info field is not cleared after fc was relea

[PATCH 4.17 069/220] softirq: Reorder trace_softirqs_on to prevent lockdep splat

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Joel Fernandes (Google) commit 1a63dcd8765bc8680481dc2f9acf6ef13cee6d27 upstream. I'm able to reproduce a lockdep splat with config options: CONFIG_PROVE_LOCKING=y, CONFIG_DEBUG_LOCK_ALLOC=y a

[PATCH 4.17 040/220] fuse: fix congested state leak on aborted connections

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 8a301eb16d99983a4961f884690ec97b92e7dcfe upstream. If a connection gets aborted while congested, FUSE can leave nr_wb_congested[] stuck until reboot causing wait_iff_congested

[PATCH 4.17 082/220] tpm: fix race condition in tpm_common_write()

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tadeusz Struk commit 3ab2011ea368ec3433ad49e1b9e1c7b70d2e65df upstream. There is a race condition in tpm_common_write function allowing two threads on the same /dev/tpm, or two different appli

[PATCH 4.17 066/220] ARM: dts: socfpga: Fix NAND controller clock supply

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Marek Vasut commit 4eda9b766b042ea38d84df91581b03f6145a2ab0 upstream. The Denali NAND x-clock should be supplied by nand_x_clk, not by nand_clk. Fix this, otherwise the Denali driver gets inco

[PATCH 4.17 072/220] arm64: kpti: Use early_param for kpti= command-line option

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit b5b7dd647f2d21b93f734ce890671cd908e69b0a upstream. We inspect __kpti_forced early on as part of the cpufeature enable callback which remaps the swapper page table using non-

[PATCH 4.17 083/220] efi/libstub/tpm: Initialize efi_physical_addr_t vars to zero for mixed mode

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 52e1cf2d19c2e62e6a81b8de3f7320d033917dd5 upstream. Commit: 79832f0b5f71 ("efi/libstub/tpm: Initialize pointer variables to zero for mixed mode") fixes a problem with

[PATCH 4.17 039/220] printk: fix possible reuse of va_list variable

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 988a35f8da1dec5a8cd2788054d1e717be61bf25 upstream. I noticed that there is a possibility that printk_safe_log_store() causes kernel oops because "args" parameter is passed

[PATCH 4.17 056/220] powerpc/64s/radix: Fix radix_kvm_prefetch_workaround paca access of not possible CPU

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit 758380b8155f69b4e2f77f27562f8a7a466749d6 upstream. If possible CPUs are limited (e.g., by kexec), then the kvm prefetch workaround function can access the paca pointer f

[PATCH 4.17 057/220] powerpc/e500mc: Set assembler machine type to e500mc

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Jeanson commit 69a8405999aa1c489de4b8d349468f0c2b83f093 upstream. In binutils 2.26 a new opcode for the "wait" instruction was added for the POWER9 and has precedence over the one spec

[PATCH 4.17 062/220] ARM: dts: sun8i: h3: fix ALL-H3-CC H3 ver VDD-CPUX voltage

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng commit e6e7b7c2c81e05c8774193da06348119583d4292 upstream. The VDD-CPUX voltage of ALL-H3-CC H3 ver should be 1.2V, not the 3.3V currently defined in the device tree. Fix the vol

[PATCH 4.17 054/220] libnvdimm, pmem: Do not flush power-fail protected CPU caches

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ross Zwisler commit 546eb0317cfa3c4f9e1d9ab892766d65d7f78fad upstream. This commit: 5fdf8e5ba566 ("libnvdimm: re-enable deep flush for pmem devices via fsync()") intended to make sure that d

[PATCH 4.17 059/220] cxl: Configure PSL to not use APC virtual machines

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Vaibhav Jain commit 9a6d2022bacd8fca0be6297459a02dfd28dad6ba upstream. APC virtual machines arent used on POWER-9 chips and are already disabled in on-chip CAPP. They also need to be disabled

[PATCH 4.17 035/220] mips: ftrace: fix static function graph tracing

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Matthias Schiffer commit 6fb8656646f996d1eef42e6d56203c4915cb9e08 upstream. ftrace_graph_caller was never run after calling ftrace_trace_function, breaking the function graph tracer. Fix this,

[PATCH 4.17 044/220] powerpc/mm/hash: Add missing isync prior to kernel stack SLB switch

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Aneesh Kumar K.V commit 91d06971881f71d945910de128658038513d1b24 upstream. Currently we do not have an isync, or any other context synchronizing instruction prior to the slbie/slbmte in _switc

[PATCH 4.17 022/220] PM / OPP: Update voltage in case freq == old_freq

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Waldemar Rymarkiewicz commit c5c2a97b3ac7d1ec19e7cff9e38caca6afefc3de upstream. This commit fixes a rare but possible case when the clk rate is updated without update of the regulator voltage.

[PATCH 4.17 006/220] x86/mce: Improve error message when kernel cannot recover

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tony Luck commit c7d606f560e4c698884697fef503e4abacdd8c25 upstream. Since we added support to add recovery from some errors inside the kernel in: commit b2f9d678e28c ("x86/mce: Check for faul

[PATCH 4.17 028/220] ASoC: mediatek: preallocate pages use platform device

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kai Chieh Chuang commit 5845e6155d8f4a4a9bae2d4c1d1bb4a4d9a925c2 upstream. preallocate pages should use platform device, since we set dma mask for platform device. Signed-off-by: KaiChieh Chu

[PATCH 4.17 029/220] ASoC: cirrus: i2s: Fix LRCLK configuration

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Sverdlin commit 2d534113be9a2aa532a1ae127a57e83558aed358 upstream. The bit responsible for LRCLK polarity is i2s_tlrs (0), not i2s_trel (2) (refer to "EP93xx User's Guide"). Previou

[PATCH 4.17 011/220] m68k/mm: Adjust VM area to be unmapped by gap size for __iounmap()

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Schmitz commit 3f90f9ef2dda316d64e420d5d51ba369587ccc55 upstream. If 020/030 support is enabled, get_io_area() leaves an IO_SIZE gap between mappings which is added to the vm_struct re

[PATCH 4.17 026/220] ASoC: dapm: delete dapm_kcontrol_data paths list before freeing it

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Kandagatla commit ff2faf1289c1f81b5b26b9451dd1c2006aac8db8 upstream. dapm_kcontrol_data is freed as part of dapm_kcontrol_free(), leaving the paths pointer dangling in the list. This

[PATCH 4.17 020/220] ACPI / LPSS: Avoid PM quirks on suspend and resume from S3

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit a09c591306881dfb04387c6ee7b7e2e4683fa531 upstream. It is reported that commit a192aa923b66a (ACPI / LPSS: Consolidate runtime PM and system sleep handling) introduced

[PATCH 4.17 014/220] hwmon: (k10temp) Add support for Stoney Ridge and Bristol Ridge CPUs

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit ccaf63b4d6eaf3447037cefbb0b1038fa80c6639 upstream. Add support for Stoney Ridge and Bristol Ridge (Family 15h Model 0x70) CPUs. Registers match those of Family 15h Model 0

[PATCH 4.17 001/220] x86/spectre_v1: Disable compiler optimizations over array_index_mask_nospec()

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit eab6870fee877258122a042bfd99ee7908c40280 upstream. Mark Rutland noticed that GCC optimization passes have the potential to elide necessary invocations of the array_index_ma

[PATCH 4.17 016/220] serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding version

2018-07-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Wagner commit 8afb1d2c12163f7f84616a8e9444d0050ebe upstream. Commit 40f70c03e33a ("serial: sh-sci: add locking to console write function to avoid SMP lockup") copied the strategy to

[PATCH 4.14 146/157] Input: elantech - fix V4 report decoding for module with middle key

2018-07-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: ??? commit e0ae2519ca004a628fa55aeef969c37edce522d3 upstream. Some touchpad has middle key and it will be indicated in bit 2 of packet[0]. We need to fix V4 formation's byte mask to prevent er

[PATCH 4.14 111/157] UBIFS: Fix potential integer overflow in allocation

2018-07-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Silvio Cesare commit 353748a359f1821ee934afc579cf04572406b420 upstream. There is potential for the size and len fields in ubifs_data_node to be too large causing either a negative value for th

[PATCH 4.14 119/157] perf intel-pt: Fix sync_switch INTEL_PT_SS_NOT_TRACING

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

[PATCH 4.14 116/157] mfd: intel-lpss: Fix Intel Cannon Lake LPSS I2C input clock

2018-07-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Nikula commit 4e93a658576ab115977225c9d0992b97ff19ba8c upstream. Intel Cannon Lake PCH has much higher 216 MHz input clock to LPSS I2C than Sunrisepoint which uses 120 MHz. Preliminary

[PATCH 4.14 145/157] Input: elantech - enable middle button of touchpads on ThinkPad P52

2018-07-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Ma commit 24bb555e6e46d96e2a954aa0295029a81cc9bbaa upstream. PNPID is better way to identify the type of touchpads. Enable middle button support on 2 types of touchpads on Lenovo P52. C

<    2   3   4   5   6   7   8   9   >