Re: [PATCH v2 10/16] iommu: introduce device fault report API

2017-10-06 Thread Jean-Philippe Brucker
Hi Jacob, On 06/10/17 00:03, Jacob Pan wrote: > Traditionally, device specific faults are detected and handled within > their own device drivers. When IOMMU is enabled, faults such as DMA > related transactions are detected by IOMMU. There is no generic > reporting mechanism to report faults back

[PATCH 3.18 27/35] md/raid10: submit bio directly to replacement disk

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li [ Upstream commit 6d399783e9d4e9bd44931501948059d24ad96ff8 ] Commit 57c67df(md/raid10: submit IO from originating thread instead of md thread) submits bio directly for normal disks

[PATCH 3.18 28/35] xfs: remove kmem_zalloc_greedy

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: "Darrick J. Wong" [ Upstream commit 08b005f1333154ae5b404ca28766e0ffb9f1c150 ] The sole remaining caller of kmem_zalloc_greedy is bulkstat, which uses it to grab 1-4 pages for staging of inob

[PATCH 3.18 04/35] MIPS: kexec: Do not reserve invalid crashkernel memory on boot

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Nowakowski [ Upstream commit a8f108d70c74d83574c157648383eb2e4285a190 ] Do not reserve memory for the crashkernel if the commandline argument points to a wrong location. This can happe

[PATCH 3.18 06/35] hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck [ Upstream commit 87cdfa9d60f4f40e6d71b04b10b36d9df3c89282 ] Writes into limit attributes can overflow due to multplications and additions with unbound input values. Writing int

[PATCH 3.18 09/35] IB/ipoib: Fix deadlock over vlan_mutex

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud [ Upstream commit 1c3098cdb05207e740715857df7b0998e372f527 ] This patch fixes Deadlock while executing ipoib_vlan_delete. The function takes the vlan_rwsem semaphore and calls un

Re: [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build

2017-10-06 Thread Simon Horman
On Thu, Oct 05, 2017 at 10:29:47PM +0200, Arnd Bergmann wrote: > On Thu, Oct 5, 2017 at 2:25 PM, Geert Uytterhoeven > wrote: > > On Thu, Oct 5, 2017 at 2:09 PM, Arnd Bergmann wrote: > >> arch/arm/mach-shmobile/headsmp-apmu.S | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git a/ar

[PATCH 3.18 31/35] ALSA: au88x0: avoid theoretical uninitialized access

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 13f99ebdd602ebdafb909e15ec6ffb1e34690167 upstream. The latest gcc-7.0.1 snapshot points out that we if nr_ch is zero, we never initialize some variables: sound/pci/au88x0

[PATCH 3.18 33/35] staging: nvec: remove duplicated const

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Peng Fan commit 716baa7b430c66187a41e4d41eedf5de01343b21 upstream. Sparse checking warning: "drivers/staging/nvec/nvec_ps2.c:172:14: warning: duplicate const". Remove the duplicated const to f

Re: [PATCH 13/20] ARM: dts: sun4i: Remove gpio-keys warnings

2017-10-06 Thread Maxime Ripard
On Thu, Oct 05, 2017 at 03:51:02PM +, Chen-Yu Tsai wrote: > On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard > wrote: > > Some gpio-keys definitions in our DTs were having buttons defined with a > > unit-address and that would generate a DTC warning. > > > > Change the buttons node names to remov

[PATCH 3.18 29/35] libata: transport: Remove circular dependency at free time

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Gwendal Grignou [ Upstream commit d85fc67dd11e9a32966140677d4d6429ca540b25 ] Without this patch, failed probe would not free resources like irq. ata port tdev object currently hold a referen

[PATCH 3.18 34/35] crypto: algif_skcipher - Load TX SG list after waiting

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 4f0414e54e4d1893c6f08260693f8ef84c929293 upstream. We need to load the TX SG list in sendmsg(2) after waiting for incoming data, not before. [conn...@google.com: backport to

Re: [PATCH] mm: page_vma_mapped: Ensure pmd is loaded with READ_ONCE outside of lock

2017-10-06 Thread Kirill A. Shutemov
On Thu, Oct 05, 2017 at 05:57:10PM +0100, Will Deacon wrote: > Loading the pmd without holding the pmd_lock exposes us to races with > concurrent updaters of the page tables but, worse still, it also allows > the compiler to cache the pmd value in a register and reuse it later on, > even if we've p

Re: [PATCH v3 1/3] crypto: engine - permit to enqueue aead_request

2017-10-06 Thread Fabien DESSENNE
OK, I will send an initial version without the AEAD part. On 05/10/17 05:39, Herbert Xu wrote: > On Tue, Oct 03, 2017 at 07:48:08AM +, Fabien DESSENNE wrote: >> It looks like there is no more activity around this "crypto_engine >> interface clean up" task. >> This unfortunately has been block

[PATCH 3.18 35/35] mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit f5527f3f002b0a6b376163613b82f69de073 upstream. This fixes CVE-2016-8650. If mpi_powm() is given a zero exponent, it wants to immediately return either 1 or 0, depen

[PATCH 3.18 07/35] ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Afzal Mohammed [ Upstream commit 8a792e9afbce84a0fdaf213fe42bb97382487094 ] REMAP_VECTORS_TO_RAM depends on DRAM_BASE, but since DRAM_BASE is a hex, REMAP_VECTORS_TO_RAM could never get enabl

[PATCH 3.18 30/35] IB/qib: fix false-postive maybe-uninitialized warning

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit f6aafac184a3e46e919769dd4faa8bf0dc436534 upstream. aarch64-linux-gcc-7 complains about code it doesn't fully understand: drivers/infiniband/hw/qib/qib_iba7322.c: In funct

Re: [PATCH 08/20] ARM: dts: sun4i: Change LRADC node names to avoid warnings

2017-10-06 Thread Maxime Ripard
On Thu, Oct 05, 2017 at 03:52:29PM +, Chen-Yu Tsai wrote: > On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard > wrote: > > One of the usage of the LRADC is to implement buttons. The bindings define > > that we should have one subnode per button, with their associated voltage > > as a property. > >

[PATCH 3.18 26/35] rds: ib: add error handle

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Zhu Yanjun [ Upstream commit 3b12f73a5c2977153f28a224392fd4729b50d1dc ] In the function rds_ib_setup_qp, the error handle is missing. When some error occurs, it is possible that memory leak o

[PATCH 3.18 03/35] MIPS: Ensure bss section ends on a long-aligned address

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton [ Upstream commit 3f00f4d8f083bc61005d0a1ef592b149f5c88bbd ] When clearing the .bss section in kernel_entry we do so using LONG_S instructions, and branch whilst the current write

[PATCH 3.18 08/35] tty: goldfish: Fix a parameter of a call to free_irq

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 1a5c2d1de7d35f5eb9793266237903348989502b ] 'request_irq()' and 'free_irq()' should be called with the same dev_id. Signed-off-by: Christophe JAILLET Sig

[PATCH 3.18 32/35] [media] ttpci: address stringop overflow warning

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 69d3973af1acd4c0989ec8218c05f12d303cd7cf upstream. gcc-7.0.1 warns about old code in ttpci: In file included from drivers/media/pci/ttpci/av7110.c:63:0: In function 'irde

[PATCH 3.18 23/35] [media] exynos-gsc: Do not swap cb/cr for semi planar formats

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thibault Saunier [ Upstream commit d7f3e33df4fbdc9855fb151f4a328ec46447e3ba ] In the case of semi planar formats cb and cr are in the same plane in memory, meaning that will be set to 'cb' wh

[PATCH 3.18 14/35] pinctrl: mvebu: Use seq_puts() in mvebu_pinconf_group_dbg_show()

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Markus Elfring [ Upstream commit 420dc61642920849d824a0de2aa853db59f5244f ] Strings which did not contain data format specifications should be put into a sequence. Thus use the corresponding

[PATCH 3.18 25/35] parisc: perf: Fix potential NULL pointer dereference

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit 74e3f6e63da6c8e8246fba1689e040bc926b4a1a ] Fix potential NULL pointer dereference and clean up coding style errors (code indent, trailing whitespaces). Signed-

[PATCH 3.18 18/35] net/packet: check length in getsockopt() called with PACKET_HDRLEN

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Potapenko [ Upstream commit fd2c83b35752f0a8236b976978ad4658df14a59f ] In the case getsockopt() is called with PACKET_HDRLEN and optlen < 4 |val| remains uninitialized and the sysca

[PATCH 3.18 21/35] mmc: sdio: fix alignment issue in struct sdio_func

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 5ef1ecf060f28ecef313b5723f1fd39bf5a35f56 ] Certain 64-bit systems (e.g. Amlogic Meson GX) require buffers to be used for DMA to be 8-byte-aligned. struct sdi

[PATCH 3.18 17/35] net: core: Prevent from dereferencing null pointer when releasing SKB

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Myungho Jung [ Upstream commit 9899886d5e8ec5b343b1efe44f185a0e68dc6454 ] Added NULL check to make __dev_kfree_skb_irq consistent with kfree family of functions. Link: https://bugzilla.kerne

[PATCH 3.18 19/35] team: fix memory leaks

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Pan Bian [ Upstream commit 72ec0bc64b9a5d8e0efcb717abfc757746b101b7 ] In functions team_nl_send_port_list_get() and team_nl_send_options_get(), pointer skb keeps the return value of nlmsg_new

[PATCH 4.9 054/104] HID: wacom: release the resources before leaving despite devm

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires [ Upstream commit 5b779fc52020ac6f5beea31c5eafc3d25cf70dc1 ] In the general case, the resources are properly released by devm without needing to do anything. However, when u

[PATCH 3.18 10/35] IB/ipoib: rtnl_unlock can not come after free_netdev

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud [ Upstream commit 89a3987ab7a923c047c6dec008e60ad6f41fac22 ] The ipoib_vlan_add function calls rtnl_unlock after free_netdev, rtnl_unlock not only releases the lock, but also call

[PATCH 3.18 00/35] 3.18.74-stable review

2017-10-06 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.74 release. There are 35 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 Sun Oct 8 09:23:44 UTC 2017. Anything receiv

[PATCH 3.18 01/35] drm: bridge: add DT bindings for TI ths8135

2017-10-06 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Golaszewski [ Upstream commit 2e644be30fcc08c736f66b60f4898d274d4873ab ] THS8135 is a configurable video DAC. Add DT bindings for this chip. Signed-off-by: Bartosz Golaszewski Revie

Re: [PATCH 1/2] drm/i915: Preallocate our mmu notifier workequeu to unbreak cpu hotplug deadlock

2017-10-06 Thread Chris Wilson
Quoting Daniel Vetter (2017-10-06 10:06:36) > 4.14-rc1 gained the fancy new cross-release support in lockdep, which > seems to have uncovered a few more rules about what is allowed and > isn't. > > This one here seems to indicate that allocating a work-queue while > holding mmap_sem is a no-go, so

[PATCH 4.9 053/104] drm: mali-dp: Fix transposed horizontal/vertical flip

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian Starkey [ Upstream commit 7916efe5b57505080b3cebf5bdb228b4eda008ea ] The horizontal and vertical flip flags were the wrong way around, causing reflect-x to result in reflect-y being appl

[PATCH] pinctrl: meson: remove unused pin_base

2017-10-06 Thread Jerome Brunet
While removing the need to have pin_base defined in meson pinctrl drivers, I forgot to remove the corresponding field from the pinctrl_data structure. Fixing this now. Fixes: 70e5ecb1b994 ("pinctrl: meson: get rid of pin_base") Signed-off-by: Jerome Brunet --- drivers/pinctrl/meson/pinctrl-meso

[PATCH 4.9 055/104] MIPS: Lantiq: Fix another request_mem_region() return code check

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit 98ea51cb0c8ce009d9da1fd7b48f0ff1d7a9bbb0 ] Hauke already fixed a couple of them, but one instance remains that checks for a negative integer when it should chec

[PATCH 4.9 029/104] ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Afzal Mohammed [ Upstream commit 8a792e9afbce84a0fdaf213fe42bb97382487094 ] REMAP_VECTORS_TO_RAM depends on DRAM_BASE, but since DRAM_BASE is a hex, REMAP_VECTORS_TO_RAM could never get enable

[PATCH 4.9 059/104] net/packet: check length in getsockopt() called with PACKET_HDRLEN

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Potapenko [ Upstream commit fd2c83b35752f0a8236b976978ad4658df14a59f ] In the case getsockopt() is called with PACKET_HDRLEN and optlen < 4 |val| remains uninitialized and the syscal

Re: stable-rc build: 6 warnings 0 failures (stable-rc/v3.18.72-22-g11fceae)

2017-10-06 Thread gregkh
On Fri, Oct 06, 2017 at 11:12:32AM +0200, Arnd Bergmann wrote: > On Thu, Oct 5, 2017 at 11:16 AM, gregkh wrote: > > On Wed, Oct 04, 2017 at 09:31:25PM +0200, Arnd Bergmann wrote: > >> On Tue, Oct 3, 2017 at 2:25 PM, Olof's autobuilder wrote: > >> > >> > Warnings: > >> > > >> > 2 drivers/med

[PATCH 4.9 057/104] lkdtm: Fix Oops when unloading the module

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Juerg Haefliger [ Upstream commit 9ba60573638e2006170ebcc5489fb1e068afbc8f ] No jprobe is registered when the module is loaded without specifying a crashpoint that uses a jprobe. At the moment

[PATCH 4.9 056/104] mips: ath79: clock:- Unmap region obtained by of_iomap

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit b3d91db3f71d5f70ea60d900425a3f96aeb3d065 ] Free memory mapping, if ath79_clocks_init_dt_ng is not successful. Signed-off-by: Arvind Yadav Fixes: 3bdf1071ba7d (

[PATCH 4.9 063/104] net: dsa: b53: Include IMP/CPU port in dumb forwarding mode

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit a424f0de61638cbb5047e0a888c54da9cf471f90 ] Since Broadcom tags are not enabled in b53 (DSA_PROTO_TAG_NONE), we need to make sure that the IMP/CPU port is inc

Re: [PATCH 4.9 010/104] MIPS: fix mem=X@Y commandline processing

2017-10-06 Thread Mathieu Malaterre
On Fri, Oct 6, 2017 at 11:18 AM, Greg Kroah-Hartman wrote: > On Fri, Oct 06, 2017 at 11:10:11AM +0200, Mathieu Malaterre wrote: >> Hi Greg, >> >> Please do not apply to stable. >> >> See: https://patchwork.linux-mips.org/patch/17235/ > > Ah, so will you send this and that one for 4.9 when it hits

[PATCH 4.9 062/104] udp: disable inner UDP checksum offloads in IPsec case

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ansis Atteka [ Upstream commit b40c5f4fde22fb98eff205b3aece05b471c24eed ] Otherwise, UDP checksum offloads could corrupt ESP packets by attempting to calculate UDP checksum when this inner UDP

[PATCH 4.9 030/104] drm/i915/psr: disable psr2 for resolution greater than 32X20

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Nagaraju, Vathsala" [ Upstream commit acf45d11050abd751dcec986ab121cb2367dcbba ] PSR2 is restricted to work with panel resolutions upto 3200x2000, move the check to intel_psr_match_conditions

Re: [PATCH v6 3/3] drm/panel: Add support for the Raspberry Pi 7" Touchscreen.

2017-10-06 Thread Thierry Reding
On Wed, Sep 27, 2017 at 12:36:54PM -0700, Eric Anholt wrote: [...] > diff --git a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c > b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c [...] > +/* We only turn the PWM on or off, without varying values. */ > +#define RPI_TOUCHSCREEN_MAX_BR

[PATCH 4.9 035/104] IB/ipoib: rtnl_unlock can not come after free_netdev

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud [ Upstream commit 89a3987ab7a923c047c6dec008e60ad6f41fac22 ] The ipoib_vlan_add function calls rtnl_unlock after free_netdev, rtnl_unlock not only releases the lock, but also calls

[PATCH 4.9 032/104] tty: goldfish: Fix a parameter of a call to free_irq

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 1a5c2d1de7d35f5eb9793266237903348989502b ] 'request_irq()' and 'free_irq()' should be called with the same dev_id. Signed-off-by: Christophe JAILLET Sign

[PATCH 4.9 034/104] IB/ipoib: Fix deadlock over vlan_mutex

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud [ Upstream commit 1c3098cdb05207e740715857df7b0998e372f527 ] This patch fixes Deadlock while executing ipoib_vlan_delete. The function takes the vlan_rwsem semaphore and calls unr

Re: [PATCH 4.4 22/50] pinctrl: mvebu: Use seq_puts() in mvebu_pinconf_group_dbg_show()

2017-10-06 Thread Greg Kroah-Hartman
On Fri, Oct 06, 2017 at 02:09:14AM -0700, Joe Perches wrote: > On Fri, 2017-10-06 at 10:53 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > I hope this patch is just to make porting some other patch easier. > > Otherwise, this ha

Re: [PATCH 1/2] IB/hfi1: Use preempt_{dis,en}able_nort()

2017-10-06 Thread Sebastian Andrzej Siewior
On 2017-10-05 18:30:19 [+0200], To Arnaldo Carvalho de Melo wrote: > On 2017-10-03 12:49:19 [-0300], Arnaldo Carvalho de Melo wrote: > > From: Arnaldo Carvalho de Melo > > > > diff --git a/drivers/infiniband/hw/hfi1/pio.c > > b/drivers/infiniband/hw/hfi1/pio.c > > index 615be68e40b3..3a30bde9a07

[PATCH 4.9 074/104] MIPS: IRQ Stack: Unwind IRQ stack onto task stack

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn [ Upstream commit db8466c581cca1a08b505f1319c3ecd246f16fa8 ] When the separate IRQ stack was introduced, stack unwinding only proceeded as far as the top of the IRQ stack, leadin

Re: [PATCH] kvm, mm: account kvm related kmem slabs to kmemcg

2017-10-06 Thread Paolo Bonzini
On 06/10/2017 03:07, Shakeel Butt wrote: > The kvm slabs can consume a significant amount of system memory > and indeed in our production environment we have observed that > a lot of machines are spending significant amount of memory that > can not be left as system memory overhead. Also the alloca

[PATCH 4.9 026/104] iio: adc: hx711: Add DT binding for avia,hx711

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Klinger [ Upstream commit ff1293f67734da68e23fecb6ecdae7112b8c43f9 ] Add DT bindings for avia,hx711 Add vendor avia to vendor list Signed-off-by: Andreas Klinger Acked-by: Rob Herrin

[PATCH 4.9 077/104] MIPS: smp-cps: Fix retrieval of VPE mask on big endian CPUs

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn [ Upstream commit fb2155e3c30dc2043b52020e26965067a3e7779c ] The vpe_mask member of struct core_boot_config is of type atomic_t, which is a 32bit type. In cps-vec.S this member w

Re: [PATCH] lightnvm: pblk: remove spinlock when freeing line metadata

2017-10-06 Thread Andrey Ryabinin
On 10/05/2017 11:35 AM, Hans Holmberg wrote: > From: Hans Holmberg > > Lockdep complains about being in atomic context while freeing line > metadata - and rightly so as we take a spinlock and end up calling > vfree that might sleep(in pblk_mfree). > > There is no need for holding the line manage

Re: [PATCH 2/2] drm/i915: Use rcu instead of stop_machine in set_wedged

2017-10-06 Thread Chris Wilson
Quoting Daniel Vetter (2017-10-06 10:06:37) > stop_machine is not really a locking primitive we should use, except > when the hw folks tell us the hw is broken and that's the only way to > work around it. > > This patch tries to address the locking abuse of stop_machine() from > > commit 20e4933c

Re: [PATCH 4.9 010/104] MIPS: fix mem=X@Y commandline processing

2017-10-06 Thread Greg Kroah-Hartman
On Fri, Oct 06, 2017 at 11:10:11AM +0200, Mathieu Malaterre wrote: > Hi Greg, > > Please do not apply to stable. > > See: https://patchwork.linux-mips.org/patch/17235/ Ah, so will you send this and that one for 4.9 when it hits Linus's tree? I'll go drop this one now, thanks. greg k-h

[PATCH 4.9 080/104] parisc: perf: Fix potential NULL pointer dereference

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit 74e3f6e63da6c8e8246fba1689e040bc926b4a1a ] Fix potential NULL pointer dereference and clean up coding style errors (code indent, trailing whitespaces). Signed-o

[PATCH 4.9 081/104] nfs: make nfs4_cb_sv_ops static

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jason Yan [ Upstream commit 05fae7bbc237bc7de0ee9c3dcf85b2572a80e3b5 ] Fixes the following sparse warning: fs/nfs/callback.c:235:21: warning: symbol 'nfs4_cb_sv_ops' was not declared. Should

[PATCH 4.9 079/104] netfilter: nfnl_cthelper: fix incorrect helper->expect_class_max

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Liping Zhang [ Upstream commit ae5c682113f9f94cc5e76f92cf041ee624c173ee ] The helper->expect_class_max must be set to the total number of expect_policy minus 1, since we will use the statement

[PATCH 4.9 083/104] cpufreq: intel_pstate: Update pid_params.sample_rate_ns in pid_param_set()

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" [ Upstream commit 6e7408acd04d06c04981c0c0fb5a2462b16fae4f ] Fix the debugfs interface for PID tuning to actually update pid_params.sample_rate_ns on PID parameters updates

[PATCH 4.9 084/104] x86/acpi: Restore the order of CPU IDs

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dou Liyang [ Upstream commit 2b85b3d22920db7473e5fed5719e7955c0ec323e ] The following commits: f7c28833c2 ("x86/acpi: Enable acpi to register all possible cpus at boot time") and 8f54969dc8

[PATCH 4.9 085/104] iommu/io-pgtable-arm: Check for leaf entry before dereferencing it

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Oleksandr Tyshchenko [ Upstream commit ed46e66cc1b3d684042f92dfa2ab15ee917b4cac ] Do a check for already installed leaf entry at the current level before dereferencing it in order to avoid wal

[PATCH 4.9 087/104] mm/cgroup: avoid panic when init with low memory

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Dufour [ Upstream commit bfc7228b9a9647e1c353e50b40297a2929801759 ] The system may panic when initialisation is done when almost all the memory is assigned to the huge pages using the

[PATCH 4.9 088/104] rds: ib: add error handle

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Zhu Yanjun [ Upstream commit 3b12f73a5c2977153f28a224392fd4729b50d1dc ] In the function rds_ib_setup_qp, the error handle is missing. When some error occurs, it is possible that memory leak oc

Re: [PATCH v3 1/4] phy: rcar-gen3-usb2: check dr_mode for otg mode

2017-10-06 Thread Simon Horman
On Fri, Sep 01, 2017 at 11:41:22AM +0900, Yoshihiro Shimoda wrote: > The previous code assumed a channel has otg capability if a channel > has interrupt property. But, it is not good because: > - Battery charging feature also needs interrupt property. > - Some R-Car Gen3 SoCs (e.g. R-Car D3) don'

Re: [PATCH v3 2/4] phy: rcar-gen3-usb2: split the two meaning of "has_otg"

2017-10-06 Thread Simon Horman
On Fri, Sep 01, 2017 at 11:41:23AM +0900, Yoshihiro Shimoda wrote: > The has_otg on previous code has the two meaning: > - The channel has dedicated otg pins (ID, VBUS). > - The channel can swap the role via sysfs. > > However, some SoCs (e.g. R-Car D3) doesn't have such dedicated pins, > but th

[PATCH 4.9 090/104] netfilter: nf_tables: set pktinfo->thoff at AH header if found

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso [ Upstream commit 568af6de058cb2b0c5b98d98ffcf37cdc6bc38a7 ] Phil Sutter reports that IPv6 AH header matching is broken. From userspace, nft generates bytecode that expects t

Re: [PATCH v3 4/4] phy: rcar-gen3-usb2: add binding for r8a77995

2017-10-06 Thread Simon Horman
On Fri, Sep 01, 2017 at 11:41:25AM +0900, Yoshihiro Shimoda wrote: > This patch adds binding for r8a77995 (R-Car D3). Since r8a77995 doesn't > have dedicated pins (ID, VBUS), this will match against the generic > fallback on R-Car D3. > > For now, this driver doesn't support usb role swap for r8a7

Re: [PATCH v3 3/4] phy: rcar-gen3-usb2: add SoC-specific parameter for dedicated pins

2017-10-06 Thread Simon Horman
On Fri, Sep 01, 2017 at 11:41:24AM +0900, Yoshihiro Shimoda wrote: > This patch adds SoC-specific parameter to avoid reading/writing > specific registers wrongly if this driver runs on a SoC which doesn't > have dedicated pins (e.g. R-Car D3). > > Signed-off-by: Yoshihiro Shimoda Reviewed-by: Si

[PATCH 4.9 091/104] i2c: meson: fix wrong variable usage in meson_i2c_put_data

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 3b0277f198ac928f323c42e180680d2f79aa980d ] Most likely a copy & paste error. Signed-off-by: Heiner Kallweit Acked-by: Jerome Brunet Signed-off-by: Wolfram

[PATCH 4.9 093/104] ASoC: wm_adsp: Return an error on write to a disabled volatile control

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Charles Keepax [ Upstream commit 67430a39ca7a6af28aade5acb92d43ee257c1014 ] Volatile controls should only be accessed when the firmware is active, currently however writes to these controls wi

[PATCH 4.9 094/104] libata: transport: Remove circular dependency at free time

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gwendal Grignou [ Upstream commit d85fc67dd11e9a32966140677d4d6429ca540b25 ] Without this patch, failed probe would not free resources like irq. ata port tdev object currently hold a referenc

[PATCH 4.9 067/104] Btrfs: fix segmentation fault when doing dio read

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Liu Bo [ Upstream commit 97bf5a5589aa3a59c60aa775fc12ec0483fc5002 ] Commit 2dabb3248453 ("Btrfs: Direct I/O read: Work on sectorsized blocks") introduced this bug during iterating bio pages in

[PATCH 4.9 097/104] IB/qib: fix false-postive maybe-uninitialized warning

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit f6aafac184a3e46e919769dd4faa8bf0dc436534 upstream. aarch64-linux-gcc-7 complains about code it doesn't fully understand: drivers/infiniband/hw/qib/qib_iba7322.c: In functi

Re: stable-rc build: 6 warnings 0 failures (stable-rc/v3.18.72-22-g11fceae)

2017-10-06 Thread Arnd Bergmann
On Thu, Oct 5, 2017 at 11:16 AM, gregkh wrote: > On Wed, Oct 04, 2017 at 09:31:25PM +0200, Arnd Bergmann wrote: >> On Tue, Oct 3, 2017 at 2:25 PM, Olof's autobuilder wrote: >> >> > Warnings: >> > >> > 2 drivers/media/pci/ttpci/av7110_hw.h:406:3: warning: 'memcpy': >> > specified size betwe

[PATCH 4.9 100/104] ASoC: rt5659: drop double const

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Mc Guire commit eae39b5f4269260d5d8b35133ba0f4c5e2895b71 upstream. Drop the const qualifier as it is being added by SOC_ENUM_DOUBLE_DECL() already which is called by SOC_ENUM_SINGLE_DE

[PATCH 4.9 101/104] ASoC: rt5660: remove double const

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Mc Guire commit 4281fcc02ed9f902dfa52d3635ac7f04b1a7341f upstream. Drop the const qualifier as it is being added by SOC_ENUM_DOUBLE_DECL() already which is called by SOC_ENUM_SINGLE_DE

[PATCH 4.9 070/104] hugetlbfs: initialize shared policy as part of inode allocation

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mike Kravetz [ Upstream commit 4742a35d9de745e867405b4311e1aac412f0ace1 ] Any time after inode allocation, destroy_inode can be called. The hugetlbfs inode contains a shared_policy structure,

[PATCH 4.9 075/104] iommu/exynos: Block SYSMMU while invalidating FLPD cache

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski [ Upstream commit 7d2aa6b814476a2e2794960f844344519246df72 ] Documentation specifies that SYSMMU should be in blocked state while performing TLB/FLPD cache invalidation, so ad

[PATCH 4.9 073/104] netfilter: invoke synchronize_rcu after set the _hook_ to NULL

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Liping Zhang [ Upstream commit 3b7dabf029478bb80507a6c4500ca94132a2bc0b ] Otherwise, another CPU may access the invalid pointer. For example: CPU0CPU1 - r

Re: [PATCH 4.9 010/104] MIPS: fix mem=X@Y commandline processing

2017-10-06 Thread Mathieu Malaterre
Hi Greg, Please do not apply to stable. See: https://patchwork.linux-mips.org/patch/17235/ Thanks On Fri, Oct 6, 2017 at 10:50 AM, Greg Kroah-Hartman wrote: > 4.9-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Marcin Nowakowski > > > [

[PATCH] Documentation: add Kernel Driver Statement to the kernel

2017-10-06 Thread Greg Kroah-Hartman
Way back in 2008 we didn't have "robust" in-kernel documentation system, so the idea of putting something like the kernel driver statement in the kernel tree wasn't even imagined. But now that has changed, so add the old document to the kernel source itself to allow for us to properly reference it

[PATCH 4.9 103/104] [media] ttpci: address stringop overflow warning

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 69d3973af1acd4c0989ec8218c05f12d303cd7cf upstream. gcc-7.0.1 warns about old code in ttpci: In file included from drivers/media/pci/ttpci/av7110.c:63:0: In function 'irdeb

[PATCH 4.9 104/104] s390/mm: make pmdp_invalidate() do invalidation only

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit 91c575b335766effa6103eba42a82aea560c365f upstream. Commit 227be799c39a ("s390/mm: uninline pmdp_xxx functions from pgtable.h") inadvertently changed the behavior of pmdp_

[PATCH 4.9 102/104] ALSA: au88x0: avoid theoretical uninitialized access

2017-10-06 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 13f99ebdd602ebdafb909e15ec6ffb1e34690167 upstream. The latest gcc-7.0.1 snapshot points out that we if nr_ch is zero, we never initialize some variables: sound/pci/au88x0/

[PATCH 4.4 12/50] iio: adc: axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede [ Upstream commit fa2849e9649b5180ffc4cb3c3b005261c403093a ] For some reason the axp288_adc driver was modifying the AXP288_ADC_TS_PIN_CTRL register, changing bits 0-1 depending

Re: [PATCH 4.4 22/50] pinctrl: mvebu: Use seq_puts() in mvebu_pinconf_group_dbg_show()

2017-10-06 Thread Joe Perches
On Fri, 2017-10-06 at 10:53 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. I hope this patch is just to make porting some other patch easier. Otherwise, this has no place in stable as it has no change in functionality and is a comple

[PATCH 4.4 14/50] ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Afzal Mohammed [ Upstream commit 8a792e9afbce84a0fdaf213fe42bb97382487094 ] REMAP_VECTORS_TO_RAM depends on DRAM_BASE, but since DRAM_BASE is a hex, REMAP_VECTORS_TO_RAM could never get enable

[PATCH 4.4 15/50] tty: goldfish: Fix a parameter of a call to free_irq

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 1a5c2d1de7d35f5eb9793266237903348989502b ] 'request_irq()' and 'free_irq()' should be called with the same dev_id. Signed-off-by: Christophe JAILLET Sign

Re: [PATCH tip/core/rcu 1/9] rcu: Provide GP ordering in face of migrations and delays

2017-10-06 Thread Peter Zijlstra
On Thu, Oct 05, 2017 at 11:22:04AM -0700, Paul E. McKenney wrote: > Hmmm... Here is what I was worried about: > > C C-PaulEMcKenney-W+RWC4+2017-10-05 > > { > } > > P0(int *a, int *x) > { > WRITE_ONCE(*a, 1); > smp_mb(); /* Lock acquisiti

[PATCH 4.4 17/50] IB/ipoib: rtnl_unlock can not come after free_netdev

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Feras Daoud [ Upstream commit 89a3987ab7a923c047c6dec008e60ad6f41fac22 ] The ipoib_vlan_add function calls rtnl_unlock after free_netdev, rtnl_unlock not only releases the lock, but also calls

[PATCH 4.4 02/50] drm: bridge: add DT bindings for TI ths8135

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Golaszewski [ Upstream commit 2e644be30fcc08c736f66b60f4898d274d4873ab ] THS8135 is a configurable video DAC. Add DT bindings for this chip. Signed-off-by: Bartosz Golaszewski Review

[PATCH 4.4 19/50] drm/amdkfd: fix improper return value on error

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Pan Bian [ Upstream commit 8bf793883da213864efc50c274d2b38ec0ca58b2 ] In function kfd_wait_on_events(), when the call to copy_from_user() fails, the value of return variable ret is 0. 0 indica

[PATCH 4.4 20/50] USB: serial: mos7720: fix control-message error handling

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold [ Upstream commit 0d130367abf582e7cbf60075c2a7ab53817b1d14 ] Make sure to log an error on short transfers when reading a device register. Also clear the provided buffer (which if

[PATCH 2/2] drm/i915: Use rcu instead of stop_machine in set_wedged

2017-10-06 Thread Daniel Vetter
stop_machine is not really a locking primitive we should use, except when the hw folks tell us the hw is broken and that's the only way to work around it. This patch tries to address the locking abuse of stop_machine() from commit 20e4933c478a1ca694b38fa4ac44d99e659941f5 Author: Chris Wilson Dat

[PATCH 1/2] drm/i915: Preallocate our mmu notifier workequeu to unbreak cpu hotplug deadlock

2017-10-06 Thread Daniel Vetter
4.14-rc1 gained the fancy new cross-release support in lockdep, which seems to have uncovered a few more rules about what is allowed and isn't. This one here seems to indicate that allocating a work-queue while holding mmap_sem is a no-go, so let's try to preallocate it. Of course another way to

[PATCH 4.4 21/50] USB: serial: mos7840: fix control-message error handling

2017-10-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold [ Upstream commit cd8db057e93ddaacbec025b567490555d2bca280 ] Make sure to detect short transfers when reading a device register. The modem-status handling had sufficient error ch

<    3   4   5   6   7   8   9   10   >