[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 - mount blocks kw

[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 0x8801d3d27de0 (size 96): c

[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 kernel with an older workqueue w

[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. Among others 'flags' fie

[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 (since writeback_cache) w

[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 some structs are not entirely

[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 certainly placed in a wrong location. I

[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 ("async_pq_val: convert to dm

[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. > My application is going t

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 originally submitted here: >>> >>> http://www.spinics.net

[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 gets executed: *data = kza

[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 a pointer to its own b43_

[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 Signed-off-by: Greg Kroah-Hart

[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 Acked-by: David Sterba Signed-

[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 search. That causes incorrect l

[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 open() taking a long t

[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 but "flag" never touches IE f

[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 ("async_pq_val: convert to dm

[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 kernel with an older workqueue w

[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 0x8801d3d27de0 (size 96): c

[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 Acked-by: David Sterba Signed-

[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: Marco Grassi Signed-off-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 of ->[sg]et() call it and s

[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 directly use ghash-generic as a fa

[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 warning when doing iommu dma f

[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: 8250_dw: Add support for def

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 this

[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 receive

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

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 = open("/ovl/foo", O_RDONLY); >>

[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, 21 Oct 2016 11:09:14 +0200 x86/apic: Get

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 = OVL_TYPE_UPPE

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

2016-10-21 Thread SF Markus Elfring
> It's all about ratios... Each clean up patch has chance of introducing > a bug. Each update suggestion contains a possibility for mistakes. > If you only send clean up patches then you only introduce bugs. I find such a conclusion questionable with the wording "only". > We really don't wan

[PATCH v3] pinctrl: Add SX150X GPIO Extender Pinctrl Driver

2016-10-21 Thread Neil Armstrong
Since the I2C sx150x GPIO expander driver uses platform_data to manage the pins configurations, rewrite the driver as a pinctrl driver using pinconf to get/set pin configurations from DT or debugfs. The pinctrl driver is functionnally equivalent as the gpio-only driver and can use DT for pinconf.

[PATCH] ARM: sti: stih407-clocks: Identify critical clocks

2016-10-21 Thread Peter Griffin
Lots of platforms contain clocks which if turned off would prove fatal. The only way to recover is to restart the board(s). This driver takes references to clocks which are required to be always-on. The Common Clk Framework will then take references to them. This way they will not be turned off

Re: [REVIEW][PATCH] mount: In propagate_umount handle overlapping mount propagation trees

2016-10-21 Thread Andrei Vagin
On Tue, Oct 18, 2016 at 10:46:40PM -0500, Eric W. Biederman wrote: > > Adrei Vagin pointed out that time to executue propagate_umount can go > non-linear (and take a ludicrious amount of time) when the mount > propogation trees of the mounts to be unmunted by a lazy unmount > overlap. > > While i

Re: [PATCH 4/9] pinctrl: meson: allow gpio to request irq

2016-10-21 Thread Jerome Brunet
On Thu, 2016-10-20 at 21:21 +0200, Linus Walleij wrote: > On Wed, Oct 19, 2016 at 12:08 PM, Jerome Brunet > wrote: > > > > > Add the ability for gpio to request irq from the gpio interrupt > > controller > > if present. We have to specificaly that the parent interrupt > > controller is > > the g

Re: [PATCH] Netfilter: Fix an ICMPv6 bug which caused by a latter ICMPv6 NA packet to inherit the mark of previous NS packet.

2016-10-21 Thread Florian Westphal
XU Tianwen wrote: > The root cause is an ICMPv6 packet hits an untracked connection and inherits > a mark from the previous packet to which it is not related, IMO it doesn't > make sense to inherit mark for nf_conntrack_untracked. > > Signed-off-by: XU Tianwen > --- > net/ipv6/netfilter/nf_co

Re: [PATCH v3 00/17] pinctrl: exynos/samsung: Add header with values used for configuration

2016-10-21 Thread Linus Walleij
On Sun, Sep 4, 2016 at 1:04 PM, Krzysztof Kozlowski wrote: > pinctrl: dt-bindings: samsung: Add header with values used for > configuration > pinctrl: dt-bindings: samsung: Update documentation with new macros These two: Acked-by: Linus Walleij Please merge all of it through the Exynos

Re: [PATCH] Input: gpio_keys_polled - fix DT node reference leak

2016-10-21 Thread Mika Westerberg
On Thu, Oct 20, 2016 at 03:06:36PM -0700, Dmitry Torokhov wrote: > When someone requests button with wakeup (which this driver does not > support) we should drop reference to the current child device node before > returning error. > > Note that when we using legacy platform data 'child' stays NULL

Re: [PATCH] padata: Remove unused but set variables

2016-10-21 Thread Steffen Klassert
On Mon, Oct 17, 2016 at 12:16:08PM +0200, Tobias Klauser wrote: > Remove the unused but set variable pinst in padata_parallel_worker to > fix the following warning when building with 'W=1': > > kernel/padata.c: In function ‘padata_parallel_worker’: > kernel/padata.c:68:26: warning: variable ‘p

Re: [PATCH] Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-21 Thread SF Markus Elfring
>> +++ b/arch/hexagon/kernel/setup.c >> @@ -132,13 +132,14 @@ static int show_cpuinfo(struct seq_file *m, void *v) >> if (!cpu_online(cpu)) >> return 0; >> #endif >> - >> -seq_printf(m, "processor\t: %d\n", cpu); >> -seq_printf(m, "model name\t: Hexagon Virtual Machine\n"

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

2016-10-21 Thread Jason A. Donenfeld
Otherwise we'll overflow the integer. This occurs when layer 3 tunneled packets are handed off to the IPv6 layer. Signed-off-by: Jason A. Donenfeld --- net/Kconfig | 2 ++ net/Makefile | 1 + net/ipv6/reassembly.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff

[PATCH v2 2/2] ARM: oxnas: Add OX820 config and makefile entry

2016-10-21 Thread Neil Armstrong
Refactor the oxnas Kconfig entries among the OX810SE and OX820 configs, and add the files to support the OX820 SMP feature. Signed-off-by: Neil Armstrong --- arch/arm/Makefile | 1 + arch/arm/mach-oxnas/Kconfig | 30 +- 2 files changed, 22 insertions(+), 9

Re: [PATCH 06/10] gpio: gpio-i2cs: Document bindings of I2CS FPGA GPIO block

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:21 PM, Pantelis Antoniou wrote: > +This is virtual gpio driver, that maps each bit of the I2CS FPGA to > +a gpio. It's used as a compatibility replacement for FRUs that use > +I2CS FPGA to report presence, control and report power status in > +the Juniper's driver infra t

[PATCH] arm64: mm: fix __page_to_voff definition

2016-10-21 Thread Neeraj Upadhyay
Fix parameter name for __page_to_voff, to match its definition. At present, we don't see any issue, as page_to_virt's caller declares 'page'. Fixes: 9f2875912dac ("arm64: mm: restrict virt_to_page() to the linear mapping") Signed-off-by: Neeraj Upadhyay --- arch/arm64/include/asm/memory.h | 2 +-

[PATCH v2 0/2] ARM: oxnas: Add SMP support for OX820

2016-10-21 Thread Neil Armstrong
In order to support the SMP feature of the Oxford Semiconductor OX820 SoC, add the necessary code to handle the wake-up, hotplug and cpu entry. The OX820 has an ARM11MPCORE cluster with 2 cores and has proper hardware support for secondary core booting. Changes since v1 at http://lkml.kernel.org

[PATCH v2 1/2] ARM: oxnas: Add OX820 SMP support

2016-10-21 Thread Neil Armstrong
The Oxford Semiconductor OX820 is a ARM11MPcore based SoC sharing some features with the OX810 earlier SoC. This patch adds the core to wake up the second core. Signed-off-by: Neil Armstrong --- arch/arm/mach-oxnas/Makefile | 2 + arch/arm/mach-oxnas/headsmp.S | 28 +++ arch/arm/mach

Re: [PATCH][manpages 2/2] perf_event_open.2: Document write_backward

2016-10-21 Thread Michael Kerrisk (man-pages)
Thanks for this patch, Wangnan. Vince, do you have any comments? Cheers, Michael On 03/28/2016 12:16 PM, Wang Nan wrote: > Signed-off-by: Wang Nan > --- > man2/perf_event_open.2 | 57 > -- > 1 file changed, 55 insertions(+), 2 deletions(-) > >

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

2016-10-21 Thread Michael Kerrisk (man-pages)
Thanks for this patch, Wangnan. Vince, do you have any comments? Cheers, Michael On 03/28/2016 12:15 PM, Wang Nan wrote: > Signed-off-by: Wang Nan > --- > man2/perf_event_open.2 | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/man2/perf_event_open.2 b/man2/perf_event_op

[PATCH] [media] c8sectpfe: Remove clk_disable_unprepare hacks

2016-10-21 Thread Peter Griffin
Now that CLK_PROC_STFE is defined as a critical clock in DT, we can remove the commented clk_disable_unprepare from the c8sectpfe driver. This means we now have balanced clk*enable/disable calls in the driver, but on STiH407 family the clock in reality will never actually be disabled. This is due

Re: [PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-10-21 Thread Michael Kerrisk (man-pages)
Hi Wangnan On 10/21/2016 09:13 AM, Wangnan (F) wrote: > > > On 2016/10/21 15:06, Michael Kerrisk (man-pages) wrote: >> Hello Wangnan, >> >> The patch below seems to have landed in Linux 4.7, >> commit 86e7972f690c1017fd086cdfe53d8524e68c661c >> >> Could you draft a man-pages patch for this inter

[PATCH 2/2] ARM: imx: init enet MAC address from ocotp

2016-10-21 Thread Octavian Purdila
From: Fugang Duan The FEC driver advertises the following order of getting it's MAC address: module parameters or kernel command line first, then device tree, then fuse / flash, then mac registers set by bootloader, then random MAC address. This patch add support for fuse MAC address for imx6/7

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

2016-10-21 Thread Amir Goldstein
On Thu, Oct 20, 2016 at 11:54 PM, 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 = OVL_TYPE_UPPER(ovl_pa

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

2016-10-21 Thread Thierry Escande
Hi Sakari, On 21/10/2016 09:48, Sakari Ailus wrote: Hi Thierry, On Fri, Oct 21, 2016 at 09:25:05AM +0200, Thierry Escande wrote: From: Pawel Osciak When this flag is set for CAPTURE queues by the driver on calling vb2_queue_init(), it forces the buffers on the queue to be allocated/mapped wi

Re: [PATCH v2 1/9] irqchip: meson: add support for gpio interrupt controller

2016-10-21 Thread Jerome Brunet
On Thu, 2016-10-20 at 17:33 +0100, Marc Zyngier wrote: > Jerome, > > On 19/10/16 16:21, Jerome Brunet wrote: > > > > Add support for the interrupt gpio controller found on Amlogic's > > meson > > SoC family. > > > > Unlike what the IP name suggest, it is not directly linked to the > > gpio > > s

[PATCH v2 4/6] ASoC: davinci-mcbsp: DT fix s/interrupts-names/interrupt-names/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by, - Split off from a completely unrelated patch. --- Documentation/devicetree/bindings/sound/davinci-mcbsp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/s

[PATCH v2 1/6] ARM: dts: STiH407: DT fix s/interrupts-names/interrupt-names/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by. --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi index c325cc059ae4bc80

[PATCH v2 6/6] powerpc: dts: acadia: DT fix s/#interrupts-parent/#interrupt-parent/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by. --- arch/powerpc/boot/dts/acadia.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/acadia.dts b/arch/powerpc/boot/dts/acadia.dts index 57291f61ffe7021a..86266159521edac2

[PATCH v2 3/6] arm64: dts: lg1313: DT fix s/#interrupts-cells/#interrupt-cells/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- v2: - New. --- arch/arm64/boot/dts/lg/lg1313.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index e703e1149c757082..abb2162228e82d39 100644 --- a/arch/arm64/b

[PATCH v2 0/6] DT: Fix spelling of standard properties

2016-10-21 Thread Geert Uytterhoeven
Hi all, This patch series fixes misspellings of various standard DT properties in DT binding documentation, DTS files, and error messages. While most of these are harmless, some of them may cause hard-to-debug failures. Changes compared to v2: - Dropped patches that have been applied al

[PATCH v2 2/6] arm64: dts: lg1312: DT fix s/#interrupts-cells/#interrupt-cells/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by, - Rebased. --- arch/arm64/boot/dts/lg/lg1312.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index fbafa24cd5335b9

[PATCH v2 5/6] dt: booting-without-of: DT fix s/#interrupt-cell/#interrupt-cells/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by. --- Documentation/devicetree/booting-without-of.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/booting-without-of.txt b/Documentation/devicetree/booting-without-of

Re: [PATCH 4/6] gpio: cbc-presence: Add CBC presence detect as GPIO driver

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:20 PM, Pantelis Antoniou wrote: > From: Georgi Vlaev > > This driver exports the CB FPGA presence detect bits from a > single 32bit CB register as GPIOs. > > Signed-off-by: Georgi Vlaev > Signed-off-by: Guenter Roeck > [Ported from Juniper kernel] > Signed-off-by: Pant

Re: [PATCH 3/6] gpio: gpio-cbc: Document bindings of CBC FPGA GPIO block

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:20 PM, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add device tree bindings document for the GPIO driver of > Juniper's CBC FPGA. > > Signed-off-by: Georgi Vlaev > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou > --- > .../devicetree/bindings/gp

[PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread Jiri Kosina
The original reason [1] for having hidden qdiscs (potential scalability issues in qdisc_match_from_root() with single linked list in case of large amount of qdiscs) has been invalidated by 59cc1f61f0 ("net: sched: convert qdisc linked list to hashtable"). This allows us for bringing more clarit

[PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-21 Thread Neil Armstrong
Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/net/oxnas-dwmac.txt| 44 + drivers/net/ethernet/stmicro/stmmac/Kconfig| 11 ++ drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + dr

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

2016-10-21 Thread Sebastian Andrzej Siewior
kbuild test robot reported this against the -RT tree: | In file included from include/linux/mutex.h:30:0, |from include/linux/notifier.h:13, |from include/linux/memory_hotplug.h:6, |from include/linux/mmzone.h:777, |

[PATCH] dmaengine: st_fdma: Update st_fdma to 'depends on REMOTEPROC'.

2016-10-21 Thread Peter Griffin
During randconfig builds you can get the following warning "warning: (ST_FDMA) selects ST_SLIM_REMOTEPROC which has unmet direct dependencies (REMOTEPROC)" randconfig builds should always build without any warnings so update fdma to depend on REMOTEPROC so this can not happen. Signed-off-by: Pet

Re: [PATCH net] net: remove MTU limits on a few ether_setup callers

2016-10-21 Thread Andrew Lunn
On Thu, Oct 20, 2016 at 08:42:46PM -0700, Florian Fainelli wrote: > Le 20/10/2016 à 20:25, Jarod Wilson a écrit : > > These few drivers call ether_setup(), but have no ndo_change_mtu, and thus > > were overlooked for changes to MTU range checking behavior. They > > previously had no range checks, s

Re: [PATCH 2/6] gpio: Add support for PTX1K CBC FPGA spare GPIOs

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:20 PM, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add support for the GPIO block in Juniper's CBC FPGA. > > A number of GPIOs exported by different kind of boards > is supported. > > Signed-off-by: Georgi Vlaev > Signed-off-by: Guenter Roeck > [Ported from Junip

Re: [PATCH 05/10] gpio: i2cs: Juniper I2CS to GPIO pin mapping driver

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:21 PM, Pantelis Antoniou wrote: > From: Guenter Roeck > > This driver maps I2C slave register bits to GPIO pins. Registers > are supposed to be 8 bit wide. Interrupt support is optional. > > The driver is implemented as client of the I2CS MFD driver. > > Signed-off-by: G

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

2016-10-21 Thread Jason A. Donenfeld
Otherwise we'll overflow the integer. This occurs when layer 3 tunneled packets are handed off to the IPv6 layer. Signed-off-by: Jason A. Donenfeld --- net/ipv6/reassembly.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index

Re: [PATCH 3/4] gpio: ptxpmb-ext-cpld: Add driver for Juniper's PTXPMB extended CPLD

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:19 PM, Pantelis Antoniou wrote: > From: Guenter Roeck > > This IP block is present in the PTXPMB extended CPLD present on > Junipers PTX series of routers and provides SIB connector status pins > as GPIO pins for use with other drivers. > > Signed-off-by: Guenter Roeck

[PATCH] regulator: tps6507x: Drop pointless static qualifier for *reg_data variable

2016-10-21 Thread Axel Lin
There is no need to use static for this local variable. Signed-off-by: Axel Lin --- drivers/regulator/tps6507x-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c index dad0bac..c179a3a 1

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector

2016-10-21 Thread Peter Rosin
On 2016-10-21 09:17, ji...@kernel.org wrote: > On 20.10.2016 19:17, Peter Rosin wrote: >> On 2016-10-20 19:37, Jonathan Cameron wrote: >>> http://marc.info/?l=linux-iio&m=138469765309868&w=2 I think... >> >> Interesting, one issue with that is that it is all in real world >> units, while I'd rather

mbox-name vs. mbox-names (was: Re: [PATCH v4 1/5] mailbox: dt: Supply bindings for ST's Mailbox IP)

2016-10-21 Thread Geert Uytterhoeven
On Fri, Oct 16, 2015 at 9:21 AM, Lee Jones wrote: > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/mailbox/sti-mailbox.txt| 51 > ++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mailbox/sti-mailbox.txt > > diff --gi

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

2016-10-21 Thread Neil Armstrong
On 10/20/2016 06:26 PM, Joachim Eastwood wrote: > Hi Neil, > > On 20 October 2016 at 17:54, Neil Armstrong wrote: >> Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. >> >> Signed-off-by: Neil Armstrong >> --- >> .../devicetree/bindings/net/oxnas-dwmac.txt| 44

[tip:irq/urgent] kernel/irq: Export irq_set_parent()

2016-10-21 Thread tip-bot for Sudip Mukherjee
Commit-ID: 3118dac501bc0317de099db81618d589503351e1 Gitweb: http://git.kernel.org/tip/3118dac501bc0317de099db81618d589503351e1 Author: Sudip Mukherjee AuthorDate: Thu, 6 Oct 2016 23:06:43 +0530 Committer: Thomas Gleixner CommitDate: Fri, 21 Oct 2016 10:21:38 +0200 kernel/irq: Export ir

Re: [PATCH] ARM: dts: rockchip: add i2c-bus subnode to edp

2016-10-21 Thread Heiko Stuebner
Am Donnerstag, 20. Oktober 2016, 15:47:56 CEST schrieb Tomeu Vizoso: > On 10/20/2016 03:45 PM, Heiko Stübner wrote: > > Am Donnerstag, 20. Oktober 2016, 10:07:25 schrieb Tomeu Vizoso: > >> Add an empty 'i2c-bus' subnode to the edp node just so that the I2C core > >> doesn't attemp to parse the 'por

[PATCH resend v4] i2c: hibvt: add Hisilicon BVT I2C controller driver

2016-10-21 Thread Pan Wen
add Hisilicon BVT I2C controller driver support. Signed-off-by: Pan Wen Acked-by: Rob Herring --- change log v4: Modify the default frequency to 100KHz. v3: Add a SoC specific compatible string. v2: 1)Fixed a compile error. 2)Dropped the clock-names property. .../devicetree/bindings/i2c/i2c-hib

Re: [PATCH v5] mmc: sdhci-msm: Add pm_runtime and system PM support

2016-10-21 Thread Ulf Hansson
On 21 October 2016 at 08:42, Pramod Gurav wrote: > Provides runtime PM callbacks to enable and disable clock resources > when idle. Also support system PM callbacks to be called during system > suspend and resume. > > Reviewed-by: Ritesh Harjani > Reviewed-by: Georgi Djakov > Tested-by: Ritesh H

Re: [PATCH 1/2] mmc: mediatek: Fix module autoload

2016-10-21 Thread Ulf Hansson
On 17 October 2016 at 18:13, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export the module alias information usin

Re: [PATCH v2] mmc: sunxi: Prevent against null dereference for vmmc

2016-10-21 Thread Ulf Hansson
On 19 October 2016 at 15:33, Maxime Ripard wrote: > VMMC is an optional regulator, which means that mmc_regulator_get_supply > will only return an error in case of a deferred probe, but not when the > regulator is not set in the DT. > > However, the sunxi driver assumes that VMMC is always there,

Re: [PATCH 2/2] mmc: sdhci-of-at91: Fix module autoload

2016-10-21 Thread Ulf Hansson
On 17 October 2016 at 18:13, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export the module alias information usin

[RFC PATCH v2] perf: honouring the cpuid for number of fixed counters in hypervisors

2016-10-21 Thread Imre Palik
From: Imre Palik perf doesn't seem to honour the number of fixed counters specified by cpuid leaf 0xa. It always assume that Intel CPUs have at least 3 fixed counters. So if some of the fixed counters are masked out by the hypervisor, it still tries to check/set them. This patch makes perf beh

[tip:x86/platform] x86/vmware: Read tsc_khz only once at boot time

2016-10-21 Thread tip-bot for Alexey Makhalov
Commit-ID: cf11372949434fc4a6194b1ed9eb861d08032d08 Gitweb: http://git.kernel.org/tip/cf11372949434fc4a6194b1ed9eb861d08032d08 Author: Alexey Makhalov AuthorDate: Wed, 19 Oct 2016 22:02:11 -0700 Committer: Thomas Gleixner CommitDate: Fri, 21 Oct 2016 10:12:11 +0200 x86/vmware: Read tsc

[PATCH] iio: light: acpi-als: Add IO_CHAN_INFO_OFFSET/SCALE to mask.

2016-10-21 Thread Enric Balletbo i Serra
According the ACPI specification (Version 5.0 Errata A) [1], the data coming from the sensor represent the ambient light illuminance reading expressed in lux. Unfortunately ACPI interface doesn't provide a mechanism to calibrate this value, so this raw value can be slightly wrong. This patch adds

[PATCH] Netfilter: Fix an ICMPv6 bug which caused by a latter ICMPv6 NA packet to inherit the mark of previous NS packet.

2016-10-21 Thread XU Tianwen
The root cause is an ICMPv6 packet hits an untracked connection and inherits a mark from the previous packet to which it is not related, IMO it doesn't make sense to inherit mark for nf_conntrack_untracked. Signed-off-by: XU Tianwen --- net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | 3 +++ 1

Re: [PATCH v2 0/8] mm/swap: Regular page swap optimizations

2016-10-21 Thread Christian Borntraeger
On s390 4.9-rc1 + this patch set I get the following on swapon [ 308.206195] [ cut here ] [ 308.206203] WARNING: CPU: 5 PID: 20745 at mm/page_alloc.c:3511 __alloc_pages_nodemask+0x884/0xdf8 [ 308.206205] Modules linked in: xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_n

Re: [PATCH] kernel: irq: fix build failure

2016-10-21 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Stephen Rothwell wrote: > On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner > wrote: > > I know. This is under discussion with the driver folks as we are not going > > to blindly export stuff just because someone slapped a irq_set_parent() > > into the code w/o knowin

Re: [PATCH v3] x86/tsc: add X86_FEATURE_TSC_KNOWN_FREQ flag

2016-10-21 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Peter Zijlstra wrote: > On Thu, Oct 20, 2016 at 09:37:50PM +0200, Thomas Gleixner wrote: > > > Well, we have the same issue on other platforms/models which set the > > reliable flag. > > I was not aware we had other platforms doing this, git grep tells me > intel-mid does thi

Re: [PATCH 1/2] x86/dumpstack: on oops do not rewind stack for kthread

2016-10-21 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Peter Zijlstra wrote: > We need to preserve the entire struct kthread on the stack, kthread just > abuses that pointer to stash an on-stack kthread descriptor. See > kthread(): > > current->vfork_done = &self.exited; > > Its a horrible horrible thing kthread does. I suppose

[PATCH v8 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo initial support

2016-10-21 Thread Jagan Teki
From: Jagan Teki i.CoreM6 DualLite/Solo modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DL, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD RES FULLHD and more inf

[PATCH v8 3/3] ARM: dts: imx6qdl-icore: Add FEC support

2016-10-21 Thread Jagan Teki
From: Jagan Teki Add FEC support for Engicam i.CoreM6 dql modules. Observed similar 'eth0: link is not ready' issue which was discussed in [1] due rmii mode with external ref_clk, so added clock node along with the properties mentioned by Shawn in [2] FEC link log: $ ifconfig eth0

[PATCH v8 0/3] ARM: dts: imx6q: Add Engicam i.CoreM6 dts

2016-10-21 Thread Jagan Teki
From: Jagan Teki This is series add dts support for Engicam I.Core M6 qdl modules. just rebased on top of linux-next. Jagan Teki (3): ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo initial support ARM: dts: imx6qdl-icore:

[PATCH v8 1/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

2016-10-21 Thread Jagan Teki
From: Jagan Teki i.CoreM6 Quad/Dual modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DQ, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD RES FULLHD and more info at

Re: [PATCH v7 0/5] ARM: dts: imx6q: Add Engicam i.CoreM6 dts

2016-10-21 Thread Jagan Teki
On Fri, Oct 21, 2016 at 7:05 AM, Shawn Guo wrote: > On Tue, Oct 18, 2016 at 05:30:28PM +0530, Jagan Teki wrote: >> Hi Shawn, >> >> On Fri, Oct 14, 2016 at 2:57 PM, Jagan Teki wrote: >> > This is series add dts support for Engicam I.Core M6 qdl modules. just >> > rebased on top of linux-next of pr

[PATCH 0/2] ARM: imx: init MAC address for ocotp

2016-10-21 Thread Octavian Purdila
This patch series adds support for initializing the ethernet MAC address for the OCOTP fuse configuration. Fugang Duan (1): ARM: imx: init enet MAC address from ocotp Octavian Purdila (1): ARM: imx: add ocotp support in machine code arch/arm/mach-imx/Kconfig | 5 ++ arch/arm/mach-im

[tip:x86/asm] x86/dumpstack: Fix duplicate RIP address display in __show_regs()

2016-10-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 1141c3e39c64e4aba2d98cb3dcca95369c9dafbe Gitweb: http://git.kernel.org/tip/1141c3e39c64e4aba2d98cb3dcca95369c9dafbe Author: Josh Poimboeuf AuthorDate: Thu, 20 Oct 2016 11:34:44 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Oct 2016 09:26:04 +0200 x86/dumpstack: Fix duplic

<    4   5   6   7   8   9   10   >