RE: [PATCH] PCI/ASPM: fix reverse ASPM L0s assignment of upstream and downstream

2016-05-25 Thread Ocean HY1 He
Hi Bjorn, I file a bug today: https://bugzilla.kernel.org/show_bug.cgi?id=118941 My patch passed in my test machine, but it's sad that Lenovo PA team still find reset issue when do batch test even applied my patch. So please ignore it at this time. I am sorry for it. But I will spend more time

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

2016-05-25 Thread Mark Brown
On Wed, May 25, 2016 at 01:34:24PM +0100, Mark Rutland wrote: > On Wed, May 25, 2016 at 01:20:04PM +0200, Christer Weinigel wrote: > > Does everything have to be so damn difficult? > With the varied hardware that exists, and the constant expansion of the > set of things which exist, there is very

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

2016-05-25 Thread Minfei Huang
On 05/25/16 at 05:54P, Joe Perches wrote: > On Wed, 2016-05-25 at 20:49 +0800, Minfei Huang wrote: > > > > 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 2965fa

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

2016-05-25 Thread Guenter Roeck
On 05/25/2016 04:30 AM, Heikki Krogerus wrote: Hi, On Tue, May 24, 2016 at 06:42:09AM -0700, Guenter Roeck wrote: +struct typec_capability { + enum typec_data_rolerole; + unsigned intusb_pd:1; + struct typec_altmode*alt_modes; + unsigned int

[PATCH] MAINTAINERS: Kdump maintainers update

2016-05-25 Thread Vivek Goyal
Hi, I am proposing following updates to kdump maintainership. I have got busy in other things and not getting time to spend on kdump. Removed Haren Myneni as he has not participated in kdump development for a long time now. Proposing adding the names of Dave and Baoquan as kdump maintainers as

Re: [PATCH v3 01/12] of: add vendor prefix for J-Core

2016-05-25 Thread Rob Herring
On Wed, May 25, 2016 at 12:43 AM, Rich Felker wrote: > The J-Core project (j-core.org) produces open source cpu and SoC > peripheral cores synthesizable as FPGA bitstreams or ASICs. > > Signed-off-by: Rich Felker Please add acks when posting subsequent versions. > --- > Documentation/devicetre

Re: [PATCH v2 02/12] of: add J-Core cpu bindings

2016-05-25 Thread Rob Herring
On Tue, May 24, 2016 at 9:33 PM, Rich Felker wrote: > On Tue, May 24, 2016 at 08:13:14PM -0500, Rob Herring wrote: >> On Tue, May 24, 2016 at 4:30 PM, Rob Landley wrote: >> > >> > >> > On 05/23/2016 06:29 PM, Rob Herring wrote: >> >> On Mon, May 23, 2016 at 4:03 PM, Rich Felker wrote: >> >>> On

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

2016-05-25 Thread Peter Zijlstra
On Tue, May 24, 2016 at 03:52:28PM -0700, 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 choose > a buffer b

[PATCHv3 1/1] drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver

2016-05-25 Thread Lothar Waßmann
The 'de-active' and 'pixelclk-active' DT properties are evaluated by of_parse_display_timing() called from of_get_drm_display_mode(), but later lost in the conversion from videomode.flags to drm_display_mode.flags. Use an open coded version of of_get_drm_display_mode() to get access to these flags

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 choose > a buffer

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

2016-05-25 Thread Guenter Roeck
On 05/25/2016 04:51 AM, Heikki Krogerus wrote: On Tue, May 24, 2016 at 12:28:26PM -0700, Guenter Roeck wrote: On Thu, May 19, 2016 at 03:44:54PM +0300, Heikki Krogerus wrote: The purpose of this class is to provide unified interface for user space to get the status and basic information about U

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

2016-05-25 Thread Robert Richter
Will, Marc, On 22.04.16 10:00:52, Will Deacon wrote: > On Fri, Apr 22, 2016 at 09:01:05AM +0100, Marc Zyngier wrote: > > On 21/04/16 18:40, Robert Richter wrote: > > > On 15.04.16 21:30:05, Robert Richter wrote: > > >> From: Ganapatrao Kulkarni > > >> > > >> The erratum fixes the hang of ITS SYNC

Re: [PATCH] MAINTAINERS: Kdump maintainers update

2016-05-25 Thread Joe Perches
On Wed, 2016-05-25 at 09:16 -0400, Vivek Goyal wrote: > I am proposing following updates to kdump maintainership. I have got > busy in other things and not getting time to spend on kdump.  > > Removed Haren Myneni as he has not participated in kdump development for > a long time now. > > Proposin

Re: [PATCH 08/10] m68k: Add

2016-05-25 Thread Philippe De Muyter
On Wed, May 25, 2016 at 03:34:55AM -0400, George Spelvin wrote: > This provides a multiply by constant GOLDEN_RATIO_32 = 0x61C88647 > for the original mc68000, which lacks a 32x32-bit multiply instruction. > > Addition chains found by Yevgen Voronenko's Hcub algorithm at > http://spiral.ece.cmu.ed

[PATCH] thermal: imx: depend on imx SoC arch

2016-05-25 Thread Peter Robinson
Not much use unless the SoC is selected so depend on the ARCH_MXC and COMPILE_TEST like all the other thermal drivers. Signed-off-by: Peter Robinson --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig i

[PATCH RFC] trace: correct off by one preempt counter while recording the trace-event

2016-05-25 Thread Sebastian Andrzej Siewior
Trace events like raw_syscalls show always a preempt code of one. The reason is that on PREEMPT kernels rcu_read_lock_sched_notrace() increases the preemption counter and the function recording the counter is caller within the RCU section. Signed-off-by: Sebastian Andrzej Siewior --- I am not sur

[PATCH 5/7] zram: use crypto api to check alg availability

2016-05-25 Thread Sergey Senozhatsky
There is no way to get a string with all the crypto comp algorithms supported by the crypto comp engine, so we need to maintain our own backends list. At the same time we additionally need to use crypto_has_comp() to make sure that the user has requested a compression algorithm that is recognized b

[PATCH 0/7] zram: switch to crypto api

2016-05-25 Thread Sergey Senozhatsky
Hello, This has started as a 'add zlib support' work, but after some thinking I saw no blockers for a bigger change -- a switch to crypto API. We don't have an idle zstreams list anymore and our write path now works absolutely differently, preventing preemption during compression. This remove

[PATCH 1/7] zram: rename zstrm find-release functions

2016-05-25 Thread Sergey Senozhatsky
We don't perform any zstream idle list lookup anymore, so zcomp_strm_find()/zcomp_strm_release() names are not representative. Rename to zcomp_stream_get()/zcomp_stream_put(). Signed-off-by: Sergey Senozhatsky Cc: Minchan Kim Cc: Joonsoo Kim --- drivers/block/zram/zcomp.c| 4 ++-- drivers

[PATCH 2/7] zram: switch to crypto compress API

2016-05-25 Thread Sergey Senozhatsky
We don't have an idle zstreams list anymore and our write path now works absolutely differently, preventing preemption during compression. This removes possibilities of read paths preempting writes at wrong places (which could badly affect the performance of both paths) and at the same time opens t

[PATCH 6/7] zram: delete custom lzo/lz4

2016-05-25 Thread Sergey Senozhatsky
Remove lzo/lz4 backends, we use crypto API now. Signed-off-by: Sergey Senozhatsky Cc: Minchan Kim Cc: Joonsoo Kim --- drivers/block/zram/Kconfig | 9 --- drivers/block/zram/Makefile| 4 +-- drivers/block/zram/zcomp.c | 2 -- drivers/block/zram/zcomp.h | 15 --- d

[PATCH 3/7] zram: drop zcomp param from compress/decompress

2016-05-25 Thread Sergey Senozhatsky
We don't need to supply a zcomp pointer to compress/decompress functions, drop it. Signed-off-by: Sergey Senozhatsky Cc: Minchan Kim Cc: Joonsoo Kim --- drivers/block/zram/zcomp.c| 5 ++--- drivers/block/zram/zcomp.h| 4 ++-- drivers/block/zram/zram_drv.c | 4 ++-- 3 files changed, 6 i

[PATCH 7/7] zram: add more compression algorithms

2016-05-25 Thread Sergey Senozhatsky
Add "deflate", "lz4hc", "842" algorithms to the list of known compression backends. The real availability of those algorithms, however, depends on the corresponding CONFIG_CRYPTO_FOO config options. Signed-off-by: Sergey Senozhatsky Cc: Minchan Kim Cc: Joonsoo Kim --- drivers/block/zram/zcomp.

[PATCH 4/7] zram: align zcomp interface to crypto comp API

2016-05-25 Thread Sergey Senozhatsky
A cosmetic change: use the same datatypes as crypto API does. Signed-off-by: Sergey Senozhatsky Cc: Minchan Kim Cc: Joonsoo Kim --- drivers/block/zram/zcomp.c| 5 ++--- drivers/block/zram/zcomp.h| 5 ++--- drivers/block/zram/zram_drv.c | 2 +- 3 files changed, 5 insertions(+), 7 deleti

Re: [PATCH v3 2/2] mmc: dw_mmc: add resets support to dw_mmc

2016-05-25 Thread Guodong Xu
On 2 April 2016 at 22:03, Heiko Stuebner wrote: > Am Samstag, 2. April 2016, 21:39:11 schrieb Guodong Xu: >> On 2 April 2016 at 02:42, Heiko Stuebner wrote: >> > Am Mittwoch, 30. März 2016, 15:24:56 schrieb Guodong Xu: >> > >> > [...] >> > >> > > @@ -2949,7 +2956,9 @@ int dw_mci_probe(struct dw_m

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

2016-05-25 Thread Steven Rostedt
On Wed, 25 May 2016 15:16:40 +0200 Peter Zijlstra wrote: > > static char *get_trace_buf(void) > > { > > + struct trace_buffer_struct *buffer = this_cpu_ptr(trace_percpu_buffer); > > > > + if (!buffer || buffer->nesting >= 4) > > return NULL; > > This is buggy fwiw; you need

Re: [PATCH] MAINTAINERS: Kdump maintainers update

2016-05-25 Thread Vivek Goyal
On Wed, May 25, 2016 at 06:24:10AM -0700, Joe Perches wrote: > On Wed, 2016-05-25 at 09:16 -0400, Vivek Goyal wrote: > > I am proposing following updates to kdump maintainership. I have got > > busy in other things and not getting time to spend on kdump.  > > > > Removed Haren Myneni as he has not

Re: [PATCH 3/4 v7] ASoC: dwc: Add PIO PCM extension

2016-05-25 Thread Mark Brown
On Wed, May 25, 2016 at 11:49:12AM +0100, Jose Abreu wrote: > Ok, will do that. I noticed the last I2S patch that you merged > ("ASoC: dwc: Add helper functions to disable/enable irqs") is not > in for-next yet. Should I base my work on 'topic/dwc' branch? We are in the merge window. No new non-

Re: [PATCH 08/10] m68k: Add

2016-05-25 Thread George Spelvin
Philippe De Muyter wrote: > On Wed, May 25, 2016 at 03:34:55AM -0400, George Spelvin wrote: >> Addition chains found by Yevgen Voronenko's Hcub algorithm at >> http://spiral.ece.cmu.edu/mcm/gen.html > Shouldn't you put that reference in the comments of your archhash.h file ? I don't really care e

[PATCH v6 02/10] perf tools: Choose correct reading direction according to evlist->backward

2016-05-25 Thread Wang Nan
Now we have evlist->backward to indicate the mmap direction. Make perf_evlist__mmap_read() choose right direction automatically. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Zefan Li Cc: He Kuang --- tools/perf/util/evlist.c |

[PATCH v6 00/10] perf tools: Support overwritable ring buffer

2016-05-25 Thread Wang Nan
This patch set enables daemonized perf recording by utilizing overwritable backward ring buffer. With this feature one can put perf background, and dump ring buffer records by a SIGUSR2 when he/she find something unusual. For example, following command record system calls, schedule events and sampl

[PATCH v6 03/10] perf tests: Add testcase for auxiliary evlist

2016-05-25 Thread Wang Nan
Improve test backward-ring-buffer, trace both enter and exit event of prctl() syscall, utilize auxiliary evlist to mmap enter and exit event into separated mmaps. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Zefan Li Cc: He Kuan

[PATCH v6 05/10] perf record: Toggle overwrite ring buffer for reading

2016-05-25 Thread Wang Nan
overwrite_evt_state is introduced to reflect the state of overwritable ring buffers. It is a state machine with 3 states: RUNNING --(1)--> DATA_PENDING --(2)--> EMPTY ^ ^ | | |___(disallow)___/| ||

[PATCH v6 06/10] perf tools: Enable overwrite settings

2016-05-25 Thread Wang Nan
This patch allows following config terms and option: Globally setting events to overwrite; # perf record --overwrite ... Set specific events to be overwrite or no-overwrite. # perf record --event cycles/overwrite/ ... # perf record --event cycles/no-overwrite/ ... Add missing config terms a

[PATCH v6 09/10] tools: Pass arg to fdarray__filter's call back function

2016-05-25 Thread Wang Nan
Before this patch there's no way to pass arguments to fdarray__filter's call back function. This improvement will be used by 'perf record' to support unmapping ring buffer for both main evlist and overwrite evlist. Without this patch there's no way to track overwrite evlist from 'struct fdarray'.

[PATCH v6 08/10] perf tools: Check write_backward during evlist config

2016-05-25 Thread Wang Nan
Before this patch, when using overwritable ring buffer on an old kernel, error message is misleading: # ~/perf record -m 1 -e raw_syscalls:*/overwrite/ -a Error: The raw_syscalls:sys_enter event is not supported. This patch output clear error message to tell user his/her kernel is too old: #

[PATCH v6 07/10] perf tools: Don't warn about out of order event if write_backward is used

2016-05-25 Thread Wang Nan
If write_backward attribute is set, records are written into kernel ring buffer from end to beginning, but read from beginning to end. To avoid 'XX out of order events recorded' warning message (timestamps of records is in reverse order when using write_backward), suppress the warning message if wr

[PATCH v2] thermal: imx: depend on imx SoC arch

2016-05-25 Thread Peter Robinson
Not much use unless the SoC is selected so depend on the ARCH_MXC and COMPILE_TEST like all the other thermal drivers. v2: drop extraneous OF Signed-off-by: Peter Robinson --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig b/d

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

2016-05-25 Thread Wangnan (F)
On 2016/5/25 18:16, Wangnan (F) wrote: On 2016/5/25 13:03, Wang Nan wrote: Create an auxiliary evlist for overwritable events. Before mmap, build this evlist and set 'overwrite' and 'backward' attribute. Since perf_evlist__mmap_ex() only maps events when evsel->overwrite matches evlist's cor

Re: Builtin microcode does nothing..

2016-05-25 Thread Jim Bos
On 05/25/2016 11:31 AM, Borislav Petkov wrote: > On Sat, May 21, 2016 at 09:51:18AM +0200, Borislav Petkov wrote: >> I'll ping you once I'm done testing here. > > Ok, I've just uploaded a branch, it passes testing here. > > http://git.kernel.org/cgit/linux/kernel/git/bp/bp.git, branch tip-microco

[PATCH v6 04/10] perf record: Introduce rec->overwrite_evlist for overwritable events

2016-05-25 Thread Wang Nan
Create an auxiliary evlist for overwritable events. Before mmap, build this evlist and set 'overwrite' and 'backward' attribute. Since perf_evlist__mmap_ex() only maps events when evsel->overwrite matches evlist's corresponding attributes, with these two evlists an event goes to either rec->evlist

[PATCH v6 01/10] perf tools: Check 'base' pointer before checking refcnt when put a mmap

2016-05-25 Thread Wang Nan
evlist->mmap[i]->refcnt could be 0 if an evlist has no evsel or all evsels don't match the evlist during mmap. For example, when all evsels are overwritable but the evlist itself is normal. To avoid crashing, perf should check 'base' pointer before checking refcnt, and raise bug only when base is n

[PATCH v6 10/10] perf record: Unmap overwrite evlist when event terminate

2016-05-25 Thread Wang Nan
When see POLLERR or POLLHUP, unmap ring buffer from both the main evlist and overwrite evlist. Signed-off-by: Wang Nan Cc: He Kuang Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Zefan Li Cc: pi3or...@163.com --- tools/perf/builtin-record.c | 30 ++

[PATCH v3] qcom: ipq4019: add wifi nodes to ipq4019 SoC device tree

2016-05-25 Thread tamizhchelvam
From: Raja Mani Include dts support for two wifi block present on ipq4019 SoC. Corresponding dt binding documentation has been added in ath.git as below commit id a47aaa69 and the commit message is "dt: bindings: add new dt entry for pre calibration in qcom, ath10k.txt". Signed-off-by: Raja Mani

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

2016-05-25 Thread Heikki Krogerus
On Wed, May 25, 2016 at 06:21:54AM -0700, Guenter Roeck wrote: > On 05/25/2016 04:51 AM, Heikki Krogerus wrote: > > On Tue, May 24, 2016 at 12:28:26PM -0700, Guenter Roeck wrote: > > > On Thu, May 19, 2016 at 03:44:54PM +0300, Heikki Krogerus wrote: > > > > The purpose of this class is to provide u

[RFC 1/1] drivers: i2c: omap: Add slave support

2016-05-25 Thread Ravikumar Kattekola
I2C controller on most of the omap devices has both master and slave capability but the i2c framework has been missing support for registering a bus in slave mode for long. Recently the i2c slave support has been added to i2c framework, the following patch adds the required support for omap_i2c dr

[RFC 0/1] i2c: omap: Add support for switching to slave mode

2016-05-25 Thread Ravikumar Kattekola
I2C controller on most of the omap devices has both master and slave capability but the i2c framework has been missing support for registering a bus in slave mode for long. Recently the i2c slave support has been added to i2c framework, the following patch adds the required support for omap_i2c dri

IBM VSCSI Target Driver Initial Patch Sets

2016-05-25 Thread Bryant G. Ly
This patch series addresses comments by Joe with runing checkpatch with a --strict. It cleans up all the misc styling and removes all the forward declarations. The patch also addresses all of Bart's comments besides the preallocation of buffers before IO starts and the merging of unpack_lun with s

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 > (9/

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 insertions(+) diff --git a/arch

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

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

[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 +-- drivers/scsi/Makefile | 4 +- drivers/scsi/ibmvscsi/Makefi

[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 +- drivers/scsi/ibmvscsi/ibmvscsis.c | 2709 ++

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 wi

[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 insertions(+) diff --git a/arch

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

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

[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 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 files changed, 19 deletio

[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, 3 insertions(+), 3 deletions(-) diff --git

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

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 this.)

Re: [PATCH v6 11/12] zsmalloc: page migration support

2016-05-25 Thread Sergey Senozhatsky
Hello Minchan, On (05/25/16 14:14), Minchan Kim wrote: [..] > > > do you also want to kick the deferred page release from the shrinker > > > callback, for example? > > > > Yeb, it can be. I will do it at next revision. :) > > Thanks! > > > > I tried it now but I feel strongly we want to fix shr

[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 Cc: Len Brown --- drivers/platform/x86/intel_menlow.c | 8 ++-- 1 file changed, 6 insertion

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: On May 24, 2016, at 2:16 PM

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 c

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 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 ite

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 E

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 do

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 the

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 the way of the commit considers not only dma-contiguous

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 &

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 > early_memremap()/early_memunmap() to access the table a

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 Domain mapping. SLIT has the

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

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, &otg->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 forward declarations and re-organizes the > functions within the driver. This patch also fixe

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

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 writes: > > > > > > > > > On Monday, April 18,

[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 --- drivers/infiniband/hw/hns/hns_roce_device.h | 7 +++ drivers/infiniband/hw/hns/hns_roce_hw_v1.c |

[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 --- drivers/infiniband/hw/hns/hns_roce_device.h | 72 ++ drivers/infiniband/hw/hns/hns_roce_mai

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

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

[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' net/ipv6/

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 patc

[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 | 1 + drivers/infiniband/hw/hns/Kconfig | 10 ++ drivers/infin

[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: 1.

[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 Signed-off-by: Lijun Ou --- drivers/infiniband/hw/hns/hns_roce_cm

[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 Documentation/devicetree/bindings/infiniband/

[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 Zhao Signed-off-by: Lijun Ou

[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 --- drivers/infiniband/hw/hns/hns_roce_device.h | 17 drivers/infiniband/hw/hns/hns_roce_main.c

[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 --- drivers/infiniband/hw/hns/hns_roce_common.h | 16 drivers/infiniband/hw/hns/hns_roce_device.h |

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 c

[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 Signed-off-by: Lijun Ou ---

<    1   2   3   4   5   6   7   8   >