[PATCH 4.17 018/336] drm/amd/powerplay: Set higher SCLK&MCLK frequency than dpm7 in OD (v2)

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kenneth Feng [ Upstream commit 5c16f36f6f003b4415237acca59384a074cd8030 ] Fix the issue that SCLK&MCLK can't be set higher than dpm7 when OD is enabled in SMU7. v2: fix warning (Alex) Signed

[PATCH 4.17 037/336] rxrpc: Fix terminal retransmission connection ID to include the channel

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit fb1967a69f756073362b8f19347f863f227320ad ] When retransmitting the final ACK or ABORT packet for a call, the cid field in the packet header is set to the connec

[PATCH 4.17 057/336] clk: ingenic: jz4770: Modify C1CLK clock to disable CPU clock stop on idle

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Paul Cercueil [ Upstream commit 45ba63a29fd9b8a461110185e3abc5b4c90b806a ] When the main processor goes idle, by default its clock is stopped. However, this also stops the clock of the co-proc

[PATCH 4.17 077/336] usbip: usbip_detach: Fix memory, udev context and udev leak

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 d179f99a651685b1960e6558110da2fe9bd7 ] detach_port() fails to call usbip_vhci_driver_close() from its error path after usbip_vhci_detach_device

[PATCH 4.17 054/336] hvc_opal: dont set tb_ticks_per_usec in udbg_init_opal_common()

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 025/336] NFSv4.1: Fix the client behaviour on NFS4ERR_SEQ_FALSE_RETRY

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust [ Upstream commit f9312a541050007ec59eb0106273a0a10718cd83 ] If the server returns NFS4ERR_SEQ_FALSE_RETRY or NFS4ERR_RETRY_UNCACHED_REP, then it thinks we're trying to replay

[PATCH 4.17 076/336] block, bfq: remove wrong lock in bfq_requests_merged

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Filippo Muzzini [ Upstream commit a12bffebc0c9d6a5851f062aaea3aa7c4adc6042 ] In bfq_requests_merged(), there is a deadlock because the lock on bfqq->bfqd->lock is held by the calling function,

[PATCH 4.17 049/336] e1000e: Ignore TSYNCRXCTL when getting I219 clock attributes

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Poirier [ Upstream commit fff200caf6f9179dd9a7fc67acd659e614c3f72f ] There have been multiple reports of crashes that look like kernel: RIP: 0010:[] timecounter_read+0xf/0x50 [...] ke

[PATCH 4.17 022/336] ixgbe: Fix setting of TC configuration for macvlan case

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit 646bb57ce86e4d7b0bd9d33244450ae009411e48 ] When we were enabling macvlan interfaces we weren't correctly configuring things until ixgbe_setup_tc was called a

[PATCH 4.17 060/336] RDMA/mad: Convert BUG_ONs to error flows

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky [ Upstream commit 2468b82d69e3a53d024f28d79ba0fdb8bf43dfbf ] Let's perform checks in-place instead of BUG_ONs. Signed-off-by: Leon Romanovsky Signed-off-by: Doug Ledford Sig

Re: [PATCH net] net: dsa: Do not suspend/resume closed slave_dev

2018-08-01 Thread David Miller
From: Florian Fainelli Date: Tue, 31 Jul 2018 17:12:52 -0700 > If a DSA slave network device was previously disabled, there is no need > to suspend or resume it. > > Fixes: 2446254915a7 ("net: dsa: allow switch drivers to implement > suspend/resume hooks") > Signed-off-by: Florian Fainelli Ap

Re: [PATCH net-next] ip_gre: remove redundant variables t_hlen

2018-08-01 Thread David Miller
From: YueHaibing Date: Wed, 1 Aug 2018 10:04:02 +0800 > After commit ffc2b6ee4174 ("ip_gre: fix IFLA_MTU ignored on NEWLINK") > variable t_hlen is assigned values that are never read, > hence they are redundant and can be removed. > > Signed-off-by: YueHaibing Applied.

[PATCH 4.17 028/336] vfio: platform: Fix reset module leak in error path

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 28a68387888997e8a7fa57940ea5d55f2e16b594 ] If the IOMMU group setup fails, the reset module is not released. Fixes: b5add544d677d363 ("vfio, platform: mak

[PATCH 4.17 034/336] mm: vmalloc: avoid racy handling of debugobjects in vunmap

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chintan Pandya [ Upstream commit f3c01d2f3ade6790db67f80fef60df84424f8964 ] Currently, __vunmap flow is, 1) Release the VM area 2) Free the debug objects corresponding to that vm area. This

[PATCH 4.17 070/336] f2fs: fix to dont trigger writeback during recovery

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 020/336] hv_netvsc: fix network namespace issues with VF support

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 064/336] netfilter: nf_tables: check msg_type before nft_trans_set(trans)

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 9c7f96fd77b0dbe1fe7ed1f9c462c45dc48a1076 ] The patch moves the "trans->msg_type == NFT_MSG_NEWSET" check before using nft_trans_set(trans). Otherwise we can ge

[PATCH 4.17 021/336] skip LAYOUTRETURN if layout is invalid

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 015/336] mlxsw: spectrum_switchdev: Fix port_vlan refcounting

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 050/336] infiniband: fix a possible use-after-free bug

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit cb2595c1393b4a5211534e6f0a0fbad369e21ad8 ] ucma_process_join() will free the new allocated "mc" struct, if there is any error after that, especially the copy_to_use

[PATCH 4.17 031/336] kernel/hung_task.c: show all hung tasks before panic

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa [ Upstream commit 401c636a0eeb0d51862fce222da1bf08e3a0ffd0 ] When we get a hung task it can often be valuable to see _all_ the hung tasks on the system before calling panic(). Qu

[PATCH 4.17 036/336] rtc: ensure rtc_set_alarm fails when alarms are not supported

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 abfdff44bc38e9e2ef7929f633fb8462632299d4 ] When using RTC_ALM_SET or RTC_WKALM_SET with rtc_wkalrm.enabled not set, rtc_timer_enqueue() is not called and rt

[PATCH 4.17 003/336] Input: i8042 - add Lenovo LaVie Z to the i8042 reset list

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 384cf4285b34e08917e3e66603382f2b0c4f6e1b upstream. The Lenovo LaVie Z laptop requires i8042 to be reset in order to consistently detect its Elantech touchpad. The nomux and

[PATCH 4.17 042/336] irqchip/ls-scfg-msi: Map MSIs in the iommu

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 017/336] mm: check for SIGKILL inside dup_mmap() loop

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa [ Upstream commit 655c79bb40a0870adcd0871057d01de11625882b ] As a theoretical problem, dup_mmap() of an mm_struct with 6+ vmas can loop while potentially allocating memory, wi

[PATCH 4.17 069/336] f2fs: dont drop dentry pages after fs shutdown

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu [ Upstream commit 1174abfd8309f4c47d454734233aa3b694560e10 ] As description in commit "f2fs: don't drop any page on f2fs_cp_error() case": "We still provide readdir() after shtudown,

[PATCH 4.17 055/336] powerpc/64s: Fix compiler store ordering to SLB shadow area

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin [ Upstream commit 926bc2f100c24d4842b3064b5af44ae964c1d81c ] The stores to update the SLB shadow area must be made as they appear in the C code, so that the hypervisor does not

[PATCH 4.17 033/336] mm: /proc/pid/pagemap: hide swap entries from unprivileged users

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Huang Ying [ Upstream commit ab6ecf247a9321e3180e021a6a60164dee53ab2e ] In commit ab676b7d6fbf ("pagemap: do not leak physical addresses to non-privileged userspace"), the /proc/PID/pagemap is

[PATCH 4.17 004/336] Input: elan_i2c - add another ACPI ID for Lenovo Ideapad 330-15AST

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: KT Liao commit 6f88a6439da5d94de334a341503bc2c7f4a7ea7f upstream. Add ELAN0622 to ACPI mapping table to support Elan touchpad found in Ideapad 330-15AST. Signed-off-by: KT Liao Reported-by:

[PATCH 4.17 008/336] tracing: Fix double free of event_trigger_data

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 1863c387259b629e4ebfb255495f67cd06aa229b upstream. Running the following: # cd /sys/kernel/debug/tracing # echo 50 > buffer_size_kb [ Or some other number

[PATCH 4.17 009/336] tracing: Fix possible double free in event_enable_trigger_func()

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 011/336] tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Artem Savkov commit 57ea2a34adf40f3a6e88409aafcf803b8945619a upstream. If enable_trace_kprobe fails to enable the probe in enable_k(ret)probe it returns an error, but does not unset the tp fla

[PATCH 4.17 065/336] pnfs: Dont release the sequence slot until weve processed layoutget on open

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 030/336] vfio/type1: Fix task tracking for QEMU vCPU hotplug

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson [ Upstream commit 48d8476b41eed63567dd2f0ad125c895b9ac648a ] MAP_DMA ioctls might be called from various threads within a process, for example when using QEMU, the vCPU threads

[PATCH 4.17 056/336] clk-si544: Properly round requested frequency to nearest match

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Mike Looijmans [ Upstream commit 4d3f36c5e9ca0f947eed71660239c529c501141a ] The si544 driver had a rounding problem that using the result of clk_round_rate may set the clock to yet another rat

[PATCH 4.17 074/336] f2fs: fix to detect failure of dquot_initialize

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 029/336] vfio/mdev: Check globally for duplicate devices

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson [ Upstream commit 002fe996f67f4f46d8917b14cfb6e4313c20685a ] When we create an mdev device, we check for duplicates against the parent device and return -EEXIST if found, but t

[PATCH 4.17 024/336] ALSA: fm801: add error handling for snd_ctl_add

2018-08-01 Thread Greg Kroah-Hartman
4.17-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.17 035/336] mm/slub.c: add __printf verification to slab_err()

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 a38965bf941b7c2af50de09c96bc5f03e136caef ] __printf is useful to verify format and arguments. Remove the following warning (with W=1): mm/slub.c:721:2:

[PATCH 4.17 014/336] drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Clint Taylor commit 0ca9488193e61ec5f31a631d8147f74525629e8a upstream. On GLK NUC platforms the HDMI retiming buffer needs additional disabled time to correctly sync to a faster incoming signa

[PATCH 4.17 007/336] delayacct: fix crash in delayacct_blkio_end() after delayacct init failure

2018-08-01 Thread Greg Kroah-Hartman
4.17-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.17 041/336] netfilter: ipset: List timing out entries with "timeout 1" instead of zero

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jozsef Kadlecsik [ Upstream commit bd975e691486ba52790ba23cc9b4fecab7bc0d31 ] When listing sets with timeout support, there's a probability that just timing out entries with "0" timeout value

[PATCH 4.17 012/336] tracing: Quiet gcc warning about maybe unused link variable

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 2519c1bbe38d7acacc9aacba303ca6f97482ed53 upstream. Commit 57ea2a34adf4 ("tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure") added an if st

[PATCH 4.17 073/336] f2fs: fix missing clear FI_NO_PREALLOC in some error case

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yunlei He [ Upstream commit cba41be08cb182476fec4d318a8a8f2f8361a901 ] This patch fix missing clear FI_NO_PREALLOC in some error case Signed-off-by: Yunlei He Reviewed-by: Chao Yu Signed-of

[PATCH 4.17 013/336] arm64: fix vmemmap BUILD_BUG_ON() triggering on !vmemmap setups

2018-08-01 Thread Greg Kroah-Hartman
4.17-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.17 027/336] nfsd: fix potential use-after-free in nfsd4_decode_getdeviceinfo

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Scott Mayhew [ Upstream commit 3171822fdcdd6e6d536047c425af6dc7a92dc585 ] When running a fuzz tester against a KASAN-enabled kernel, the following splat periodically occurs. The problem occur

[PATCH 4.17 038/336] net: hns3: Fix for VF mailbox cannot receiving PF response

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang [ Upstream commit 1819e40908ee76c7219287224c22c772556c927e ] When the VF frequently switches the CMDQ interrupt, if the CMDQ_SRC is not cleared, the VF will not receive the new PF resp

[PATCH 4.17 032/336] mem_cgroup: make sure moving_account, move_lock_task and stat_cpu in the same cacheline

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Lu [ Upstream commit e81bf9793b1861d74953ef041b4f6c7faecc2dbd ] The LKP robot found a 27% will-it-scale/page_fault3 performance regression regarding commit e27be240df53("mm: memcg: make

[PATCH 4.17 051/336] powerpc/lib: Adjust .balign inside string functions for PPC32

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy [ Upstream commit 1128bb7813a896bd608fb622eee3c26aaf33b473 ] commit 87a156fb18fe1 ("Align hot loops of some string functions") degraded the performance of string functions by

[PATCH 4.17 023/336] ALSA: emu10k1: add error handling for snd_ctl_add

2018-08-01 Thread Greg Kroah-Hartman
4.17-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 019/336] xen/netfront: raise max number of slots in xennet_get_responses()

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Juergen Gross [ Upstream commit 57f230ab04d2910a06d17d988f1c4d7586a59113 ] The max number of slots used in xennet_get_responses() is set to MAX_SKB_FRAGS + (rx->status <= RX_COPY_THRESHOLD).

[PATCH 4.17 075/336] f2fs: fix race in between GC and atomic open

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu [ Upstream commit 27319ba4044c0c67d62ae39e53c0118c89f0a029 ] Thread GC thread - f2fs_ioc_start_atomic_write - get_dirty_pages - filemap_write_and_wai

Re: [PATCH v5 09/12] dt-bindings: misc: add bindings for throttler

2018-08-01 Thread Matthias Kaehlcke
Hi Chanwoo, On Wed, Aug 01, 2018 at 05:27:57PM +0900, Chanwoo Choi wrote: > Hi Matthias, > > On 2018년 07월 04일 08:47, Matthias Kaehlcke wrote: > > The Throttler is used for non-thermal throttling of system components > > like CPUs or devfreq devices. > > > > Signed-off-by: Matthias Kaehlcke > >

[PATCH 4.9 140/144] RDMA/uverbs: Protect from attempts to create flows on unsupported QP

2018-08-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 940efcc8889f0d15567eb07fc9fd69b06e366aa5 upstream. Flows can be created on UD and RAW_PACKET QP types. Attempts to provide other QP types as an input causes to various un

[PATCH 4.17 040/336] netfilter: ipset: forbid family for hash:mac sets

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Florent Fourcot [ Upstream commit cbdebe481a14b42c45aa9f4ceb5ff19b55de2c57 ] Userspace `ipset` command forbids family option for hash:mac type: ipset create test hash:mac family inet4 ipset v

[PATCH 4.9 139/144] ext4: check for allocation block validity with block group locked

2018-08-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 8d5a803c6a6ce4ec258e31f76059ea5153ba46ef upstream. With commit 044e6e3d74a3: "ext4: don't update checksum of new initialized bitmaps" the buffer valid bit will get set with

[PATCH 4.9 117/144] memory: tegra: Do not handle spurious interrupts

2018-08-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Osipenko [ Upstream commit bf3fbdfbec947cdd04b2f2c4bce11534c8786eee ] The ISR reads interrupts-enable mask, but doesn't utilize it. Apply the mask to the interrupt status and don't handl

Re: [PATCH 2/3] mm, oom: refactor oom_kill_process()

2018-08-01 Thread Johannes Weiner
On Mon, Jul 30, 2018 at 11:00:59AM -0700, Roman Gushchin wrote: > oom_kill_process() consists of two logical parts: the first one is > responsible for considering task's children as a potential victim and > printing the debug information. The second half is responsible for > sending SIGKILL to all

Re: [RFC PATCH v2 5/6] spi: Add QuadSPI driver for Atmel SAMA5D2

2018-08-01 Thread Mark Brown
On Wed, Jun 27, 2018 at 03:16:08PM +0200, Piotr Bugalski wrote: > Kernel contains QSPI driver strongly tied to MTD and nor-flash memory. > New spi-mem interface allows usage also other memory types, especially > much larger NAND with SPI interface. This driver works as SPI controller > and is not r

[PATCH 4.9 058/144] ath: Add regulatory mapping for Serbia

2018-08-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann [ Upstream commit 2a3169a54bb53717928392a04fb84deb765b51f1 ] 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 126/336] sched/cpufreq: Modify aggregate utilization to always include blocked FAIR utilization

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Patrick Bellasi [ Upstream commit 8ecf04e11283a28ca88b8b8049ac93c3a99fcd2c ] Since the refactoring introduced by: commit 8f111bc357aa ("cpufreq/schedutil: Rewrite CPUFREQ_RT support") we

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

2018-08-01 Thread Peter Shier
Thank you Thomas. Wording issues understood and will post a new patch with updated subject. Re goals: purpose is to expose feature bit with side effect of "ept_ad" in /proc/cpuinfo and is not necessarily related to VMX code. We are upstreaming some internal patches that we think would be generally

Re: [PATCH 3/3] mm, oom: introduce memory.oom.group

2018-08-01 Thread Johannes Weiner
On Wed, Aug 01, 2018 at 07:55:03AM +0200, Michal Hocko wrote: > On Tue 31-07-18 18:14:48, Roman Gushchin wrote: > > On Tue, Jul 31, 2018 at 11:07:00AM +0200, Michal Hocko wrote: > > > On Mon 30-07-18 11:01:00, Roman Gushchin wrote: > > > > +struct mem_cgroup *mem_cgroup_get_oom_group(struct task_st

Re: [PATCH] nohz: Fix missing tick reprog while interrupting inline timer softirq

2018-08-01 Thread Thomas Gleixner
On Wed, 1 Aug 2018, Frederic Weisbecker wrote: > Before updating the full nohz tick or the idle time on IRQ exit, we > check first if we are not in a nesting interrupt, whether the inner > interrupt is a hard or a soft IRQ. > > There is a historical reason for that: the dyntick idle mode used to >

[PATCH 4.9 031/144] f2fs: fix error path of move_data_page

2018-08-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu [ Upstream commit 14a28559f43ac7c0b98dd1b0e73ec9ec8ab4fc45 ] This patch fixes error path of move_data_page: - clear cold data flag if it fails to write page. - redirty page for non-ENOM

[PATCH 4.9 026/144] powerpc/64s: Fix compiler store ordering to SLB shadow area

2018-08-01 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin [ Upstream commit 926bc2f100c24d4842b3064b5af44ae964c1d81c ] The stores to update the SLB shadow area must be made as they appear in the C code, so that the hypervisor does not

[PATCH 4.9 000/144] 4.9.117-stable review

2018-08-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.117 release. There are 144 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Aug 3 16:49:15 UTC 2018. Anything recei

Re: [PATCH 3/3] mm, oom: introduce memory.oom.group

2018-08-01 Thread Johannes Weiner
On Mon, Jul 30, 2018 at 11:01:00AM -0700, Roman Gushchin wrote: > For some workloads an intervention from the OOM killer > can be painful. Killing a random task can bring > the workload into an inconsistent state. > > Historically, there are two common solutions for this > problem: > 1) enabling p

[PATCH 4.14 217/246] block: reset bi_iter.bi_done after splitting bio

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Greg Edwards commit 5151842b9d8732d4cbfa8400b40bff894f501b2f upstream. After the bio has been updated to represent the remaining sectors, reset bi_done so bio_rewind_iter() does not rewind fur

[PATCH 4.14 205/246] scsi: megaraid_sas: Increase timeout by 1 sec for non-RAID fastpath IOs

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Shivasharan S [ Upstream commit 3239b8cd28fd849a2023483257d35d68c5876c74 ] Hardware could time out Fastpath IOs one second earlier than the timeout provided by the host. For non-RAID devices,

[PATCH 4.17 178/336] arm64: dts: renesas: salvator-common: use audio-graph-card for Sound

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Kuninori Morimoto [ Upstream commit 06a574c7ef69bd0bd26ed08e35967acb76622ab3 ] Current Sound is using simple-audio-card which can't support HDMI. To use HDMI sound, we need to use audio-graph-

[PATCH 4.14 202/246] media: omap3isp: fix unbalanced dma_iommu_mapping

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Suman Anna [ Upstream commit b7e1e6859fbf60519fd82d7120cee106a6019512 ] The OMAP3 ISP driver manages its MMU mappings through the IOMMU-aware ARM DMA backend. The current code creates a dma_io

[PATCH 4.14 064/246] usbip: dynamically allocate idev by nports found in sysfs

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michael Grzeschik [ Upstream commit de19ca6fd72c7dd45ad82403e7b3fe9c74ef6767 ] As the amount of available ports varies by the kernels build configuration. To remove the limitation of the fixed

[PATCH 4.17 210/336] bnxt_en: Check unsupported speeds in bnxt_update_link() on PF only.

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Chan [ Upstream commit dac0490718bd17df5e3995ffca14255e5f9ed22d ] Only non-NPAR PFs need to actively check and manage unsupported link speeds. NPAR functions and VFs do not control th

[PATCH 4.17 235/336] mmc: dw_mmc: update actual clock for mmc debugfs

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Lin [ Upstream commit ff178981bd5fd1667f373098740cb1c6d6efa1ba ] Respect the actual clock for mmc debugfs to help better debug the hardware. mmc_host mmc0: Bus speed (slot 0) = 13547520

[PATCH 4.14 056/246] f2fs: fix error path of move_data_page

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 14a28559f43ac7c0b98dd1b0e73ec9ec8ab4fc45 ] This patch fixes error path of move_data_page: - clear cold data flag if it fails to write page. - redirty page for non-ENO

[PATCH 4.14 048/246] powerpc/eeh: Fix use-after-release of EEH driver

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sam Bobroff [ Upstream commit 46d4be41b987a6b2d25a2ebdd94cafb44e21d6c5 ] Correct two cases where eeh_pcid_get() is used to reference the driver's module but the reference is dropped before the

Re: arm64: pstore: printk causing hang during boot in __memcpy_toio with pstore enabled

2018-08-01 Thread Ivid Suvarna
On Wed, Aug 1, 2018 at 10:55 PM, Guenter Roeck wrote: > On Wed, Aug 01, 2018 at 10:46:06PM +0530, Ivid Suvarna wrote: >> On Wed, Aug 1, 2018 at 6:49 PM, Guenter Roeck wrote: >> > On 08/01/2018 05:35 AM, Ivid Suvarna wrote: >> >> >> >> Hi, >> >> >> >> When pstore is enabled and a *pr_info(any prin

[PATCH 4.17 171/336] net: ethernet: ti: cpsw-phy-sel: check bus_find_device() ret value

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko [ Upstream commit c6213eb1aee308e67377fd1890d84f7284caf531 ] This fixes klockworks warnings: Pointer 'dev' returned from call to function 'bus_find_device' at line 179 may be

[PATCH 4.17 217/336] scsi: hisi_sas: config ATA de-reset as an constrained command for v3 hw

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Xiang Chen [ Upstream commit 9413532788df7470297dd0475995c5dc5b07f362 ] As a unconstrained command, a command can be sent to SATA disk even if SATA disk status is BUSY, ERR or DRQ. If an ATA

[PATCH 4.14 203/246] regulator: Dont return or expect -errno from of_map_mode()

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Douglas Anderson [ Upstream commit 02f3703934a42417021405ef336fe45add13c3d1 ] In of_get_regulation_constraints() we were taking the result of of_map_mode() (an unsigned int) and assigning it t

[PATCH 4.17 225/336] bpf: fix references to free_bpf_prog_info() in comments

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jakub Kicinski [ Upstream commit ab7f5bf0928be2f148d000a6eaa6c0a36e74750e ] Comments in the verifier refer to free_bpf_prog_info() which seems to have never existed in tree. Replace it with f

[PATCH 4.17 240/336] dt-bindings: net: meson-dwmac: new compatible name for AXG SoC

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yixun Lan [ Upstream commit 7e5d05e18ba1ed491c6f836edee7f0b90f3167bc ] We need to introduce a new compatible name for the Meson-AXG SoC in order to support the RMII 100M ethernet PHY, since th

[PATCH 4.14 062/246] block, bfq: remove wrong lock in bfq_requests_merged

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Filippo Muzzini [ Upstream commit a12bffebc0c9d6a5851f062aaea3aa7c4adc6042 ] In bfq_requests_merged(), there is a deadlock because the lock on bfqq->bfqd->lock is held by the calling function,

[PATCH 4.14 017/246] tracing: Quiet gcc warning about maybe unused link variable

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 2519c1bbe38d7acacc9aacba303ca6f97482ed53 upstream. Commit 57ea2a34adf4 ("tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure") added an if st

[PATCH 4.14 080/246] media: tw686x: Fix incorrect vb2_mem_ops GFP flags

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ezequiel Garcia [ Upstream commit 636757ab6c93e19e2f58d3b3af1312e34eaffbab ] When the driver is configured in the "memcpy" dma-mode, it uses vb2_vmalloc_memops, which is backed by a SLAB alloc

[PATCH 4.17 195/336] tty: Fix data race in tty_insert_flip_string_fixed_flag

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: DaeRyong Jeong [ Upstream commit b6da31b2c07c46f2dcad1d86caa835227a16d9ff ] Unlike normal serials, in pty layer, there is no guarantee that multiple threads don't insert input characters at th

[PATCH 4.14 021/246] xen/netfront: raise max number of slots in xennet_get_responses()

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Juergen Gross [ Upstream commit 57f230ab04d2910a06d17d988f1c4d7586a59113 ] The max number of slots used in xennet_get_responses() is set to MAX_SKB_FRAGS + (rx->status <= RX_COPY_THRESHOLD).

[PATCH 4.14 050/246] powerpc/64s: Fix compiler store ordering to SLB shadow area

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin [ Upstream commit 926bc2f100c24d4842b3064b5af44ae964c1d81c ] The stores to update the SLB shadow area must be made as they appear in the C code, so that the hypervisor does not

[PATCH 4.17 168/336] media: smiapp: fix timeout checking in smiapp_read_nvm

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit 7a2148dfda8001c983f0effd9afd8a7fa58e99c4 ] The current code decrements the timeout counter i and the end of each loop i is incremented, so the check for timeou

[PATCH 4.17 219/336] scsi: qedf: Set the UNLOADING flag when removing a vport

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Chad Dupuis [ Upstream commit 4f4616ceebaf045c59e8a6aa01f08826d18d5c63 ] Similar to what we do when we remove a PCI function, set the QEDF_UNLOADING flag to prevent any requests from being que

[PATCH 4.14 026/246] NFSv4.1: Fix the client behaviour on NFS4ERR_SEQ_FALSE_RETRY

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 f9312a541050007ec59eb0106273a0a10718cd83 ] If the server returns NFS4ERR_SEQ_FALSE_RETRY or NFS4ERR_RETRY_UNCACHED_REP, then it thinks we're trying to replay

[PATCH 4.14 092/246] ath: Add regulatory mapping for ETSI8_WORLD

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 45faf6e096da8bb80e1ddf8c08a26a9601d9469e ] The regdomain code is used to select the correct the correct conformance test limits (CTL) for a country. If the reg

[PATCH 4.14 007/246] spi: spi-s3c64xx: Fix system resume support

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit e935dba111621bd6a0c5d48e6511a4d9885103b4 upstream. Since Linux v4.10 release (commit 1d9174fbc55e "PM / Runtime: Defer resuming of the device in pm_runtime_force_resume

Re: [PATCH 4.9 000/144] 4.9.117-stable review

2018-08-01 Thread Nathan Chancellor
On Wed, Aug 01, 2018 at 06:50:27PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.117 release. > There are 144 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

[PATCH 4.14 072/246] iwlwifi: pcie: fix race in Rx buffer allocator

2018-08-01 Thread Greg Kroah-Hartman
4.14-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.14 003/246] RDMA/core: Avoid that ib_drain_qp() triggers an out-of-bounds stack access

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit a1ae7d0345edd593d6725d3218434d903a0af95d upstream. This patch fixes the following KASAN complaint: == BU

[PATCH 4.17 237/336] dt-bindings: pinctrl: meson: add support for the Meson8m2 SoC

2018-08-01 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Martin Blumenstingl [ Upstream commit 03d9fbc39730b3e6b2e7047dc85f0f70de8fb97d ] The Meson8m2 SoC is a variant of Meson8 with some updates from Meson8b (such as the Gigabit capable DesignWare

[PATCH 4.14 084/246] btrfs: add barriers to btrfs_sync_log before log_commit_wait wakeups

2018-08-01 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Sterba [ Upstream commit 3d3a2e610ea5e7c6d4f9481ecce5d8e2d8317843 ] Currently the code assumes that there's an implied barrier by the sequence of code preceding the wakeup, namely the mu

Re: SLAB_TYPESAFE_BY_RCU without constructors (was Re: [PATCH v4 13/17] khwasan: add hooks implementation)

2018-08-01 Thread Dmitry Vyukov
On Wed, Aug 1, 2018 at 6:25 PM, Eric Dumazet wrote: > On 08/01/2018 09:22 AM, Christopher Lameter wrote: >> On Wed, 1 Aug 2018, Eric Dumazet wrote: >> >>> The idea of having a ctor() would only be a win if all the fields that >>> can be initialized in the ctor are contiguous and fill an integral >

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