[PATCH 3.18 15/26] tipc: fix cleanup at module unload

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Parthasarathy Bhuvaragan [ Upstream commit 35e22e49a5d6a741ebe7f2dd280b2052c3003ef7 ] In tipc_server_stop(), we iterate over the connections with limiting factor as server's idr_in_use. We ig

[PATCH 3.18 24/26] USB: devio: Prevent integer overflow in proc_do_submiturb()

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 57999d1107c1e60c2ca7088f2ac0f819e2f554b3 upstream. There used to be an integer overflow check in proc_do_submiturb() but we removed it. It turns out that it's still requi

[PATCH 3.18 14/26] net: sctp: fix array overrun read on sctp_timer_tbl

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit 0e73fc9a56f22f2eec4d2b2910c649f7af67b74d ] The comparison on the timeout can lead to an array overrun read on sctp_timer_tbl because of an off-by-one error. F

[PATCH 3.18 09/26] ARM: OMAP1: DMA: Correct the number of logical channels

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi [ Upstream commit 657279778af54f35e54b07b6687918f254a2992c ] OMAP1510, OMAP5910 and OMAP310 have only 9 logical channels. OMAP1610, OMAP5912, OMAP1710, OMAP730, and OMAP850 hav

[PATCH 3.18 08/26] perf test attr: Fix ignored test case result

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Richter [ Upstream commit 22905582f6dd4bbd0c370fe5732c607452010c04 ] Command perf test -v 16 (Setup struct perf_event_attr test) always reports success even if the test case fails. It

Re: [PATCH v3 15/16] iommu: introduce page response function

2017-12-07 Thread Jean-Philippe Brucker
On 06/12/17 19:25, Jacob Pan wrote: [...] >> For SMMUv3, the stall buffer may be shared between devices on some >> implementations, in which case the guest could prevent other >> devices to stall by letting the buffer fill up. >> -> We might have to keep track of stalls in the host driver and

[PATCH 3.18 07/26] usbip: tools: Install all headers needed for libusbip development

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit c15562c0dcb2c7f26e891923b784cf1926b8c833 ] usbip_host_driver.h now depends on several additional headers, which need to be installed along with it. Fixes: 021

[PATCH 3.18 12/26] nfs: Dont take a reference on fl->fl_file for LOCK operation

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington [ Upstream commit 4b09ec4b14a168bf2c687e1f598140c3c11e9222 ] I have reports of a crash that look like __fput() was called twice for a NFSv4.0 file. It seems possible that

[PATCH 3.18 02/26] bcache: recover data from backing when data is clean

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Rui Hua commit e393aa2446150536929140739f09c6ecbcbea7f0 upstream. When we send a read request and hit the clean data in cache device, there is a situation called cache read race in bcache(see

[PATCH 3.18 10/26] vti6: fix device register to report IFLA_INFO_KIND

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: David Forster [ Upstream commit 93e246f783e6bd1bc64fdfbfe68b18161f69b28e ] vti6 interface is registered before the rtnl_link_ops block is attached. As a result the resulting RTM_NEWLINK is mi

Re: [PATCH] cpufreq: longhaul: Set transition_delay_us to 20 ms

2017-12-07 Thread Rafael J. Wysocki
On Thursday, December 7, 2017 1:51:04 PM CET Meelis Roos wrote: > > On 06-12-17, 20:21, Meelis Roos wrote: > > > 3 was not reliable. > > > > > > I created root cron job > > > @reboot sleep 120; /sbin/reboot > > > > > > and by the evening it was dead again. > > > > > > Will try 5 tomorrow

Re: [RFC] vfio/type1: Add IOVA_RANGE capability support

2017-12-07 Thread Pierre Morel
On 06/12/2017 17:15, Shameerali Kolothum Thodi wrote: Hi Pierre, -Original Message- From: Shameerali Kolothum Thodi Sent: Wednesday, December 06, 2017 4:08 PM To: alex.william...@redhat.com; eric.au...@redhat.com; pmo...@linux.vnet.ibm.com Cc: k...@vger.kernel.org; linux-kernel@vger.ker

Re: [PATCH] s390/decompressor: add fortify_panic as x86 has.

2017-12-07 Thread Martin Schwidefsky
On Thu, 7 Dec 2017 11:37:27 +0100 Michal Suchanek wrote: > Fix following error: > > LD arch/s390/boot/compressed/vmlinux > drivers/s390/char/sclp_early_core.o: In function `memcpy': > ../include/linux/string.h:340: undefined reference to `fortify_panic' > make[4]: *** [../arch/s390/boot/

[PATCH 4.9 001/109] bcache: only permit to recovery read error when cache device is clean

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Coly Li commit d59b23795933678c9638fd20c942d2b4f3cd6185 upstream. When bcache does read I/Os, for example in writeback or writethrough mode, if a read request on cache device is failed, bcache

[PATCH 4.9 023/109] usb: dwc2: Error out of dwc2_hsotg_ep_disable() if were in host mode

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz [ Upstream commit 9b481092c2a31a6b630aff9c28f0145bf6683787 ] We've found that while in host mode, using Android, if one runs the command: stop adbd The existing usb devices bein

[PATCH 4.9 008/109] usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit e43a12f1793ae1fe006e26fe9327a8840a92233c upstream. KY-688 USB 3.1 Type-C Hub internally uses a Genesys Logic hub to connect to Realtek r8153. Similar to commit ("7496cfe54

[PATCH 4.9 003/109] drm/fsl-dcu: avoid disabling pixel clock twice on suspend

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit 9306e996574f7f57136a62e49cd0075f85713623 upstream. With commit 0a70c998d0c5 ("drm/fsl-dcu: enable pixel clock when enabling CRTC") the pixel clock is controlled by the CRTC

[PATCH 4.9 000/109] 4.9.68-stable review

2017-12-07 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.68 release. There are 109 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 Sat Dec 9 12:56:03 UTC 2017. Anything receiv

[PATCH 4.9 019/109] spi: sh-msiof: Fix DMA transfer size check

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hiromitsu Yamasaki [ Upstream commit 36735783fdb599c94b9c86824583df367c65900b ] DMA supports 32-bit words only, even if BITLEN1 of SITMDR2 register is 16bit. Fixes: b0d0ce8b6b91 ("spi: sh-msi

[PATCH 4.9 016/109] m68k: fix ColdFire node shift size calculation

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Greg Ungerer [ Upstream commit f55ab8f27548ff3431a6567d400c6757c49fd520 ] The m68k pg_data_table is a fix size array defined in arch/m68k/mm/init.c. Index numbers within it are defined based o

[PATCH 4.9 004/109] drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit 9fd99f4f3f5e13ce959900ae57d64b1bdb51d823 upstream. The resume helpers wait for a vblank to occurre hence IRQ need to be enabled. This avoids a warning as follows during resu

[PATCH 4.9 009/109] serial: 8250_pci: Add Amazon PCI serial device ID

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Matt Wilson commit 3bfd1300abfe3adb18e84a89d97a0e82a22124bb upstream. This device will be used in future Amazon EC2 instances as the primary serial port (i.e., data sent to this port will be av

[PATCH 4.9 022/109] usb: dwc2: Fix UDC state tracking

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz [ Upstream commit ce2b21a4e5ce042c0a42c9db8fa9e0f849427d5e ] It has been noticed that the dwc2 udc state reporting doesn't seem to work (at least on HiKey boards). Where after the

[PATCH 4.9 025/109] serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Sierra [ Upstream commit 0ab84da2e076948c49d36197ee7d254125c53eab ] The upper four bits of the XR17V35x fractional divisor register (DLD) control general chip function (RS-485 direction

[PATCH 4.9 017/109] serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner [ Upstream commit 3236a965486ba0c6043cf2c7b51943d8b382ae29 ] This driver's ->rs485_config callback checks if SER_RS485_RTS_ON_SEND and SER_RS485_RTS_AFTER_SEND have the same value

[PATCH 4.9 039/109] usb: gadget: f_fs: Fix ExtCompat descriptor validation

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vincent Pelletier [ Upstream commit 354bc45bf329494ef6051f3229ef50b9e2a7ea2a ] Reserved1 is documented as expected to be set to 0, but this test fails when it it set to 0. Reverse the conditio

[PATCH 4.9 029/109] usbip: tools: Install all headers needed for libusbip development

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit c15562c0dcb2c7f26e891923b784cf1926b8c833 ] usbip_host_driver.h now depends on several additional headers, which need to be installed along with it. Fixes: 021a

[PATCH 4.9 030/109] perf test attr: Fix ignored test case result

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Richter [ Upstream commit 22905582f6dd4bbd0c370fe5732c607452010c04 ] Command perf test -v 16 (Setup struct perf_event_attr test) always reports success even if the test case fails. It

[PATCH 4.9 038/109] dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: M'boumba Cedric Madianga [ Upstream commit 57b5a32135c813f2ab669039fb4ec16b30cb3305 ] chan->desc is always set to NULL when a DMA transfer is complete. As a DMA transfer could be complete duri

[PATCH 4.9 027/109] EDAC, sb_edac: Fix missing break in switch

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" [ Upstream commit a8e9b186f153a44690ad0363a56716e7077ad28c ] Add missing break statement in order to prevent the code from falling through. Signed-off-by: Gustavo A. R.

[PATCH 4.9 035/109] net/mlx4_en: Fix type mismatch for 32-bit systems

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Slava Shwartsman [ Upstream commit 61b6034c6cfdcb265bb453505c3d688e7567727a ] is_power_of_2 expects unsigned long and we pass u64 max_val_cycles, this will be truncated on 32 bit systems, and

[PATCH 4.9 041/109] net: systemport: Utilize skb_put_padto()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit bb7da333d0a9f3bddc08f84187b7579a3f68fd24 ] Since we need to pad our packets, utilize skb_put_padto() which increases skb->len by how much we need to pad, all

[PATCH 4.9 042/109] net: systemport: Pad packet before inserting TSB

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 38e5a85562a6cd911fc26d951d576551a688574c ] Inserting the TSB means adding an extra 8 bytes in front the of packet that is going to be used as metadata inform

[PATCH 4.9 044/109] ARM: OMAP1: DMA: Correct the number of logical channels

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi [ Upstream commit 657279778af54f35e54b07b6687918f254a2992c ] OMAP1510, OMAP5910 and OMAP310 have only 9 logical channels. OMAP1610, OMAP5912, OMAP1710, OMAP730, and OMAP850 have

[PATCH 4.9 046/109] be2net: fix accesses to unicast list

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Vecera [ Upstream commit 1d0f110a2c6c4bca3dbcc4b0e27f1e3dc2d44a2c ] Commit 988d44b "be2net: Avoid redundant addition of mac address in HW" introduced be_dev_mac_add & be_uc_mac_add helper

[PATCH 4.9 026/109] x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen [ Upstream commit da20ab35180780e4a6eadc804544f1fa967f3567 ] We do not have tracepoints for sys_modify_ldt() because we define it directly instead of using the normal SYSCALL_DEFIN

[PATCH 4.9 048/109] net/appletalk: Fix kernel memory disclosure

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Tsyrklevich [ Upstream commit ce7e40c432ba84da104438f6799d460a4cad41bc ] ipddp_route structs contain alignment padding so kernel heap memory is leaked when they are copied to user space i

[PATCH 4.9 040/109] libcxgb: fix error check for ip6_route_output()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Varun Prakash [ Upstream commit a9a8cdb368d99bb655b5cdabea560446db0527cc ] ip6_route_output() never returns NULL so check dst->error instead of !dst. Signed-off-by: Varun Prakash Signed-off-

[PATCH 4.9 055/109] drm/exynos/decon5433: update shadow registers iff there are active windows

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrzej Hajda [ Upstream commit f65a7c9cb3770ed4d3e7c57c66d7032689081b5e ] Improper usage of DECON_UPDATE register leads to subtle errors. If it set in decon_commit when there are no active wi

[PATCH 4.9 058/109] mac80211: prevent skb/txq mismatch

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kazior [ Upstream commit dbef53621116474bb883f76f0ba6b7640bc42332 ] Station structure is considered as not uploaded (to driver) until drv_sta_state() finishes. This call is however done

[PATCH 4.9 064/109] drm/exynos/decon5433: set STANDALONE_UPDATE_F on output enablement

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrzej Hajda [ Upstream commit 11d8bcef7a0399e1d2519f207fd575fc404306b4 ] DECON_TV requires STANDALONE_UPDATE after output enabling, otherwise it does not start. This change is neutral for DE

[PATCH 4.9 065/109] net: sctp: fix array overrun read on sctp_timer_tbl

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit 0e73fc9a56f22f2eec4d2b2910c649f7af67b74d ] The comparison on the timeout can lead to an array overrun read on sctp_timer_tbl because of an off-by-one error. Fi

[PATCH 4.9 059/109] NFSv4: Fix client recovery when server reboots multiple times

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust [ Upstream commit c6180a6237174f481dc856ed6e890d8196b6f0fb ] If the server reboots multiple times, the client should rely on the server to tell it that it cannot reclaim state

[PATCH 4.9 079/109] net: phy: micrel: KSZ8795 do not set SUPPORTED_[Asym_]Pause

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sean Nyekjaer [ Upstream commit cf626c3b252b2c9d131be0dd66096ec3bf729e54 ] As pr commit "net: phy: phy drivers should not set SUPPORTED_[Asym_]Pause" this phy driver should not set these featu

[PATCH 4.9 078/109] gtp: fix cross netns recv on gtp socket

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Schultz [ Upstream commit 3ab1b469e847ba425af3c5ad5068cc94b55b38d0 ] The use of the passed through netlink src_net to check for a cross netns operation was wrong. Using the GTP socket

Re: [PATCH v9 4/4] [media] platform: Add Synopsys DesignWare HDMI RX Controller Driver

2017-12-07 Thread Jose Abreu
Hi Hans, On 07-12-2017 12:33, Hans Verkuil wrote: > Hi Jose, > > Some (small) comments below: Thanks for the review! > > On 12/07/17 10:47, Jose Abreu wrote: >> This is an initial submission for the Synopsys DesignWare HDMI RX >> Controller Driver. This driver interacts with a phy driver so that

[PATCH 4.9 068/109] mac80211: dont try to sleep in rate_control_rate_init()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg [ Upstream commit 115865fa0826ed18ca04717cf72d0fe874c0fe7f ] In my previous patch, I missed that rate_control_rate_init() is called from some places that cannot sleep, so it cann

[PATCH 4.9 094/109] dma-buf/sw-sync: Use an rbtree to sort fences in the timeline

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit f1e8c67123cf171e2b0357e885e426328b241d7d upstream. Reduce the list iteration when incrementing the timeline by storing the fences in increasing order. v2: Prevent spinlock

[PATCH 4.9 092/109] dma-buf/sw-sync: sync_pt is private and of fixed size

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 3b52ce44e720c240afc4c4b03140d7b7811b23bd upstream. Since sync_pt is only allocated from a single location and is no longer the base class for fences (that is struct dma_fenc

[PATCH 4.9 069/109] RDMA/qedr: Return success when not changing QP state

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ram Amrani [ Upstream commit 865cea40b69741c3da2574176876463233b2b67c ] If the user is requesting us to change the QP state to the same state that it is already in, return success instead of f

[PATCH 4.9 087/109] net: fec: fix multicast filtering hardware setup

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Rui Sousa [ Upstream commit 01f8902bcf3ff124d0aeb88a774180ebcec20ace ] Fix hardware setup of multicast address hash: - Never clear the hardware hash (to avoid packet loss) - Construct the hash

[PATCH 4.9 076/109] nvmet: cancel fatal error and flush async work before free controller

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg [ Upstream commit 06406d81a2d7cfb8abcc4fa6cdfeb8e5897007c5 ] Make sure they are not running and we can free the controller safely. Signed-off-by: Roy Shterman Signed-off-by: Sa

[PATCH 4.9 088/109] dma-buf/dma-fence: Extract __dma_fence_is_later()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 8111477663813caa1a4469cfe6afaae36cd04513 upstream. Often we have the task of comparing two seqno known to be on the same context, so provide a common __dma_fence_is_later().

[PATCH 4.9 081/109] be2net: fix initial MAC setting

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ivan Vecera [ Upstream commit 4993b39ab04b083ff6ee1147e7e7f120feb6bf7f ] Recent commit 34393529163a ("be2net: fix MAC addr setting on privileged BE3 VFs") allows privileged BE3 VFs to set its

[PATCH 4.9 083/109] mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara [ Upstream commit 0911d0041c2298ca52a977d7b0b0159fee4b ] Some ->page_mkwrite handlers may return VM_FAULT_RETRY as its return code (GFS2 or Lustre can definitely do this). Howeve

[PATCH 4.9 090/109] dma-buf/sw-sync: Prevent user overflow on timeline advance

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 8f66d3aa1735bc95ae58d846a157357e8d41abb8 upstream. The timeline is u32, which limits any single advance to INT_MAX so that we can detect all fences that need signaling. Sig

[PATCH 4.9 084/109] xen-netfront: Improve error handling during initialization

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall [ Upstream commit e2e004acc7cbe3c531e752a270a74e95cde3ea48 ] This fixes a crash when running out of grant refs when creating many queues across many netdevs. * If creating queu

[PATCH 4.9 099/109] dma-fence: Introduce drm_fence_set_error() helper

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit a009e975da5c7d42a7f5eaadc54946eb5f76c9af upstream. The dma_fence.error field (formerly known as dma_fence.status) is an optional field that may be set by drivers before call

[PATCH 4.9 098/109] dma-fence: Wrap querying the fence->status

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit d6c99f4bf093a58d3ab47caaec74b81f18bc4e3f upstream. The fence->status is an optional field that is only valid once the fence has been signaled. (Driver may fill the fence->st

[PATCH 4.9 106/109] USB: Increase usbfs transfer limit

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Berezecki commit 1129d270cbfbb7e2b1ec3dede4a13930bdd10e41 upstream. Promote a variable keeping track of USB transfer memory usage to a wider data type and allow for higher bandwidth tra

[PATCH 4.9 096/109] dma-buf/sw_sync: clean up list before signaling the fence

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo Padovan commit 3792b7c1a70815fe4e954221c096f9278638fd21 upstream. If userspace already dropped its own reference by closing the sw_sync fence fd we might end up in a deadlock where dma_

[PATCH 4.9 104/109] usb: xhci: fix panic in xhci_free_virt_devices_depth_first

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yu Chen commit 80e457699a8dbdd70f2d26911e46f538645c55fc upstream. Check vdev->real_port 0 to avoid panic [9.261347] [] xhci_free_virt_devices_depth_first+0x58/0x108 [9.261352] [] xhci_

[PATCH 4.9 108/109] USB: usbfs: Filter flags passed in from user space

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 446f666da9f019ce2ffd03800995487e79a91462 upstream. USBDEVFS_URB_ISO_ASAP must be accepted only for ISO endpoints. Improve sanity checking. Reported-by: Andrey Konovalov S

[PATCH 4.9 105/109] USB: core: Add type-specific length check of BOS descriptors

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Masakazu Mokuno commit 81cf4a45360f70528f1f64ba018d61cb5767249a upstream. As most of BOS descriptors are longer in length than their header 'struct usb_dev_cap_header', comparing solely with it

[PATCH 4.9 109/109] usb: host: fix incorrect updating of offset

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 1d5a31582ef046d3b233f0da1a68ae26519b2f0a upstream. The variable temp is incorrectly being updated, instead it should be offset otherwise the loop just reads the same capab

Re: [PATCH v3] leds: trigger: Introduce a NETDEV trigger

2017-12-07 Thread Philippe Ombredanne
Ben, On Thu, Dec 7, 2017 at 12:46 PM, Ben Whitten wrote: > From: Ben Whitten > > This commit introduces a NETDEV trigger for named device > activity. Available triggers are link, rx, and tx. > > Signed-off-by: Ben Whitten [] > --- /dev/null > +++ b/drivers/leds/trigger/ledtrig-netdev.c > @@ -0,

[PATCH V7 09/12] clk: sprd: Add dt-bindings include file for SC9860

2017-12-07 Thread Chunyan Zhang
This file defines all SC9860 clock indexes, it should be included in the device tree in which there's device using the clocks. Signed-off-by: Chunyan Zhang Acked-by: Rob Herring --- include/dt-bindings/clock/sprd,sc9860-clk.h | 404 1 file changed, 404 insertions(+)

[PATCH V7 01/12] drivers: move clock common macros out from vendor directories

2017-12-07 Thread Chunyan Zhang
These macros are used by more than one SoC vendor platforms, avoid to have many copies of these code, this patch moves them to the common header file which every clock drivers can access to. Signed-off-by: Chunyan Zhang --- drivers/clk/sunxi-ng/ccu_common.h | 29 - dr

Re: [RFC PATCH] cpuidle/coupled: Handle broadcast enter failures

2017-12-07 Thread Daniel Lezcano
On 07/12/2017 12:47, James Hogan wrote: > On Thu, Dec 07, 2017 at 12:17:25PM +0100, Daniel Lezcano wrote: >> On 05/12/2017 23:55, James Hogan wrote: >>> From: James Hogan >>> >>> If the hrtimer based broadcast tick device is in use, the enabling of >>> broadcast ticks by cpuidle may fail when the

[PATCH V7 02/12] clk: sprd: Add common infrastructure

2017-12-07 Thread Chunyan Zhang
Added Spreadtrum's clock driver framework together with common structures and interface functions. Signed-off-by: Chunyan Zhang --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/sprd/Kconfig | 4 ++ drivers/clk/sprd/Makefile | 3 ++ drivers/clk/sprd/common.c

[PATCH V7 04/12] clk: sprd: add mux clock support

2017-12-07 Thread Chunyan Zhang
This patch adds clock multiplexor support for Spreadtrum platforms, the mux clocks also can be found in sprd composite clocks, so provides two helpers that can be reused later on. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/mux.c| 76 ++

[PATCH V7 07/12] clk: sprd: add adjustable pll support

2017-12-07 Thread Chunyan Zhang
Introduced a common adjustable pll clock driver for Spreadtrum SoCs. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/pll.c| 266 ++ drivers/clk/sprd/pll.h| 108 +++ 3 files changed, 375 inser

[PATCH V7 06/12] clk: sprd: add composite clock support

2017-12-07 Thread Chunyan Zhang
This patch introduced composite driver for Spreadtrum's SoCs. The functions of this composite clock simply consist of divider and mux clocks. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile| 1 + drivers/clk/sprd/composite.c | 60 driv

[PATCH V7 10/12] clk: sprd: add clocks support for SC9860

2017-12-07 Thread Chunyan Zhang
This patch added the list of clocks for Spreadtrum's SC9860 SoC, together with clock initialization code. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Kconfig | 10 + drivers/clk/sprd/Makefile |3 + drivers/clk/sprd/sc9860-clk.c | 1974

[PATCH V7 12/12] arm64: dts: add clocks for SC9860

2017-12-07 Thread Chunyan Zhang
Some clocks on SC9860 are in the same address area with syscon devices, those are what have a property of 'sprd,syscon' which would refer to syscon devices, others would have a reg property indicated their address ranges. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/sc9860.dtsi | 11

[PATCH V7 08/12] dt-bindings: Add Spreadtrum clock binding documentation

2017-12-07 Thread Chunyan Zhang
Introduce a new binding with its documentation for Spreadtrum clock sub-framework. Signed-off-by: Chunyan Zhang Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/sprd.txt | 63 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree

[PATCH V7 11/12] arm64: dts: add syscon for whale2 platform

2017-12-07 Thread Chunyan Zhang
Some clocks on SC9860 are in the same address area with syscon devices, the proper syscon node will be quoted under the definitions of those clocks in DT. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 46 +++- 1 file changed, 45 insertion

Re: [PATCH 4.9 038/109] dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status

2017-12-07 Thread Ludovic BARRE
add Pierre-yves Mordret acked-by: Ludovic BARRE On 12/07/2017 01:56 PM, Greg Kroah-Hartman wrote: 4.9-stable review patch. If anyone has any objections, please let me know. -- From: M'boumba Cedric Madianga [ Upstream commit 57b5a32135c813f2ab669039fb4ec16b30cb3305 ] cha

[PATCH V7 05/12] clk: sprd: add divider clock support

2017-12-07 Thread Chunyan Zhang
This is a feature that can also be found in sprd composite clocks, provide a bunch of helpers that can be reused later on. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/div.c| 90 +++ drivers/clk/sprd/div.h

Re: [PATCH 4.9 037/109] dmaengine: stm32-dma: Set correct args number for DMA request from DT

2017-12-07 Thread Ludovic BARRE
add Pierre-yves Mordret acked-by: Ludovic BARRE On 12/07/2017 01:56 PM, Greg Kroah-Hartman wrote: 4.9-stable review patch. If anyone has any objections, please let me know. -- From: M'boumba Cedric Madianga [ Upstream commit 7e96304d99477de1f70db42035071e56439da817 ] Thi

[PATCH V7 00/12] add clock driver for Spreadtrum platforms

2017-12-07 Thread Chunyan Zhang
From: Chunyan Zhang This series adds Spreadtrum clock support together with its binding documentation and devicetree data. Any comments would be greatly appreciated. Thanks, Chunyan Changes from V6: (https://lkml.org/lkml/2017/11/27/217) * Changed to use "//" format for the file header * Addre

[PATCH V7 03/12] clk: sprd: add gate clock support

2017-12-07 Thread Chunyan Zhang
Some clocks on the Spreadtrum's SoCs are just simple gates. Add support for those clocks. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/gate.c | 111 ++ drivers/clk/sprd/gate.h | 59

[PATCH 4.4 00/49] 4.4.105-stable review

2017-12-07 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.105 release. There are 49 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 Sat Dec 9 12:46:41 UTC 2017. Anything receiv

[PATCH 4.9 103/109] usb: hub: Cycle HUB power when initialization fails

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mike Looijmans commit 973593a960ddac0f14f0d8877d2d0abe0afda795 upstream. Sometimes the USB device gets confused about the state of the initialization and the connection fails. In particular, th

[PATCH 4.4 02/49] bcache: recover data from backing when data is clean

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Rui Hua commit e393aa2446150536929140739f09c6ecbcbea7f0 upstream. When we send a read request and hit the clean data in cache device, there is a situation called cache read race in bcache(see t

[PATCH 4.4 10/49] selftests/x86/ldt_get: Add a few additional tests for limits

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski [ Upstream commit fec8f5ae1715a01c72ad52cb2ecd8aacaf142302 ] We weren't testing the .limit and .limit_in_pages fields very well. Add more tests. This addition seems to trigger

[PATCH 4.4 06/49] s390/runtime instrumentation: simplify task exit handling

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 8d9047f8b967ce6181fd824ae922978e1b055cc0 upstream. Free data structures required for runtime instrumentation from arch_release_task_struct(). This allows to simplify the c

[PATCH 4.4 09/49] s390/pci: do not require AIS facility

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger [ Upstream commit 48070c73058be6de9c0d754d441ed7092dfc8f12 ] As of today QEMU does not provide the AIS facility to its guest. This prevents Linux guests from using PCI d

[PATCH 4.4 07/49] USB: serial: option: add Quectel BG96 id

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Sjoholm commit c654b21ede93845863597de9ad774fd30db5f2ab upstream. Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both CAT-M and NB-IoT. Tested hardware is BG96 mounte

[PATCH 4.4 23/49] net: systemport: Utilize skb_put_padto()

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit bb7da333d0a9f3bddc08f84187b7579a3f68fd24 ] Since we need to pad our packets, utilize skb_put_padto() which increases skb->len by how much we need to pad, all

[PATCH 4.4 30/49] KVM: arm/arm64: Fix occasional warning from the timer work function

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall [ Upstream commit 63e41226afc3f7a044b70325566fa86ac3142538 ] When a VCPU blocks (WFI) and has programmed the vtimer, we program a soft timer to expire in the future to wake up

[PATCH 4.4 28/49] ravb: Remove Rx overflow log messages

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kazuya Mizuguchi [ Upstream commit 18a3ed59d09cf81a6447aadf6931bf0c9ffec5e0 ] Remove Rx overflow log messages as in an environment where logging results in network traffic logging may cause fu

[PATCH 4.4 24/49] net: systemport: Pad packet before inserting TSB

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 38e5a85562a6cd911fc26d951d576551a688574c ] Inserting the TSB means adding an extra 8 bytes in front the of packet that is going to be used as metadata inform

[PATCH 4.4 33/49] net: sctp: fix array overrun read on sctp_timer_tbl

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit 0e73fc9a56f22f2eec4d2b2910c649f7af67b74d ] The comparison on the timeout can lead to an array overrun read on sctp_timer_tbl because of an off-by-one error. Fi

[PATCH 4.4 35/49] dmaengine: pl330: fix double lock

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Iago Abal [ Upstream commit 91539eb1fda2d530d3b268eef542c5414e54bf1a ] The static bug finder EBA (http://www.iagoabal.eu/eba/) reported the following double-lock bug: Double lock: 1.

[PATCH 4.4 31/49] NFSv4: Fix client recovery when server reboots multiple times

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust [ Upstream commit c6180a6237174f481dc856ed6e890d8196b6f0fb ] If the server reboots multiple times, the client should rely on the server to tell it that it cannot reclaim state

[PATCH 4.4 36/49] tcp: correct memory barrier usage in tcp_check_space()

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Baron [ Upstream commit 56d806222ace4c3aeae516cd7a855340fb2839d8 ] sock_reset_flag() maps to __clear_bit() not the atomic version clear_bit(). Thus, we need smp_mb(), smp_mb__after_atomi

[PATCH 4.4 38/49] xen-netfront: Improve error handling during initialization

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall [ Upstream commit e2e004acc7cbe3c531e752a270a74e95cde3ea48 ] This fixes a crash when running out of grant refs when creating many queues across many netdevs. * If creating queu

[PATCH 4.4 43/49] usb: Add USB 3.1 Precision time measurement capability descriptor support

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit faee822c5a7ab99de25cd34fcde3f8d37b6b9923 upstream. USB 3.1 devices that support precision time measurement have an additional PTM cabaility descriptor as part of the full B

[PATCH 4.4 16/49] serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Sierra [ Upstream commit 0ab84da2e076948c49d36197ee7d254125c53eab ] The upper four bits of the XR17V35x fractional divisor register (DLD) control general chip function (RS-485 direction

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