[PATCH 4.14 012/246] delayacct: fix crash in delayacct_blkio_end() after delayacct init failure

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit b512719f771a82180211c9a315b8a7f628832b3d upstream. While forking, if delayacct init fails due to memory shortage, it continues expecting all delayacct users to check task->del

[PATCH 4.14 049/246] hvc_opal: dont set tb_ticks_per_usec in udbg_init_opal_common()

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stewart Smith [ Upstream commit 447808bf500a7cc92173266a59f8a494e132b122 ] time_init() will set up tb_ticks_per_usec based on reality. time_init() is called *after* udbg_init_opal_common() dur

[PATCH 4.17 215/336] scsi: 3w-xxxx: fix a missing-check bug

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wenwen Wang [ Upstream commit 9899e4d3523faaef17c67141aa80ff2088f17871 ] In tw_chrdev_ioctl(), the length of the data buffer is firstly copied from the userspace pointer 'argp' and saved to th

[PATCH 4.14 024/246] ALSA: emu10k1: add error handling for snd_ctl_add

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Zhouyang Jia [ Upstream commit 6d531e7b972cb62ded011c2dfcc2d9f72ea6c421 ] When snd_ctl_add fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling

[PATCH 4.17 187/336] rsi: Add null check for virtual interfaces in wowlan config

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sanjay Kumar Konduri [ Upstream commit 54b5172087aeae61150835c91e68f084a9644f1c ] When the "poweroff" command is executed after wowlan enabled, we have observed a system crash. In the system "

[PATCH 4.14 060/246] f2fs: fix to detect failure of dquot_initialize

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu [ Upstream commit c22aecd75919511abea872b201751e0be1add898 ] dquot_initialize() can fail due to any exception inside quota subsystem, f2fs needs to be aware of it, and return correct r

[PATCH 4.17 206/336] brcmfmac: Add support for bcm43364 wireless chipset

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sean Lanigan [ Upstream commit 9c4a121e82634aa000a702c98cd6f05b27d6e186 ] Add support for the BCM43364 chipset via an SDIO interface, as used in e.g. the Murata 1FX module. The BCM43364 uses

[PATCH 4.17 244/336] mt76: add rcu locking around tx scheduling

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau [ Upstream commit 1d868b70e06a2319fdda46cc46ec7c6762557543 ] Fixes a reported lockdep error in mac80211: [ 179.867321] = [ 179.871510] WARNING: sus

[PATCH 4.14 025/246] ALSA: fm801: add error handling for snd_ctl_add

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Zhouyang Jia [ Upstream commit ef1ffbe7889e99f5b5cccb41c89e5c94f50f3218 ] When snd_ctl_add fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling

[PATCH 4.14 063/246] usbip: usbip_detach: Fix memory, udev context and udev leak

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Shuah Khan (Samsung OSG)" [ Upstream commit d179f99a651685b1960e6558110da2fe9bd7 ] detach_port() fails to call usbip_vhci_driver_close() from its error path after usbip_vhci_detach_device

[PATCH 4.14 087/246] PM / wakeup: Make s2idle_lock a RAW_SPINLOCK

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit 62fc00a6611a0014c85763f9def1fc07c15d1302 ] The `s2idle_lock' is acquired during suspend while interrupts are disabled even on RT. The lock is acquir

[PATCH 4.14 075/246] ASoC: dpcm: fix BE dai not hw_free and shutdown

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kai Chieh Chuang [ Upstream commit 9c0ac70ad24d76b873c1551e27790c7f6a815d5c ] In case, one BE is used by two FE1/FE2 FE1--->BE--> | FE2] when FE1/FE2 call dpcm_be_dai_hw_free() toge

[PATCH] x86/cpufeatures: Add EPT_AD feature bit

2018-08-01 Thread Peter Shier
From: Peter Feiner Some Intel processors have an EPT feature whereby the accessed & dirty bits in EPT entries can be updated by HW. MSR IA32_VMX_EPT_VPID_CAP exposes the presence of this capability. This bit will also expose "ept_ad" in /proc/cpuinfo/$proc/flags if feature is present. Signed-of

[PATCH 4.14 002/246] i2c: core: decrease reference count of device node in i2c_unregister_device

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lixin Wang commit e0638fa400eaccf9fa8060f67140264c4e276552 upstream. Reference count of device node was increased in of_i2c_register_device, but without decreasing it in i2c_unregister_device.

[PATCH 4.17 185/336] HID: i2c-hid: check if device is there before really probing

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov [ Upstream commit b3a81b6c4fc6730ac49e20d789a93c0faabafc98 ] On many Chromebooks touch devices are multi-sourced; the components are electrically compatible and one can be free

[PATCH 4.14 022/246] hv_netvsc: fix network namespace issues with VF support

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Hemminger [ Upstream commit 7bf7bb37f16a80465ee3bd7c6c966f96f5a075a6 ] When finding the parent netvsc device, the search needs to be across all netvsc device instances (independent of

[PATCH 4.17 173/336] net: hns3: Fix for fiber link up problem

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yunsheng Lin [ Upstream commit be8d8cdb8ebf3afd841c109dd035fd789a0c7d53 ] When hclge_ae_start is called, hdev->hw.mac.link may be set to one after up/down multi-times, which does not correspon

[PATCH 4.14 042/246] bpf, arm32: fix inconsistent naming about emit_a32_lsr_{r64,i64}

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Wang YanQing [ Upstream commit 68565a1af9f7012e6f2fe2bdd612f67d2d830c28 ] The names for BPF_ALU64 | BPF_ARSH are emit_a32_arsh_*, the names for BPF_ALU64 | BPF_LSH are emit_a32_lsh_*, but the

[PATCH 4.14 019/246] mlxsw: spectrum_switchdev: Fix port_vlan refcounting

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Petr Machata [ Upstream commit 9e25826ffc942e985b8595b2f1cf2065d3880514 ] Switchdev notifications for addition of SWITCHDEV_OBJ_ID_PORT_VLAN are distributed not only on clean addition, but als

[PATCH 4.17 166/336] ixgbevf: fix MAC address changes through ixgbevf_set_mac()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Emil Tantilov [ Upstream commit 6e7d0ba1e59b1a306761a731e67634c0f2efea2a ] Set hw->mac.perm_addr in ixgbevf_set_mac() in order to avoid losing the custom MAC on reset. This can happen in the f

Re: [PATCH] staging: gasket: sysfs: fix potential null dereference

2018-08-01 Thread Greg KH
On Tue, Jul 31, 2018 at 06:23:20PM +0300, Ivan Bornyakov wrote: > Add handling of possible allocation failure. > > Reported by smatch: > > drivers/staging/gasket/gasket_sysfs.c:105 put_mapping() error: potential > null dereference 'files_to_remove'. (kcalloc returns null) > > Signed-off-by: I

[PATCH 4.14 023/246] skip LAYOUTRETURN if layout is invalid

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Olga Kornievskaia [ Upstream commit 93b7f7ad2018d2037559b1d0892417864c78b371 ] Currently, when IO to DS fails, client returns the layout and retries against the MDS. However, then on umounting

[PATCH 4.17 198/336] media: rcar_jpu: Add missing clk_disable_unprepare() on error in jpu_open()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun [ Upstream commit 43d0d3c52787df0221d1c52494daabd824fe84f1 ] Add the missing clk_disable_unprepare() before return from jpu_open() in the software reset error handling case. Signe

Re: [PATCH] proc: added ept_ad flag to /proc/cpuinfo

2018-08-01 Thread Thomas Gleixner
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Wed, 1 Aug 2018, Peter Shier wrote: > Thank you Thomas. Wording issues understood and will post a new patch > with updat

Re: [PATCH v2] i2c: aspeed: Handle master/slave combined irq events properly

2018-08-01 Thread Jae Hyun Yoo
Hi Brendan, Thanks a lot for the review. Please see my inline answers. On 7/31/2018 11:44 PM, Brendan Higgins wrote: On Tue, Jul 24, 2018 at 10:31 AM Jae Hyun Yoo wrote: In most of cases, interrupt bits are set one by one but there are also a lot of other cases that Aspeed I2C IP sends multi

[PATCH 4.17 239/336] net: hns3: Fixes the out of bounds access in hclge_map_tqp

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Huazhong Tan [ Upstream commit 38e62046d4c95272e2fb001d2d72baf48fa090e9 ] This patch fixes the handling of the check when number of vports are detected to be more than available TPQs. Current

[PATCH 4.17 202/336] media: saa7164: Fix driver name in debug output

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Brad Love [ Upstream commit 0cc4655cb57af0b7e105d075c4f83f8046efafe7 ] This issue was reported by a user who downloaded a corrupt saa7164 firmware, then went looking for a valid xc5000 firmwar

[PATCH 4.17 175/336] media: staging: atomisp: Comment out several unused sensor resolutions

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab [ Upstream commit db01f7ccfa6d4738e366077ce7423d1710b805f3 ] The register settings for several resolutions aren't used currently. So, comment them out. Fix those warning

[PATCH 4.14 091/246] ath: Add regulatory mapping for FCC3_ETSIC

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 01fb2994a98dc72c8818c274f7b5983d5dd885c7 ] The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the reg

[PATCH 4.17 227/336] media: em28xx: fix a regression with HVR-950

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab [ Upstream commit 509f89652f83e834b3ef7a083e2eeac812b055f0 ] Commit be7fd3c3a8c5 ("media: em28xx: Hauppauge DualHD second tuner functionality") removed the logic with set

[PATCH 4.17 176/336] arm64: cmpwait: Clear event register before arming exclusive monitor

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon [ Upstream commit 1cfc63b5ae60fe7e01773f38132f98d8b13a99a0 ] When waiting for a cacheline to change state in cmpwait, we may immediately wake-up the first time around the outer loo

[PATCH 4.17 209/336] net: phy: sfp: handle cases where neither BR, min nor BR, max is given

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Antoine Tenart [ Upstream commit 2b999ba899059eed00a03d029894a62486e7e2bc ] When computing the bitrate using values read from an SFP module EEPROM, we use the nominal BR plus BR,min and BR,max

[PATCH 4.17 192/336] nvmem: properly handle returned value nvmem_reg_read

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mathieu Malaterre [ Upstream commit 50808bfcc14b854775a9f1d0abe3dac2babcf5c3 ] Function nvmem_reg_read can return a non zero value indicating an error. This returned value must be read and err

[PATCH 4.14 058/246] f2fs: fix to wait page writeback during revoking atomic write

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu [ Upstream commit e5e5732d8120654159254c16834bc8663d8be124 ] After revoking atomic write, related LBA can be reused by others, so we need to wait page writeback before reusing the LBA,

[PATCH 4.14 071/246] btrfs: balance dirty metadata pages in btrfs_finish_ordered_io

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ethan Lien [ Upstream commit e73e81b6d0114d4a303205a952ab2e87c44bd279 ] [Problem description and how we fix it] We should balance dirty metadata pages at the end of btrfs_finish_ordered_io, si

[PATCH 4.17 233/336] mlxsw: spectrum_router: Return an error for non-default FIB rules

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ido Schimmel [ Upstream commit 6290182b2b3bda119ecb243fb3d6bcc98a74344f ] Since commit 9776d32537d2 ("net: Move call_fib_rule_notifiers up in fib_nl_newrule") it is possible to forbid the inst

[PATCH 4.14 088/246] PCI: Prevent sysfs disable of device while driver is attached

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig [ Upstream commit 6f5cdfa802733dcb561bf664cc89d203f2fd958f ] Manipulating the enable_cnt behind the back of the driver will wreak complete havoc with the kernel state, so dis

[PATCH 4.17 203/336] media: renesas-ceu: Set mbus_fmt on subdev operations

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jacopo Mondi [ Upstream commit d3a67f27471d4792caf84132228def2b18617932 ] The renesas-ceu driver intializes the desired mbus_format at 'complete' time, inspecting the supported subdevice ones,

[PATCH 4.17 230/336] drm/atomic: Handling the case when setting old crtc for plane

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Satendra Singh Thakur [ Upstream commit fc2a69f3903dfd97cd47f593e642b47918c949df ] In the func drm_atomic_set_crtc_for_plane, with the current code, if crtc of the plane_state and crtc passed

[PATCH 4.17 229/336] mt76x2: fix avg_rssi estimation

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi [ Upstream commit c990affd5abce1f338ac52539e092dad04647fb6 ] Add leftover filter coefficients in IIR rssi estimation Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e")

[PATCH 4.14 057/246] f2fs: fix to dont trigger writeback during recovery

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu [ Upstream commit 64c74a7ab505ea40d1b3e5d02735ecab08ae1b14 ] - f2fs_fill_super - recover_fsync_data - recover_data - del_fsync_inode - iput - iput_final - write_in

[PATCH 4.17 193/336] ARM: dts: imx53: Fix LDB OF graph warning

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Rob Herring [ Upstream commit 77dd4bd0c0db8e4856e7abc2192f126e226e14c5 ] Single child nodes in OF graph don't need an address and now dtc will warn about this: Warning (graph_child_address):

[PATCH 4.14 039/246] irqchip/ls-scfg-msi: Map MSIs in the iommu

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Laurentiu Tudor [ Upstream commit 0cdd431c337e99177e68597f3de34bedd3a20a74 ] Add the required iommu_dma_map_msi_msg() when composing the MSI message, otherwise the interrupts will not work. S

[PATCH 4.17 216/336] scsi: megaraid: silence a static checker bug

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 27e833dabab74ee665e487e291c9afc6d71effba ] If we had more than 32 megaraid cards then it would cause memory corruption. That's not likely, of course, but it's

[PATCH 4.14 041/246] printk: drop in_nmi check from printk_safe_flush_on_panic()

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sergey Senozhatsky [ Upstream commit 554755be08fba31c74f66b82a485e5513205af84 ] Drop the in_nmi() check from printk_safe_flush_on_panic() and attempt to re-init (IOW unlock) locked logbuf spin

[PATCH 4.14 034/246] mm/slub.c: add __printf verification to slab_err()

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mathieu Malaterre [ Upstream commit a38965bf941b7c2af50de09c96bc5f03e136caef ] __printf is useful to verify format and arguments. Remove the following warning (with W=1): mm/slub.c:721:2:

[PATCH 4.17 188/336] ARM: dts: stih410: Fix complain about IRQ_TYPE_NONE usage

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Patrice Chotard [ Upstream commit fd827d0ec86bce8d421423ad2c4add84aa23e1b9 ] Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining ab

[PATCH 4.17 220/336] dma-direct: try reallocation with GFP_DMA32 if possible

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai [ Upstream commit de7eab301de78869322104ea13e124c936ad3e1f ] As the recent swiotlb bug revealed, we seem to have given up the direct DMA allocation too early and felt back to swio

[PATCH 4.17 180/336] drm/radeon: fix mode_valids return type

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Luc Van Oostenryck [ Upstream commit 7a47f20eb1fb8fa8d7a8fe3a4fd8c721f04c2174 ] The method struct drm_connector_helper_funcs::mode_valid is defined as returning an 'enum drm_mode_status' but t

[PATCH 4.14 096/246] ath: Add regulatory mapping for Tanzania

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 667ddac5745fb9fddfe8f7fd2523070f50bd4442 ] The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test

[PATCH 4.17 207/336] s390/cpum_sf: Add data entry sizes to sampling trailer entry

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Richter [ Upstream commit 77715b7ddb446bd39a06f3376e85f4bb95b29bb8 ] The CPU Measurement sampling facility creates a trailer entry for each Sample-Data-Block of stored samples. The trai

[PATCH 4.14 018/246] arm64: fix vmemmap BUILD_BUG_ON() triggering on !vmemmap setups

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 7b0eb6b41a08fa1fa0d04b1c53becd62b5fbfaee upstream. Arnd reports the following arm64 randconfig build error with the PSI patches that add another page flag: /git/arm-s

[PATCH 4.14 054/246] pnfs: Dont release the sequence slot until weve processed layoutget on open

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust [ Upstream commit ae55e59da0e401893b3c52b575fc18a00623d0a1 ] If the server recalls the layout that was just handed out, we risk hitting a race as described in RFC5661 Section 2

[PATCH 4.17 236/336] mmc: pwrseq: Use kmalloc_array instead of stack VLA

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: "Tobin C. Harding" [ Upstream commit 486e6661367b40f927aadbed73237693396cbf94 ] The use of stack Variable Length Arrays needs to be avoided, as they can be a vector for stack exhaustion, which

[PATCH 4.17 120/336] ath: Add regulatory mapping for APL2_FCCA

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 4f183687e3fad3ce0e06e38976cad81bc4541990 ] The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the reg

[PATCH 4.14 043/246] ceph: fix alignment of rasize

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Chengguang Xu [ Upstream commit c36ed50de2ad1649ce0369a4a6fc2cc11b20dfb7 ] On currently logic: when I specify rasize=0~1 then it will be 4096. when I specify rasize=2~4097 then it will be 8192

[PATCH 4.14 086/246] x86/microcode: Make the late update update_lock a raw lock for RT

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Scott Wood [ Upstream commit ff987fcf011d20c53b3a613edf6e2055ea48e26e ] __reload_late() is called from stop_machine context and thus cannot acquire a non-raw spinlock on PREEMPT_RT. Signed-of

[PATCH 4.17 226/336] f2fs: avoid fsync() failure caused by EAGAIN in writepage()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim [ Upstream commit 5b19d284f5195a925dd015a6397bfce184097378 ] pageout() in MM traslates EAGAIN, so calls handle_write_error() -> mapping_set_error() -> set_bit(AS_EIO, ...). file_

[PATCH 4.14 073/246] Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thierry Escande [ Upstream commit 9960521c44a5d828f29636ceac0600603ecbddbf ] This patch fixes the following warning during boot: do not call blocking ops when !TASK_RUNNING; state=1 set at

[PATCH 4.14 001/246] fork: unconditionally clear stack on fork

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit e01e80634ecdde1dd113ac43b3adad21b47f3957 upstream. One of the classes of kernel stack content leaks[1] is exposing the contents of prior heap or stack contents when a new proc

[PATCH 4.17 197/336] net: phy: phylink: Release link GPIO

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit daab3349ad1a69663ccad278ed71d55974d104b4 ] We are not releasing the link GPIO descriptor with gpiod_put() which results in subsequent probing to get -EBUSY w

[PATCH 4.17 179/336] drm/amd/display: remove need of modeset flag for overlay planes (V2)

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Shirish S [ Upstream commit a2a330ad66313084c9432b32862aa7e1255da9b4 ] This patch is in continuation to the "843e3c7 drm/amd/display: defer modeset check in dm_update_planes_state" where we st

[PATCH 4.17 161/336] rtc: tps65910: fix possible race condition

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni [ Upstream commit e6000a438e534ee0afd9e83b67f4e23a26dd1067 ] The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handle

[PATCH 4.14 089/246] nvme-rdma: stop admin queue before freeing it

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jianchao Wang [ Upstream commit 2e050f00a0f0e07467050cb4afae0234941e5bf3 ] For any failure after nvme_rdma_start_queue in nvme_rdma_configure_admin_queue, the admin queue will be freed with th

[PATCH 4.14 014/246] tracing: Fix possible double free in event_enable_trigger_func()

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 15cc78644d0075e76d59476a4467e7143860f660 upstream. There was a case that triggered a double free in event_trigger_callback() due to the called reg() function fre

[PATCH 4.17 183/336] IB: Fix RDMA_RXE and INFINIBAND_RDMAVT dependencies for DMA_VIRT_OPS

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit e02637e97d68a54b1527bc654bf8377eda310226 ] DMA_VIRT_OPS requires that dma_addr_t is at least as wide as a pointer, which is expressed as a dependency on !64BIT

[PATCH 4.14 055/246] disable loading f2fs module on PAGE_SIZE > 4KB

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Anatoly Pugachev [ Upstream commit 4071e67cffcc5c2a007116a02437471351f550eb ] The following patch disables loading of f2fs module on architectures which have PAGE_SIZE > 4096 , since it is imp

[PATCH 4.17 164/336] md/raid1: add error handling of read error from FailFast device

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gioh Kim [ Upstream commit b33d10624fdc15cdf1495f3f00481afccec76783 ] Current handle_read_error() function calls fix_read_error() only if md device is RW and rdev does not include FailFast fla

[PATCH 4.17 223/336] thermal: exynos: fix setting rising_threshold for Exynos5433

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bartlomiej Zolnierkiewicz [ Upstream commit 8bfc218d0ebbabcba8ed2b8ec1831e0cf1f71629 ] Add missing clearing of the previous value when setting rising temperature threshold. Signed-off-by: Bar

Re: [PATCH i2c-next v2] i2c: aspeed: Add an explicit type casting for *get_clk_reg_val

2018-08-01 Thread Jae Hyun Yoo
On 7/31/2018 11:56 PM, Brendan Higgins wrote: On Tue, Jul 24, 2018 at 1:39 PM Jae Hyun Yoo wrote: This commit fixes this sparse warning: drivers/i2c/busses/i2c-aspeed.c:875:38: warning: incorrect type in assignment (different modifiers) drivers/i2c/busses/i2c-aspeed.c:875:38:expected unsi

Re: [PATCH 4/6] dt-bindings: interrupt-controller: RISC-V local interrupt controller docs

2018-08-01 Thread Rob Herring
On Wed, Aug 1, 2018 at 1:08 AM Christoph Hellwig wrote: > > On Tue, Jul 31, 2018 at 04:37:14PM -0600, Rob Herring wrote: > > On Wed, Jul 25, 2018 at 11:36:47AM +0200, Christoph Hellwig wrote: > > > From: Palmer Dabbelt > > > > > > This patch adds documentation on the RISC-V local interrupt contro

[PATCH 4.14 174/246] mmc: pwrseq: Use kmalloc_array instead of stack VLA

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Tobin C. Harding" [ Upstream commit 486e6661367b40f927aadbed73237693396cbf94 ] The use of stack Variable Length Arrays needs to be avoided, as they can be a vector for stack exhaustion, which

[PATCH 4.14 108/246] bpf: powerpc64: pad function address loads with NOPs

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sandipan Das [ Upstream commit 4ea69b2fd623dee2bbc77d3b6b7d8c0924e2026a ] For multi-function programs, loading the address of a callee function to a register requires emitting instructions who

[PATCH 4.14 142/246] ARM: dts: stih407-pinctrl: Fix complain about IRQ_TYPE_NONE usage

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Patrice Chotard [ Upstream commit e95b8e718f9bd2386a29639dd21c633b4951dc21 ] Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining ab

[PATCH 4.14 106/246] powerpc/8xx: fix invalid register expression in head_8xx.S

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy [ Upstream commit e4ccb1dae6bdef228d729c076c38161ef6e7ca34 ] New binutils generate the following warning AS arch/powerpc/kernel/head_8xx.o arch/powerpc/kernel/head_8xx

[PATCH 4.17 048/336] ceph: fix use-after-free in ceph_statfs()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Luis Henriques [ Upstream commit 73fb0949cf246b212ff63d692a0ec88db954bb35 ] KASAN found an UAF in ceph_statfs. This was a one-off bug but looking at the code it looks like the monmap access n

[PATCH 4.17 296/336] block: bio_iov_iter_get_pages: fix size of last iovec

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Martin Wilck commit b403ea2404889e1227812fa9657667a1deb9c694 upstream. If the last page of the bio is not "full", the length of the last vector slot needs to be corrected. This slot has the in

[PATCH 4.17 100/336] net: hns3: Fixes initalization of RoCE handle and makes it conditional

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Lijun Ou [ Upstream commit 544a7bcd5cc74734003cf7f12502b26cebfed19f ] When register a RoCE client with hnae3vf device, it needs to judge the device whether support RoCE vf function. Otherwise,

[PATCH 4.17 133/336] spi: sh-msiof: Fix setting SIRMDR1.SYNCAC to match SITMDR1.SYNCAC

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit 0921e11e1e12802ae0a3c19cb02e33354ca51967 ] According to section 59.2.4 MSIOF Receive Mode Register 1 (SIRMDR1) in the R-Car Gen3 datasheet Rev.1.00, the va

[PATCH 4.17 090/336] iwlwifi: pcie: fix race in Rx buffer allocator

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Shaul Triebitz [ Upstream commit 0f22e40053bd5378ad1e3250e65c574fd61c0cd6 ] Make sure the rx_allocator worker is canceled before running the rx_init routine. rx_init frees and re-allocates al

[PATCH 4.17 273/336] crypto: authenc - dont leak pointers to authenc keys

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tudor-Dan Ambarus [ Upstream commit ad2fdcdf75d169e7a5aec6c7cb421c0bec8ec711 ] In crypto_authenc_setkey we save pointers to the authenc keys in a local variable of type struct crypto_authenc_k

[PATCH 4.17 248/336] ath10k: fix kernel panic while reading tpc_stats

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tamizh Chelvam [ Upstream commit 4b190675ad06f5a6ecbeef0b01890c5fb372e3eb ] When attempt to read tpc_stats for the chipsets which support more than 3 tx chain will trigger kernel panic(kernel

[PATCH 4.17 322/336] tcp_bbr: fix bw probing to raise in-flight data for very small BDPs

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit 383d470936c05554219094a4d364d964cb324827 ] For some very small BDPs (with just a few packets) there was a quantization effect where the target number of packets

[PATCH 4.17 304/336] ext4: fix inline data updates with checksums enabled

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 362eca70b53389bddf3143fe20f53dcce2cfdf61 upstream. The inline data code was updating the raw inode directly; this is problematic since if metadata checksums are enabled, e

[PATCH 4.17 104/336] media: videobuf2-core: dont call memop finish when queueing

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil [ Upstream commit 90b2da89a083e1395cb322521a42397c49ae4500 ] When a buffer is queued or requeued in vb2_buffer_done, then don't call the finish memop. In this case the buffer is o

[PATCH 4.17 258/336] ipconfig: Correctly initialise ic_nameservers

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chris Novakovic [ Upstream commit 300eec7c0a2495f771709c7642aa15f7cc148b83 ] ic_nameservers, which stores the list of name servers discovered by ipconfig, is initialised (i.e. has all of its e

[PATCH 4.17 268/336] serial: core: Make sure compiler barfs for 16-byte earlycon names

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Douglas Anderson [ Upstream commit c1c734cb1f54b062f7e67ffc9656d82f5b412b9c ] As part of bringup I ended up wanting to call an earlycon driver by a name that was exactly 16-bytes big, specific

[PATCH 4.17 278/336] ath10k: search all IEs for variant before falling back

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Hebb [ Upstream commit c8489668065a283d3027e86e877b103a87f99d22 ] commit f2593cb1b291 ("ath10k: Search SMBIOS for OEM board file extension") added a feature to ath10k that allows Board

[PATCH 4.17 319/336] net: mdio-mux: bcm-iproc: fix wrong getter and setter pair

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Anton Vasilyev [ Upstream commit b0753408aadf32c7ece9e6b765017881e54af833 ] mdio_mux_iproc_probe() uses platform_set_drvdata() to store md pointer in device, whereas mdio_mux_iproc_remove() re

[PATCH 4.17 147/336] net: hns3: Fix for CMDQ and Misc. interrupt init order problem

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yunsheng Lin [ Upstream commit eddf04626d1d6d0bcd01ac6a287e49f5ddb90a26 ] When vf module is loading, the cmd queue initialization should happen before misc interrupt initialization, otherwise

[PATCH 4.17 265/336] staging: lustre: llite: correct removexattr detection

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: James Simmons [ Upstream commit 1b60f6dfa38403ff7c4d0b4b7ecdb810f9789a2a ] In ll_xattr_set_common() detect the removexattr() case correctly by testing for a NULL value as well as XATTR_REPLACE

[PATCH 4.17 125/336] ath: Add regulatory mapping for Bahamas

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 699e2302c286a14afe7b7394151ce6c4e1790cc1 ] The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test

[PATCH 4.17 294/336] drm/dp/mst: Fix off-by-one typo when dump payload table

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko [ Upstream commit 7056a2bccc3b5afc51f9b35b30a46f0d9219968d ] It seems there is a classical off-by-one typo from the beginning when commit ad7f8a1f9ced ("drm/helper: add Disp

[PATCH 4.17 045/336] printk: drop in_nmi check from printk_safe_flush_on_panic()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sergey Senozhatsky [ Upstream commit 554755be08fba31c74f66b82a485e5513205af84 ] Drop the in_nmi() check from printk_safe_flush_on_panic() and attempt to re-init (IOW unlock) locked logbuf spin

[PATCH 4.17 046/336] bpf, arm32: fix inconsistent naming about emit_a32_lsr_{r64,i64}

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Wang YanQing [ Upstream commit 68565a1af9f7012e6f2fe2bdd612f67d2d830c28 ] The names for BPF_ALU64 | BPF_ARSH are emit_a32_arsh_*, the names for BPF_ALU64 | BPF_LSH are emit_a32_lsh_*, but the

[PATCH 4.17 085/336] selftests: filesystems: return Kselftest Skip code for skipped tests

2018-08-01 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 7357dcf2ef2811156fdf223a9a27f73528934e1f ] When devpts_pts test is skipped because of unmet dependencies and/or unsupported configuration, it exits

Re: Getting the instruction pointer on a per arch basis

2018-08-01 Thread Nick Desaulniers
On Tue, Jul 31, 2018 at 10:41 PM Martin Schwidefsky wrote: > > On Tue, 31 Jul 2018 16:09:06 -0700 > Nick Desaulniers wrote: > > > + More maintainers and lists for visibility > > > > On Tue, Jul 31, 2018 at 3:32 PM Nick Desaulniers > > wrote: > > > > > > I'm currently looking into cleaning up the

[PATCH 4.17 155/336] drm/nouveau: remove fence wait code from deferred client work handler

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs [ Upstream commit 11e451e74050d9e9030581ce40337838acfcea5b ] Fences attached to deferred client work items now originate from channels belonging to the client, meaning we can be cer

[PATCH 4.17 124/336] ath: Add regulatory mapping for Bermuda

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 9c790f2d234f65697e3b0948adbfdf36dbe63dd7 ] The country code is used by the ath to detect the ISO 3166-1 alpha-2 name and to select the correct conformance test

[PATCH 4.17 280/336] scsi: scsi_dh: replace too broad "TP9" string with the exact models

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Xose Vazquez Perez [ Upstream commit 37b37d2609cb0ac267280ef27350b962d16d272e ] SGI/TP9100 is not an RDAC array: ^^^ https://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=blob;f=libm

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