[PATCH 5/5] drm/i915: Use __sg_alloc_table_from_pages for userptr allocations

2016-10-21 Thread Tvrtko Ursulin
From: Tvrtko Ursulin With the addition of __sg_alloc_table_from_pages we can control the maximum coallescing size and eliminate a separate path for allocating backing store here. This also makes the tables as compact as possible in all cases. Signed-off-by: Tvrtko

[PATCH v3 3/4] gpio: Rework of_gpiochip_set_names() to use device property accessors

2016-10-21 Thread Mika Westerberg
In order to use "gpio-line-names" property in systems not having DT as their boot firmware, rework of_gpiochip_set_names() to use device property accessors. This reworked function is placed in a separate file making it clear it deals with universal device properties. Signed-off-by: Mika

Re: [RFC] ARM: dts: exynos: Remove exynos4415.dtsi

2016-10-21 Thread Sylwester Nawrocki
On 10/21/2016 04:15 PM, Krzysztof Kozlowski wrote: > There are no boards in mainline using exynos4415.dtsi. This is DTS > was not tested for long. I am also not aware of any popular out-of-tree > boards using this (except consumer devices released by Samsung but those > cannot use mainline). >

Re: [PATCH] block: Change extern inline to static inline

2016-10-21 Thread Mika Westerberg
On Fri, Oct 21, 2016 at 04:19:26PM +0200, Tobias Klauser wrote: > With compilers which follow the C99 standard (like modern versions of > gcc and clang), "extern inline" does the opposite thing from older > versions of gcc (emits code for an externally linkable version of the > inline function). >

Re: [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-10-21 Thread Alex Williamson
On Fri, 21 Oct 2016 15:49:07 +0800 Jike Song wrote: > On 10/18/2016 05:22 AM, Kirti Wankhede wrote: > > diff --git a/drivers/vfio/vfio_iommu_type1.c > > b/drivers/vfio/vfio_iommu_type1.c > > index 2ba19424e4a1..5d67058a611d 100644 > > --- a/drivers/vfio/vfio_iommu_type1.c >

Re: [PATCH] dt-bindings: video: exynos7-decon: Remove obsolete samsung,power-domain property

2016-10-21 Thread Sylwester Nawrocki
On 10/21/2016 04:05 PM, Krzysztof Kozlowski wrote: > The samsung,power-domain property is obsolete since commit 0da658704136 > ("ARM: dts: convert to generic power domain bindings for exynos DT"). > Replace it with generic one. > > Signed-off-by: Krzysztof Kozlowski

Re: 4.9 regression/bisection - 761ed4a94582 tty: serial_core: convert uart_close to use tty_port_close

2016-10-21 Thread Mike Galbraith
On Fri, 2016-10-21 at 08:51 -0500, Rob Herring wrote: > On Fri, Oct 21, 2016 at 7:45 AM, Mike Galbraith > wrote: > > Greetings, > > > > My old DL980 G7 is exploding on reboot with master, with only the first > > couple lines actually making it to the console. Once (and

[RFC PATCH 00/13] ARM64: meson-gxl: Add extended support

2016-10-21 Thread Neil Armstrong
This RFC patchset provides extended peripheral support for the Amlogix GXL SoCs. The final patchs will be split among the correct subsystems. In order to support more functionalities, this patchset : - Moves peripheral nodes to the common Meson arm64 dtsi - Add i2c, mmc, sd, sdio, pinctrl and

[RFC PATCH 03/13] ARM64: dts: meson-gxl: Add pinctrl nodes

2016-10-21 Thread Neil Armstrong
Add pinctrl nodes and pin definitions for Amlogic Meson GXL. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 168 + 1 file changed, 168 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

[RFC PATCH 11/13] ARM64: dts: meson-gxl-p23x: Enable ethernet

2016-10-21 Thread Neil Armstrong
Enable Ethernet on the p23x board, pinctrl attribute are not added since the current setup uses the Internal PHY. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 1/5] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2016-10-21 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Scatterlist entries have an unsigned int for the offset so correct the sg_alloc_table_from_pages function accordingly. Since these are offsets withing a page, unsigned int is wide enough. Also converts callers which were using unsigned long

[RFC PATCH 07/13] ARM64: dts: meson-gxl-p23x: Add uart pinctrl

2016-10-21 Thread Neil Armstrong
Add pinctrl attribute to p23x uart node. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi

[RFC PATCH 10/13] ARM64: dts: meson-gxl: Add ethernet nodes with internal PHY

2016-10-21 Thread Neil Armstrong
Add Ethernet node with Internal PHY selection for the Amlogic GXL SoCs Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 28 1 file changed, 28 insertions(+) diff --git

[RFC PATCH 04/13] ARM64: dts: meson-gxl: Add clock nodes

2016-10-21 Thread Neil Armstrong
Add clock node for Amlogic Meson GXL. The GXBB compatible is retained since the GXBB clock tree is used for now. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

[RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Neil Armstrong
The Meson GXL dwmac Glue Layer also provides switching between an external PHY and an internal RMII 10/100 PHY. Add a way to setup the correct PHY switching from a device tree attribute. Currently, the register format is unknown and this is a temporary workaround until a clarification on the

[RFC PATCH 13/13] ARM64: dts: meson-gxl-p23x: Enable IR receiver

2016-10-21 Thread Neil Armstrong
Enable the Infraread Receiver on the p23x board. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi

[RFC PATCH 12/13] ARM64: dts: meson-gxl-p23x: Add SD/SDIO/MMC and PWM nodes

2016-10-21 Thread Neil Armstrong
Add SD/SDIO/MMC nodes and PWM 32768Hz clock configuration to provide storage and WiFi functionality on the p23x boards. Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi | 112 + 1 file changed, 112 insertions(+)

[RFC PATCH 05/13] ARM64: dts: meson-gxl: Add i2c nodes

2016-10-21 Thread Neil Armstrong
Add i2c nodes clock attributes for Amlogic Meson GXL. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

[RFC PATCH 09/13] net: phy: Add Meson GXL Internal PHY driver

2016-10-21 Thread Neil Armstrong
Add driver for the Internal RMII PHY found in the Amlogic Meson GXL SoCs. This PHY seems to only implement some standard registers and need some workarounds to provide autoneg values from vendor registers. Some magic values are currently used to configure the PHY, and this a temporary setup

Re: [PATCH][manpages 1/2] perf_event_open.2: Document PERF_EVENT_IOC_PAUSE_OUTPUT

2016-10-21 Thread Vince Weaver
On Fri, 21 Oct 2016, Michael Kerrisk (man-pages) wrote: > Thanks for this patch, Wangnan. > > Vince, do you have any comments? > I was catching up chronologically and was still at 4.4, and this was still in my queue as a 4.6 change. I think I thought the patches looked good at the time, but

Re: [PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-21 Thread Neil Armstrong
On 10/21/2016 12:20 PM, Joachim Eastwood wrote: > Hi Neil, > > On 21 October 2016 at 10:44, Neil Armstrong wrote: >> Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. >> >> Signed-off-by: Neil Armstrong >> --- >>

Re: [PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-21 Thread Neil Armstrong
On 10/21/2016 01:53 PM, Giuseppe CAVALLARO wrote: > Hello > > some my minor cents below > > On 10/21/2016 12:20 PM, Joachim Eastwood wrote: >> Hi Neil, >> >> On 21 October 2016 at 10:44, Neil Armstrong wrote: >>> Add Synopsys Designware MAC Glue layer for the Oxford

[RFC PATCH 02/13] ARM64: dts: meson-gxbb: Move common nodes to meson-gx

2016-10-21 Thread Neil Armstrong
Move common nodes between GXBB and GXL in to the common GX dtsi. Leave the clock attributes in the GXBB dtsi for now. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 131 +++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi

Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up

2016-10-21 Thread Miklos Szeredi
On Thu, Oct 20, 2016 at 04:54:08PM -0400, Vivek Goyal wrote: > On Thu, Oct 20, 2016 at 04:46:30PM -0400, Vivek Goyal wrote: > > [..] > > > +static ssize_t ovl_read_iter(struct kiocb *iocb, struct iov_iter *to) > > > +{ > > > + struct file *file = iocb->ki_filp; > > > + bool isupper =

Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up

2016-10-21 Thread Amir Goldstein
On Thu, Oct 20, 2016 at 11:46 PM, Vivek Goyal wrote: > On Wed, Oct 12, 2016 at 03:33:26PM +0200, Miklos Szeredi wrote: >> This is a proof of concept patch to fix the following. >> >> /ovl is in overlay mount and /ovl/foo exists on the lower layer only. >> >> rofd =

[tip:x86/apic] x86/apic: Get rid of "warning: 'acpi_ioapic_lock' defined but not used"

2016-10-21 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: d2d9c4a3d01c20f936f88e0c2793945e6632dab6 Gitweb: http://git.kernel.org/tip/d2d9c4a3d01c20f936f88e0c2793945e6632dab6 Author: Sebastian Andrzej Siewior AuthorDate: Fri, 21 Oct 2016 10:44:49 +0200 Committer: Ingo Molnar CommitDate: Fri,

Re: [PATCH v3] [media] vb2: Add support for capture_dma_bidirectional queue flag

2016-10-21 Thread Sakari Ailus
Hi Thierry, On Fri, Oct 21, 2016 at 10:53:22AM +0200, Thierry Escande wrote: > #define VB2_DMA_DIR_CAPTURE(d) \ > ((d) == DMA_FROM_DEVICE || (d) == DMA_BIDIRECTIONAL) That looks good to me. -- Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk

[PATCH 4.4 01/25] serial: 8250_dw: Check the data->pclk when get apb_pclk

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kefeng Wang commit e16b46f190a22587898b331f9d58583b0b166c9a upstream. It should check the data->pclk, not data->clk when get apb_pclk. Fixes: c8ed99d4f6a8("serial:

Re: [PATCH] mfd: rk808: RK818 uses DEV_OFF to power off supplies

2016-10-21 Thread chenjh
Hi Wadim: It's impossible not to restart automatically, this situation is normal for RK818. Because it is hardware designed that RK818 can't power off when a voltage is supplies on the USB supply input pins. Best Regards 在 2016/10/21 15:44, Wadim Egorov 写道: Hi Jianhong, with

[PATCH 4.4 00/25] 4.4.27-stable review

2016-10-21 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.27 release. There are 25 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 23 09:13:58 UTC 2016. Anything

[PATCH 4.4 21/25] crypto: ghash-generic - move common definitions to a new header file

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Cerri commit a397ba829d7f8aff4c90af3704573a28ccd61a59 upstream. Move common values and types used by ghash-generic to a new header file so drivers can

[PATCH 4.4 03/25] drivers: base: dma-mapping: page align the size when unmap_kernel_range

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Peng Fan commit 85714108e673cdebf1b96abfd50fb02a29e37577 upstream. When dma_common_free_remap, the input parameter 'size' may not be page aligned. And, met kernel

[PATCH 4.4 12/25] async_pq_val: fix DMA memory leak

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Justin Maggard commit c84750906b4818d4929fbf73a4ae6c113b94f52b upstream. Add missing dmaengine_unmap_put(), so we don't OOM during RAID6 sync. Fixes: 1786b943dad0

[PATCH 4.4 23/25] dlm: free workqueues after the connections

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner commit 3a8db79889ce16930aff19b818f5b09651bb7644 upstream. After backporting commit ee44b4bc054a ("dlm: use sctp 1-to-1 API") series to a

[PATCH 4.4 18/25] ext4: fix memory leak in ext4_insert_range()

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Fabian Frederick commit edf15aa180d7b98fe16bd3eda42f9dd0e60dee20 upstream. Running xfstests generic/013 with kmemleak gives the following: unreferenced object

[PATCH 4.4 02/25] btrfs: assign error values to the correct bio structs

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Junjie Mao commit 14155cafeadda946376260e2ad5d39a0528a332f upstream. Fixes: 4246a0b63bd8 ("block: add a bi_error field to struct bio") Signed-off-by: Junjie Mao

[PATCH 4.4 13/25] scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7bc2b55a5c030685b399bb65b6baa9ccc3d1f167 upstream. We need to put an upper bound on "user_len" so the memcpy() doesn't overflow. Reported-by:

[PATCH 4.4 11/25] reiserfs: switch to generic_{get,set,remove}xattr()

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 79a628d14ec7ee9adfdc3ce04343d5ff7ec20c18 upstream. reiserfs_xattr_[sg]et() will fail with -EOPNOTSUPP for V1 inodes anyway, and all reiserfs instances

Re: [PATCH v2 00/10] Revamp Semtech SX150x driver

2016-10-21 Thread Neil Armstrong
On 10/20/2016 09:34 PM, Andrey Smirnov wrote: > On Thu, Oct 20, 2016 at 12:08 PM, Linus Walleij > wrote: >> On Wed, Oct 19, 2016 at 4:03 PM, Andrey Smirnov >> wrote: >> >>> Hello everyone, >>> >>> This is the second version of the patchset

[PATCH 4.4 09/25] ASoC: Intel: Atom: add a missing star in a memcpy call

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 61ab0d403bbd9d5f6e000e3b5734049141b91f6f upstream. In sst_prepare_and_post_msg(), when a response is received in "block", the following code

[PATCH 4.7 13/45] mei: amthif: fix deadlock in initialization during a reset

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit e728ae271f4cf71218ec06a6daf61b79466cb466 upstream. The device lock was unnecessary obtained in bus rescan work before the amthif client

[PATCH 4.4 25/25] cfq: fix starvation of asynchronous writes

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Glauber Costa commit 3932a86b4b9d1f0b049d64d4591ce58ad18b44ec upstream. While debugging timeouts happening in my application workload (ScyllaDB), I have observed calls to

[PATCH 4.7 04/45] ARCv2: intc: Use kflag if STATUS32.IE must be reset

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Yuriy Kolerov commit bc0c7ece6191d89f435e4e4016f74167430c6c21 upstream. In the end of "arc_init_IRQ" STATUS32.IE flag is going to be affected by "flag" instruction

[PATCH 4.7 22/45] xfs: change mailing list address

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 541d48f05fa1c19a4a968d38df685529e728a20a upstream. oss.sgi.com is going away, move contact details over to vger. Signed-off-by: Dave Chinner

[PATCH 4.7 12/45] btrfs: assign error values to the correct bio structs

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Junjie Mao commit 14155cafeadda946376260e2ad5d39a0528a332f upstream. Fixes: 4246a0b63bd8 ("block: add a bi_error field to struct bio") Signed-off-by: Junjie Mao

[PATCH 4.7 07/45] b43: fix debugfs crash

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 51b275a6fe5601834b717351d6cbdb89bd1f308b upstream. This patch fixes a crash that happens because b43's debugfs code expects file->f_op to be

[PATCH 4.7 09/45] carl9170: fix debugfs crashes

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 6ee6d1cb391ca85b419f8d18bdfb1f020a5e859c upstream. Ben Greear reported: > I see lots of instability as soon as I load up the carl9710 NIC. >

[PATCH 4.7 16/45] clk: mvebu: fix setting unwanted flags in CP110 gate clock

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit ad715b268a501533ecb2e891a624841d1bb5137c upstream. Armada CP110 system controller comprises its own routine responsble for registering gate clocks.

[PATCH 4.4 06/25] fuse: fix killing s[ug]id in setattr

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit a09f99eddef44035ec764075a37bace8181bec38 upstream. Fuse allowed VFS to set mode in setattr in order to clear suid/sgid on chown and truncate, and

[PATCH 4.4 07/25] i40e: avoid NULL pointer dereference and recursive errors on early PCI error

2016-10-21 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guilherme G Piccoli commit edfc23ee3e0ebbb6713d7574ab1b00abff178f6c upstream. Although rare, it's possible to hit PCI error early on device probe, meaning possibly

[PATCH 4.7 03/45] serial: 8250_port: fix runtime PM use in __do_stop_tx_rs485()

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit b3965767d86cf4534dfe1affbde0453d3224ed7f upstream. There are calls to serial8250_rpm_{get|put}() in __do_stop_tx_rs485() that are

[PATCH 4.7 28/45] async_pq_val: fix DMA memory leak

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Justin Maggard commit c84750906b4818d4929fbf73a4ae6c113b94f52b upstream. Add missing dmaengine_unmap_put(), so we don't OOM during RAID6 sync. Fixes: 1786b943dad0

[PATCH 4.8 03/57] serial: 8250_dw: Check the data->pclk when get apb_pclk

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Kefeng Wang commit e16b46f190a22587898b331f9d58583b0b166c9a upstream. It should check the data->pclk, not data->clk when get apb_pclk. Fixes: c8ed99d4f6a8("serial:

[PATCH 4.7 37/45] ext4: allow DAX writeback for hole punch

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Ross Zwisler commit cca32b7eeb4ea24fa6596650e06279ad9130af98 upstream. Currently when doing a DAX hole punch with ext4 we fail to do a writeback. This is because

[PATCH 4.8 24/57] i40e: avoid NULL pointer dereference and recursive errors on early PCI error

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Guilherme G Piccoli commit edfc23ee3e0ebbb6713d7574ab1b00abff178f6c upstream. Although rare, it's possible to hit PCI error early on device probe, meaning possibly

[PATCH 4.8 26/57] mm: filemap: dont plant shadow entries without radix tree node

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit d3798ae8c6f3767c726403c2ca6ecc317752c9dd upstream. When the underflow checks were added to workingset_node_shadow_dec(), they triggered immediately:

[PATCH 4.8 34/57] autofs: Fix automounts by using current_real_cred()->uid

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 069d5ac9ae0d271903cc4607890616418118379a upstream. Seth Forshee reports that in 4.8-rcN some automounts are failing because the requesting the

[PATCH 4.8 15/57] mei: amthif: fix deadlock in initialization during a reset

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit e728ae271f4cf71218ec06a6daf61b79466cb466 upstream. The device lock was unnecessary obtained in bus rescan work before the amthif client

[PATCH 4.7 42/45] dlm: free workqueues after the connections

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner commit 3a8db79889ce16930aff19b818f5b09651bb7644 upstream. After backporting commit ee44b4bc054a ("dlm: use sctp 1-to-1 API") series to a

[PATCH 4.8 32/57] reiserfs: Unlock superblock before calling reiserfs_quota_on_mount()

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith commit 420902c9d086848a7548c83e0a49021514bd71b7 upstream. If we hold the superblock lock while calling reiserfs_quota_on_mount(), we can deadlock our own worker -

[PATCH 4.7 36/45] ext4: fix memory leak in ext4_insert_range()

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Fabian Frederick commit edf15aa180d7b98fe16bd3eda42f9dd0e60dee20 upstream. Running xfstests generic/013 with kmemleak gives the following: unreferenced object

[PATCH 4.8 45/57] ext4: fix memory leak in ext4_insert_range()

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Fabian Frederick commit edf15aa180d7b98fe16bd3eda42f9dd0e60dee20 upstream. Running xfstests generic/013 with kmemleak gives the following: unreferenced object

[PATCH 4.8 18/57] clk: mvebu: fix setting unwanted flags in CP110 gate clock

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit ad715b268a501533ecb2e891a624841d1bb5137c upstream. Armada CP110 system controller comprises its own routine responsble for registering gate clocks.

[PATCH 4.8 25/57] xfs: change mailing list address

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 541d48f05fa1c19a4a968d38df685529e728a20a upstream. oss.sgi.com is going away, move contact details over to vger. Signed-off-by: Dave Chinner

[PATCH 4.8 10/57] carl9170: fix debugfs crashes

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 6ee6d1cb391ca85b419f8d18bdfb1f020a5e859c upstream. Ben Greear reported: > I see lots of instability as soon as I load up the carl9710 NIC. >

[PATCH 4.8 09/57] b43legacy: fix debugfs crash

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 9c4a45b17e094a090e96beb1138e34c2a10c6b8c upstream. This patch fixes a crash that happens because b43legacy's debugfs code expects file->f_op

[PATCH 4.8 30/57] ASoC: nau8825: fix bug in FLL parameter

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: John Hsu commit a8961cae29c38e225120c40c3340dbde2f552e60 upstream. In the FLL parameter calculation, the FVCO should choose the maximum one. The patch is to fix the bug

Re: [PATCH v2] debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS

2016-10-21 Thread Andy Shevchenko
On Thu, 2016-10-20 at 22:07 +0200, Nicolai Stange wrote: > From: Arnd Bergmann > > The slp_s0_residency_usec debugfs file currently uses > DEFINE_DEBUGFS_ATTRIBUTE(), but that macro cannot really be used to > define files outside of the debugfs code, as it has no reference to >

[PATCH 4.8 41/57] jbd2: fix lockdep annotation in add_transaction_credits()

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit e03a9976afce6634826d56c33531dd10bb9a9166 upstream. Thomas has reported a lockdep splat hitting in add_transaction_credits(). The problem is that that function

[PATCH 4.8 54/57] cachefiles: Fix attempt to read i_blocks after deleting file [ver #2]

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit a818101d7b92e76db2f9a597e4830734767473b9 upstream. An NULL-pointer dereference happens in cachefiles_mark_object_inactive() when it tries to read

[PATCH 4.8 39/57] mm/hugetlb: fix memory offline with hugepage size > memory block size

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit 2247bb335ab9c40058484cac36ea74ee652f3b7b upstream. Patch series "mm/hugetlb: memory offline issues with hugepages", v4. This addresses

[PATCH 4.8 33/57] async_pq_val: fix DMA memory leak

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Justin Maggard commit c84750906b4818d4929fbf73a4ae6c113b94f52b upstream. Add missing dmaengine_unmap_put(), so we don't OOM during RAID6 sync. Fixes: 1786b943dad0

[PATCH 4.8 47/57] ext4: allow DAX writeback for hole punch

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ross Zwisler commit cca32b7eeb4ea24fa6596650e06279ad9130af98 upstream. Currently when doing a DAX hole punch with ext4 we fail to do a writeback. This is because

[PATCH 4.8 42/57] ext4: enforce online defrag restriction for encrypted files

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Whitney commit 14fbd4aa613bd5110556c281799ce36dc6f3ba97 upstream. Online defragging of encrypted files is not currently implemented. However, the move extent ioctl can

[PATCH 4.8 36/57] scsi: arcmsr: Simplify user_len checking

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 4bd173c30792791a6daca8c64793ec0a4ae8324f upstream. Do the user_len check first and then the ver_addr allocation so that we can save us the kfree() on the

[PATCH 4.8 35/57] scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7bc2b55a5c030685b399bb65b6baa9ccc3d1f167 upstream. We need to put an upper bound on "user_len" so the memcpy() doesn't overflow. Reported-by:

[PATCH 4.8 51/57] crypto: vmx - Fix memory corruption caused by p8_ghash

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Cerri commit 80da44c29d997e28c4442825f35f4ac339813877 upstream. This patch changes the p8_ghash driver to use ghash-generic as a fixed fallback

Re: [PATCH] ipv6: do not increment mac header when it's unset

2016-10-21 Thread Jason A. Donenfeld
Sorry. Jetlagged. Resubmitting without the cruft.

[PATCH v3 1/3] clk: stm32f4: Add LSI & LSE clocks

2016-10-21 Thread gabriel.fernandez
From: Gabriel Fernandez This patch introduces the support of the LSI & LSE clocks. The clock drivers needs to disable the power domain write protection using syscon/regmap to enable these clocks. Signed-off-by: Gabriel Fernandez ---

[PATCH 4.8 49/57] ext4: unmap metadata when zeroing blocks

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 9b623df614576680cadeaa4d7e0b5884de8f7c17 upstream. When zeroing blocks for DAX allocations, we also have to unmap aliases in the block device mappings. Otherwise

Re: [PATCH v14 00/16] KVM PCIe/MSI passthrough on ARM/ARM64

2016-10-21 Thread Auger Eric
Hi Will, On 20/10/2016 19:32, Will Deacon wrote: > Hi Eric, > > Thanks for posting this. > > On Wed, Oct 12, 2016 at 01:22:08PM +, Eric Auger wrote: >> This is the second respin on top of Robin's series [1], addressing Alex' >> comments. >> >> Major changes are: >> - MSI-doorbell API now

[PATCH v3 2/3] clk: stm32f4: Add RTC clock

2016-10-21 Thread gabriel.fernandez
From: Gabriel Fernandez This patch introduces the support of the RTC clock. RTC clock can have 3 sources: lsi, lse and hse_rtc. Signed-off-by: Gabriel Fernandez --- drivers/clk/clk-stm32f4.c | 137

[PATCH 4.8 38/57] ipc/sem.c: fix complex_count vs. simple op race

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Manfred Spraul commit 5864a2fd3088db73d47942370d0f7210a807b9bc upstream. Commit 6d07b68ce16a ("ipc/sem.c: optimize sem_lock()") introduced a race: sem_lock has a

[PATCH 4.8 56/57] acpi, nfit: check for the correct event code in notifications

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vishal Verma commit c09f12186d6b03b798832d95289af76495990192 upstream. Commit 209851649dc4 "acpi: nfit: Add support for hot-add" added support for _FIT notifications,

[PATCH v3 0/3] STM32F4 Add RTC & QSPI clocks

2016-10-21 Thread gabriel.fernandez
From: Gabriel Fernandez v3: - remove arm & DT patches from this patch-set - solve issue of dependency with DT - remove clk_hw from struct stm32_rgate (use hw of clk_gate) - suppress CLK_IS_BASIC flags of clk_register_rgate() - cosmetic changes v2: - rename

[PATCH 4.8 37/57] scsi: ibmvfc: Fix I/O hang when port is not mapped

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit 07d0e9a847401ffd2f09bd450d41644cd090e81d upstream. If a VFC port gets unmapped in the VIOS, it may not respond with a CRQ init complete following

Re: [PATCH 2/3] ARM: bus: da8xx-syscfg: new driver

2016-10-21 Thread Tomi Valkeinen
On 20/10/16 22:39, Kevin Hilman wrote: > However, after our discussion on IRC, we'll respin this without the DT > bindings at all. Next version will just use static configuration data > in the drivers/bus driver based on SoC compatible string, since for the > use-cases I'm aware of, the settings

[PATCH 4.8 50/57] crypto: ghash-generic - move common definitions to a new header file

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Cerri commit a397ba829d7f8aff4c90af3704573a28ccd61a59 upstream. Move common values and types used by ghash-generic to a new header file so drivers can

[PATCH 4.8 52/57] dlm: free workqueues after the connections

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner commit 3a8db79889ce16930aff19b818f5b09651bb7644 upstream. After backporting commit ee44b4bc054a ("dlm: use sctp 1-to-1 API") series to a

[PATCH v3 3/3] clk: stm32f469: Add QSPI clock

2016-10-21 Thread gabriel.fernandez
From: Gabriel Fernandez This patch adds the QSPI clock for stm32f469 discovery board. The gate mapping is a little bit different from stm32f429 soc. Signed-off-by: Gabriel Fernandez --- .../devicetree/bindings/clock/st,stm32-rcc.txt |

[PATCH 4.8 40/57] vfs,mm: fix a dead loop in truncate_inode_pages_range()

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Wei Fang commit c2a9737f45e27d8263ff9643f994bda9bac0b944 upstream. We triggered a deadloop in truncate_inode_pages_range() on 32 bits architecture with the test case

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread Dan Carpenter
On Fri, Oct 21, 2016 at 11:11:54AM +0200, SF Markus Elfring wrote: > > It's all about ratios... Each clean up patch has chance of introducing > > a bug. > > Each update suggestion contains a possibility for mistakes. > Yes. But bug fix patches make up for it by fixing stuff. > > > If you

[PATCH 4.8 57/57] cfq: fix starvation of asynchronous writes

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Glauber Costa commit 3932a86b4b9d1f0b049d64d4591ce58ad18b44ec upstream. While debugging timeouts happening in my application workload (ScyllaDB), I have observed calls to

[PATCH 4.8 53/57] vfs: move permission checking into notify_change() for utimes(NULL)

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit f2b20f6ee842313a0d681dbbf7f87b70291a6a3b upstream. This fixes a bug where the permission was not properly checked in overlayfs. The testcase is

[PATCH 4.8 55/57] drm: virtio: reinstate drm_virtio_set_busid()

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Laszlo Ersek commit c2cbc38b9715bd8318062e600668fc30e5a3fbfa upstream. Before commit a325725633c2 ("drm: Lobotomize set_busid nonsense for !pci drivers"), several DRM

[PATCH 4.8 05/57] ARCv2: intc: Use kflag if STATUS32.IE must be reset

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Yuriy Kolerov commit bc0c7ece6191d89f435e4e4016f74167430c6c21 upstream. In the end of "arc_init_IRQ" STATUS32.IE flag is going to be affected by "flag" instruction

[PATCH] pci: pcie-designware-plat: changing driver authors e-mail

2016-10-21 Thread Joao Pinto
Although I am leaving Synopsys, I would like to keep working with the linux kernel community and help in what you might find useful. For that I am sending this patch to change my contact e-mail. Signed-off-by: Joao Pinto --- drivers/pci/host/pcie-designware-plat.c | 2 +-

[PATCH 4.8 00/57] 4.8.4-stable review

2016-10-21 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.4 release. There are 57 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 23 09:14:19 UTC 2016. Anything

[PATCH] scsi: ufs: changing authors e-mail

2016-10-21 Thread Joao Pinto
Although I am leaving Synopsys, I would like to keep working with the linux kernel community and help in what you might find useful. For that I am sending this patch to change my contact e-mail. Signed-off-by: Joao Pinto --- drivers/scsi/ufs/tc-dwc-g210-pci.c| 4 ++--

[PATCH 4.8 46/57] ext4: fix memory leak when symlink decryption fails

2016-10-21 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit dcce7a46c6f28f41447272fb44348ead8f584573 upstream. This bug was introduced in v4.8-rc1. Signed-off-by: Eric Biggers

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