[PATCH 4.4 15/49] usb: phy: tahvo: fix error handling in tahvo_usb_probe()

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Khoroshilov [ Upstream commit ce035409bfa892a2fabb89720b542e1b335c3426 ] If devm_extcon_dev_allocate() fails, we should disable clk before return. Found by Linux Driver Verification pr

[PATCH 4.4 39/49] net: fec: fix multicast filtering hardware setup

2017-12-07 Thread Greg Kroah-Hartman
4.4-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.4 11/49] serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()

2017-12-07 Thread Greg Kroah-Hartman
4.4-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.4 19/49] sysrq : fix Show Regs call trace on ARM

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jibin Xu [ Upstream commit b00bebbc301c8e1f74f230dc82282e56b7e7a6db ] When kernel configuration SMP,PREEMPT and DEBUG_PREEMPT are enabled, echo 1 >/proc/sys/kernel/sysrq echo p >/proc/sysrq-tr

[PATCH 4.4 48/49] USB: usbfs: Filter flags passed in from user space

2017-12-07 Thread Greg Kroah-Hartman
4.4-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.14 13/75] serial: 8250_early: Only set divisor if valid clk & baud

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn commit 0ff3ab701963a845d52337ded7eebf2d1a14fe00 upstream. If either uartclk or baud are 0, avoid calculating and setting a divisor based on them since the output will almost cert

[PATCH 4.4 45/49] USB: core: Add type-specific length check of BOS descriptors

2017-12-07 Thread Greg Kroah-Hartman
4.4-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.14 14/75] MIPS: Add custom serial.h with BASE_BAUD override for generic kernel

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn commit c8ec2041f549e7f2dee0c34d25381be6f7805f99 upstream. Add a custom serial.h header for MIPS, allowing platforms to override the asm-generic version if required. The generic

[PATCH 4.14 24/75] staging: rtl8822be: fix wrong dma unmap len

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka [ Upstream commit c40a45a465e9eab72cfdd3ab69d15cf8ef8b89c8 ] Patch fixes splat: r8822be :04:00.0: DMA-API: device driver frees DMA memory with different size [device a

[PATCH 4.14 10/75] ANDROID: binder: fix transaction leak.

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martijn Coenen commit fb2c445277e7b0b4ffe10de8114bad4eccaca948 upstream. If a call to put_user() fails, we failed to properly free a transaction and send a failed reply (if necessary). Signed

[PATCH 4.14 04/75] s390/runtime instrumentation: simplify task exit handling

2017-12-07 Thread Greg Kroah-Hartman
4.14-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

[PATCH 4.14 27/75] spi: spi-axi: fix potential use-after-free after deregistration

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold [ Upstream commit 4d5e0689dc9d5640ad46cdfbe1896b74d8df1661 ] Take an extra reference to the controller before deregistering it to prevent use-after-free in the interrupt handler

[PATCH 4.14 17/75] PM / Domains: Fix genpd to deal with drivers returning 1 from ->prepare()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Hansson [ Upstream commit 5241ab40f6e742f8a1631f8826faf6dc6412b3b5 ] During system-wide PM, genpd relies on its PM callbacks to be invoked for all its attached devices, as to deal with po

Re: [PATCH v2 4/8] clocksource: owl: Prepare S700

2017-12-07 Thread Daniel Lezcano
On 07/12/2017 13:47, Andreas Färber wrote: > Am 07.12.2017 um 10:23 schrieb Daniel Lezcano: >> On 05/12/2017 00:00, Andreas Färber wrote: >>> Hi Daniel, >>> >>> Am 14.11.2017 um 00:34 schrieb Andreas Färber: Actions S700 has two 2Hz timers like S500, and four TIMx timers like S900. S

[PATCH 4.14 22/75] m68k: fix ColdFire node shift size calculation

2017-12-07 Thread Greg Kroah-Hartman
4.14-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

[PATCH 4.14 21/75] staging: greybus: loopback: Fix iteration count on async path

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Bryan O'Donoghue [ Upstream commit 44b02da39210e6dd67e39ff1f48d30c56d384240 ] Commit 12927835d211 ("greybus: loopback: Add asynchronous bi-directional support") does what it says on the tin -

[PATCH 4.14 29/75] mmc: sdhci-msm: fix issue with power irq

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Subhash Jadavani [ Upstream commit c7ccee224d2d551f712752c4a16947f6529d6506 ] SDCC controller reset (SW_RST) during probe may trigger power irq if previous status of PWRCTL was either BUS_ON

[PATCH 4.14 26/75] spi: sh-msiof: Fix DMA transfer size check

2017-12-07 Thread Greg Kroah-Hartman
4.14-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-ms

[PATCH 4.14 06/75] usbip: Fix USB device hang due to wrong enabling of scatter-gather

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Yuyang Du commit 770b2edece42fa55bbe7d4cbe53347a07b8968d4 upstream. The previous USB3 SuperSpeed enabling patches mistakenly enabled URB scatter-gather chaining, which is actually not supporte

[PATCH 4.14 09/75] serial: 8250_pci: Add Amazon PCI serial device ID

2017-12-07 Thread Greg Kroah-Hartman
4.14-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 a

[PATCH 4.14 34/75] usb: phy: tahvo: fix error handling in tahvo_usb_probe()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Khoroshilov [ Upstream commit ce035409bfa892a2fabb89720b542e1b335c3426 ] If devm_extcon_dev_allocate() fails, we should disable clk before return. Found by Linux Driver Verification p

[PATCH 4.14 46/75] staging: rtl8822be: Keep array subscript no lower than zero

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger [ Upstream commit 43d15c2013130a9fa230c2f5203aca818ae0bb86 ] The kbuild test robot reports the following: drivers/staging//rtlwifi/phydm/phydm_dig.c: In function 'odm_pause_di

[PATCH 4.14 00/75] 4.14.5-stable review

2017-12-07 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.5 release. There are 75 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 13:07:57 UTC 2017. Anything receive

[PATCH 4.14 43/75] EDAC, sb_edac: Fix missing break in switch

2017-12-07 Thread Greg Kroah-Hartman
4.14-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.14 48/75] usb: xhci: Return error when host is dead in xhci_disable_slot()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lu Baolu [ Upstream commit dcabc76fa9361186e6b88c30a68db8fa9d5b4a1c ] xhci_disable_slot() is a helper for disabling a slot when a device goes away or recovers from error situations. Currently

[PATCH 4.14 54/75] perf test attr: Fix ignored test case result

2017-12-07 Thread Greg Kroah-Hartman
4.14-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.14 35/75] PCI: dra7xx: Create functional dependency between PCIe and PHY

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kishon Vijay Abraham I [ Upstream commit 7a4db656a6350f8dd46f711bdef3b0e9c6e3f4cb ] PCI core access configuration space registers in resume_noirq callbacks. In the case of dra7xx, PIPE3 PHY c

[PATCH 4.14 55/75] perf test attr: Fix python error on empty result

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Richter [ Upstream commit 3440fe2790aa3d13530260af6033533b18959aee ] Commit d78ada4a767 ("perf tests attr: Do not store failed events") does not create an event file in the /tmp direct

[PATCH 4.14 36/75] x86/intel_rdt: Initialize bitmask of shareable resource if CDP enabled

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Reinette Chatre [ Upstream commit 95953034fb24c16ad0047a98b16427e5935830c4 ] The platform informs via CPUID.(EAX=0x10, ECX=res#):EBX[31:0] (valid res# are only 1 for L3 and 2 for L2) which un

[PATCH 4.14 50/75] serial: sh-sci: suppress warning for ports without dma channels

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lowe [ Upstream commit 7464779fa8551b90d5797d4020b0bdb7e6422eb9 ] If a port has no dma channel defined in the device tree, then don't attempt to allocate a dma channel for the port. Also

[PATCH 4.14 64/75] locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook [ Upstream commit 39208aa7ecb7d9c4e86df782b5693270313cbab1 ] With the section inlining bug fixed for the x86 refcount protection, we can turn the config back on. Signed-off-by: Kee

[PATCH 4.14 57/75] locking/refcounts, x86/asm: Use unique .text section for refcount exceptions

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook [ Upstream commit 564c9cc84e2adf8a6671c1937f0a9fe3da2a4b0e ] Using .text.unlikely for refcount exceptions isn't safe because gcc may move entire functions into .text.unlikely (e.g.

[PATCH 4.14 70/75] USB: ulpi: fix bus-node lookup

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 33c309ebc797b908029fd3a0851aefe697e9b598 upstream. Fix bus-node lookup during registration, which ended up searching the whole device tree depth-first starting at the paren

[PATCH 4.14 41/75] clocksource/drivers/arm_arch_timer: Validate CNTFRQ after enabling frame

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel [ Upstream commit 21492e1333a0d07af6968667f128e19088cf5ead ] The ACPI GTDT code validates the CNTFRQ field of each MMIO timer frame against the CNTFRQ system register of the cu

[PATCH 4.14 60/75] perf tools: Fix leaking rec_argv in error cases

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Kepplinger [ Upstream commit c896f85a7c15ab9d040ffac8b8003e47996602a2 ] Let's free the allocated rec_argv in case we return early, in order to avoid leaking memory. This adds free() a

[PATCH 4.14 40/75] x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()

2017-12-07 Thread Greg Kroah-Hartman
4.14-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_DEFI

[PATCH 4.14 66/75] powerpc/kprobes: Disable preemption before invoking probe handler for optprobes

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Naveen N. Rao commit 8a2d71a3f2737e2448aa68de2b6052cb570d3d2a upstream. Per Documentation/kprobes.txt, probe handlers need to be invoked with preemption disabled. Update optimized_callback() t

[PATCH 4.14 75/75] usb: host: fix incorrect updating of offset

2017-12-07 Thread Greg Kroah-Hartman
4.14-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 capa

[PATCH 4.14 72/75] usb: xhci: fix panic in xhci_free_virt_devices_depth_first

2017-12-07 Thread Greg Kroah-Hartman
4.14-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.14 42/75] dt-bindings: timer: renesas, cmt: Fix SoC-specific compatible values

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit e20824e944c3bf4352fcd8d9f446c41b53901e7b ] While the new family-specific compatible values introduced by commit 6f54cc1adcc8957f ("devicetree: bindings: R

[PATCH 4.14 74/75] USB: usbfs: Filter flags passed in from user space

2017-12-07 Thread Greg Kroah-Hartman
4.14-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

Re: [PATCH] x86/pci: Add a break condition when enabling BAR

2017-12-07 Thread Christian König
Hi Bandas, thanks for the patch, but this is a known issue with a fix already on the way into the next -rc. Regards, Christian. Am 07.12.2017 um 09:00 schrieb Bandan Das: On an old flaky system with AMD Opteron 6320, boot hangs with the following trace since commit fa564ad9: [ 28.181012]

[PATCH 4.14 71/75] xhci: Dont show incorrect WARN message about events for empty rings

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit e4ec40ec4b260efcca15089de4285a0a3411259b upstream. xHC can generate two events for a short transfer if the short TRB and last TRB in the TD are not the same TRB. The driv

[PATCH] tty: serial: mxs-auart: fix error handling in mxs_auart_probe

2017-12-07 Thread Branislav Radocaj
If uart_add_one_port() fails in mxs_auart_probe, the clks has to be disabled.Two clks are previously enabled in mxs_get_clks(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Branislav Radocaj --- drivers/tty/serial/mxs-auart.c | 8 ++-- 1 file changed, 6 inser

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

2017-12-07 Thread Pierre Yves MORDRET
Hi, I may ack this patch but what about dt-bindings and DT ? ~PYM~ On 12/07/2017 02:03 PM, Ludovic BARRE wrote: > 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

[PATCH 4.14 73/75] USB: core: Add type-specific length check of BOS descriptors

2017-12-07 Thread Greg Kroah-Hartman
4.14-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 i

Re: [PATCH v2 2/8] dt-bindings: timer: Add Actions Semi S700

2017-12-07 Thread Daniel Lezcano
On 14/11/2017 00:34, Andreas Färber wrote: > Define a compatible string for the Actions Semi S700 SoC timer. > > Acked-by: Rob Herring > Signed-off-by: Andreas Färber > --- Applied for 4.16 -- Linaro.org │ Open source software for ARM SoCs Follow Linaro:

[PATCH 4.14 33/75] usb: dwc2: Error out of dwc2_hsotg_ep_disable() if were in host mode

2017-12-07 Thread Greg Kroah-Hartman
4.14-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 bei

Re: [PATCH v2 3/8] clocksource: owl: Adopt TIMER_OF_DECLARE()

2017-12-07 Thread Daniel Lezcano
On 14/11/2017 00:34, Andreas Färber wrote: > Commit 1727339590fdb5a1ded881b540cd32121278d414 ("clocksource/drivers: > Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE") deprecated > CLOCKSOURCE_OF_DECLARE(), so adopt the new macro TIMER_OF_DECLARE(). > > Reported-by: Daniel Lezcano > Signed-off-

Re: rtlwifi: rtl818x: remove redundant check for cck_power > 15

2017-12-07 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > cck_poweri cannot be greated than 15 as is derived from the bottom 4 bits > from riv->channels[channel - 1].hw_value & 0xf. Hence the check for it > being greater than 15 is redundant and can be removed. > > Detected by CoverityScan, CID#744303

Re: [PATCH v2 4/8] clocksource: owl: Prepare S700

2017-12-07 Thread Daniel Lezcano
On 14/11/2017 00:34, Andreas Färber wrote: > Actions S700 has two 2Hz timers like S500, and four TIMx timers like S900. > > Signed-off-by: Andreas Färber > --- Applied for 4.16. Thanks -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: <

Re: [PATCH v7 2/2] media: i2c: Add the ov7740 image sensor driver

2017-12-07 Thread Sakari Ailus
Hi Wenyou, On Wed, Dec 06, 2017 at 10:23:43AM +0800, Wenyou Yang wrote: > The ov7740 (color) image sensor is a high performance VGA CMOS > image snesor, which supports for output formats: RAW RGB and YUV > and image sizes: VGA, and QVGA, CIF and any size smaller. > > Signed-off-by: Songjun Wu >

Re: [PATCH v2 4/8] clocksource: owl: Prepare S700

2017-12-07 Thread Andreas Färber
Am 07.12.2017 um 14:11 schrieb Daniel Lezcano: > On 07/12/2017 13:47, Andreas Färber wrote: >> Am 07.12.2017 um 10:23 schrieb Daniel Lezcano: >>> On 05/12/2017 00:00, Andreas Färber wrote: Hi Daniel, Am 14.11.2017 um 00:34 schrieb Andreas Färber: > Actions S700 has two 2Hz timers

Re: [v2] mwl8k: Expand non-DFS 5G channels

2017-12-07 Thread Kalle Valo
Weixiao Zhang wrote: > Add non-DFS 5G upper channels (149-165) besides existed 4 lower channels > (36, 40, 44, 48). > > Signed-off-by: Weixiao Zhang Patch applied to wireless-drivers-next.git, thanks. 4628257bf300 mwl8k: Expand non-DFS 5G channels -- https://patchwork.kernel.org/patch/10060

Re: [PATCH v2] i2c: stm32: Fix copyrights

2017-12-07 Thread Pierre Yves MORDRET
Wolfram, I take over ownership of this driver from now on. Acked-by: Pierre-Yves MORDRET On 12/07/2017 10:54 AM, Wolfram Sang wrote: > On Thu, Nov 30, 2017 at 09:43:57AM +0100, Benjamin Gaignard wrote: >> Uniformize STMicroelectronics copyrights headers >> Add SPDX identifier >> >> Signed-off-b

[PATCH 4.14 39/75] kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT=y

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu [ Upstream commit a30b85df7d599f626973e9cd3056fe755bd778e0 ] We want to wait for all potentially preempted kprobes trampoline execution to have completed. This guarantees tha

[PATCH 4.14 38/75] serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X

2017-12-07 Thread Greg Kroah-Hartman
4.14-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.14 37/75] x86/intel_rdt: Fix potential deadlock during resctrl mount

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Reinette Chatre [ Upstream commit 87943db7dfb0c5ee5aa74a9ac06346fadd9695c8 ] Sai reported a warning during some MBA tests: [ 236.79]

RE: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-07 Thread Nipun Gupta
> -Original Message- > From: Laurentiu Tudor > Sent: Wednesday, December 06, 2017 19:00 > To: Nipun Gupta ; stuyo...@gmail.com; Bharat > Bhushan ; gre...@linuxfoundation.org; > cakt...@gmail.com; bretth...@gmail.com; a...@arndb.de > Cc: linux-kernel@vger.kernel.org; de...@driverdev.osuosl

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

2017-12-07 Thread Ludovic BARRE
with Pierre Yves mail it's better ;-) On 12/07/2017 02:04 PM, Ludovic BARRE wrote: 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'boumb

[PATCH 4.14 68/75] staging: ccree: fix leak of import() after init()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Gilad Ben-Yossef commit c5f39d07860c35e5e4c63188139465af790f86ce upstream. crypto_ahash_import() may be called either after crypto_ahash_init() or without such call. Right now we always intern

[PATCH 4.14 69/75] usb: hub: Cycle HUB power when initialization fails

2017-12-07 Thread Greg Kroah-Hartman
4.14-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, t

[PATCH 4.14 67/75] dma-buf/sw_sync: force signal all unsignaled fences on dying timeline

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dominik Behr commit ea4d5a270b57fa8d4871f372ca9b97b7697fdfda upstream. To avoid hanging userspace components that might have been waiting on the active fences of the destroyed timeline we need

[PATCH] fs: Fix signed integer overflow for vfs_setpos

2017-12-07 Thread Ding Tianhong
The undefined behaviour sanatizer detected an signed integer overflow like this: r0 = memfd_create(&(0x7f002000-0x12)="2e726571756573745f6b65795f6175746800",0x0) lseek(r0, 0x4040, 0x1) setsockopt$inet6_IPV6_FLOWLABEL_MGR(r0, 0x29, 0x20, &(0x7f00b000-0xd)={@empty={[0x0, 0x0, 0x

Re: wlcore: use boottime for fw time sync

2017-12-07 Thread Kalle Valo
Arnd Bergmann wrote: > Using getnstimeofday()/timespec_to_ns() causes an overflow on 32-bit > architectures in 2038, and may suffer from time jumps due to > settimeofday() or leap seconds. > > I don't see a reason why this needs to be UTC, so either monotonic > or boot time would be better here.

[PATCH 4.14 65/75] powerpc/jprobes: Disable preemption when triggered through ftrace

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Naveen N. Rao commit 6baea433bc84cd148af1c524389a8d756f67412e upstream. KPROBES_SANITY_TEST throws the below splat when CONFIG_PREEMPT is enabled: Kprobe smoke test: started DEBUG_LOCKS_W

[PATCH 4.14 63/75] iio: multiplexer: add NULL check on devm_kzalloc() and devm_kmemdup() return values

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" [ Upstream commit dd92d5ea20ef8a42be7aeda08c669c586c730451 ] Check return values from call to devm_kzalloc() and devm_kmemup() in order to prevent a NULL pointer derefer

[PATCH 4.14 61/75] mm, x86/mm: Fix performance regression in get_user_pages_fast()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Kirill A. Shutemov" [ Upstream commit 5b65c4677a57a1d4414212f9995aa0e46a21ff80 ] The 0-day test bot found a performance regression that was tracked down to switching x86 to the generic get_u

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

2017-12-07 Thread Hans Verkuil
On 12/07/17 14:00, Jose Abreu wrote: > 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

[PATCH 4.14 58/75] s390/ptrace: fix guarded storage regset handling

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens [ Upstream commit 5ef2d5231d547c672c67bdf84c13a4adaf477964 ] If the guarded storage regset for current is supposed to be changed, the regset from user space is copied directly

Re: a racy access flag clearing warning when calling mmap system call

2017-12-07 Thread Will Deacon
On Thu, Dec 07, 2017 at 09:46:59AM +0800, Yisheng Xie wrote: > On 2017/12/1 21:18, Will Deacon wrote: > > On Fri, Dec 01, 2017 at 03:38:04PM +0800, chenjiankang wrote: > >> [ cut here ] > >> WARNING: at > >> ../../../../../kernel/linux-4.1/arch/arm64/include/asm/pgtab

[PATCH 4.14 56/75] kprobes/x86: Disable preemption in ftrace-based jprobes

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu [ Upstream commit 5bb4fc2d8641219732eb2bb654206775a4219aca ] Disable preemption in ftrace-based jprobe handlers as described in Documentation/kprobes.txt: "Probe handlers

Re: linux-next: build failure after merge of the printk tree

2017-12-07 Thread Petr Mladek
On Thu 2017-12-07 10:26:31, Sergey Senozhatsky wrote: > On (12/07/17 11:37), Stephen Rothwell wrote: > [..] > > include/linux/kallsyms.h: In function 'dereference_symbol_descriptor': > > include/linux/kallsyms.h:63:8: error: implicit declaration of function > > '__module_address' [-Werror=implicit

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

2017-12-07 Thread Philippe Ombredanne
Jose, On Thu, Dec 7, 2017 at 1:33 PM, Hans Verkuil wrote: > Hi Jose, > > Some (small) comments below: > > 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 >> a communicat

Re: [PATCH] [powerpc-next] Fix powerpc64 alignment of .toc section in kernel modules

2017-12-07 Thread Desnes Augusto Nunes do Rosário
Hello Michael, On 12/07/2017 10:25 AM, Michael Ellerman wrote: Hi Desnes, Am I right that Alan largely wrote this patch? If so it should probably be From: him, so that he is the author in the git log. Yes, Alan Modra is the main author and I am just committing it with minor changes. Thus, t

Re: [PATCH] i2c: stm32: Fixes multibyte transfer for STM32F4 I2C controller

2017-12-07 Thread Pierre Yves MORDRET
I do believe some investigation has to be done prior merging this patch. The impact is genuine and has to be tested thoroughly before granting an ack. Thus I prefer having a better understanding of the issue. I will try to work on this later on. Regards On 12/07/2017 11:52 AM, Wolfram Sang wro

Re: wlcore: allow elp during wowlan suspend

2017-12-07 Thread Kalle Valo
"Reizer, Eyal" wrote: > when enabling wowlan and entering suspend the last write to the firmware > allowing it to go into elp mode was not completing before suspend, leaving > the firmware running in full active mode consuming high power. > Use an immediate call instead of a work queue for this l

Re: [V2] wlcore, wl1251: fix spelling: "Couldnt" -> "Couldn't" and remove error on -ENOMEM

2017-12-07 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in error message text. Also remove the > error message on an kzalloc failure as this is redundant. > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. c4ee30a280b1 wlcore, wl1

[PATCH] sched: remove unused parameter from wakeup_gran

2017-12-07 Thread Cheng Jian
The first parameter 'curr' in wakeup_gran is unnecessary now. Signed-off-by: Cheng Jian --- kernel/sched/fair.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 4037e19..005e196 100644 --- a/kernel/sched/fair.c +++ b/kernel/

Re: [PATCH] drm/i915: Increase max texture to 16k for gen9+

2017-12-07 Thread Joonas Lahtinen
+ Ville as Jani is OoO On Thu, 2017-12-07 at 17:26 +0800, Alex Tu wrote: > Rrefer to another patch [1] on mesa to extend width/height to 16384. > For issue : > - https://bugs.freedesktop.org/show_bug.cgi?id=102508 > - LP: #1714178 Triple monitor display failed with Dell Dock (HiDPI) > > [1] htt

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

2017-12-07 Thread Philippe Ombredanne
Dear Chunyan, On Thu, Dec 7, 2017 at 1:57 PM, Chunyan Zhang wrote: > Added Spreadtrum's clock driver framework together with common > structures and interface functions. > > Signed-off-by: Chunyan Zhang > --- /dev/null > +++ b/drivers/clk/sprd/common.c > @@ -0,0 +1,96 @@ > +// SPDX-License-Iden

[PATCH 4.14 53/75] staging: fsl-mc/dpio: Fix incorrect comparison

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ioana Radulescu [ Upstream commit 8dabf52ffb6445fa5bcc8b6d2ecb615f60d0dd12 ] For some dpio functions, a cpu id parameter value of -1 is valid and means "any". But when trying to validate this

Re: rsi: fix memory leak on buf and usb_reg_buf

2017-12-07 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > In the cases where len is too long, the error return path fails to > kfree allocated buffers buf and usb_reg_buf. The simplest fix is to > perform the sanity check on len before the allocations to avoid having > to do the kfree'ing in the first

[PATCH 4.14 51/75] usbip: tools: Install all headers needed for libusbip development

2017-12-07 Thread Greg Kroah-Hartman
4.14-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

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

2017-12-07 Thread Pierre Yves MORDRET
Acked-by: Pierre-Yves MORDRET ~PYM~ On 12/07/2017 02:18 PM, Ludovic BARRE wrote: > with Pierre Yves mail it's better ;-) > > On 12/07/2017 02:04 PM, Ludovic BARRE wrote: >> add Pierre-yves Mordret >> >> acked-by: Ludovic BARRE >> >> On 12/07/2017 01:56 PM, Greg Kroah-Hartman wrote: >>> 4.9-s

[PATCH] netfilter: fix clusterip_net_exit build regression

2017-12-07 Thread Arnd Bergmann
The added check produces a build error when CONFIG_PROC_FS is disabled: net/ipv4/netfilter/ipt_CLUSTERIP.c: In function 'clusterip_net_exit': net/ipv4/netfilter/ipt_CLUSTERIP.c:822:28: error: 'cn' undeclared (first use in this function) This moves the variable declaration out of the #ifdef to ma

Re: [PATCH v2] ubsan: don't handle misaligned address when support unaligned access

2017-12-07 Thread Andrey Ryabinin
On 12/07/2017 03:49 AM, Andrew Morton wrote: > (correcting Andrey's email address) > > > From: Ding Tianhong > Subject: lib/ubsan.c: don't handle misaligned address when kernel supports > unaligned access > > ubsan reports a warning like: > > UBSAN: Undefined behaviour in ../include/linux/eth

[PATCH 4.14 49/75] sysrq : fix Show Regs call trace on ARM

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jibin Xu [ Upstream commit b00bebbc301c8e1f74f230dc82282e56b7e7a6db ] When kernel configuration SMP,PREEMPT and DEBUG_PREEMPT are enabled, echo 1 >/proc/sys/kernel/sysrq echo p >/proc/sysrq-t

[PATCH 4.14 47/75] ARM: cpuidle: Correct driver unregistration if init fails

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Leo Yan [ Upstream commit 0f87855d969a87f02048ff5ced7503465d5ab2f1 ] If cpuidle init fails, the code misses to unregister the driver for current CPU. Furthermore, we also need to rollback to

[PATCH 4.14 45/75] staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ioana Radulescu [ Upstream commit cbb3ea40fc495bf04070200b35c1c4cd05d11bd3 ] On Rx path, if we fail to build an skb from the incoming FD, we still need to update the channel buffer count acco

[PATCH 4.14 44/75] usb: mtu3: fix error return code in ssusb_gadget_init()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Chunfeng Yun [ Upstream commit c162ff0c456ef29aebd1e9d4d3e305cd3279 ] When failing to get IRQ number, platform_get_irq() may return -EPROBE_DEFER, but we ignore it and always return -ENOD

[PATCH 4.14 08/75] usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub

2017-12-07 Thread Greg Kroah-Hartman
4.14-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 ("7496cfe5

[PATCH 4.14 07/75] uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 7fee72d5e8f1e7b8d8212e28291b1a0243ecf2f1 upstream. We've been adding this as a quirk on a per device basis hoping that newer disk enclosures would do better, but that has

[PATCH] regulator: fix incorrect indentation of two assignment statements

2017-12-07 Thread Colin King
From: Colin Ian King Remove extraneous space to fix indentation on a couple of assignment statements. Signed-off-by: Colin Ian King --- drivers/regulator/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index b64

[PATCH 4.14 32/75] usb: dwc2: Fix UDC state tracking

2017-12-07 Thread Greg Kroah-Hartman
4.14-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

Re: [PATCH v2] i2c: stm32: Fix copyrights

2017-12-07 Thread Wolfram Sang
> I take over ownership of this driver from now on. > > Acked-by: Pierre-Yves MORDRET Ok. Thanks! Can you create a MAINTAINERS entry so you will get automatically CCed on patches touching your driver? signature.asc Description: PGP signature

[PATCH 4.14 05/75] usbip: fix usbip attach to find a port that matches the requested speed

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit 1ac7c8a78be85f84b019d3d2742d1a9f07255cc5 upstream. usbip attach fails to find a free port when the device on the first port is a USB_SPEED_SUPER device and non-super speed de

[PATCH 4.14 30/75] hwmon: (pmbus/core) Prevent unintentional setting of page to 0xFF

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Edward A. James" [ Upstream commit 6dcf2fb5e8db3704f50af1f198256cb4e2453f8b ] The pmbus core may call read/write word data functions with a page value of -1, intending to perform the operati

[PATCH 4.14 31/75] perf/core: Fix __perf_read_group_add() locking

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra [ Upstream commit a9cd8194e1e6bd09619954721dfaf0f94fe2003e ] Event timestamps are serialized using ctx->lock, make sure to hold it over reading all values. Signed-off-by: Pete

[PATCH 4.14 28/75] mmc: tmio: check mmc_regulator_get_supply return value

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Fabrizio Castro [ Upstream commit a3d95d1d4007b1fefd6d8b12db26fda05de05cfb ] mmc_regulator_get_supply returns -EPROBE_DEFER if either vmmc or vqmmc regulators had their probing deferred. vqmm

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