Re: [PATCH] drivers: firmware: psci: add __init mark to psci_dt_cpu_init_idle

2016-04-19 Thread Sudeep Holla
On 19/04/16 16:05, Lorenzo Pieralisi wrote: Hi Jisheng, On Tue, Mar 22, 2016 at 10:35:29PM +0800, Jisheng Zhang wrote: psci_dt_cpu_init_idle() and psci_cpu_init_idle() are not needed after booting, so mark them as __init. On the other hand, when I was trying to reuse arm_cpuidle_init to su

Re: [PATCH V2 06/15] coresight: tmc: making prepare/unprepare functions generic

2016-04-19 Thread Mathieu Poirier
On 19 April 2016 at 06:30, Suzuki K Poulose wrote: > On 12/04/16 18:54, Mathieu Poirier wrote: >> >> Dealing with HW related matters in tmc_read_prepare/unprepare >> becomes convoluted when many cases need to be handled distinctively. >> >> As such moving processing related to HW setup to individu

Re: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread Rik van Riel
On Tue, 2016-04-19 at 15:02 +, Li, Liang Z wrote: > > > > On Tue, 2016-04-19 at 22:34 +0800, Liang Li wrote: > > > > > > The free page bitmap will be sent to QEMU through virtio > > > interface and > > > used for live migration optimization. > > > Drop the cache before building the free page

[PATCH][linux-next][trivial] treewide: Fix typos in printk

2016-04-19 Thread Masanari Iida
This patch fix spelling typos in printk from various part of the codes. Signed-off-by: Masanari Iida --- arch/powerpc/kernel/mce.c| 2 +- drivers/clk/tegra/clk-tegra20.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_gpu.c| 4 ++-- drivers/infiniband

Re: [PATCH] arm64: mm: take CWG into account in __inval_cache_range()

2016-04-19 Thread Catalin Marinas
On Tue, Apr 19, 2016 at 04:48:32PM +0200, Ard Biesheuvel wrote: > On 19 April 2016 at 16:13, Catalin Marinas wrote: > > The best we could do is to warn if ARCH_DMA_MINALIGN is smaller than CWG > > (as Robin suggested, we could do this only if we have non-coherent DMA > > masters via arch_setup_dma

Re: [PATCH V2 06/15] coresight: tmc: making prepare/unprepare functions generic

2016-04-19 Thread Suzuki K Poulose
On 19/04/16 16:22, Mathieu Poirier wrote: On 19 April 2016 at 06:30, Suzuki K Poulose wrote: On 12/04/16 18:54, Mathieu Poirier wrote: Dealing with HW related matters in tmc_read_prepare/unprepare becomes convoluted when many cases need to be handled distinctively. As such moving processing

Re: [PATCH] pwms: pwm-ti*: Remove support for local clock gating

2016-04-19 Thread Franklin S Cooper Jr.
On 03/07/2016 01:33 PM, Franklin S Cooper Jr wrote: > The PWMSS local clock gating registers have no real purpose on OMAP ARM > devices. These registers were left over registers from DSP IP where the > PRCM doesn't exist. There is a silicon bug where gating and ungating clocks > don't function pr

[PATCH v2] sched: Optimize !CONFIG_NO_HZ_COMMON cpu load updates

2016-04-19 Thread Frederic Weisbecker
Some code in cpu load update only concern NO_HZ configs but it is built on all configurations. When NO_HZ isn't built, that code is harmless but just happens to take some useless ressources in CPU and memory: 1) one useless field in struct rq 2) jiffies record on every tick that is never used (cpu

Re: [PATCH v3 0/6] bam dma fixes and one dt extension

2016-04-19 Thread Vinod Koul
On Mon, Apr 11, 2016 at 11:38:37AM +0300, Stanimir Varbanov wrote: > Hi, > > Here is version 3 with following changes: > - fixed a typo in 2/6. > - the patch which adds dt property is seperated in two, one >which adding binding document and another one which modifing >the driver - reques

Re: [BUG] cgroup/workques/fork: deadlock when moving cgroups

2016-04-19 Thread Petr Mladek
On Tue 2016-04-19 10:01:21, Michal Hocko wrote: > On Mon 18-04-16 16:40:23, Petr Mladek wrote: > > On Fri 2016-04-15 10:38:15, Tejun Heo wrote: > > > > Anyway, before we go that way, can we at least consider the possibility > > > > of removing the kworker creation dependency on the global rwsem? AF

Re: [PATCH] arm64: mm: take CWG into account in __inval_cache_range()

2016-04-19 Thread Ard Biesheuvel
On 19 April 2016 at 17:32, Catalin Marinas wrote: > On Tue, Apr 19, 2016 at 04:48:32PM +0200, Ard Biesheuvel wrote: >> On 19 April 2016 at 16:13, Catalin Marinas wrote: >> > The best we could do is to warn if ARCH_DMA_MINALIGN is smaller than CWG >> > (as Robin suggested, we could do this only if

Re: [PATCH V2 07/15] coresight: tmc: allocating memory when needed

2016-04-19 Thread Mathieu Poirier
On 19 April 2016 at 06:55, Suzuki K Poulose wrote: > On 12/04/16 18:54, Mathieu Poirier wrote: >> >> In it's current form the TMC probe() function allocates >> trace buffer memory at boot time, event if coresight isn't >> used. This is highly inefficient since trace buffers can >> occupy a lot of

Re: [PATCH 1/5] regulator: core: Resolve supply earlier

2016-04-19 Thread Mark Brown
On Tue, Apr 19, 2016 at 11:16:59AM +0100, Jon Hunter wrote: > So the following seems to work, but only item I am uncertain about > is if it is ok to move the mutex_lock to after the > machine_set_constraints()? We definitely don't need the list to apply constraints to a single regulator. > +

Re: [PATCH 1/2] clk: sunxi: add predivider handling for factors clock

2016-04-19 Thread Vishnu Patekar
Hello Wens, On Tue, Apr 19, 2016 at 10:16 PM, Chen-Yu Tsai wrote: > On Tue, Apr 19, 2016 at 6:22 PM, Philip Li wrote: >> On Sun, Apr 17, 2016 at 11:53:47AM +0800, Vishnu Patekar wrote: >>> Both of these patches in series has to be applied at the same time. >>> I think this is the reason, it fail

Re: [PATCH v4 4/5] arm64: add support for ACPI Low Power Idle(LPI)

2016-04-19 Thread Sudeep Holla
On 19/04/16 14:59, kbuild test robot wrote: Hi, [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.6-rc4 next-20160419] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH v2 2/5] arm64/perf: Cavium ThunderX L2C TAD uncore support

2016-04-19 Thread Mark Rutland
On Wed, Mar 09, 2016 at 05:21:04PM +0100, Jan Glauber wrote: > Support counters of the L2 Cache tag and data units. > > Also support pass2 added/modified counters by checking MIDR. > > Signed-off-by: Jan Glauber > --- > drivers/perf/uncore/Makefile| 3 +- > drivers/perf/uncore

Re: [PATCH v2 1/1] drivers: net: cpsw: Prevent NUll pointer dereference with two PHYs

2016-04-19 Thread Grygorii Strashko
On 04/19/2016 06:01 PM, David Rivshin (Allworx) wrote: > On Tue, 19 Apr 2016 17:41:07 +0300 > Grygorii Strashko wrote: > >> Hi, >> >> On 04/19/2016 04:56 PM, Andrew Goodbody wrote: >>> Adding a 2nd PHY to cpsw results in a NULL pointer dereference >>> as below. Fix by maintaining a reference to e

[PATCH] Fix bindings documentation for Palmas.

2016-04-19 Thread H. Nikolaus Schaller
H. Nikolaus Schaller (1): Documentation: bindings: fix palmas-rtc documentation Documentation/devicetree/bindings/rtc/rtc-palmas.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.7.3

Re: [PATCH V2 09/15] coresight: tmc: adding mode of operation for link/sinks

2016-04-19 Thread Mathieu Poirier
On 19 April 2016 at 07:19, Suzuki K Poulose wrote: > On 12/04/16 18:54, Mathieu Poirier wrote: >> >> Moving tmc_drvdata::enable to a local_t mode. That way the >> sink interface is aware of it's orgin and the foundation for >> mutual exclusion between the sysFS and Perf interface can be >> laid o

Re: [PATCH v2 3/6] ARM: PSCI: Register with kernel restart handler

2016-04-19 Thread Lorenzo Pieralisi
On Thu, Apr 14, 2016 at 07:42:34PM -0700, Guenter Roeck wrote: > Register with kernel restart handler instead of setting arm_pm_restart > directly. This enables support for replacing the PSCI restart handler > with a different handler if necessary for a specific board. > > Select a priority of 129

[PATCH] Documentation: bindings: fix palmas-rtc documentation

2016-04-19 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- Documentation/devicetree/bindings/rtc/rtc-palmas.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/rtc-palmas.txt b/Documentation/devicetree/bindings/rtc/rtc-palmas.txt index adbccc0..eb1c7f

Re: [RFC v1 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64)

2016-04-19 Thread Thomas Garnier
On Tue, Apr 19, 2016 at 7:27 AM, Joerg Roedel wrote: > Hi Thomas, > > On Fri, Apr 15, 2016 at 03:03:12PM -0700, Thomas Garnier wrote: >> +/* >> + * Create PGD aligned trampoline table to allow real mode initialization >> + * of additional CPUs. Consume only 1 additonal low memory page. >> + */ >>

Re: [PATCH] perf buildid: fix off-by-one in write_buildid()

2016-04-19 Thread Andrey Ryabinin
On 04/19/2016 04:38 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Apr 19, 2016 at 11:17:27AM +0300, Andrey Ryabinin escreveu: >> write_buildid() increments 'name_len' with intention to take into account >> trailing zero byte. However, 'name_len' was already incremented in >> machine__write_buildi

Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior

2016-04-19 Thread Mark Brown
On Tue, Apr 19, 2016 at 04:26:27PM +0530, Laxman Dewangan wrote: > Now, for property, I will add > maxim,ramp-delay Please call it something that makes it obvious that it's a register value rather than a time like ramp-setting or something. signature.asc Description: PGP signature

Re: [PATCH V2 09/15] coresight: tmc: adding mode of operation for link/sinks

2016-04-19 Thread Suzuki K Poulose
On 19/04/16 16:45, Mathieu Poirier wrote: On 19 April 2016 at 07:19, Suzuki K Poulose wrote: On 12/04/16 18:54, Mathieu Poirier wrote: Moving tmc_drvdata::enable to a local_t mode. That way the sink interface is aware of it's orgin and the foundation for mutual exclusion between the sysFS an

[PATCH] ARM: at91/dt: fix typo in sama5d2 PIN_PD24 description

2016-04-19 Thread Florian Vallee
Fixes: 7f16cb676c00 ("ARM: at91/dt: add sama5d2 pinmux") Signed-off-by: Florian Vallee --- arch/arm/boot/dts/sama5d2-pinfunc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sama5d2-pinfunc.h b/arch/arm/boot/dts/sama5d2-pinfunc.h index b0c912fe..8a394f3

[PATCH 02/14] perf evsel: Add missign class prefix to has_branch_stack method

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian Wolff Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-5i07ivw1yjsweb7gztr25...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/evsel.h | 2 +- tools/perf

[GIT PULL 00/14] perf/core improvements and fixes

2016-04-19 Thread Arnaldo Carvalho de Melo
available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160419 for you to fetch changes up to 6566feafb4dba4eef30a9c0b25e6f49f996178b6: perf test: Add missing verbose output explaining the reason for failure (2016-04-19 12:3

[PATCH 04/14] perf callchain: Set callchain_param.enabled when parsing --call-graph

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Trying to move in the direction of using callchain_param for all callchain parameters, eventually ditching them from symbol_conf. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian Wolff Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip

[PATCH 05/14] perf report: Use callchain_param.enabled instead of tool specific knob

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We have callchain_param.enabled, so no need to have something just for 'perf report' to do the same thing. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian Wolff Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-wbeisubpualwogwi5u8ut.

[PATCH 13/14] perf test: Ignore kcore files in the "vmlinux matches kallsyms" test

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Before: # perf test -v kallsyms Maps only in vmlinux: 81d5e000-81ec3ac8 115e000 [kernel].init.text 81ec3ac8-a000 12c3ac8 [kernel].exit.text a000-a000c000 0 [fjes] a000c000-a001

[PATCH 12/14] perf symbols: Allow loading kallsyms without considering kcore files

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Before the support for using /proc/kcore was introduced, the kallsyms routines used /proc/modules and the first 'perf test' entry expected finding maps for each module in the system, which is not the case with the kcore code. Provide a way to ignore kcore files so t

[PATCH 07/14] perf hists browser: Fold two consecutive symbol_conf.use_callchain ifs

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian Wolff Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-u701i6qpecgm9jiat52i8...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/ui/browsers/hists.c | 5 ++--- 1

[PATCH 08/14] perf top: Use callchain_param.enabled instead of symbol_conf.use_callchain

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo One more step in the direction of using just callchain_param for callchain parameters. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian Wolff Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-3b1o9kb2dc94zldz0klck...@git.kernel.org Si

[PATCH 11/14] perf build: Remove x86 references from arch-neutral Build

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It will already be dealt with generating the syscalltbl.c file in the x86 arch specific Build files, namely via 'archheaders'. This fixes the build on !x86 arches, as reported for powerpcle Reported-by: Stephen Rothwell Tested-by: Jiri Olsa Cc: Adrian Hunter Cc

Re: [PATCH 0/8] STMPE fixes/rework and add STMPE1600 support

2016-04-19 Thread Stephen Warren
On 04/19/2016 06:18 AM, patrice.chot...@st.com wrote: From: Patrice Chotard This series cleans and fixes some bugs in MFD/GPIO STMPE drivers and prepare the ground to add new STMPE1600 support. STMPE1600 datasheet is available here : http://www2.st.com/content/st_com/en/products/interfaces-a

[PATCH 14/14] perf test: Add missing verbose output explaining the reason for failure

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo One of the branches leading to an error had no debug message emitted, fix it, the new lines are: # perf test -v kallsyms 0x81001000: diff name v: xen_hypercall_set_trap_table k: hypercall_page 0x810691f0: diff name v: try_to_free_pud_page k:

[PATCH 09/14] perf script: Fix postgresql ubuntu install instructions

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Chris Phlipot The current instructions for setting up an Ubuntu system for using the export-to-postgresql.py script are incorrect. The instructions in the script have been updated to work on newer versions of ubuntu. -Add missing dependencies to apt-get command: python-pyside.qtsql, l

[PATCH 03/14] perf script: Check sample->callchain before using it

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Found by code inspection, while looking at thread__resolve_callchain() callsites, one had it, the other didn't. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian Wolff Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-6r8i2afd3523thuua

[PATCH 10/14] perf jit: memset() variable 'st' using the correct size

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Colin Ian King The current code is memsetting the 'struct stat' variable 'st' with the size of 'stat' (which turns out to be 1 byte) rather than the size of variable 'sz'. Committer notes: sizeof(function) isn't valid, the result depends on the compiler used, with gcc, enabling pedantic w

[PATCH 01/14] perf trace: Fix build when DWARF unwind isn't available

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The variable is initialized and then conditionally set to a different value, but not used when DWARF unwinding is not available, bummer, write 1000 times: "Run make -C tools/perf build-test"... builtin-trace.c: In function ‘cmd_trace’: builtin-trace.c:3112:6: e

[PATCH 06/14] perf tools: Ditch record_opts.callgraph_set

2016-04-19 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We have callchain_param.enabled for that. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Milian Wolff Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-silwqjc2t25ls42dsvg28...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- t

Re: [PATCH v2 3/5] arm64/perf: Cavium ThunderX L2C CBC uncore support

2016-04-19 Thread Mark Rutland
On Wed, Mar 09, 2016 at 05:21:05PM +0100, Jan Glauber wrote: > @@ -300,6 +302,7 @@ static int __init thunder_uncore_init(void) > pr_info("PMU version: %d\n", thunder_uncore_version); > > thunder_uncore_l2c_tad_setup(); > + thunder_uncore_l2c_cbc_setup(); > return 0; > } >

Re: [PATCH 2/3] gpio: tegra: Remove the need of keeping device handle for gpio driver

2016-04-19 Thread Stephen Warren
On 04/18/2016 11:00 AM, Laxman Dewangan wrote: On Monday 18 April 2016 09:59 PM, Stephen Warren wrote: On 04/18/2016 02:46 AM, Laxman Dewangan wrote: Remove the file static device handle variable as this is just required for prints. The required handle can be stored in tegra_gpio_chip and henc

Re: [PATCH v6 08/24] iio: imu: inv_mpu6050: convert to use an explicit i2c mux core

2016-04-19 Thread Crestez Dan Leonard
On 04/03/2016 11:52 AM, Peter Rosin wrote: > From: Peter Rosin > > Allocate an explicit i2c mux core to handle parent and child adapters > etc. Update the select/deselect ops to be in terms of the i2c mux core > instead of the child adapter. > > --- a/drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c >

Re: [PATCH] ARM: at91/dt: fix typo in sama5d2 PIN_PD24 description

2016-04-19 Thread Alexandre Belloni
Hi, Please always include a commit log even if it is short. On 19/04/2016 at 17:50:05 +0200, Florian Vallee wrote : > Fixes: 7f16cb676c00 ("ARM: at91/dt: add sama5d2 pinmux") > Signed-off-by: Florian Vallee > --- > arch/arm/boot/dts/sama5d2-pinfunc.h | 4 ++-- > 1 file changed, 2 insertions(+)

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-19 Thread Andy Lutomirski
On Apr 19, 2016 2:13 AM, "Michael S. Tsirkin" wrote: > > > I guess you are right in that we should split this part out. > What I wanted is really the combination > PASSTHROUGH && !PLATFORM so that we can say "ok we don't > need to guess, this device actually bypasses the IOMMU". What happens when

Re: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread kbuild test robot
Hi, [auto build test ERROR on v4.6-rc4] [also build test ERROR on next-20160419] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Liang-Li/speed-up-live-migration-by-skipping-free-pages

Re: [PATCH 3/3] gpio: tegra: Add support for gpio debounce

2016-04-19 Thread Stephen Warren
On 04/18/2016 11:06 AM, Laxman Dewangan wrote: On Monday 18 April 2016 10:08 PM, Stephen Warren wrote: On 04/18/2016 02:46 AM, Laxman Dewangan wrote: + +/* There is only one debounce count register per port and hence + * set the maximum of current and requested debounce time. + *

Re: [PATCH] rtl8xxxu: hide unused tables

2016-04-19 Thread Kalle Valo
Jes Sorensen writes: > Arnd Bergmann writes: >> The references to some arrays in the rtl8xxxu driver were moved inside >> of an #ifdef, but the symbols remain outside, resulting in build warnings: >> >> rtl8xxxu/rtl8xxxu.c:1506:33: error: 'rtl8188ru_radioa_1t_highpa_table' >> defined but not us

Re: [PATCH 1/6] [net] drop 'size' argument of sock_recvmsg()

2016-04-19 Thread Jeff Layton
On Sat, 2016-04-09 at 21:50 +0100, Al Viro wrote: > all callers have it equal to msg_data_left(msg). > > Signed-off-by: Al Viro > --- >  drivers/target/iscsi/iscsi_target_util.c |  5 ++--- >  include/linux/net.h  |  3 +-- >  net/socket.c | 23 ++

Re: [PATCH 5/8] arm64: kernel: replace early 64-bit literal loads with move-immediates

2016-04-19 Thread Laurentiu Tudor
On 04/18/2016 06:09 PM, Ard Biesheuvel wrote: > When building a relocatable kernel, we currently rely on the fact that > early 64-bit literal loads need to be deferred to after the relocation > has been performed only if they involve symbol references, and not if > they involve assemble time consta

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-19 Thread Andy Lutomirski
On Tue, Apr 19, 2016 at 3:27 AM, Michael S. Tsirkin wrote: > On Mon, Apr 18, 2016 at 12:24:15PM -0700, Andy Lutomirski wrote: >> On Mon, Apr 18, 2016 at 11:29 AM, David Woodhouse >> wrote: >> > For x86, you *can* enable virtio-behind-IOMMU if your DMAR tables tell >> > the truth, and even legacy

Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support

2016-04-19 Thread Mark Rutland
On Tue, Apr 19, 2016 at 12:35:10PM +0200, Jan Glauber wrote: > Mark, > > are these patches still queued or should I repost them? Apologies for the delay. I've just given these a review. I note an awful lot of duplication over patches 2-5. The pmu::add implementations are practically identical, a

Re: [PATCH V2 2/3] gpio: tegra: Remove the need of keeping device handle for gpio driver

2016-04-19 Thread Stephen Warren
On 04/19/2016 06:43 AM, Laxman Dewangan wrote: On Tuesday 19 April 2016 06:03 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Apr 19, 2016 at 03:13:39PM +0530, Laxman Dewangan wrote: Remove the file static device handle variable for keeping device handle of driver as this is

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-19 Thread Michael S. Tsirkin
On Tue, Apr 19, 2016 at 09:00:27AM -0700, Andy Lutomirski wrote: > On Apr 19, 2016 2:13 AM, "Michael S. Tsirkin" wrote: > > > > > > I guess you are right in that we should split this part out. > > What I wanted is really the combination > > PASSTHROUGH && !PLATFORM so that we can say "ok we don't

Re: [tip:x86/asm] x86/entry: Rename is_{ia32,x32}_task() to in_{ia32,x32}_syscall()

2016-04-19 Thread Andy Lutomirski
On Tue, Apr 19, 2016 at 4:15 AM, Ingo Molnar wrote: > > * tip-bot for Dmitry Safonov wrote: > >> Commit-ID: abfb9498ee1327f534df92a7ecaea81a85913bae >> Gitweb: >> http://git.kernel.org/tip/abfb9498ee1327f534df92a7ecaea81a85913bae >> Author: Dmitry Safonov >> AuthorDate: Mon, 18 Apr 201

Re: [PATCH v2 1/1] drivers: net: cpsw: Prevent NUll pointer dereference with two PHYs

2016-04-19 Thread David Miller
From: Grygorii Strashko Date: Tue, 19 Apr 2016 17:41:07 +0300 > David, Is it possible to drop prev version of this patch from linux-next > - it breaks boot on many TI boards with -next. It doesn't work that way, I cannot "drop" patches. One has to send me a fix to the existing patch, or a rever

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-19 Thread Michael S. Tsirkin
On Tue, Apr 19, 2016 at 09:02:14AM -0700, Andy Lutomirski wrote: > On Tue, Apr 19, 2016 at 3:27 AM, Michael S. Tsirkin wrote: > > On Mon, Apr 18, 2016 at 12:24:15PM -0700, Andy Lutomirski wrote: > >> On Mon, Apr 18, 2016 at 11:29 AM, David Woodhouse > >> wrote: > >> > For x86, you *can* enable v

Re: [PATCH] arm64: mm: take CWG into account in __inval_cache_range()

2016-04-19 Thread Catalin Marinas
On Tue, Apr 19, 2016 at 05:38:56PM +0200, Ard Biesheuvel wrote: > On 19 April 2016 at 17:32, Catalin Marinas wrote: > > On Tue, Apr 19, 2016 at 04:48:32PM +0200, Ard Biesheuvel wrote: > >> On 19 April 2016 at 16:13, Catalin Marinas wrote: > >> > The best we could do is to warn if ARCH_DMA_MINALIG

Re: [PATCH 1/5] regulator: core: Resolve supply earlier

2016-04-19 Thread Jon Hunter
On 19/04/16 16:40, Mark Brown wrote: > * PGP Signed by an unknown key > > On Tue, Apr 19, 2016 at 11:16:59AM +0100, Jon Hunter wrote: > >> So the following seems to work, but only item I am uncertain about >> is if it is ok to move the mutex_lock to after the >> machine_set_constraints()? > > W

Re: [PATCHv7 00/29] THP-enabled tmpfs/shmem using compound pages

2016-04-19 Thread Shi, Yang
On 4/19/2016 7:33 AM, Jerome Marchand wrote: On 04/19/2016 12:55 AM, Shi, Yang wrote: 2. I ran my THP test (generated a program with 4MB text section) on both x86-64 and ARM64 with yours and Hugh's patches (linux-next tree), I got the program execution time reduced by ~12% on x86-64, it looks ve

Re: [PATCH V2 3/3] gpio: tegra: Add support for gpio debounce

2016-04-19 Thread Stephen Warren
On 04/19/2016 03:43 AM, Laxman Dewangan wrote: NVIDIA's Tegra210 support the HW debounce in the GPIO controller for all its GPIO pins. Add support for setting debounce timing by implementing the set_debounce callback of gpiochip. diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegr

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-19 Thread Andy Lutomirski
On Tue, Apr 19, 2016 at 9:09 AM, Michael S. Tsirkin wrote: > On Tue, Apr 19, 2016 at 09:02:14AM -0700, Andy Lutomirski wrote: >> On Tue, Apr 19, 2016 at 3:27 AM, Michael S. Tsirkin wrote: >> > On Mon, Apr 18, 2016 at 12:24:15PM -0700, Andy Lutomirski wrote: >> >> On Mon, Apr 18, 2016 at 11:29 AM,

Re: [PATCH 2/6] cifs: merge the hash calculation helpers

2016-04-19 Thread Jeff Layton
On Sat, 2016-04-09 at 21:50 +0100, Al Viro wrote: > three practically identical copies... > > Signed-off-by: Al Viro > --- >  fs/cifs/cifsencrypt.c   |  97 --- >  fs/cifs/cifsproto.h |   3 ++ >  fs/cifs/smb2transport.c | 107 > +

Re: [PATCH 2/2] net-ath9k_htc: Replace a variable initialisation by an assignment in ath9k_htc_set_channel()

2016-04-19 Thread Kalle Valo
Julian Calaby writes: > On Sat, Jan 2, 2016 at 5:25 AM, SF Markus Elfring > wrote: >> From: Markus Elfring >> Date: Fri, 1 Jan 2016 19:09:32 +0100 >> >> Replace an explicit initialisation for one local variable at the beginning >> by a conditional assignment. >> >> Signed-off-by: Markus Elfring

Re: [PATCH] ath9k: remove duplicate assignment of variable ah

2016-04-19 Thread Kalle Valo
Colin King writes: > From: Colin Ian King > > ah is written twice with the same value, remove one of the > redundant assignments to ah. > > Signed-off-by: Colin Ian King Applied, thanks. -- Kalle Valo

Re: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread Michael S. Tsirkin
On Tue, Apr 19, 2016 at 03:02:09PM +, Li, Liang Z wrote: > > On Tue, 2016-04-19 at 22:34 +0800, Liang Li wrote: > > > The free page bitmap will be sent to QEMU through virtio interface and > > > used for live migration optimization. > > > Drop the cache before building the free page bitmap can

Re: [PATCH V2 11/15] coresight: tmc: make sysFS and Perf mode mutually exclusive

2016-04-19 Thread Mathieu Poirier
On 19 April 2016 at 07:42, Suzuki K Poulose wrote: > On 12/04/16 18:54, Mathieu Poirier wrote: >> >> The sysFS and Perf access methods can't be allowed to interfere >> with one another. As such introducing guards to access >> functions that prevents moving forward if a TMC is already >> being use

Re: [PATCH V2 13/15] coresight: tmc: implementing TMC-ETF AUX space API

2016-04-19 Thread Suzuki K Poulose
On 12/04/16 18:54, Mathieu Poirier wrote: This patch implement the AUX area interfaces required to use the TMC (configured as an ETF) from the Perf sub-system. The heuristic is heavily borrowed from the ETB10 implementation. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/core

Re: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread kbuild test robot
Hi, [auto build test ERROR on v4.6-rc4] [also build test ERROR on next-20160419] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Liang-Li/speed-up-live-migration-by-skipping-free-pages

Re: [PATCH v2 3/3] leds: gpio: Support the "panic-indicator" firmware property

2016-04-19 Thread Ezequiel Garcia
Hi Jacek, On 14 April 2016 at 05:57, Jacek Anaszewski wrote: > Hi Ezequiel, > > It would be good to update also leds-gpio bindings, > of course in a separate patch: > > Documentation/devicetree/bindings/leds/leds-gpio.txt > Yes, you are right. I will send a new series adding this. Thanks, -- E

Re: [PATCH kernel 2/2] virtio-balloon: extend balloon driver to support the new feature

2016-04-19 Thread Michael S. Tsirkin
On Tue, Apr 19, 2016 at 10:34:34PM +0800, Liang Li wrote: > Extend the virtio balloon to support the new feature > VIRTIO_BALLOON_F_GET_FREE_PAGES, so that we can use it to send > the free page bitmap from guest to QEMU, the free page bitmap will > be used for live migration optimization. > > Sign

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-19 Thread Michael S. Tsirkin
On Tue, Apr 19, 2016 at 09:12:03AM -0700, Andy Lutomirski wrote: > On Tue, Apr 19, 2016 at 9:09 AM, Michael S. Tsirkin wrote: > > On Tue, Apr 19, 2016 at 09:02:14AM -0700, Andy Lutomirski wrote: > >> On Tue, Apr 19, 2016 at 3:27 AM, Michael S. Tsirkin > >> wrote: > >> > On Mon, Apr 18, 2016 at 1

Re: linux-next: Tree for Apr 19 (waketorture.c)

2016-04-19 Thread Randy Dunlap
On 04/18/16 22:13, Stephen Rothwell wrote: > Hi all, > > Changes since 20160418: > on x86_64: kernel/built-in.o: In function `wake_torture_stats_print': waketorture.c:(.text+0x2f06d): undefined reference to `trace_clock_global' kernel/built-in.o: In function `wake_torture_waiter': waketorture.c

Re: [PATCH v5 6/6] ARM: dts: DRA7: Add dt nodes for PWMSS

2016-04-19 Thread Franklin S Cooper Jr.
On 04/11/2016 03:21 PM, Tony Lindgren wrote: > * Franklin S Cooper Jr. [160317 08:55]: >> >> >> On 03/17/2016 10:11 AM, Rob Herring wrote: >>> On Mon, Mar 07, 2016 at 07:23:44PM -0600, Franklin S Cooper Jr wrote: From: Vignesh R Add PWMSS device tree nodes for DRA7 SoC family and

Re: [PATCH 5/5] drivers/net: support hdlc function for QE-UCC

2016-04-19 Thread Christophe Leroy
Le 30/03/2016 10:50, Zhao Qiang a écrit : The driver add hdlc support for Freescale QUICC Engine. It support NMSI and TSA mode. When using TSA, how does the TSA gets configured ? Especially how do you describe which Timeslot is switched to HDLC channels ? Is it possible to route some Timeslots t

[PATCH] rtc: ds1307: Use irq when available for wakeup-source device

2016-04-19 Thread Nishanth Menon
With commit 8bc2a40730ec ("rtc: ds1307: add support for the DT property 'wakeup-source'") we lost the ability for rtc irq functionality for devices that are actually hooked on a real IRQ line and have capability to wakeup as well. This is not an expected behavior. So, instead of just not requesting

Re: [PATCH][linux-next][trivial] treewide: Fix typos in printk

2016-04-19 Thread Randy Dunlap
On 04/19/16 08:27, Masanari Iida wrote: > This patch fix spelling typos in printk from various part > of the codes. > > Signed-off-by: Masanari Iida Looks good to me. Thanks. Acked-by: Randy Dunlap > --- > arch/powerpc/kernel/mce.c| 2 +- > drivers/clk/tegra/clk-teg

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-19 Thread Srinivas Pandruvada
On Tue, 2016-04-19 at 17:40 +0300, Mika Westerberg wrote: > On Tue, Apr 19, 2016 at 03:31:41PM +0200, Lars-Peter Clausen wrote: > > > > It adds a standard API for dealing with devices that have more than > > one > > address. It uses the normal way of specifying multiple (named) > > address in DT.

Re: [PATCH] bpf: avoid warning for wrong pointer cast

2016-04-19 Thread Alexei Starovoitov
On 4/19/16 3:09 AM, Philip Li wrote: On Tue, Apr 19, 2016 at 10:33:34AM +0800, Fengguang Wu wrote: Fengguang, any idea why build-bot sometimes silent? Sorry I went off for some time.. Philip, would you help have a check? Hi Alexei, i have done some investigation for this. Fengguang, pls corre

Re: [PATCH V2 3/3] gpio: tegra: Add support for gpio debounce

2016-04-19 Thread Laxman Dewangan
On Tuesday 19 April 2016 09:41 PM, Stephen Warren wrote: On 04/19/2016 03:43 AM, Laxman Dewangan wrote: NVIDIA's Tegra210 support the HW debounce in the GPIO controller for all its GPIO pins. Add support for setting debounce timing by implementing the set_debounce callback of gpiochip. diff

Re: [PATCH V2 3/3] gpio: tegra: Add support for gpio debounce

2016-04-19 Thread Stephen Warren
On 04/19/2016 10:19 AM, Laxman Dewangan wrote: On Tuesday 19 April 2016 09:41 PM, Stephen Warren wrote: On 04/19/2016 03:43 AM, Laxman Dewangan wrote: NVIDIA's Tegra210 support the HW debounce in the GPIO controller for all its GPIO pins. Add support for setting debounce timing by implementin

Re: [PATCH v6 08/24] iio: imu: inv_mpu6050: convert to use an explicit i2c mux core

2016-04-19 Thread Peter Rosin
,Arnd Bergmann ,Tommi Rantala ,linux-...@vger.kernel.org,linux-...@vger.kernel.org,linux-...@vger.kernel.org,linux-me...@vger.kernel.org,devicet...@vger.kernel.org Message-ID: On April 19, 2016 5:58:11 PM CEST, Crestez Dan Leonard wrote: > On 04/03/2016 11:52 AM, Peter Rosin wrote: > > From: P

Applied "ASoC: da7219: Update PLL ranges and dividers to improve locking" to the asoc tree

2016-04-19 Thread Mark Brown
The patch ASoC: da7219: Update PLL ranges and dividers to improve locking has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 ho

[PATCH -next] thermal: fix mtk_thermal build dependency

2016-04-19 Thread Randy Dunlap
ference to `nvmem_cell_read' mtk_thermal.c:(.text+0xffac9): undefined reference to `nvmem_cell_put' Signed-off-by: Randy Dunlap Cc: Zhang Rui Cc: Eduardo Valentin Cc: Cc: Sascha Hauer Cc: Hanyi Wu --- drivers/thermal/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux-next-20160419.

Re: [PATCH v2] mm: SLAB freelist randomization

2016-04-19 Thread Thomas Garnier
On Tue, Apr 19, 2016 at 12:15 AM, Joonsoo Kim wrote: > On Mon, Apr 18, 2016 at 10:14:39AM -0700, Thomas Garnier wrote: >> Provides an optional config (CONFIG_FREELIST_RANDOM) to randomize the >> SLAB freelist. The list is randomized during initialization of a new set >> of pages. The order on diff

Re: [PATCH V2 13/15] coresight: tmc: implementing TMC-ETF AUX space API

2016-04-19 Thread Mathieu Poirier
On 19 April 2016 at 10:16, Suzuki K Poulose wrote: > On 12/04/16 18:54, Mathieu Poirier wrote: >> >> This patch implement the AUX area interfaces required to >> use the TMC (configured as an ETF) from the Perf sub-system. >> >> The heuristic is heavily borrowed from the ETB10 implementation. >> >>

Re: [PATCH] ASoC: core: export snd_soc_get_dai_name

2016-04-19 Thread Mark Brown
On Tue, Apr 19, 2016 at 07:36:41PM +0800, PC Liao wrote: > [1] is applied and needs this patch. > Otherwise, [1] will build fail. I dropped your patch and replied with a suggestion for respinning it. When referencing patches please use the title and (if relevant) commit ID inline, it makes things

Applied "ASoC: da7219: Disallow unsupported 32KHz clock setting in set_dai_sysclk()" to the asoc tree

2016-04-19 Thread Mark Brown
The patch ASoC: da7219: Disallow unsupported 32KHz clock setting in set_dai_sysclk() has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

[PATCH v2] clk: sunxi: predivider handling for factors clock

2016-04-19 Thread Vishnu Patekar
For A31 ahb1 and a83t ahb1 clocks have predivider for certain parent. To handle this, this patch adds predivider table with parent index, prediv shift and width, parents with predivider will have nonzero width. Rate adjustment is moved from clock specific recalc function to generic factors recalc.

[PATCH v2] sunxi factors clock predivider handling

2016-04-19 Thread Vishnu Patekar
For allwinner A31 ahb1 and a83t ahb1 clocks have predivider for certain parent. Currently, it's being handled in clock specific functions. A83t ahb1 and a31 ahb1 are similar clocks except a83t parent index 0b10 and 0b11 are pll6/prediv and a31 ahb1 parent index 0x11 is pll6/prediv. with only thi

Re: [PATCHv7 00/29] THP-enabled tmpfs/shmem using compound pages

2016-04-19 Thread Andrea Arcangeli
Hello, On Mon, Apr 18, 2016 at 03:55:44PM -0700, Shi, Yang wrote: > Hi Kirill, > > Finally, I got some time to look into and try yours and Hugh's patches, > got two problems. One thing that come to mind to test is this: qemu with -machine accel=kvm -mem-path=/dev/shm/,share=on . The THP Compou

Re: [PATCH 2/5] input: twl6040-vibra: add handler to unregister input if module is removed

2016-04-19 Thread Dmitry Torokhov
On Tue, Apr 19, 2016 at 10:05:08AM +0200, H. Nikolaus Schaller wrote: > > > Am 19.04.2016 um 09:57 schrieb Dmitry Torokhov : > > > > On Tue, Apr 19, 2016 at 09:33:10AM +0200, H. Nikolaus Schaller wrote: > >> > >>> Am 18.04.2016 um 23:12 schrieb Dmitry Torokhov > >>> : > >>> > >>> On Mon, Apr 1

Re: [RFC][PATCH 2/4] tracing: Use pid bitmap instead of a pid array for set_event_pid

2016-04-19 Thread Mathieu Desnoyers
- On Apr 19, 2016, at 10:34 AM, rostedt rost...@goodmis.org wrote: > From: Steven Rostedt > > In order to add the ability to let tasks that are filtered by the events > have their children also be traced on fork (and then not traced on exit), > convert the array into a pid bitmask. Most of

Re: linux-next: Tree for Apr 19 (waketorture.c)

2016-04-19 Thread Paul E. McKenney
On Tue, Apr 19, 2016 at 09:20:24AM -0700, Randy Dunlap wrote: > On 04/18/16 22:13, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20160418: > > > > on x86_64: > > kernel/built-in.o: In function `wake_torture_stats_print': > waketorture.c:(.text+0x2f06d): undefined reference to `trace

Re: [PATCH V2 13/15] coresight: tmc: implementing TMC-ETF AUX space API

2016-04-19 Thread Suzuki K Poulose
On 19/04/16 17:45, Mathieu Poirier wrote: On 19 April 2016 at 10:16, Suzuki K Poulose wrote: On 12/04/16 18:54, Mathieu Poirier wrote: This patch implement the AUX area interfaces required to use the TMC (configured as an ETF) from the Perf sub-system. The heuristic is heavily borrowed from

[PATCH v7 02/10] iommu/arm-smmu: advertise DOMAIN_ATTR_MSI_MAPPING attribute

2016-04-19 Thread Eric Auger
On ARM, MSI write transactions from device upstream to the smmu are conveyed through the iommu. Therefore target physical addresses must be mapped and DOMAIN_ATTR_MSI_MAPPING is set to advertise this requirement on arm-smmu and arm-smmu-v3. Signed-off-by: Eric Auger Signed-off-by: Bharat Bhushan

[PATCH v7 07/10] iommu/dma-reserved-iommu: delete bindings in iommu_free_reserved_iova_domain

2016-04-19 Thread Eric Auger
Now reserved bindings can exist, destroy them when destroying the reserved iova domain. iommu_map is not supposed to be atomic, hence the extra complexity in the locking. Signed-off-by: Eric Auger --- v6 -> v7: - remove [PATCH v6 7/7] dma-reserved-iommu: iommu_unmap_reserved and destroy the bi

[PATCH v7 08/10] iommu/dma-reserved_iommu: iommu_msi_mapping_desc_to_domain

2016-04-19 Thread Eric Auger
This function checks whether - the device emitting the MSI belongs to a non default iommu domain - the iommu domain requires the MSI address to be mapped. If those conditions are met, the function returns the iommu domain to be used for mapping the MSI doorbell; else it returns NULL. Signed-off-b

<    1   2   3   4   5   6   7   8   9   >