[PATCH 4.10 40/75] pwm: pca9685: Fix period change with same duty cycle

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Clemens Gruber commit 8d254a340efb12b40c4c1ff25a48a4f48f7bbd6b upstream. When first implementing support for changing the output frequency, an optimization was added to continue the PWM after

[PATCH 4.10 73/75] kasan: resched in quarantine_remove_cache()

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Vyukov commit 68fd814a3391c7e017ae6ace8855788748edd981 upstream. We see reported stalls/lockups in quarantine_remove_cache() on machines with large amounts of RAM. quarantine_remove_ca

[PATCH 4.10 74/75] fat: fix using uninitialized fields of fat_inode/fsinfo_inode

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: OGAWA Hirofumi commit c0d0e351285161a515396b7b1ee53ec9ffd97e3c upstream. Recently fallocate patch was merged and it uses MSDOS_I(inode)->mmu_private at fat_evict_inode(). However, fat_inode/f

[PATCH 4.10 72/75] mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit 40e952f9d687928b32db20226f085ae660a7237c upstream. mem_cgroup_free() indirectly calls wb_domain_exit() which is not prepared to deal with a struct wb_domain object that h

RE: [PATCH V3] PCI/ASPM: reconfigure ASPM following hotplug for POLICY_DEFAULT

2017-03-13 Thread Patel, Mayurkumar
> >Hi Bjorn, > >On 3/9/2017 5:27 PM, Bjorn Helgaas wrote: >> How hard do you think it would be to rework this path slightly so we: >> >> - call pcie_aspm_init_link_state() for every device, maybe from >> pci_init_capabilities() >> >> - for bridges, have pcie_aspm_init_link_state() allocate

Re: Bad DT binding (hisi-pcie-almost-ecam)

2017-03-13 Thread Geert Uytterhoeven
On Mon, Mar 13, 2017 at 9:14 AM, Gabriele Paoloni wrote: > About the name to use here from what you suggest we should use > "hisilicon,hip06-pcie-almost-ecam" and re-use it for hip07 SoC. > To be honest I would prefer it either as it is now or to modify the > driver as: > > diff --git a/drivers/pc

[PATCH 1/1] drm/radeon: Fix GPU lockups for the R7 M270

2017-03-13 Thread Umang Raghuvanshi
Commit 3a69adfe5617 ("drm/radeon: drop oland quirks") removed quirks for Oland but also caused a regression where M270 GPUs would go into a lock-up when OpenGL intensive applications were used. This reverts the change only for the M270 and fixes the lock-ups. Signed-off-by: Umang Raghuvanshi ---

[PATCH 4.10 57/75] drm/vmwgfx: Work around drm removal of control nodes

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit 31788ca803a0c89078f9e604e64286fbd9077926 upstream. vmware tools has a daemon that gets layout information from the GUI and forwards it to DRM so that the modesetting co

[PATCH 0/1] drm/radeon: Fix GPU lockups for the R7 M270

2017-03-13 Thread Umang Raghuvanshi
The AMD Radeon R7 M270 card's OpenGL functionality completely broke down in Linux kernel v4.10. Before v4.10, the card was incorrectly identified as a Radeon R7 M265 but worked perfectly (possibly due to the similarities between the two). It should also be noted that this issue is also present in W

[PATCH 4.10 71/75] thp: fix another corner case of munlock() vs. THPs

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Kirill A. Shutemov commit 6ebb4a1b848fe75323135f93e72c78f8780fd268 upstream. The following test case triggers BUG() in munlock_vma_pages_range(): int main(int argc, char *argv[])

[PATCH 4.10 42/75] nfit, libnvdimm: fix interleave set cookie calculation

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 86ef58a4e35e8fa66afb5898cf6dec6a3bb29f67 upstream. The interleave-set cookie is a sum that sanity checks the composition of an interleave set has not changed from when the

[PATCH 4.10 75/75] drivers: hv: Turn off write permission on the hypercall page

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: K. Y. Srinivasan commit 372b1e91343e657a7cc5e2e2bcecd5140ac28119 upstream. The hypercall page only needs to be executable but currently it is setup to be writable as well. Fix the issue. Sign

[PATCH 4.10 34/75] pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 36c7c9da40c408a71e5e6bfe12e57dcf549a296d upstream. The WARN_ON() causes unnecessary backtrace when putting the parent slot, which is likely to be NULL. WARNING: CPU: 2 PID:

[PATCH 4.10 70/75] x86/tlb: Fix tlb flushing when lguest clears PGE

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 2c4ea6e28dbf15ab93632c5c189f3948366b8885 upstream. Fengguang reported random corruptions from various locations on x86-32 after commits d2852a224050 ("arch: add ARCH_HAS

[PATCH 4.10 69/75] x86, mm: fix gup_pte_range() vs DAX mappings

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit ef947b2529f918d9606533eb9c32b187ed6a5ede upstream. gup_pte_range() fails to check pte_allows_gup() before translating a DAX pte entry, pte_devmap(), to a page. This allows

[PATCH 4.10 67/75] drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 998d75730b40afc218c059d811869abe9676b305 upstream. If there is no OPREGION_ASLE_EXT then a VBT stored in mailbox #4 may use the ASLE_EXT parts of the opregion. Adjust the

[PATCH 4.10 60/75] drm/i915/gvt: Disable access to stolen memory as a guest

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit ddd09373628adcbdc3f7b9098d22328834f8d772 upstream. Explicitly disable stolen memory when running as a guest in a virtual machine, since the memory is not mediated between c

[PATCH 4.10 63/75] drm/i915: Recreate internal objects with single page segments if dmar fails

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 2d2cfc12b1270c8451edc7d2dd5f79097b3a17d8 upstream. If we fail to dma-map the object, the most common cause is lack of space inside the SW-IOTLB due to fragmentation. If we

[PATCH 4.10 59/75] drm/atomic: fix an error code in mode_fixup()

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f9ad86e42d0303eeb8e0d41bb208153022ebd9d2 upstream. Having "ret" be a bool type works for everything except ret = funcs->atomic_check(). The other functions all return zer

[PATCH 4.10 36/75] target: Fix NULL dereference during LUN lookup + active I/O shutdown

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit bd4e2d2907fa23a11d46217064ecf80470ddae10 upstream. When transport_clear_lun_ref() is shutting down a se_lun via configfs with new I/O in-flight, it's possible to trig

[PATCH 4.10 49/75] Revert "drm/amdgpu: update tile table for oland/hainan"

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare Revert commit f8d9422ef80c ("drm/amdgpu: update tile table for oland/hainan") as it is causing ugly visual artifacts on at least Oland. This is only an optimization so we can live

[PATCH 4.10 51/75] drm/ast: Fix test for VGA enabled

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Y.C. Chen commit 905f21a49d388de3e99438235f3301cabf0c0ef4 upstream. The test to see if VGA was already enabled is doing an unnecessary second test from a register that may or may not have been

[PATCH 4.10 52/75] drm/ast: Call open_key before enable_mmio in POST code

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Y.C. Chen commit 9bb92f51558f2ef5f56c257bdcea0588f31d857e upstream. open_key enables access the registers used by enable_mmio Signed-off-by: Y.C. Chen Signed-off-by: Benjamin Herrenschmidt

[PATCH 4.10 48/75] drm/amdgpu/pm: check for headless before calling compute_clocks

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit c10c8f7c27103bd7ac02d041d9d6e97296d48fc1 upstream. Don't update display bandwidth on headless asics. bug: https://bugs.freedesktop.org/show_bug.cgi?id=99387 Signed-off-by

Re: [PATCH 4.4 00/91] 4.4.53-stable review

2017-03-13 Thread Thomas Petazzoni
Hello, On Fri, 10 Mar 2017 13:27:57 -0800, Kevin Hilman wrote: > This board seems to never have successfully booted for > stable/linux-4.4.y: > https://kernelci.org/boot/id/58c2a47559b51483e7645541/ It does: https://kernelci.org/boot/id/58b457dc59b514bc145e8e4c/ The problem is not 4.4, but t

[PATCH 4.10 35/75] pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 303529d6ef1293513c2c73c9ab86489eebb37d08 upstream. The root port or PCIe switch downstream port might have been associated with driver other than pnv-php. The MSI or MSIx mig

[PATCH 4.10 09/75] s390/dcssblk: fix device size calculation in dcssblk_direct_access()

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit a63f53e34db8b49675448d03ae324f6c5bc04fe6 upstream. Since commit dd22f551 "block: Change direct_access calling convention", the device size calculation in dcssblk_direct_

[PATCH 4.10 45/75] mac80211: dont handle filtered frames within a BA session

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 890030d3c425f49abaa4acf60e20f288b599f980 upstream. When running a BA session, the driver (or the hardware) already takes care of retransmitting failed frames, since it has

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-13 Thread Vivek Gautam
Hi Kishon, On Mon, Mar 13, 2017 at 10:51 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Sunday 12 March 2017 02:48 PM, Vivek Gautam wrote: >> Hi Kishon, >> >> >> On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 09 March 2017 05:03 PM, Jaehoon Chung wrote

[PATCH 4.10 32/75] ktest: Fix child exit code processing

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 32677207dcc5e594254b7fb4fb2352b1755b1d5b upstream. The child_exit errno needs to be shifted by 8 bits to compare against the return values for the bisect variabl

[PATCH 4.10 06/75] phy: qcom-ufs: Dont kfree devres resource

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Andersson commit e7d5e412160c2143de1f818668774b33b3cdab0b upstream. Upon failing to acquire regulator supplies the qcom-ufs driver calls kfree() on the devm allocated memory used to stor

[PATCH 4.10 08/75] s390/qdio: clear DSCI prior to scanning multiple input queues

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann commit 1e4a382fdc0ba8d1a85b758c0811de3a3631085e upstream. For devices with multiple input queues, tiqdio_call_inq_handlers() iterates over all input queues and clears the devic

[PATCH 4.10 33/75] ceph: remove req from unsafe list when unregistering it

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit df963ea8a082d31521a120e8e31a29ad8a1dc215 upstream. There's no reason a request should ever be on a s_unsafe list but not in the request tree. Link: http://tracker.ceph.com/

[PATCH 4.10 05/75] Bluetooth: Add another AR3012 04ca:3018 device

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 441ad62d6c3f131f1dbd7dcdd9cbe3f74dbd8501 upstream. T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=04 Dev#= 5 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfg

Re: [PATCH v2-kernel 4.1] irqdomain: handle the per-CPU irq trigger type settings

2017-03-13 Thread Thomas Gleixner
On Mon, 13 Mar 2017, Dongjiu Geng wrote: Subject: [PATCH v2-kernel 4.1] Please do not submit patches against random ancient kernel versions. Patches need to be written against current Linus tree or against a current subsystem maintainer tree/branch. > when percpu devices set its IRQ trigger

[PATCH 4.10 31/75] tracing: Fix return value check in trace_benchmark_reg()

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 8f0994bb8cbde5452e58ce0cacdbf6cb58079d01 upstream. In case of error, the function kthread_run() returns ERR_PTR() and never returns NULL. The NULL test in the return value c

[PATCH 4.10 30/75] memory/atmel-ebi: Fix ns <-> cycles conversions

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit ee194289502a6901cc77dc9a893bf2afd351ac5e upstream. at91sam9_ebi_get_config() is incorrectly converting timings in clock cycles into timings in nanoseconds by multiplying

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-13 Thread Vivek Gautam
Hi Jaehoon, On Mon, Mar 13, 2017 at 4:48 AM, Jaehoon Chung wrote: > Hi Vivek, > > On 03/12/2017 06:18 PM, Vivek Gautam wrote: >> Hi Kishon, >> >> >> On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 09 March 2017 05:03 PM, Jaehoon Chung wrote: Make t

[PATCH 4.10 24/75] IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit d6c58dc40fec35ff6cdb350b53bce0fcf9143709 upstream. Tests have shown that the following error message is reported when using SG-GAPS registration with an mlx5 adapter: s

[PATCH 4.10 03/75] KVM: s390: Disable dirty log retrieval for UCONTROL guests

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Janosch Frank commit e1e8a9624f7ba8ead4f056ff558ed070e86fa747 upstream. User controlled KVM guests do not support the dirty log, as they have no single gmap that we can check for changes. As

[PATCH 4.10 28/75] Btrfs: fix data loss after truncate when using the no-holes feature

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 76b42abbf7488121c4f9f1ea5941123306e25d99 upstream. If we have a file with an implicit hole (NO_HOLES feature enabled) that has an extent following the hole, delayed writes

Re: [PATCH] mm, gup: fix typo in gup_p4d_range()

2017-03-13 Thread Michal Hocko
On Mon 13-03-17 08:22:13, Kirill A. Shutemov wrote: > gup_p4d_range() should call gup_pud_range(), not itself. > > Signed-off-by: Kirill A. Shutemov > Reported-by: Chris Packham > Fixes: c2febafc6773 ("mm: convert generic code to 5-level paging") Upps, missed this one during the review. Thanks

[PATCH 4.10 25/75] IB/srp: Avoid that duplicate responses trigger a kernel bug

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 6cb72bc1b40bb2c1750ee7a5ebade93bed49a5fb upstream. After srp_process_rsp() returns there is a short time during which the scsi_host_find_tag() call will return a pointer

[PATCH 4.10 29/75] orangefs: Use RCU for destroy_inode

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 0695d7dc1d9f19b82ec2cae24856bddce278cfe6 upstream. freeing of inodes must be RCU-delayed on all filesystems Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Al Viro

Re: [PATCH] mm: fix condition for throttle_direct_reclaim

2017-03-13 Thread Michal Hocko
On Fri 10-03-17 11:46:20, Shakeel Butt wrote: > Recently kswapd has been modified to give up after MAX_RECLAIM_RETRIES > number of unsucessful iterations. Before going to sleep, kswapd thread > will unconditionally wakeup all threads sleeping on pfmemalloc_wait. > However the awoken threads will re

Re: [RFC PATCH] phy: samsung: move the Samsung specific phy files to "samsung" directory

2017-03-13 Thread Kishon Vijay Abraham I
Hi Vivek, On Monday 13 March 2017 02:27 PM, Vivek Gautam wrote: > Hi Kishon, > > > On Mon, Mar 13, 2017 at 10:51 AM, Kishon Vijay Abraham I > wrote: >> Hi, >> >> On Sunday 12 March 2017 02:48 PM, Vivek Gautam wrote: >>> Hi Kishon, >>> >>> >>> On Thu, Mar 9, 2017 at 5:26 PM, Kishon Vijay Abraha

[PATCH 4.10 23/75] IB/mlx5: Fix out-of-bound access

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 0fd27a88c2e4f548937fd7d93fc6e65c4ad7c278 upstream. When we initialize buffer to create SRQ in kernel, the number of pages was less than actually used in following mlx5_f

[PATCH 4.10 21/75] IB/ipoib: Fix deadlock between rmmod and set_mode

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud commit 0a0007f28304cb9fc87809c86abb80ec71317f20 upstream. When calling set_mode from sys/fs, the call flow locks the sys/fs lock first and then tries to lock rtnl_lock (when callin

[PATCH 4.10 20/75] mnt: Tuck mounts under others instead of creating shadow/side mounts.

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 1064f874abc0d05eeed8993815f584d847b72486 upstream. Ever since mount propagation was introduced in cases where a mount in propagated to parent mount mountpoint pair tha

Re: [PATCH 1/3] ARM64: dts: meson-gx: Finally move common nodes to GX dtsi

2017-03-13 Thread Neil Armstrong
On 03/11/2017 01:23 AM, Kevin Hilman wrote: > Neil Armstrong writes: > >> Signed-off-by: Neil Armstrong > > Could use a bit more changelog here (probably what you have in the cover > letter.) Oops, sent the wrong files... Will resend the patchset with changelog for patches 1 and 3. Neil >

[PATCH 4.10 19/75] brcmfmac: fix incorrect event channel deduction

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Li commit 8e290cecdd0178f3d4cf7d463c51dc7e462843b4 upstream. brcmf_sdio_fromevntchan() was being called on the the data frame rather than the software header, causing some frames to be m

[PATCH 4.10 18/75] cxl: fix nested locking hang during EEH hotplug

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Donnellan commit 171ed0fcd8966d82c45376f1434678e7b9d4d9b1 upstream. Commit 14a3ae34bfd0 ("cxl: Prevent read/write to AFU config space while AFU not configured") introduced a rwsem to fi

[PATCH 4.9 60/63] thp: fix another corner case of munlock() vs. THPs

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kirill A. Shutemov commit 6ebb4a1b848fe75323135f93e72c78f8780fd268 upstream. The following test case triggers BUG() in munlock_vma_pages_range(): int main(int argc, char *argv[])

[PATCH 4.10 13/75] s390/topology: correct allocation of topology information

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit 8676caa4fb7fc02b2c76842a0024919d0caa4b8d upstream. The data stored by the STSI instruction can be up to a page in size but the memblock_virt_alloc allocation for tl_i

[PATCH 4.9 51/63] drm/atomic: fix an error code in mode_fixup()

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f9ad86e42d0303eeb8e0d41bb208153022ebd9d2 upstream. Having "ret" be a bool type works for everything except ret = funcs->atomic_check(). The other functions all return zero

[PATCH 4.10 11/75] s390/chsc: Add exception handler for CHSC instruction

2017-03-13 Thread Greg Kroah-Hartman
4.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Oberparleiter commit 77759137248f34864a8f7a58bbcebfcf1047504a upstream. Prevent kernel crashes due to unhandled exceptions raised by the CHSC instruction which may for example be trigger

Re: [PATCH] phy: rcar-gen3-usb2: fix implementation for runtime PM

2017-03-13 Thread Sergei Shtylyov
Hello! On 3/13/2017 9:24 AM, Yoshihiro Shimoda wrote: This patch fixes an issue that this driver doesn't take care of the runtime PM. This code assumed that devm_phy_create() called pm_runtime_enable(dev), but it misunderstood the dev_phy_create()'s specification. This driver should call the ow

[PATCH 4.9 48/63] drm/vmwgfx: Work around drm removal of control nodes

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit 31788ca803a0c89078f9e604e64286fbd9077926 upstream. vmware tools has a daemon that gets layout information from the GUI and forwards it to DRM so that the modesetting cod

[PATCH 4.9 59/63] x86/tlb: Fix tlb flushing when lguest clears PGE

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 2c4ea6e28dbf15ab93632c5c189f3948366b8885 upstream. Fengguang reported random corruptions from various locations on x86-32 after commits d2852a224050 ("arch: add ARCH_HAS_

Re: [PATCH V12 09/10] trace, ras: add ARM processor error trace event

2017-03-13 Thread Xie XiuQi
Hi Baicar Tyler, On 2017/3/13 10:31, Xie XiuQi wrote: > Hi Baicar Tyler, > > On 2017/3/11 2:23, Baicar, Tyler wrote: >> Hello Xie XiuQi, >> >> >> On 3/9/2017 2:41 AM, Xie XiuQi wrote: >>> On 2017/3/7 4:45, Tyler Baicar wrote: Currently there are trace events for the various RAS errors w

[PATCH 4.9 62/63] fat: fix using uninitialized fields of fat_inode/fsinfo_inode

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: OGAWA Hirofumi commit c0d0e351285161a515396b7b1ee53ec9ffd97e3c upstream. Recently fallocate patch was merged and it uses MSDOS_I(inode)->mmu_private at fat_evict_inode(). However, fat_inode/fs

[PATCH 4.9 15/63] cxl: fix nested locking hang during EEH hotplug

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Donnellan commit 171ed0fcd8966d82c45376f1434678e7b9d4d9b1 upstream. Commit 14a3ae34bfd0 ("cxl: Prevent read/write to AFU config space while AFU not configured") introduced a rwsem to fix

[PATCH 4.9 56/63] drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 998d75730b40afc218c059d811869abe9676b305 upstream. If there is no OPREGION_ASLE_EXT then a VBT stored in mailbox #4 may use the ASLE_EXT parts of the opregion. Adjust the v

Build regressions/improvements in v4.11-rc2

2017-03-13 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.11-rc2[1] compared to v4.10[2]. Summarized: - build errors: +10/-1 - build warnings: +1120/-830 JFYI, when comparing v4.11-rc2[1] to v4.11-rc1[3], the summaries are: - build errors: +6/-13 - build warnings: +707/-690

[PATCH 4.9 61/63] mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit 40e952f9d687928b32db20226f085ae660a7237c upstream. mem_cgroup_free() indirectly calls wb_domain_exit() which is not prepared to deal with a struct wb_domain object that ha

[PATCH 4.9 18/63] IB/ipoib: Fix deadlock between rmmod and set_mode

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud commit 0a0007f28304cb9fc87809c86abb80ec71317f20 upstream. When calling set_mode from sys/fs, the call flow locks the sys/fs lock first and then tries to lock rtnl_lock (when calling

[PATCH 4.9 44/63] drm/ast: Call open_key before enable_mmio in POST code

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Y.C. Chen commit 9bb92f51558f2ef5f56c257bdcea0588f31d857e upstream. open_key enables access the registers used by enable_mmio Signed-off-by: Y.C. Chen Signed-off-by: Benjamin Herrenschmidt A

[PATCH 4.9 52/63] drm/i915/gvt: Disable access to stolen memory as a guest

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit ddd09373628adcbdc3f7b9098d22328834f8d772 upstream. Explicitly disable stolen memory when running as a guest in a virtual machine, since the memory is not mediated between cl

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-13 Thread Baolin Wang
On 13 March 2017 at 09:09, Jun Li wrote: > Hi, > >> -Original Message- >> From: Baolin Wang [mailto:baolin.w...@linaro.org] >> Sent: Friday, March 10, 2017 6:52 PM >> To: Jun Li >> Cc: NeilBrown ; Felipe Balbi ; Greg KH >> ; Sebastian Reichel ; Dmitry >> Eremin-Solenikov ; David Woodhouse

[PATCH 4.9 24/63] fs: Better permission checking for submounts

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 93faccbbfa958a9668d3ab4e30f38dd205cee8d8 upstream. To support unprivileged users mounting filesystems two permission checks have to be performed: a test to see if the u

[PATCH 4.9 23/63] IB/srp: Fix race conditions related to task management

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 0a6fdbdeb1c25e31763c1fb333fa2723a7d2aba6 upstream. Avoid that srp_process_rsp() overwrites the status information in ch if the SRP target response timed out and processin

[PATCH 4.9 20/63] IB/mlx5: Fix out-of-bound access

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 0fd27a88c2e4f548937fd7d93fc6e65c4ad7c278 upstream. When we initialize buffer to create SRQ in kernel, the number of pages was less than actually used in following mlx5_fi

[PATCH 4.9 49/63] dmaengine: imx-sdma - correct the dma transfer residue calculation

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nandor Han commit 85f57752b33cf12f1d583f0c10b752292de00abe upstream. The residue calculation was taking in consideration that dma transaction status will be always retrieved in the dma callback

[PATCH 4.9 19/63] IB/IPoIB: Add destination address when re-queue packet

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Erez Shitrit commit 2b0841766a898aba84630fb723989a77a9d3b4e6 upstream. When sending packet to destination that was not resolved yet via path query, the driver keeps the skb and tries to re-send

[PATCH 4.9 50/63] drm/imx: imx-tve: Do not set the regulator voltage

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam commit fc12bccda8b6f5c38139eceec9e369ed78091b2b upstream. Commit deb65870b5d9d ("drm/imx: imx-tve: check the value returned by regulator_set_voltage()") exposes the following prob

[PATCH 4.9 45/63] drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Y.C. Chen commit 3856081eede297b617560b85e948cfb00bb395ec upstream. The current POST code for the AST2300/2400 family doesn't work properly if the chip hasn't been initialized previously by eit

[PATCH 4.9 43/63] drm/ast: Fix test for VGA enabled

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Y.C. Chen commit 905f21a49d388de3e99438235f3301cabf0c0ef4 upstream. The test to see if VGA was already enabled is doing an unnecessary second test from a register that may or may not have been

[PATCH 4.9 36/63] xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 4ab18701c66552944188dbcd0ce0012729baab84 upstream. FDT tag parsing is not related to whether BLK_DEV_INITRD is configured or not, move it out of the corresponding #ifdef/#en

[PATCH 4.9 31/63] target: Fix NULL dereference during LUN lookup + active I/O shutdown

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit bd4e2d2907fa23a11d46217064ecf80470ddae10 upstream. When transport_clear_lun_ref() is shutting down a se_lun via configfs with new I/O in-flight, it's possible to trigg

[PATCH 4.9 34/63] nlm: Ensure callback code also checks that the files match

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 251af29c320d86071664f02c76f0d063a19fefdf upstream. It is not sufficient to just check that the lock pids match when granting a callback, we also need to ensure that we're

[PATCH 4.9 07/63] s390/dcssblk: fix device size calculation in dcssblk_direct_access()

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit a63f53e34db8b49675448d03ae324f6c5bc04fe6 upstream. Since commit dd22f551 "block: Change direct_access calling convention", the device size calculation in dcssblk_direct_a

[PATCH 4.9 39/63] mac80211: dont reorder frames with SN smaller than SSN

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sara Sharon commit b7540d8f25c8034de7e4163fc23ac457bf057731 upstream. When RX aggregation starts, transmitter may continue send frames with SN smaller than SSN until the AddBA response is recei

[RESEND PATCH 1/3] ARM64: dts: meson-gx: Finally move common nodes to GX dtsi

2017-03-13 Thread Neil Armstrong
Since we know the GXBB and GXL/GXM share more hardware, we can safely move the remaining peripheral nodes present in the GXBB dtsi to the common GX dtsi. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 24 arch/arm64/boot/dts/amlogic/meson-gxbb.dt

[RESEND PATCH 0/3] ARM64: dts: meson-gx: Cleanup for common nodes

2017-03-13 Thread Neil Armstrong
Since we know the GXBB and GXL/GXM share more hardware, we can safely move the remaining peripheral nodes present in the GXBB dtsi to the common GX dtsi. The following patches are small cleanups and helps to uniform the GX common dtsi compatible scheme. Changes since original v1 at [1]: - Add bac

[RESEND PATCH 3/3] ARM64: dts: meson-gx: Prepend GX generic compatible like other nodes

2017-03-13 Thread Neil Armstrong
Prepend the compatible strings with a GX generic name in nodes compatible with the GXBB HW and keep the same scheme as other nodes. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arc

[PATCH 4.9 35/63] pwm: pca9685: Fix period change with same duty cycle

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Clemens Gruber commit 8d254a340efb12b40c4c1ff25a48a4f48f7bbd6b upstream. When first implementing support for changing the output frequency, an optimization was added to continue the PWM after c

[PATCH 4.9 37/63] nfit, libnvdimm: fix interleave set cookie calculation

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 86ef58a4e35e8fa66afb5898cf6dec6a3bb29f67 upstream. The interleave-set cookie is a sum that sanity checks the composition of an interleave set has not changed from when the n

[RESEND PATCH 2/3] ARM64: dts: meson-gx: empty line cleanup

2017-03-13 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 2d8dc6f..06d70bf 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b

[PATCH 4.9 30/63] pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 303529d6ef1293513c2c73c9ab86489eebb37d08 upstream. The root port or PCIe switch downstream port might have been associated with driver other than pnv-php. The MSI or MSIx migh

[PATCH 4.9 33/63] drivers/pci/hotplug: Fix initial state for empty slot

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit d0c424971f70501ec0a0364117b9934db039c9cc upstream. In PowerNV PCI hotplug driver, the initial PCI slot's state is set to PNV_PHP_STATE_POPULATED if no PCI devices are connecte

[PATCH 4.9 29/63] pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 36c7c9da40c408a71e5e6bfe12e57dcf549a296d upstream. The WARN_ON() causes unnecessary backtrace when putting the parent slot, which is likely to be NULL. WARNING: CPU: 2 PID:

[PATCH 4.9 28/63] ceph: remove req from unsafe list when unregistering it

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit df963ea8a082d31521a120e8e31a29ad8a1dc215 upstream. There's no reason a request should ever be on a s_unsafe list but not in the request tree. Link: http://tracker.ceph.com/i

[PATCH 4.9 32/63] drivers/pci/hotplug: Handle presence detection change properly

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit d7d55536c6cd1f80295b6d7483ad0587b148bde4 upstream. The surprise hotplug is driven by interrupt in PowerNV PCI hotplug driver. In the interrupt handler, pnv_php_interrupt(), we

[PATCH 4.9 27/63] ktest: Fix child exit code processing

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 32677207dcc5e594254b7fb4fb2352b1755b1d5b upstream. The child_exit errno needs to be shifted by 8 bits to compare against the return values for the bisect variable

[PATCH 4.9 25/63] orangefs: Use RCU for destroy_inode

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 0695d7dc1d9f19b82ec2cae24856bddce278cfe6 upstream. freeing of inodes must be RCU-delayed on all filesystems Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Al Viro

[PATCH 4.9 26/63] memory/atmel-ebi: Fix ns <-> cycles conversions

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit ee194289502a6901cc77dc9a893bf2afd351ac5e upstream. at91sam9_ebi_get_config() is incorrectly converting timings in clock cycles into timings in nanoseconds by multiplying

[PATCH 4.9 16/63] brcmfmac: fix incorrect event channel deduction

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Li commit 8e290cecdd0178f3d4cf7d463c51dc7e462843b4 upstream. brcmf_sdio_fromevntchan() was being called on the the data frame rather than the software header, causing some frames to be mi

[PATCH 4.9 14/63] cxl: Prevent read/write to AFU config space while AFU not configured

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Donnellan commit 14a3ae34bfd0bcb1cc12d55b06a8584c11fac6fc upstream. During EEH recovery, we deconfigure all AFUs whilst leaving the corresponding vPHB and virtual PCI device in place. I

[PATCH 4.9 00/63] 4.9.15-stable review

2017-03-13 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.15 release. There are 63 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 Wed Mar 15 08:33:55 UTC 2017. Anything receive

[PATCH 4.9 08/63] s390/kdump: Use "LINUX" ELF note name instead of "CORE"

2017-03-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Michael Holzheu commit a4a81d8eebdc1d209d034f62a082a5131e4242b5 upstream. In binutils/libbfd (bfd/elf.c) it is enforced that all s390 specific ELF notes like e.g. NT_S390_PREFIX or NT_S390_CTRS

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