[PATCH v4 7/7] ARM: OMAP2+: McBSP: Remove the old iclk allow/deny idle code

2016-05-25 Thread Peter Ujfalusi
The new pdata callback (force_ick_on) is now used by the driver and the old callback related code can be removed. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap2/mcbsp.c | 18 -- include/linux/platform_data/asoc-ti-mcbsp.h | 1 - 2

[PATCH v4 4/7] ARM: OMAP3: pdata-quirks: Add support for McBSP2/3 sidetone handling

2016-05-25 Thread Peter Ujfalusi
McBSP2/3 module's sidetone module operates using the module's ICLK clock. When the Sidetone is in use the interface clock of the module must not idle. To prevent the iclk idling the driver expects to have pdata callback to call. With this patch the callback is going to be set up for DT boot also.

[PATCH v4 5/7] ASoC: omap-mcbsp: Rename omap_mcbsp_sysfs_remove() to omap_mcbsp_cleanup()

2016-05-25 Thread Peter Ujfalusi
The function will do more then removing the sysfs files in the future. Signed-off-by: Peter Ujfalusi Acked-by: Mark Brown --- sound/soc/omap/mcbsp.c | 2 +- sound/soc/omap/mcbsp.h | 2 +- sound/soc/omap/omap-mcbsp.c | 2 +- 3 files changed,

[PATCH v4 6/7] ASoC: omap-mcbsp: sidetone: Use the new callback for iclk handling

2016-05-25 Thread Peter Ujfalusi
The McBSP sidetone (in OMAP3 McBSP2 and 3 module) is working with the module's interface clock. When the sidetone is enabled the iclk must not idle because it will result in choppy sidetone. Switch to use the new callback for handling the iclk allow/deny idle configuration. For this the driver

minor patch to lib/raid6/Makefile

2016-05-25 Thread Steve Summit
I've been doing some cross-compilation on my Mac, and one of the little hiccups is that lib/raid6 won't build due to a small command-line incompatibility between GNU awk and the one that comes with MacOS. Patch attached. (I have nothing like commit access; I'm hoping someone else can apply

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-05-25 Thread Oliver Neukum
On Wed, 2016-05-25 at 17:04 +0300, Heikki Krogerus wrote: > I'm not against leaving the responsibility of registering the alternate > modes to the drivers. I'm a little bit worried about relying then on > the drivers to also handle the unregistering accordingly, but I can > live with that. But we

Re: [PATCH v4 0/7] ARM/ASoC: OMAP3: Fix McBSP2/3 sidetone support

2016-05-25 Thread Peter Ujfalusi
Hi, my git send-email got interrupted by my ISP :o The complete series should be up by now. Sorry about it. -- Péter On 05/25/2016 05:15 PM, Peter Ujfalusi wrote: > Hi, > > Changes since v3: > - Rebased on next-20160525 [1] to apply cleanly > - Fixed subject line for patch5 &

[PATCH v8 21/22] IB/hns: Kconfig and Makefile for RoCE module

2016-05-25 Thread Lijun Ou
This patch added Kconfig and Makefile for building RoCE module. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- drivers/infiniband/Kconfig | 1 + drivers/infiniband/hw/Makefile

[PATCH v8 17/22] IB/hns: Add QP operations support

2016-05-25 Thread Lijun Ou
This patch was implementing for queue pair operations. QP Consists of a Send Work Queue and a Receive Work Queue. Send and receive queues are always created as a pair and remain that way throughout their lifetime. A Queue Pair is identified by its Queue Pair Number. QP operations as follows:

[PATCH v8 07/22] IB/hns: Add event queue support

2016-05-25 Thread Lijun Ou
This patch added event queue support for RoCE driver. It is used for RoCE interrupt. RoCE includes 32 synchronous event irqs, 1 asynchronous event irq and 1 common overflow irq. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao

[PATCH v8 02/22] devicetree: bindings: IB: Add binding document for HiSilicon RoCE

2016-05-25 Thread Lijun Ou
This patch added DTS binding document for HiSilicon RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- .../bindings/infiniband/hisilicon-hns-roce.txt | 107 + 1 file changed, 107 insertions(+) create mode 100644

[PATCH v8 08/22] IB/hns: Add icm support

2016-05-25 Thread Lijun Ou
This patch mainly added icm support for RoCE. It initializes icm which managers the relative memory blocks for RoCE. The data structures of RoCE will be located in it. For example, CQ table, QP table and MTPT table so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong

[PATCH v8 15/22] IB/hns: Add PD operations support

2016-05-25 Thread Lijun Ou
This patch added the verbs to operate PD. It mainly includes the functions of allocating PD and deallocating PD. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH v8 12/22] IB/hns: Set mtu and gid support

2016-05-25 Thread Lijun Ou
This patch mainly set mtu and gid resource. These resource will be used to set up network transmission in nodes. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

Re: Builtin microcode does nothing..

2016-05-25 Thread Borislav Petkov
On Wed, May 25, 2016 at 03:48:51PM +0200, Jim Bos wrote: > Works fine here: > > - no initrd.gz (simply all needed drivers builtin the main kernel) > - however, CONFIG_BLK_DEV_INITRD=y to keep option for initrd image > - intel ucode built-in kernel image > > It also survives suspend/resume S2RAM

[PATCH v8 14/22] IB/hns: Add operations support for IB device and port

2016-05-25 Thread Lijun Ou
This patch mainly registered some relative verbs for the kernel. These operation functions will be called by user. For example: 1. modify device 2. query device 3. query_port 4. modify_port and so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao

[PATCH v8 20/22] IB/hns: Add operation for getting immutable port

2016-05-25 Thread Lijun Ou
This patch added a new verbs that is getting port immutable. It is added in the 4.5 kernel and latest. It is necessary to solve the fail questions for registering ib device. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou ---

[PATCH V2] MAINTAINERS: add kexec_core.c and kexec_file.c

2016-05-25 Thread Minfei Huang
>From below commits, kexec.c is split to kexec.c, kexec_file.c and kexec_core.c. commit a43cac0d9dc2 ("kexec: split kexec_file syscall code to kexec_file.c") commit 2965faa5e03d ("kexec: split kexec_load syscall from kexec core code") Both kexec_file.c and kexec_core.c are still belong to kexec

Re: [PATCH 1/1] arm64: fix flush_cache_range

2016-05-25 Thread Catalin Marinas
On Tue, May 24, 2016 at 04:12:35PM +0100, Mark Rutland wrote: > On Tue, May 24, 2016 at 08:19:05PM +0800, Leizhen (ThunderTown) wrote: > > On 2016/5/24 19:37, Mark Rutland wrote: > > > On Tue, May 24, 2016 at 07:16:37PM +0800, Zhen Lei wrote: > > >> When we ran mprotect04(a test case in LTP)

Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c

2016-05-25 Thread Larry Finger
On 05/25/2016 01:24 AM, Al Viro wrote: On Wed, May 25, 2016 at 12:41:33AM +0100, Al Viro wrote: On Tue, May 24, 2016 at 05:31:51PM -0500, Matthew McClintock wrote: On May 24, 2016, at 2:36 PM, Larry Finger wrote: On 05/24/2016 02:25 PM, Matthew McClintock wrote:

Re: [RESEND][PATCH] drivers: of: of_reserved_mem: fixup the CMA alignment not to affect dma-coherent

2016-05-25 Thread Rob Herring
On Tue, May 24, 2016 at 11:29 PM, Jaewon Kim wrote: > From: Jaewon > > There was an alignment mismatch issue for CMA and it was fixed by > commit 1cc8e3458b51 ("drivers: of: of_reserved_mem: fixup the alignment with > CMA setup"). > However

[PATCH 1/2] ipv6: hide ip6_encap_hlen/ip6_tnl_encap definitions

2016-05-25 Thread Arnd Bergmann
A recent cleanup moved MAX_IPTUN_ENCAP_OPS along with some other definitions, but it is now invisible when CONFIG_INET is not defined, but still referenced from ip6_tunnel.h: In file included from net/xfrm/xfrm_input.c:17:0: include/net/ip6_tunnel.h:67:17: error: 'MAX_IPTUN_ENCAP_OPS' undeclared

Re: [RESEND] Re: updating carl9170-1.fw in linux-firmware.git

2016-05-25 Thread Ben Hutchings
On Wed, 2016-04-20 at 23:11 +0200, Christian Lamparter wrote: > On Wednesday, April 20, 2016 10:59:44 AM Kalle Valo wrote: > > Christian Lamparter writes: > > > > > On Monday, April 18, 2016 07:42:05 PM Kalle Valo wrote: > > > > Christian Lamparter

Re: [PATCH v2] mfd: stmpe: move platform data into mfd driver

2016-05-25 Thread Patrice Chotard
On 05/25/2016 02:22 PM, Linus Walleij wrote: The STMPE platform data is only populated from the device tree in all existing users, so push the struct and make the OF case the norm. Cc: Patrice Chotard Signed-off-by: Linus Walleij ---

Re: [RFC][PATCH 1/3] locking: Introduce smp_acquire__after_ctrl_dep

2016-05-25 Thread Waiman Long
On 05/25/2016 12:53 AM, Paul E. McKenney wrote: On Tue, May 24, 2016 at 11:01:21PM -0400, Waiman Long wrote: On 05/24/2016 10:27 AM, Peter Zijlstra wrote: Introduce smp_acquire__after_ctrl_dep(), this construct is not uncommen, but the lack of this barrier is. Signed-off-by: Peter Zijlstra

Re: [PATCH] mm: oom_kill_process: do not abort if the victim is exiting

2016-05-25 Thread Vladimir Davydov
On Wed, May 25, 2016 at 10:09:46AM +0200, Michal Hocko wrote: ... > Well, my understanding of the OOM report is that it should tell you two > things. The first one is to give you an overview of the overal memory > situation when the system went OOM and the second one is o give you > information

[PATCH percpu/for-4.7-fixes 2/2] percpu: fix synchronization between synchronous map extension and chunk destruction

2016-05-25 Thread Tejun Heo
For non-atomic allocations, pcpu_alloc() can try to extend the area map synchronously after dropping pcpu_lock; however, the extension wasn't synchronized against chunk destruction and the chunk might get freed while extension is in progress. This patch fixes the bug by putting most of non-atomic

Re: [PATCH v5 4/8] perf record: Introduce rec->overwrite_evlist for overwritable events

2016-05-25 Thread Arnaldo Carvalho de Melo
Em Wed, May 25, 2016 at 09:47:37PM +0800, Wangnan (F) escreveu: > > Sorry, before calling filter here should check if rec->overwrite_evlist > > is not NULL. > > I'll resend this patch with this problem fixed soon. > > Please ignore the full v5 series and see v6 instead. The final two patches >

Re: [PATCH 0/2] ARM: dts: Fix imprecise external abort error when accessing Exynos MFC

2016-05-25 Thread Javier Martinez Canillas
Hello Marek, On 05/25/2016 02:51 AM, Marek Szyprowski wrote: > Hello, > > > On 2016-05-24 19:41, Javier Martinez Canillas wrote: >> This series fixes an imprecise external abort error when accessing the >> Exynos MFC registers due the power domain configuration requiring the >> aclk333 clock to

[PATCH v4 1/7] ARM: OMAP3: hwmod data: Fix McBSP2/3 sidetone data

2016-05-25 Thread Peter Ujfalusi
The McBSPLP's sidetone main clock is the McBSPLP's ICLK, not FCLK as the sidetone only receives the ICLK from the main McBSP module. Since the McBSP and sidetone is using the very same clock from PRCM level the sidetone must not have the prcm section to check the clock status since the sidetone is

[PATCH v4 2/7] ARM: dts: omap3: Add clocks to McBSP nodes

2016-05-25 Thread Peter Ujfalusi
Add clock properties to the McBSP nodes. McBSP2 and 3 need to have ick also since the Sidetone block of these modules are operating using the McBSP interface clock. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/omap3.dtsi | 10 ++ 1 file changed, 10

[PATCH v4 3/7] ARM: OMAP3: McBSP: New callback for McBSP2/3 ICLK idle configuration

2016-05-25 Thread Peter Ujfalusi
McBSP2/3 module's sidetone module operates using the module's ICLK clock. When the Sidetone is in use the interface clock of the module must not idle. The new callback expects to receive the *clk of the module's ick and not the id number of the McBSP. This will allow us more cleanups and going to

[PATCH v4 0/7] ARM/ASoC: OMAP3: Fix McBSP2/3 sidetone support

2016-05-25 Thread Peter Ujfalusi
Hi, Changes since v3: - Rebased on next-20160525 [1] to apply cleanly - Fixed subject line for patch5 - Added Mark's acked-by to the ASoC patches [1] "ASoC: omap-mcbsp: Enable/disable sidetone block auto clock gating for omap3" is gone missing from linux-next - it was in next-201605

Re: [RFC][PATCH 1/3] locking: Introduce smp_acquire__after_ctrl_dep

2016-05-25 Thread Paul E. McKenney
On Wed, May 25, 2016 at 01:39:30PM +0800, Boqun Feng wrote: > On Tue, May 24, 2016 at 09:53:29PM -0700, Paul E. McKenney wrote: > > On Tue, May 24, 2016 at 11:01:21PM -0400, Waiman Long wrote: > > > On 05/24/2016 10:27 AM, Peter Zijlstra wrote: > > > >Introduce smp_acquire__after_ctrl_dep(), this

Re: [PATCH] soc/tegra: pmc: Fix "scheduling while atomic"

2016-05-25 Thread Jon Hunter
On 05/05/16 15:24, Dmitry Osipenko wrote: > Hello, Jon! > > On 05.05.2016 16:17, Jon Hunter wrote: >> >> Thanks for the report. I have been unable to reproduce this, but then I >> don't see my tegra20 entering LP2 during cpuidle. I did force my tegra20 >> into LP2 during suspend which will

Re: [PATCH v3 4/4] soc: Add SoC driver for Freescale Vybrid platform

2016-05-25 Thread Arnd Bergmann
On Tuesday, May 24, 2016 12:09:41 PM CEST Rob Herring wrote: > On Mon, May 23, 2016 at 11:14 PM, wrote: > > Hello Rob, > > > > On 16-05-23 16:18:13, Rob Herring wrote: > >> On Fri, May 20, 2016 at 03:32:05PM +0530, Sanchayan Maity wrote: > >> > This adds a SoC driver to

[GIT PULL] pwm: Changes for v4.7-rc1

2016-05-25 Thread Thierry Reding
Hi Linus, The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca: Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-4.7-rc1 for you to fetch

RE: [PATCH RFC kernel] balloon: speed up inflating/deflating process

2016-05-25 Thread Li, Liang Z
> > > Interesting. How about instead of tell host, we do multiple scans, > > > each time ignoring pages out of range? > > > > > > for (pfn = min pfn; pfn < max pfn; pfn += 1G) { > > > foreach page > > > if page pfn < pfn || page pfn >= pfn + 1G > > >

[PATCH] efi: fix for_each_efi_memory_desc_in_map() for empty memmaps

2016-05-25 Thread Vitaly Kuznetsov
Commit 78ce248faa3c ("efi: Iterate over efi.memmap in for_each_efi_memory_desc()") introduced a regression for systems booted with 'noefi' kernel option. In particular, I observe early kernel hang in efi_find_mirror() on for_each_efi_memory_desc() call. As we don't have efi memmap we enter this

Re: [PATCH v7 13/15] ACPI / processor: Add acpi_map_madt_entry().

2016-05-25 Thread Catalin Marinas
On Tue, May 24, 2016 at 03:35:43PM -0700, David Daney wrote: > From: David Daney > > Follow-on arm64 ACPI/NUMA patches need to map MADT entries very early > (before kmalloc is usable). > > Add acpi_map_madt_entry() which, indirectly, uses >

Re: [PATCH v7 14/15] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-05-25 Thread Catalin Marinas
On Tue, May 24, 2016 at 03:35:44PM -0700, David Daney wrote: > From: Hanjun Guo > > Introduce a new file to hold ACPI based NUMA information parsing from > SRAT and SLIT. > > SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory > ranges to Proximity

[PATCH v8 04/22] IB/hns: Add RoCE engine reset function

2016-05-25 Thread Lijun Ou
This patch mainly added reset flow of RoCE engine in RoCE driver. It is necessary when RoCE is loaded and removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH v8 03/22] IB/hns: Add initial main frame driver and get cfg info

2016-05-25 Thread Lijun Ou
This patch mainly added the initial bare main driver. It could get the relative configure information of net node. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH v8 13/22] IB/hns: Add interface of the protocol stack registration

2016-05-25 Thread Lijun Ou
This patch mainly added the function module which netif notify registered the protocol stack. It includes interface functions as follows: 1. The executive called interface of RoCE when the netlink event that registered protocol stack was generated 2. The executive called interface

[PATCH v8 18/22] IB/hns: Add CQ operations support

2016-05-25 Thread Lijun Ou
This patch was implementing for Completion Queue(CQ) operations. A CQ can be used to multiplex work completions from multiple work queues across queue pairs on the same HCA. CQ as the notification mechanism for Work Request completions. CQ operations as follows: 1. create CQ. CQ are created

[PATCH 2/2] fou: add Kconfig options for IPv6 support

2016-05-25 Thread Arnd Bergmann
A previous patch added the fou6.ko module, but that failed to link in a couple of configurations: net/built-in.o: In function `ip6_tnl_encap_add_fou_ops': net/ipv6/fou6.c:88: undefined reference to `ip6_tnl_encap_add_ops' net/ipv6/fou6.c:94: undefined reference to `ip6_tnl_encap_add_ops'

Re: [RFC][PATCH 0/7] sched: select_idle_siblings rewrite

2016-05-25 Thread Chris Mason
On Mon, May 09, 2016 at 12:48:07PM +0200, Peter Zijlstra wrote: > Hai, > > here be a semi coherent patch series for the recent select_idle_siblings() > tinkering. Happy benchmarking.. This took a while, mostly because my original schbench showed your patches were just as fast as our internal

[PATCH v8 05/22] IB/hns: Add initial profile resource

2016-05-25 Thread Lijun Ou
This patch mainly configured some profile resoure. For example, vendor_id, hardware version, and some data structure sizes so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH v8 00/22] Add HiSilicon RoCE driver

2016-05-25 Thread Lijun Ou
The HiSilicon Network Substem is a long term evolution IP which is supposed to be used in HiSilicon ICT SoCs. HNS (HiSilicon Network Sybsystem) also has a hardware support of performing RDMA with RoCEE. The driver for HiSilicon RoCEE(RoCE Engine) is a platform driver and will support mulitple

[PATCH v8 06/22] IB/hns: Add initial cmd operation

2016-05-25 Thread Lijun Ou
This patch added the operation for cmd, and added some functions for initializing eq table and selecting cmd mode. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH v8 19/22] IB/hns: Add memory region operations support

2016-05-25 Thread Lijun Ou
This patch was mainly for implementing of memory region. Memory Registration provides mechanisms that allow consumers to describe a set of virtually contiguous memory locations or a set of physically contiguous memory locations. MR operations includes as follows: 1. get dma MR in kernel mode

[PATCH v8 22/22] MAINTAINERS: Add maintainers for HiSilicon RoCE driver

2016-05-25 Thread Lijun Ou
This patch added maintainers for RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5f83015..ba23a81 100644 --- a/MAINTAINERS +++

[PATCH v8 01/22] net: hns: Add reset function support for RoCE driver

2016-05-25 Thread Lijun Ou
It added reset function for RoCE driver. RoCE is a feature of hns. In hip06 SoC, in RoCE reset process, it's needed to configure dsaf channel reset, port and sl map info. Reset function of RoCE is located in dsaf module, we only call it in RoCE driver when needed. Signed-off-by: Wei Hu

[PATCH percpu/for-4.7-fixes 1/2] percpu: fix synchronization between chunk->map_extend_work and chunk destruction

2016-05-25 Thread Tejun Heo
Atomic allocations can trigger async map extensions which is serviced by chunk->map_extend_work. pcpu_balance_work which is responsible for destroying idle chunks wasn't synchronizing properly against chunk->map_extend_work and may end up freeing the chunk while the work item is still in flight.

Re: [PATCH v8 08/14] usb: otg: add OTG/dual-role core

2016-05-25 Thread Roger Quadros
On 25/05/16 05:44, Peter Chen wrote: > On Tue, May 24, 2016 at 12:45:46PM +0300, Roger Quadros wrote: >> Hi Peter, >> >> I have one question here. Please see below. >> >> On 13/05/16 13:03, Roger Quadros wrote: >>> It provides APIs for the following tasks >>> >>> - Registering an OTG/dual-role

[PATCH v2] mfd: stmpe: move platform data into mfd driver

2016-05-25 Thread Linus Walleij
The STMPE platform data is only populated from the device tree in all existing users, so push the struct and make the OF case the norm. Cc: Patrice Chotard Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Drop check for (!np) NULL device

[PATCH] MAINTAINERS: add kexec_core.c and kexec_file.c

2016-05-25 Thread Minfei Huang
>From below commits, kexec.c is split to kexec.c, kexec_file.c and kexec_core.c. commit a43cac0d9dc2 ("kexec: split kexec_file syscall code to kexec_file.c") commit 2965faa5e03d ("kexec: split kexec_load syscall from kexec core code") Both kexec_file.c and kexec_core.c are still belong to kexec

Re: [PATCH] tracing: Choose static tp_printk buffer by explicit nesting count

2016-05-25 Thread Namhyung Kim
Hi Andy, On Wed, May 25, 2016 at 7:52 AM, Andy Lutomirski wrote: > Currently, the trace_printk code chooses which static buffer to use based > on what type of atomic context (NMI, IRQ, etc) it's in. Simplify the > code and make it more robust: simply count the nesting depth and

[PATCH 2/3] ibmvscsis: Addressing Bart's comments

2016-05-25 Thread Bryant G. Ly
From: bryantly This patch contains cleaning up the code for styling and also addresses Bart's comments. Signed-off-by: bryantly --- MAINTAINERS | 4 +- drivers/scsi/Kconfig | 36 +--

[PATCH 3/3] ibmvscsis: clean up functions

2016-05-25 Thread Bryant G. Ly
From: bryantly This patch removes forward declarations and re-organizes the functions within the driver. This patch also fixes MAINTAINERS for ibmvscsis. Signed-off-by: bryantly --- MAINTAINERS |4 +-

Re: [PATCH 2/2] ARM: dts: Add async-bridge clock to MFC power domain for Exynos5420

2016-05-25 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/25/2016 03:48 AM, Krzysztof Kozlowski wrote: > On 05/24/2016 07:41 PM, Javier Martinez Canillas wrote: >> The MFC IP is also inter-connected by an Async-Bridge so the CLK_ACLK333 >> has to be ungated during a power domain switch. Trying to do it when the >> clock is gated

[PATCH v4 2/7] ARM: dts: omap3: Add clocks to McBSP nodes

2016-05-25 Thread Peter Ujfalusi
Add clock properties to the McBSP nodes. McBSP2 and 3 need to have ick also since the Sidetone block of these modules are operating using the McBSP interface clock. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/omap3.dtsi | 10 ++ 1 file changed, 10

[PATCH v4 3/7] ARM: OMAP3: McBSP: New callback for McBSP2/3 ICLK idle configuration

2016-05-25 Thread Peter Ujfalusi
McBSP2/3 module's sidetone module operates using the module's ICLK clock. When the Sidetone is in use the interface clock of the module must not idle. The new callback expects to receive the *clk of the module's ick and not the id number of the McBSP. This will allow us more cleanups and going to

[PATCH v4 0/7] ARM/ASoC: OMAP3: Fix McBSP2/3 sidetone support

2016-05-25 Thread Peter Ujfalusi
Hi, Changes since v3: - Rebased on next-20160525 [1] to apply cleanly - Fixed subject line for patch5 - Added Mark's acked-by to the ASoC patches [1] "ASoC: omap-mcbsp: Enable/disable sidetone block auto clock gating for omap3" is gone missing from linux-next - it was in next-201605

[PATCH v4 1/7] ARM: OMAP3: hwmod data: Fix McBSP2/3 sidetone data

2016-05-25 Thread Peter Ujfalusi
The McBSPLP's sidetone main clock is the McBSPLP's ICLK, not FCLK as the sidetone only receives the ICLK from the main McBSP module. Since the McBSP and sidetone is using the very same clock from PRCM level the sidetone must not have the prcm section to check the clock status since the sidetone is

[PATCH] intel_menlow: prevent NULL pointer dereference

2016-05-25 Thread Vincent Stehlé
The function acpi_driver_data() will dereference its parameter; make sure to check for NULL pointer before we call it. Signed-off-by: Vincent Stehlé Cc: Sujith Thomas Cc: Darren Hart Cc: Zhang Rui

Re: [PATCH V3 1/2] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-05-25 Thread agustinv
Adding linux-arm-kernel and linux-acpi On 2016-05-13 12:16, Agustin Vega-Frias wrote: This allows irqchip drivers to associate an ACPI DSDT device to an IRQ domain and provides support for using the ResourceSource in Extended IRQ Resources to find the domain and map the IRQs specified on that

Re: [PATCH V3 0/2] irqchip: qcom: Add IRQ combiner driver

2016-05-25 Thread agustinv
Adding linux-arm-kernel and linux-acpi On 2016-05-13 12:16, Agustin Vega-Frias wrote: Add support for IRQ combiners in the Top-level Control and Status Registers (TCSR) hardware block in Qualcomm Technologies chips. The first patch adds support for ResourceSource/IRQ domain mapping when using

Re: [PATCH V3 2/2] irqchip: qcom: Add IRQ combiner driver

2016-05-25 Thread agustinv
Adding linux-arm-kernel and linux-acpi On 2016-05-13 12:16, Agustin Vega-Frias wrote: Driver for interrupt combiners in the Top-level Control and Status Registers (TCSR) hardware block in Qualcomm Technologies chips. An interrupt combiner in this block combines a set of interrupts by OR'ing

[GIT PULL] parisc architecture updates for 4.7-rc1

2016-05-25 Thread Helge Deller
Hi Linus, Please pull the parisc architecture patches for the kernel 4.7 merge window from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.7-1 Changes in this patch set: - Add native high-resolution timing code for sched_clock() and other timing functions

RE: [PATCH v8 08/14] usb: otg: add OTG/dual-role core

2016-05-25 Thread Jun Li
Hi Roger > >> > >> Here, we should be checking if user needs to disable any OTG > >> features. So, > >> > >>if (dev->of_node) > >>of_usb_update_otg_caps(dev->of_node, >caps); > >> > >> Do you agree? > >> This means we need to change otg->caps from 'struct usb_otg_caps > *caps;' >

Re: [PATCH 3/3] ibmvscsis: clean up functions

2016-05-25 Thread Joe Perches
On Wed, 2016-05-25 at 09:17 -0500, Bryant G. Ly wrote: > From: bryantly Please use your whole name here and for your sign-off like: From: Bryant G. Ly Signed-off-by: Bryant G. Ly > This patch removes

Re: [PATCH v4 01/18] of/platform: Add common method to populate default bus

2016-05-25 Thread Rob Herring
On Thu, May 12, 2016 at 7:05 AM, Kefeng Wang wrote: > The arch code calls of_platform_populate() with default match table > when it want to populate default bus. > > This patch introduce a new of_platform_default_populate_init() and make it > arch_initcall_sync(it

[PATCH v8 11/22] IB/hns: Add IB device registration

2016-05-25 Thread Lijun Ou
This patch registered IB device when loaded, and unregistered IB device when removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- drivers/infiniband/hw/hns/hns_roce_main.c | 47

[PATCH v6] irqchip, gicv3-its, numa: Enable workaround for Cavium thunderx erratum 23144

2016-05-25 Thread Robert Richter
From: Ganapatrao Kulkarni The erratum fixes the hang of ITS SYNC command by avoiding inter node io and collections/cpu mapping on thunderx dual-socket platform. This fix is only applicable for Cavium's ThunderX dual-socket platform. This is based on NUMA upstream

[PATCH v8 10/22] IB/hns: Add process flow to init RoCE engine

2016-05-25 Thread Lijun Ou
This patch mainly initialized the RoCE engine. It is absolutely necessary to run RoCE. It mainly includes that configure DMAE user, initialize doorbell and raq operations, enable port. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-05-25 Thread Guenter Roeck
On Wed, May 25, 2016 at 04:20:56PM +0200, Oliver Neukum wrote: > On Wed, 2016-05-25 at 17:04 +0300, Heikki Krogerus wrote: > > > I'm not against leaving the responsibility of registering the alternate > > modes to the drivers. I'm a little bit worried about relying then on > > the drivers to also

[PATCH] vfio/pci: Fix ordering of eventfd vs virqfd shutdown

2016-05-25 Thread Alex Williamson
Both the INTx and MSI/X disable paths do an eventfd_ctx_put() for the trigger eventfd before calling vfio_virqfd_disable() any potential mask and unmask eventfds. This opens a use-after-free race where an inopportune irqfd can reference the freed signalling eventfd. Reorder to avoid this

Re: ARM: dts: exynos: Add MFC memory banks for Peach boards

2016-05-25 Thread Javier Martinez Canillas
Hello Pankaj, On 05/25/2016 04:33 AM, pankaj.dubey wrote: > Hi Javier, > > On Friday 29 April 2016 12:51 AM, Javier Martinez Canillas wrote: >> The MFC nodes with the memory regions reserved for memory allocations >> are missing in the Exynos5420 Peach Pit and Exynos5800 Peach Pi DTS. >> >> This

[PATCH v2] sched: fix first task of a task group is attached twice

2016-05-25 Thread Vincent Guittot
The cfs_rq->avg.last_update_time is initialize to 0 with the main effect that the 1st sched_entity that will be attached, will keep its last_update_time set to 0 and will attached once again during the enqueue. Initialize cfs_rq->avg.last_update_time to 1 instead. Signed-off-by: Vincent Guittot

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-05-25 Thread Guenter Roeck
On Wed, May 25, 2016 at 02:28:46PM +0300, Heikki Krogerus wrote: > Hi, > > On Tue, May 24, 2016 at 02:51:40PM +0200, Oliver Neukum wrote: > > On Thu, 2016-05-19 at 15:44 +0300, Heikki Krogerus wrote: > > > > Hi, > > > > as this discussion seems to go in circles, I am starting anew > > at the

Re: [PATCH v8 22/22] MAINTAINERS: Add maintainers for HiSilicon RoCE driver

2016-05-25 Thread Joe Perches
On Wed, 2016-05-25 at 23:05 +0800, Lijun Ou wrote: > This patch added maintainers for RoCE driver. Please add sections in alphabetic order. > diff --git a/MAINTAINERS b/MAINTAINERS [] > @@ -10121,6 +10121,14 @@ W: http://www.emulex.com >  S: Supported >  F: drivers/infiniband/hw/ocrdma/ >  

Re: [PATCH] devicetree - document using aliases to set spi bus number.

2016-05-25 Thread Frank Rowand
On 5/24/2016 10:41 AM, Mark Rutland wrote: > On Tue, May 24, 2016 at 06:39:20PM +0200, Christer Weinigel wrote: >> Document how to use devicetree aliases to assign a stable >> bus number to a spi bus. >> >> Signed-off-by: Christer Weinigel >> >> --- >> >> Trivial

Re: [PATCH] devicetree - document using aliases to set spi bus number.

2016-05-25 Thread Frank Rowand
On 5/25/2016 2:20 AM, Mark Rutland wrote: > On Tue, May 24, 2016 at 01:41:26PM -0700, Frank Rowand wrote: >> On 5/24/2016 10:41 AM, Mark Rutland wrote: >>> On Tue, May 24, 2016 at 06:39:20PM +0200, Christer Weinigel wrote: Document how to use devicetree aliases to assign a stable bus

Re: [PATCH 7/7] x86/uaccess: OOPS or warn on a fault with KERNEL_DS and !pagefault_disabled()

2016-05-25 Thread Borislav Petkov
On Tue, May 24, 2016 at 03:48:44PM -0700, Andy Lutomirski wrote: > + if (unlikely(!is_user_ds && !pagefault_disabled())) { > + if (extra < TASK_SIZE_MAX) { > + /* > + * Accessing user address under KERNEL_DS. This is a > +

Re: [PATCH] reiserfs: check kstrdup failure

2016-05-25 Thread Jan Kara
On Tue 24-05-16 22:51:27, Mikulas Patocka wrote: > Check out-of-memory failure of the kstrdup option. Note that the argument > "arg" may be NULL (in that case kstrup returns NULL), so out of memory > condition happened if arg was non-NULL and kstrdup returned NULL. > > The patch also changes the

Re: [RFC PATCH 1/3] asm-generic: io: Add exec versions of ioremap

2016-05-25 Thread Dave Gerlach
On 05/18/2016 03:57 PM, Russell King - ARM Linux wrote: On Wed, May 18, 2016 at 10:25:03PM +0200, Arnd Bergmann wrote: The ARM version of ioremap_exec() that gets added in this patch is cached (like memremap()), but then the asm-generic version is not? This is even more confusing, it should at

Re: [PATCH] arm64: defconfig: Enable cros-ec and battery driver

2016-05-25 Thread Thierry Reding
On Wed, May 25, 2016 at 12:03:47PM +0100, Jon Hunter wrote: > > On 25/05/16 11:58, Jon Hunter wrote: > > ... > > > Looking at this a bit more I am wondering if we should prevent the > > battery for being polled before the registration has completed ... > > > > diff --git

DRM DMA Engine

2016-05-25 Thread Jose Abreu
Hi all, Currently I am trying to develop a DRM driver that will use Xilinx VDMA to transfer video data to a HDMI TX Phy and I am facing a difficulty regarding the understanding of the DRM DMA Engine. I looked at several sources and at the DRM core source but the flow of creating and interfacing

Re: [PATCH] f2fs: introduce on-disk layout version checking functionality

2016-05-25 Thread Jaegeuk Kim
Hello, On Tue, May 24, 2016 at 06:05:23PM -0700, Viacheslav Dubeyko wrote: > Hi Jaegeuk, > > On Mon, 2016-05-23 at 14:13 -0700, Jaegeuk Kim wrote: > > Hi Slava, > > > > On Thu, May 19, 2016 at 10:46:06AM -0700, Viacheslav Dubeyko wrote: > > ... > > > > > > +#ifdef

Re: [PATCH v6] ASoC: cs53l30: Add codec driver support for Cirrus CS53L30

2016-05-25 Thread Rob Herring
On Mon, May 23, 2016 at 04:13:57PM -0700, Nicolin Chen wrote: > CS53L30 is a Quad-Channel ADC from Cirrus Logic with an I2S/TDM DAI. > So this patch adds support for CS53L30 that supports 24-bit recording > feature. > > Signed-off-by: Nicolin Chen > --- > Changelog: >

[PATCH 3.19.y-ckt 38/40] VSOCK: do not disconnect socket when peer has shutdown SEND only

2016-05-25 Thread Kamal Mostafa
3.19.8-ckt22 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ian Campbell [ Upstream commit dedc58e067d8c379a15a8a183c5db318201295bb ] The peer may be expecting a reply

[PATCH 3.19.y-ckt 35/40] netem: Segment GSO packets on enqueue

2016-05-25 Thread Kamal Mostafa
3.19.8-ckt22 -stable review patch. If anyone has any objections, please let me know. ---8< From: Neil Horman [ Upstream commit 6071bd1aa13ed9e41824bafad845b7b7f4df5cfd ] This was recently reported to me, and

[PATCH 3.19.y-ckt 39/40] net: bridge: fix old ioctl unlocked net device walk

2016-05-25 Thread Kamal Mostafa
3.19.8-ckt22 -stable review patch. If anyone has any objections, please let me know. ---8< From: Nikolay Aleksandrov [ Upstream commit 31ca0458a61a502adb7ed192bf9716c6d05791a5 ] get_bridge_ifindices()

[PATCH 3.19.y-ckt 37/40] net: fix infoleak in rtnetlink

2016-05-25 Thread Kamal Mostafa
3.19.8-ckt22 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kangjie Lu [ Upstream commit 5f8e44741f9f216e33736ea4ec65ca9ac03036e6 ] The stack object “map” has a total size

Re: [PATCH 0/7] x86: uaccess hardening, easy part

2016-05-25 Thread Kees Cook
On Tue, May 24, 2016 at 3:48 PM, Andy Lutomirski wrote: > This series hardens x86's uaccess code a bit. It adds warnings for > some screwups, adds an OOPS for a major exploitable screwup, and it > improves debuggability a bit by indicating non-default fs in oopses. > > It

Re: [RESEND PATCH v2] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219

2016-05-25 Thread Rob Herring
On Tue, May 24, 2016 at 09:36:14AM +0800, Xing Zheng wrote: > There are multi codec devices on the RK3399 platform, we can use > this patch support and control these codecs. > > Signed-off-by: Xing Zheng > --- > > Changes in v2: > - use the FS 256 to set mclks of the

[PATCH 3.19.y-ckt 26/40] route: do not cache fib route info on local routes with oif

2016-05-25 Thread Kamal Mostafa
3.19.8-ckt22 -stable review patch. If anyone has any objections, please let me know. ---8< From: Chris Friesen [ Upstream commit d6d5e999e5df67f8ec20b6be45e2229455ee3699 ] For local routes that require

[PATCH 3.19.y-ckt 27/40] net: use skb_postpush_rcsum instead of own implementations

2016-05-25 Thread Kamal Mostafa
3.19.8-ckt22 -stable review patch. If anyone has any objections, please let me know. ---8< From: Daniel Borkmann [ Upstream commit 6b83d28a55a891a9d70fc61ccb1c138e47dcbe74, skb_postpush_rcsum() added from

[PATCH 3.19.y-ckt 28/40] vlan: pull on __vlan_insert_tag error path and fix csum correction

2016-05-25 Thread Kamal Mostafa
3.19.8-ckt22 -stable review patch. If anyone has any objections, please let me know. ---8< From: Daniel Borkmann [ Upstream commit 9241e2df4fbc648a92ea0752918e05c26255649e ] When __vlan_insert_tag() fails from

  1   2   3   4   5   6   7   8   9   10   >