Re: [PATCH v5] extcon-axp288: Add axp288 extcon driver support

2015-04-28 Thread Lee Jones
On Tue, 28 Apr 2015, Pallala, Ramakrishna wrote: This patch adds the extcon support for AXP288 PMIC which has the BC1.2 charger detection capability. Additionally it also adds the USB mux switching support b/w SOC and PMIC based on GPIO control. Signed-off-by: Ramakrishna Pallala

Re: [PATCH v5] extcon-axp288: Add axp288 extcon driver support

2015-04-28 Thread Chanwoo Choi
Hi Ram, On Tue, Apr 28, 2015 at 8:20 PM, Pallala, Ramakrishna ramakrishna.pall...@intel.com wrote: On Tue, 28 Apr 2015, Pallala, Ramakrishna wrote: This patch adds the extcon support for AXP288 PMIC which has the BC1.2 charger detection capability. Additionally it also adds the USB

[RFC 2/3] mm: allow munmap related functions to understand gfp_mask

2015-04-28 Thread Michal Hocko
__split_vma path requires to allocate a memory. Later patch in the series will require to change standard GFP_KERNEL allocation to use __GFP_NOFAIL. In order to do that all the allocation paths down this path should understand gfp requirements of the caller. This involves vma_dup_policy and

Re: [PATCH 02/10] block: simplify bio_add_page()

2015-04-28 Thread Christoph Hellwig
On Mon, Apr 27, 2015 at 11:48:29PM -0700, Ming Lin wrote: Note that removing call to -merge_bvec_fn() is fine for bio_add_pc_page(), as SCSI devices usually don't even need that. Few exceptional cases like pscsi or osd are not affected either. This explanation confuses me. Based on my reading

[RFC 1/3] mm: mmap make MAP_LOCKED really mlock semantic

2015-04-28 Thread Michal Hocko
Cyril has encountered one of the LTP tests failing after 3.12 kernel. To quote him: What the test does is to set memory limit inside of memcg to PAGESIZE by writing to memory.limit_in_bytes, then runs a subprocess that uses mmap() with MAP_LOCKED which allocates 2 * PAGESIZE and expects that it's

[RFC 3/3] mm: introduce do_munmap_nofail

2015-04-28 Thread Michal Hocko
vm_mmap_pgoff with MAP_LOCKED need to call do_munmap in case the population of the area fails. The operation cannot fail for obvious reasons. The current code simply retries in the loop which is not very nice. This patch introduces do_munmap_nofail() which uses __GFP_NOFAIL for allocations

[PATCH v3 3/3] proc: add kpageidle file

2015-04-28 Thread Vladimir Davydov
Knowing the portion of memory that is not used by a certain application or memory cgroup (idle memory) can be useful for partitioning the system efficiently, e.g. by setting memory cgroup limits appropriately. Currently, the only means to estimate the amount of idle memory provided by the kernel

Re: Build regressions/improvements in v4.1-rc1

2015-04-28 Thread Rusty Russell
Geert Uytterhoeven ge...@linux-m68k.org writes: Can't see that one with a simple grep: can you post warning? /home/kisskb/slave/src/arch/tile/kernel/setup.c: In function 'zone_sizes_init': /home/kisskb/slave/src/arch/tile/kernel/setup.c:777:3: warning: passing argument 2 of

Re: [PATCH V3 04/25] perf tools: Add AUX area tracing index

2015-04-28 Thread Jiri Olsa
On Fri, Apr 24, 2015 at 10:29:46PM +0300, Adrian Hunter wrote: SNIP --- a/tools/perf/util/auxtrace.c +++ b/tools/perf/util/auxtrace.c @@ -344,6 +344,33 @@ out_err: return err; } +static int auxtrace_queues__add_indexed_event(struct auxtrace_queues *queues, +

Re: [Linux-nvdimm] [PATCH 12/21] nd_pmem: add NFIT support to the pmem driver

2015-04-28 Thread Christoph Hellwig
On Sat, Apr 18, 2015 at 12:37:09PM -0700, Dan Williams wrote: At this point in the patch series I agree, but in later patches we take advantage of nd bus services. [PATCH 15/21] nd: pmem label sets and namespace instantiation adds support for labeled pmem namespaces, and in [PATCH 19/21] nd:

Re: [PATCH v2 06/10] KVM: arm64: guest debug, add SW break point support

2015-04-28 Thread Christoffer Dall
On Tue, Apr 28, 2015 at 10:34:12AM +0100, Peter Maydell wrote: On 28 April 2015 at 09:42, Alex Bennée alex.ben...@linaro.org wrote: Peter Maydell peter.mayd...@linaro.org writes: Does the kernel already have a conveniently implemented inject exception into guest lump of code? If so it might

Re: [PATCH 1/1] extcon: arizona: Rename hpdet_ip to make its purpose clearer

2015-04-28 Thread Chanwoo Choi
Hi Richard, On Tue, Apr 28, 2015 at 9:34 PM, Richard Fitzgerald r...@opensource.wolfsonmicro.com wrote: Renamed to hpdet_ip_version to make it clearer what it does and that the value in it is simply a version number. Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com ---

Re: [PATCH 16/20] sched/idle: Use explicit broadcast oneshot control function

2015-04-28 Thread Sudeep Holla
Hi Rafael, On 28/04/15 13:19, Rafael J. Wysocki wrote: On Tue, Apr 28, 2015 at 12:42 PM, Sudeep Holla sudeep.ho...@arm.com wrote: [...] At-least I observed issue only when I am using hardware broadcast timer. It doesn't hang when I am using hrtimer as broadcast timer in which case one of

Re: [PATCH v4 2/2] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-28 Thread Christopher Covington
Hi Kumar, On 04/27/2015 05:23 PM, Kumar Gala wrote: --- /dev/null +++ b/drivers/firmware/qcom_scm-64.c @@ -0,0 +1,465 @@ +/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the

Re: [PATCH 09/11] kernel/cpu.c: remove new instance of __cpuinit that crept back in

2015-04-28 Thread Paul E. McKenney
On Mon, Apr 27, 2015 at 06:47:58PM -0400, Paul Gortmaker wrote: We removed __cpuinit support (leaving no-op stubs) quite some time ago. However a new instance was added in commit 00df35f991914db6b8bde8cf0980 (cpu: Defer smpboot kthread unparking until CPU known to scheduler) Since we want to

[PATCHv3 09/11] usb: dwc3: pci: add quirk for Baytrails

2015-04-28 Thread Heikki Krogerus
On some BYT platforms the USB2 PHY needs to be put into operational mode by the controller driver with GPIOs controlling the PHYs reset and cs signals. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- drivers/usb/dwc3/dwc3-pci.c | 36 1 file

[PATCHv3 10/11] phy: helpers for USB ULPI PHY registering

2015-04-28 Thread Heikki Krogerus
ULPI PHYs need to be bound to their controllers with a lookup. This adds helpers that the ULPI drivers can use to do both, the registration of the PHY and the lookup, at the same time. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Acked-by: David Cohen

[PATCH 61/64] perf hists browser: Simplify zooming code using pstack_peek()

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org Now LEFT key press action can just use do_zoom_dso/thread() code to get out of the current filter. Signed-off-by: Namhyung Kim namhy...@kernel.org Acked-by: Jiri Olsa jo...@redhat.com Cc: David Ahern dsah...@gmail.com Cc: Peter Zijlstra

[PATCH 59/64] perf hists browser: Split popup menu actions - part 2

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. The add_XXX_opt() functions are to register popup menu item on the selected

[PATCH 55/64] perf hists browser: Save hist_browser_timer pointer in hist_browser

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org The struct hist_browser_timer is to carry perf-top related info throughout the hist browser code. So it'd be better to keep in the struct hist_browser. This is a preparation to later change. Suggested-by: Arnaldo Carvalho de Melo a...@kernel.org

Re: [PATCH] mlx4: Fix tx ring affinity_mask creation

2015-04-28 Thread Ido Shamay
On 4/28/2015 6:26 AM, Benjamin Poirier wrote: On 2015/04/13 17:22, Benjamin Poirier wrote: On 2015/04/12 10:03, Ido Shamay wrote: Hi Benjamin, On 4/10/2015 7:27 PM, Benjamin Poirier wrote: By default, the number of tx queues is limited by the number of online cpus in mlx4_en_get_profile().

[PATCH 62/64] perf tools: Move TUI-specific fields out of map_symbol

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org The has_children and unfolded fields don't belong to struct map_symbol since they're used by TUI only. Move those fields out of map_symbol since the struct is also used by other places. This will also help to compact the sizeof struct hist_entry.

[PATCH 53/64] perf tools: Move init_have_children field to the unnamed union

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org The init_have_children is used to init callchain info only for TUI. So it'd be better to move it to the TUI-specific unnamed union member. Signed-off-by: Namhyung Kim namhy...@kernel.org Acked-by: Jiri Olsa jo...@kernel.org Cc: David Ahern

[PATCH 58/64] perf hists browser: Split popup menu actions

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. This patch introduces do_XXX() functions which corresponds to each goto

Re: [PATCH 04/16] printk: implement support for extended console drivers

2015-04-28 Thread Tejun Heo
Hello, Petr. On Tue, Apr 28, 2015 at 11:42:44AM +0200, Petr Mladek wrote: Note that cont buffer is only a memory optimization. You could put every text snippet into the ring buffer and console immediately. You need to set LOG_CONT instead of LOG_NEWLINE flag. This is already used when the

Re: [PATCH 1/3] wait: introduce wait_event_cmd_exclusive

2015-04-28 Thread Peter Zijlstra
On Mon, Apr 27, 2015 at 12:51:01PM +0800, Yuanhan Liu wrote: It's just a variant of wait_event_cmd, with exclusive flag being set. For cases like RAID5, which puts many processes to sleep until 1/4 resources are free, a wake_up wakes up all processes to run, but there is one process being

Re: [PATCH] KVM: x86: cancel delayed EOI work on vm shutdown

2015-04-28 Thread Paolo Bonzini
On 28/04/2015 16:00, Radim Krčmář wrote: kvm_ioapic_eoi_inject_work() can be called after ioapic has been freed, fix it by cancelling its delayed work via a slightly better freeing. (Could have been a one-liner.) Signed-off-by: Radim Krčmář rkrc...@redhat.com --- I noticed it while

Re: Interacting with coherent memory on external devices

2015-04-28 Thread Christoph Lameter
On Mon, 27 Apr 2015, Jerome Glisse wrote: is the mechanism that DAX relies on in the VM. Which would require fare more changes than you seem to think. First using MIXED|PFNMAP means we loose any kind of memory accounting and forget about memcg too. Seconds it means we would need to set

Re: [PATCH v3 1/2] PM / sleep: Let devices force direct_complete

2015-04-28 Thread Tomeu Vizoso
On 20 April 2015 at 16:12, Alan Stern st...@rowland.harvard.edu wrote: On Mon, 20 Apr 2015, Tomeu Vizoso wrote: On 17 April 2015 at 19:30, Alan Stern st...@rowland.harvard.edu wrote: On Fri, 17 Apr 2015, Laurent Pinchart wrote: Hi Tomeu, Thank you for the patch. On Friday 17 April

Re: [PATCH 1/2] x86, stackvalidate: Compile-time stack frame pointer validation

2015-04-28 Thread Peter Zijlstra
On Tue, Apr 28, 2015 at 09:21:05AM -0500, Josh Poimboeuf wrote: I tried that, but I discovered that gcc's usage of frame pointers would be a lot harder to validate. It only sets up the frame pointer in code paths which have call instructions. There are a lot of functions which have

Re: [PATCH 2/2] [PATCH] sched: Add smp_rmb() in task rq locking cycles

2015-04-28 Thread Peter Zijlstra
On Sat, Apr 25, 2015 at 12:56:03PM -0700, Paul E. McKenney wrote: smp: Make control dependencies work on Alpha, improve documentation The current formulation of control dependencies fails on DEC Alpha, which does not respect dependencies of any kind unless an explicit memory

[PATCH 12/13] mm: meminit: Reduce number of times pageblocks are set during struct page init

2015-04-28 Thread Mel Gorman
During parallel sturct page initialisation, ranges are checked for every PFN unnecessarily which increases boot times. This patch alters when the ranges are checked. Signed-off-by: Mel Gorman mgor...@suse.de --- mm/page_alloc.c | 46 -- 1 file changed,

[PATCH 2/2] crypto: Wrap the LHS in expressions of the form !x == y

2015-04-28 Thread David Howells
In the test manager, there are a number of if-statements with expressions of the form !x == y that incur warnings with gcc-5 of the following form: ../crypto/testmgr.c: In function '__test_aead': ../crypto/testmgr.c:523:12: warning: logical not is only applied to the left hand side of comparison

[PATCH 1/2] crypto: Constify (de)compression parameters

2015-04-28 Thread David Howells
In testmgr, struct pcomp_testvec takes a non-const 'params' field, which is pointed to a const deflate_comp_params or deflate_decomp_params object. With gcc-5 this incurs the following warnings: In file included from ../crypto/testmgr.c:44:0: ../crypto/testmgr.h:28736:13: warning: initialization

Re: [PATCH v2 06/10] KVM: arm64: guest debug, add SW break point support

2015-04-28 Thread Alex Bennée
Christoffer Dall christoffer.d...@linaro.org writes: On Tue, Apr 28, 2015 at 10:34:12AM +0100, Peter Maydell wrote: On 28 April 2015 at 09:42, Alex Bennée alex.ben...@linaro.org wrote: Peter Maydell peter.mayd...@linaro.org writes: Does the kernel already have a conveniently implemented

Re: [RFC v2 1/4] fs: Add generic file system event notifications

2015-04-28 Thread Beata Michalska
On 04/28/2015 04:09 PM, Greg KH wrote: On Tue, Apr 28, 2015 at 03:56:53PM +0200, Jan Kara wrote: On Mon 27-04-15 17:37:11, Greg KH wrote: On Mon, Apr 27, 2015 at 05:08:27PM +0200, Beata Michalska wrote: On 04/27/2015 04:24 PM, Greg KH wrote: On Mon, Apr 27, 2015 at 01:51:41PM +0200, Beata

Re: NFC: CONFIG_NFC_DEBUG not defined

2015-04-28 Thread Clément Perrochaud
On 04/28/2015 10:35 AM, Valentin Rothberg wrote: DEBUG is not used in any of the files in drivers/nfc/ so I think we can safely remove the two lines from the Makefiles. Do you want me to prepare a patch? That would be great, thanks. -- Clément Perrochaud Eff'Innov Technologies Caen,

Re: [PATCH v9 01/17] h8300: Assembly headers.

2015-04-28 Thread Yoshinori Sato
At Mon, 27 Apr 2015 09:42:41 +0200, Tobias Klauser wrote: On 2015-04-27 at 07:35:08 +0200, Yoshinori Sato ys...@users.sourceforge.jp wrote: [...] diff --git a/arch/h8300/include/asm/elf.h b/arch/h8300/include/asm/elf.h new file mode 100644 index 000..09031d0 --- /dev/null +++

Re: [PATCH v9 01/17] h8300: Assembly headers.

2015-04-28 Thread Yoshinori Sato
At Mon, 27 Apr 2015 10:40:51 +0200, Arnd Bergmann wrote: On Monday 27 April 2015 14:35:08 Yoshinori Sato wrote: diff --git a/arch/h8300/include/asm/asm-offsets.h b/arch/h8300/include/asm/asm-offsets.h new file mode 100644 index 000..d370ee3 --- /dev/null +++

[PATCH] context_tracking: remove duplicate enabled check

2015-04-28 Thread Paolo Bonzini
All calls to context_tracking_enter and context_tracking_exit are already checking context_tracking_is_enabled, except the context_tracking_user_enter and context_tracking_user_exit functions left in for the benefit of assembly calls. Pull the check up to those functions, by making them simple

Audio crackles with 4.1-rc1

2015-04-28 Thread Jonathan McDowell
Having upgraded to 4.1-rc1 from 4.0 I'm now hearing audio crackles at regular intervals. I'm fairly sure this is due to the HDA power save as once audio is playing things are fine, it's just when starting to play audio that I hear the crackle. System is a Dell Latitude E7240. I haven't tried a

[PATCH] ASoC: rt5645: fixed section mismatch

2015-04-28 Thread Sudip Mukherjee
while building as a module we are getting warning about section mismatch. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- sound/soc/codecs/rt5645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index

Re: Audio crackles with 4.1-rc1

2015-04-28 Thread Jonathan McDowell
On Tue, Apr 28, 2015 at 02:00:17PM +0200, Takashi Iwai wrote: At Tue, 28 Apr 2015 12:21:57 +0100, Jonathan McDowell wrote: Having upgraded to 4.1-rc1 from 4.0 I'm now hearing audio crackles at regular intervals. I'm fairly sure this is due to the HDA power save as once audio is playing

[PATCH 0/1] extcon: arizona: Rename hpdet_ip to make its purpose clearer

2015-04-28 Thread Richard Fitzgerald
I need to do a new version of the WM8998 patches, so here is the change to extcon-arizona to make the hpdet_ip version number clearer. If you can take this change first I will rebase the WM8998 patches onto this one. Richard Fitzgerald (1): extcon: arizona: Rename hpdet_ip to make its purpose

Re: [Linux-nvdimm] [PATCH 19/21] nd: infrastructure for btt devices

2015-04-28 Thread Christoph Hellwig
On Fri, Apr 17, 2015 at 09:36:55PM -0400, Dan Williams wrote: Block devices from an nd bus, in addition to accepting struct bio based requests, also have the capability to perform byte-aligned accesses. By default only the bio/block interface is used. However, if another driver can make

Re: [PATCH V3 07/25] perf auxtrace: Add option to synthesize events for transactions

2015-04-28 Thread Jiri Olsa
On Fri, Apr 24, 2015 at 10:29:49PM +0300, Adrian Hunter wrote: Add AUX area tracing option 'x' to synthesize events for transactions. This will be used by Intel PT to synthesize an event record for each TSX start, commit or abort. Signed-off-by: Adrian Hunter adrian.hun...@intel.com ---

Re: [PATCH 16/20] sched/idle: Use explicit broadcast oneshot control function

2015-04-28 Thread Rafael J. Wysocki
On Tuesday, April 28, 2015 02:37:10 PM Linus Walleij wrote: On Tue, Apr 28, 2015 at 2:19 PM, Rafael J. Wysocki raf...@kernel.org wrote: Sudeep: At-least I observed issue only when I am using hardware broadcast timer. It doesn't hang when I am using hrtimer as broadcast timer in which case

[PATCH 21/64] perf session: Add instruction tracing options

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com It is assumed that AUX area decoding will synthesize events for consumption by other tools. At this time, the main use of AUX area tracing will be to capture instruction trace (aka processor trace) data. The nature of instruction tracing suggests the

[PATCH 37/64] perf tools: Add location to pmu event terms

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Saving the terms location within term struct, so it could be used later for report. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: David Ahern dsah...@gmail.com Cc: Namhyung Kim namhy...@kernel.org Cc: Paul Mackerras pau...@samba.org Cc: Peter Zijlstra

[PATCH 60/64] perf tools: Introduce pstack_peek()

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org The pstack_peek() is to get the topmost entry without removing it. Signed-off-by: Namhyung Kim namhy...@kernel.org Acked-by: Jiri Olsa jo...@redhat.com Cc: David Ahern dsah...@gmail.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Link:

[PATCH 28/64] perf script: Add Instruction Tracing support

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Add support for decoding an AUX area assuming it contains instruction tracing data. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa jo...@redhat.com Cc:

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-28 Thread Havoc Pennington
On Mon, Apr 27, 2015 at 6:14 PM, Linus Torvalds torva...@linux-foundation.org wrote: The real problems seem to be in dbus memory management (suggestion: keep a small per-thread cache of those message allocations) and to a smaller degree in the crazy utf8 validation (why the f*ck does it do

[PATCH 32/64] perf tools: Add aux_watermark member of struct perf_event_attr

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Add new AUX area member (aux_watermark) of struct perf_event_attr to debug prints and byte swapping. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa

Re: [PATCH 0/9] mm: improve OOM mechanism v2

2015-04-28 Thread Michal Hocko
On Tue 28-04-15 19:34:47, Tetsuo Handa wrote: [...] [PATCH 8/9] makes the speed of allocating __GFP_FS pages extremely slow (5 seconds / page) because out_of_memory() serialized by the oom_lock sleeps for 5 seconds before returning true when the OOM victim got stuck. This throttling also slows

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Michal Suchanek
On 28 April 2015 at 16:16, Mark Brown broo...@kernel.org wrote: On Tue, Apr 28, 2015 at 02:52:54PM +0200, Michal Suchanek wrote: On 28 April 2015 at 14:15, Eric D. eric.dillm...@gmail.com wrote: I was just seeking a way to make spidev device appear under mainline kernel and found this

Re: [PATCH 09/11] kernel/cpu.c: remove new instance of __cpuinit that crept back in

2015-04-28 Thread Paul Gortmaker
On 15-04-28 09:12 AM, Paul E. McKenney wrote: On Mon, Apr 27, 2015 at 06:47:58PM -0400, Paul Gortmaker wrote: We removed __cpuinit support (leaving no-op stubs) quite some time ago. However a new instance was added in commit 00df35f991914db6b8bde8cf0980 (cpu: Defer smpboot kthread unparking

Re: [PATCH] perf: warn on build id mismatch

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Sat, Apr 25, 2015 at 01:14:46AM +0530, Naveen N. Rao escreveu: Add a debug message to indicate that the build id didn't match. Signed-off-by: Naveen N. Rao naveen.n@linux.vnet.ibm.com Applied. - Arnaldo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH V3 00/25] perf tools: Introduce an abstraction for AUX Area and Instruction Tracing

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 24, 2015 at 10:29:42PM +0300, Adrian Hunter escreveu: Hi Here is V3 patches for the introduction of an abstraction for using the AUX area and Instruction tracing. Applied the first three, waiting for reaction to Jiri's comments to continue. - Arnaldo -- To unsubscribe from this

Re: [PATCH v2] spi: omap2-mcspi: Add support for GPIO chipselects

2015-04-28 Thread Mark Brown
On Mon, Apr 27, 2015 at 08:21:50PM -0500, Michael Welling wrote: Before I send another patch how does this look? if (gpio_is_valid(spi-cs_gpio)) { if (cs_active) gpio_set_value(spi-cs_gpio, spi-mode SPI_CS_HIGH); else

[PATCH 35/64] perf tools: Always bail out when config_attr function fails

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Not sure why we allowed the fail state, but it's wrong. Wrong type for 'name' term can cause segfault, and there's probably more fun hidden. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: David Ahern dsah...@gmail.com Cc: Namhyung Kim namhy...@kernel.org Cc: Paul

[PATCH 34/64] perf tools: Add flex support for parse_events_error

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Allowing flex parser to report back event parsing error, like: $ perf record -e cycles,cache-mises ls event syntax error: '..es,cache-mises' \___ parser error ... Signed-off-by: Jiri Olsa jo...@kernel.org Cc: David Ahern

[PATCH 40/64] perf tools: Add tracepoint support for parse_events_error

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Allowing tracepoint events processing to report back error. $ perf record -e 'sched:krava' ls event syntax error: 'sched:krava' \___ unknown tracepoint ... Signed-off-by: Jiri Olsa jo...@kernel.org Tested-by: Arnaldo Carvalho de Melo

[PATCH 38/64] perf tools: Add term support for parse_events_error

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Allowing event's term processing to report back error, like: $ perf record -e 'cpu/even=0x1/' ls event syntax error: 'cpu/even=0x1/' \___ unknown term valid terms:

[PATCH 46/64] perf stat: Fix metrics calculation with event qualifiers

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Andi Kleen a...@linux.intel.com Currently in perf IPC and other metrics cannot be directly shown separately for both user and kernel in a single run. The problem was that the metrics matching code did not check event qualifiers. With this patch the following case works correctly. % perf

[PATCH 42/64] perf probe: Make --funcs option exclusive

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu masami.hiramatsu...@hitachi.com The --funcs option should be given exclusively. This adds PARSE_OPT_EXCUSIVE flag on --funcs (-F) option. Without this, 'perf probe --funcs -l' just shows the list of probes. With this, it shows error message correctly. This also fixes

[PATCH 15/64] perf tools: Add user events for AUX area tracing

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Add two user events for AUX area tracing. PERF_RECORD_AUXTRACE_INFO contains metadata, consisting primarily the type of the AUX area tracing data plus some amount of architecture-specific information. There should be only one PERF_RECORD_AUXTRACE_INFO

Re: [PATCH v3 2/7] perf probe/ppc: Fix symbol fixup issues due to ELF type

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 28, 2015 at 05:35:35PM +0530, Naveen N. Rao escreveu: If using the symbol table, symbol addresses are not being fixed up properly, resulting in probes being placed at wrong addresses: # perf probe do_fork Added new event: probe:do_fork(on do_fork) You can

Re: [PATCH v1 3/3] mfd: Add support for Intel Sunrisepoint LPSS devices

2015-04-28 Thread Mika Westerberg
On Tue, Apr 28, 2015 at 02:32:59PM +0100, Lee Jones wrote: On Tue, 31 Mar 2015, Andy Shevchenko wrote: The new coming Intel platforms such as Skylake will contain Sunrisepoint PCH. The main difference to the previous platforms is that the LPSS devices are compound devices where usually

Re: simple framebuffer slower by factor of 20, on socfpga (arm) platform

2015-04-28 Thread Russell King - ARM Linux
On Fri, Apr 24, 2015 at 03:46:56PM +0200, Geert Uytterhoeven wrote: On Fri, Apr 24, 2015 at 3:40 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 24/04/15 16:29, Pavel Machek wrote: On Fri 2015-04-10 12:35:52, Archit Taneja wrote: That said, if the fb is in RAM, and is only written by the

[PATCH 19/64] perf tools: Add a user event for AUX area tracing errors

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Errors encountered when decoding an AUX area trace need to be reported to the user. However the user might be a script or another tool, so provide a new user event to capture those errors. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by:

Re: [RFC v2 1/4] fs: Add generic file system event notifications

2015-04-28 Thread Jan Kara
On Mon 27-04-15 17:37:11, Greg KH wrote: On Mon, Apr 27, 2015 at 05:08:27PM +0200, Beata Michalska wrote: On 04/27/2015 04:24 PM, Greg KH wrote: On Mon, Apr 27, 2015 at 01:51:41PM +0200, Beata Michalska wrote: Introduce configurable generic interface for file system-wide event

Re: [PATCH v2] spi: omap2-mcspi: Add support for GPIO chipselects

2015-04-28 Thread Ezequiel Garcia
On 04/27/2015 10:21 PM, Michael Welling wrote: On Mon, Apr 27, 2015 at 08:55:50PM +0100, Mark Brown wrote: On Sun, Apr 26, 2015 at 10:44:30PM -0500, Michael Welling wrote: + if (gpio_is_valid(spi-cs_gpio)) { + gpio_set_value(spi-cs_gpio, (cs_active) ? +

Re: [PATCH 1/2] x86, stackvalidate: Compile-time stack frame pointer validation

2015-04-28 Thread Peter Zijlstra
On Tue, Apr 28, 2015 at 09:04:54AM -0500, Josh Poimboeuf wrote: On Tue, Apr 28, 2015 at 02:16:06PM +0200, Peter Zijlstra wrote: On Mon, Apr 27, 2015 at 08:56:27AM -0500, Josh Poimboeuf wrote: Frame pointer based stack traces aren't always reliable. One big reason is that most asm

Re: [RFC v2 1/4] fs: Add generic file system event notifications

2015-04-28 Thread Greg KH
On Tue, Apr 28, 2015 at 03:56:53PM +0200, Jan Kara wrote: On Mon 27-04-15 17:37:11, Greg KH wrote: On Mon, Apr 27, 2015 at 05:08:27PM +0200, Beata Michalska wrote: On 04/27/2015 04:24 PM, Greg KH wrote: On Mon, Apr 27, 2015 at 01:51:41PM +0200, Beata Michalska wrote: Introduce

Re: [PATCH v8 1/3] scsi: ufs: add ioctl interface for query request

2015-04-28 Thread Dov Levenglick
Reviewed-by: Dov Levenglick d...@codeaurora.org From: Dolev Raviv dra...@codeaurora.org This patch exposes the ioctl interface for UFS driver via SCSI device ioctl interface. As of now UFS driver would provide the ioctl for query interface to connected UFS device. Signed-off-by: Dolev

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Michal Suchanek
On 28 April 2015 at 16:03, Eric D. eric.dillm...@gmail.com wrote: Hi, I give Maxime's patch a try and got 4 spidev devices : /dev/spidev32766.[0-3] root@bpi:~# ls -lh /dev/spidev* crw--- 1 root root 153, 0 Apr 28 15:52 /dev/spidev32766.0 crw--- 1 root root 153, 1 Apr 28 15:52

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Maxime Ripard
On Tue, Apr 28, 2015 at 07:03:16AM -0700, Eric D. wrote: Hi, I give Maxime's patch a try and got 4 spidev devices : /dev/spidev32766.[0-3] root@bpi:~# ls -lh /dev/spidev* crw--- 1 root root 153, 0 Apr 28 15:52 /dev/spidev32766.0 crw--- 1 root root 153, 1 Apr 28 15:52

Re: [PATCH v6 01/26] IB/Verbs: Implement new callback query_transport()

2015-04-28 Thread Michael Wang
On 04/28/2015 03:24 AM, Doug Ledford wrote: [snip] Also wondering, why add UDP to USNIC, is there a different USNIC? Yes, there are two transports, one a distinct ethertype and one that encapsulates USNIC in UDP. But this new enum isn't about transport, it's about protocol. So is there

Re: Audio crackles with 4.1-rc1

2015-04-28 Thread Takashi Iwai
At Tue, 28 Apr 2015 15:05:20 +0200, Takashi Iwai wrote: At Tue, 28 Apr 2015 13:35:18 +0100, Jonathan McDowell wrote: On Tue, Apr 28, 2015 at 02:00:17PM +0200, Takashi Iwai wrote: At Tue, 28 Apr 2015 12:21:57 +0100, Jonathan McDowell wrote: Having upgraded to 4.1-rc1 from

Re: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader

2015-04-28 Thread Don Zickus
On Tue, Apr 28, 2015 at 10:30:09AM -0400, Don Zickus wrote: On Wed, Apr 01, 2015 at 09:45:53AM +0200, Jiri Kosina wrote: On Fri, 27 Mar 2015, Borislav Petkov wrote: From: Jiri Kosina jkos...@suse.cz Since GHES sources are global, we theoretically need only a single CPU reading

[PATCH 0/2] regulator: Add regulator driver for the MC34708 PMIC

2015-04-28 Thread Martin Fuzzey
Add regulator driver and associated DT bindings for the regulators in the Freescale MC34708 PMIC. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

[PATCH 25/64] perf auxtrace: Add processing for AUX area tracing events

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Provide hooks so that an AUX area decoder can process AUX area tracing events. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa jo...@redhat.com Cc: Namhyung

Re: [PATCH v3 1/7] perf probe: Improve detection of file/function name in the probe pattern

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 28, 2015 at 05:35:34PM +0530, Naveen N. Rao escreveu: Currently, perf probe considers patterns including a '.' to be a file. However, this causes problems on powerpc ABIv1 where all functions have a leading '.': $ perf probe -F | grep schedule_timeout_interruptible

[PATCH 07/64] perf tests: Add build tests for building perf from kernel source root and tools

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Adding build tests for following make commands: $ make -C kernelsrc tools/perf $ make -C kernelsrc/tools perf Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Borislav Petkov b...@suse.de Cc: Brian Norris computersforpe...@gmail.com Cc: David Ahern

[PATCH 08/64] perf data: Switch to multiple cpu stream files

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Sebastian Andrzej Siewior bige...@linutronix.de Currently we store the data into single data strea/file. The cpu if data is stored within the event sample. The lttng puts the CPU number that belongs to the event into the packet context instead into the event. This patch makes sure that the

Re: [PATCH 16/20] sched/idle: Use explicit broadcast oneshot control function

2015-04-28 Thread Rafael J. Wysocki
On Tuesday, April 28, 2015 03:37:44 PM Rafael J. Wysocki wrote: On Tuesday, April 28, 2015 03:31:54 PM Rafael J. Wysocki wrote: On Tuesday, April 28, 2015 02:37:10 PM Linus Walleij wrote: On Tue, Apr 28, 2015 at 2:19 PM, Rafael J. Wysocki raf...@kernel.org wrote: Sudeep: At-least

[PATCH 10/64] perf data: Add support for setting ordered_events queue size

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Adding support to limit the size of ordered_events queue, so we could control allocation size of perf data files without proper finished round events. Reviewed-by: David Ahern dsah...@gmail.com Signed-off-by: Jiri Olsa jo...@kernel.org Acked-by: Namhyung Kim

[PATCH 12/64] perf data: Fix signedness of value

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Wang Nan wangn...@huawei.com When converting int values, perf first extractes it to a ulonglong, then feeds it to babeltrace as a signed value. For negative 32 bit values (for example, return values of failed syscalls), the extracted data should be something like 0xfffe (-2). It

[PATCH 11/64] perf data: Fix duplicate field names and avoid reserved keywords

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Wang Nan wangn...@huawei.com Some parameters of syscall tracepoints named as 'nr', 'event', etc. When dealing with them, perf convert to ctf meets some problem: 1. If a parameter with name 'nr', it will duplicate syscall's common field 'nr'. One such syscall is io_submit(). 2. If a

Re: [PATCH 1/4] mailbox: add support for System Control and Power Interface(SCPI) protocol

2015-04-28 Thread Jon Medhurst (Tixy)
On Mon, 2015-04-27 at 12:40 +0100, Sudeep Holla wrote: This patch adds support for System Control and Power Interface (SCPI) Message Protocol used between the Application Cores(AP) and the System Control Processor(SCP). The MHU peripheral provides a mechanism for inter-processor communication

Re: [PATCH v3 0/7] Fixes for perf probe issues on ppc

2015-04-28 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 28, 2015 at 05:35:33PM +0530, Naveen N. Rao escreveu: This patchset fixes various issues with perf probe on powerpc across ABIv1 and ABIv2: - in the presence of DWARF debug-info, - in the absence of DWARF, but with the symbol table, and - in the absence of debug-info, but with

[PATCH 49/64] perf stat: Add metrics support for exclude_(host|guest)

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Separating metrics values for guest and host, so we get proper values. Signed-off-by: Jiri Olsa jo...@kernel.org Acked-by: Namhyung Kim namhy...@kernel.org Cc: Andi Kleen a...@firstfloor.org Cc: David Ahern dsah...@gmail.com Cc: Paul Mackerras pau...@samba.org

[PATCH v3 0/3] tty: serial: Add earlycon support to MT8173 SoC

2015-04-28 Thread Eddie Huang
This patch add earlycon support to MT8173 SoC platform. To use earlycon, need 1. Add earlycon in boot parameters 2. Add linux,sdtout-path property in device tree file This patch based on 4.1-rc1. Change in v3: Remove noinit options, not necessary, because 8250_early.c will not init hardware if

Re: [PATCH 07/13] mm: meminit: Initialise a subset of struct pages if CONFIG_DEFERRED_STRUCT_PAGE_INIT is set

2015-04-28 Thread Andrew Morton
On Tue, 28 Apr 2015 10:53:23 +0100 Mel Gorman mgor...@suse.de wrote: +#ifdef CONFIG_DEFERRED_STRUCT_PAGE_INIT +#define __defermem_init __meminit +#define __defer_init__meminit +#else +#define __defermem_init +#define __defer_init __init +#endif Could we get some

[PATCH 51/64] perf tools: Document --children option in more detail

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org As the --children option changes the output of perf report (and perf top) it sometimes confuses users. Add more words and examples to help understanding of the option's behavior - and how to disable it ;-). Signed-off-by: Namhyung Kim namhy...@kernel.org

[PATCH v3 1/3] tty: serial: 8250: export early_serial8250_setup function

2015-04-28 Thread Eddie Huang
8250-like uart driver may call early_serial8250_setup to reuse 8250_early.c character output function. Signed-off-by: Eddie Huang eddie.hu...@mediatek.com --- drivers/tty/serial/8250/8250_early.c | 2 +- include/linux/serial_8250.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)

[PATCH 57/64] perf hists browser: Save perf_session_env in the hist_browser

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org The perf_session_env is to save system informantion at the recording time to be refered in the hist browser. So it'd be better to keep in the struct hist_browser. This is a preparation to later change. Signed-off-by: Namhyung Kim namhy...@kernel.org

[PATCH 11/13] mm: meminit: Free pages in large chunks where possible

2015-04-28 Thread Mel Gorman
Parallel struct page frees pages one at a time. Try free pages as single large pages where possible. Signed-off-by: Mel Gorman mgor...@suse.de --- mm/page_alloc.c | 55 +-- 1 file changed, 49 insertions(+), 6 deletions(-) diff --git

[PATCH 02/13] mm: meminit: Move page initialization into a separate function.

2015-04-28 Thread Mel Gorman
From: Robin Holt h...@sgi.com Currently, memmap_init_zone() has all the smarts for initializing a single page. A subset of this is required for parallel page initialisation and so this patch breaks up the monolithic function in preparation. Signed-off-by: Robin Holt h...@sgi.com Signed-off-by:

[PATCH 10/13] x86: mm: Enable deferred struct page initialisation on x86-64

2015-04-28 Thread Mel Gorman
Subject says it all. Other architectures may enable on a case-by-case basis after auditing early_pfn_to_nid and testing. Signed-off-by: Mel Gorman mgor...@suse.de --- arch/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index

  1   2   3   4   5   6   7   8   9   10   >