Re: [PATCH] Fixing style warnings.

2015-03-02 Thread Sebastian Andrzej Siewior
On 03/03/2015 06:19 AM, cfredric wrote: > Signed-off-by: cfredric You could use your full name here. > --- > drivers/usb/core/buffer.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/usb/core/buffer.c b/drivers/usb/core/buffer.c > index 506b969..89f2e77 10064

Re: [PATCH] checkkconfigsymbols.py: filter reports for tools/

2015-03-02 Thread Valentin Rothberg
Hi Paul, thanks for your answer. On Tue, Mar 3, 2015 at 1:57 AM, Paul Bolle wrote: > On Wed, 2015-02-25 at 15:15 +0100, Valentin Rothberg wrote: >> @@ -46,8 +46,9 @@ def main(): >> stdout = stdout[:-1] >> >> for gitfile in stdout.rsplit("\n"): >> -if ".git" in gitfile or "C

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-03-02 Thread Jesper Nilsson
On Mon, Mar 02, 2015 at 11:21:44AM -0500, Tejun Heo wrote: > On Mon, Mar 02, 2015 at 01:26:15PM +0100, Jesper Nilsson wrote: > > On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote: > > > Hello, > > > > Hi! > > > > > This patch removes the possible hang by updating __cancel_work_timer() > >

Re: [PATCH 0/3] Add ktd2692 Flash LED driver

2015-03-02 Thread Jacek Anaszewski
On 03/02/2015 09:07 PM, Bryan Wu wrote: On Mon, Mar 2, 2015 at 1:15 AM, Sakari Ailus wrote: H Ingi, On Mon, Mar 02, 2015 at 04:14:39PM +0900, Ingi Kim wrote: Hi Jacek On 2015년 02월 27일 17:42, Jacek Anaszewski wrote: Hi Ingi, On 02/27/2015 02:01 AM, Ingi Kim wrote: This patch supports KTD26

[PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91

2015-03-02 Thread Alexandre Belloni
Since the addition of the errata handling for at91sam9rl and at91sam9g45, the atmel_usba_udc depends on the pmc driver being present. Explicitly set that dependency. Signed-off-by: Alexandre Belloni --- drivers/usb/gadget/udc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

Re: [PATCH v11 0/6] Add Skyworks SKY81452 device drivers

2015-03-02 Thread Lee Jones
On Tue, 03 Mar 2015, Gyungoh Yoo wrote: > On Fri, Feb 27, 2015 at 08:39:38PM +, Lee Jones wrote: > > On Fri, 27 Feb 2015, gyun...@gmail.com wrote: > > > > > From: Gyungoh Yoo > > > > > > This patch set includes regulator and backlight driver for SKY81452. > > > Also it includes documents fo

[PATCH] staging/lustre/llite: Fix obd name after c&p error

2015-03-02 Thread green
From: Oleg Drokin commit 95745e9b1de2 ("staging: lustre: Use kasprintf.") introduced a copy and paste error causing two different obd types to be assigned same content causing lustre to fail on mount with a warning from procfs followed by a bizzare error about OST not having enough MDS capabiliti

[PATCH v2] ARM: at91: pm: fix SRAM allocation

2015-03-02 Thread Alexandre Belloni
On some platforms, there are multiple SRAM nodes defined in the device tree but some of them are disabled, leading to allocation failure. Try to find the first enabled SRAM node and allocate from it. Signed-off-by: Alexandre Belloni Tested-by: Wenyou Yang --- Changes in v2: - initialize pdev to

Re: [PATCH] i2c: tegra: match return type of wait_for_completion_timeout

2015-03-02 Thread Alexandre Courbot
On Sun, Mar 1, 2015 at 11:17 PM, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int. As ret > was only used for wait_for_completion_timeout here it is renamed to time_left > the type changed to unsigned long and references fixed up. > > Signed-off-by: Ni

Re: [PATCH v2 0/5] split ET_DYN ASLR from mmap ASLR

2015-03-02 Thread Ingo Molnar
* Kees Cook wrote: > To address the "offset2lib" ASLR weakness[1], this separates ET_DYN > ASLR from mmap ASLR, as already done on s390. The architectures > that are already randomizing mmap (arm, arm64, mips, powerpc, s390, > and x86), have their various forms of arch_mmap_rnd() made available

[PATCH 1/2] tracing: remove ftrace:function TRACE_EVENT_FL_USE_CALL_FILTER flag

2015-03-02 Thread He Kuang
TRACE_EVENT_FL_USE_CALL_FILTER flag in ftrace:functon event can be removed. This flag was first introduced in commit f306cc82a93d ("tracing: Update event filters for multibuffer"). Now, the only place uses this flag is ftrace:function, but the filter of ftrace:function has a different code path wi

[PATCH 2/2] tracing: remove macro TRACE_EVENT_FL_USE_CALL_FILTER and related codes

2015-03-02 Thread He Kuang
After applying the previous patch, TRACE_EVENT_FL_USE_CALL_FILTER and the codes relate to it can be removed. Signed-off-by: He Kuang --- include/linux/ftrace_event.h | 2 -- kernel/trace/trace_events_filter.c | 68 ++ 2 files changed, 11 insertions(+),

Re: [PATCH] dmaengine: virt-dma: fix completion list manipulation

2015-03-02 Thread Lars-Peter Clausen
On 03/02/2015 11:03 PM, Robert Jarzmik wrote: Lars-Peter Clausen writes: On 03/02/2015 10:19 PM, Robert Jarzmik wrote: diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h index 3772032..2a3da22 100644 --- a/drivers/dma/virt-dma.h +++ b/drivers/dma/virt-dma.h @@ -91,7 +91,7 @@ static

Re: [PATCHv2 01/10] fbdev: ssd1307fb: fix memory address smem_start.

2015-03-02 Thread Maxime Ripard
On Sun, Mar 01, 2015 at 11:27:54PM +0100, Thomas Niederprüm wrote: > the smem_start pointer of the framebuffer info struct needs to hold the > physical address rather than the virtual address. This patch fixes a > driver crash on mmaping the framebuffer memory due to an access to the > memory addre

Re: [PATCH] MTD: m25p80: fix inconsistency in m25p_ids for Micron devices

2015-03-02 Thread Brian Norris
On Mon, Mar 02, 2015 at 10:26:51AM +0100, Mike Looijmans wrote: > As stated in a5b7616c5, "mtd: m25p80,spi-nor: Fix module aliases for > m25p80", m25p_ids[] in m25p80.c needs to be kept in sync with > spi_nor_ids[] in spi-nor.c. > > This patch fixes the mismatches for the Micron devices, the > "n2

Re: [PATCH net-next 10/14] bluetooth: Use eth__addr instead of memset

2015-03-02 Thread Marcel Holtmann
Hi Joe, > Use the built-in function instead of memset. > > Signed-off-by: Joe Perches > --- > net/bluetooth/bnep/netdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/net/bluetooth/bnep/netdev.c b/net/bluetooth/bnep/netdev.c > index 4b488ec..6ceb5d3 100644 > --- a/net

Re: [PATCH 1/1] ARM: exynos_defconfig: Disable IOMMU support

2015-03-02 Thread Javier Martinez Canillas
Hello Kukjin, On 03/02/2015 08:43 PM, Kukjin Kim wrote: > On 02/27/15 15:20, Javier Martinez Canillas wrote: >> Hello Kukjin, >> > Hi, > >> On 02/17/2015 12:38 PM, Javier Martinez Canillas wrote: >> >> Can you please pick this patch? linux-next is still broken for many Exynos >> boards after co

Re: [PATCH] mtd: atmel_nand: fix typo in dev_err error message

2015-03-02 Thread Brian Norris
On Sat, Feb 28, 2015 at 08:27:56PM +, Colin King wrote: > From: Colin Ian King > > Fix typo, "Unkown" -> "Unknown" > > Signed-off-by: Colin Ian King Pushed to l2-mtd.git Brian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@

Re: [PATCH] mtd: nand: MTD_NAND_HISI504 should depend on HAS_DMA

2015-03-02 Thread Brian Norris
On Sun, Mar 01, 2015 at 10:35:52AM +0100, Geert Uytterhoeven wrote: > If NO_DMA=y: > > drivers/built-in.o: In function `hisi_nfc_probe': > hisi504_nand.c:(.text+0x23e646): undefined reference to > `dmam_alloc_coherent' > > Signed-off-by: Geert Uytterhoeven Looks good. Pushed to linux-m

Re: [PATCH 3/4] crypto: caamhash: add two missed dma_mapping_error

2015-03-02 Thread yjin
On 2015年03月02日 19:53, Horia Geantă wrote: On 2/28/2015 8:00 AM, yanjiang@windriver.com wrote: From: Yanjiang Jin Add two missed dma_mapping_error() after dma_map_single(). Signed-off-by: Yanjiang Jin --- drivers/crypto/caam/caamhash.c | 8 1 file changed, 8 insertions(+) di

Re: [regression v4.0-rc1] mm: IPIs from TLB flushes causing significant performance degradation.

2015-03-02 Thread Linus Torvalds
On Mon, Mar 2, 2015 at 9:20 PM, Dave Chinner wrote: >> >> But are those migrate-page calls really common enough to make these >> things happen often enough on the same pages for this all to matter? > > It's looking like that's a possibility. Hmm. Looking closer, commit 10c1045f28e8 already should

Re: [PATCH] workqueue: update numa affinity when node hotplug

2015-03-02 Thread Kamezawa Hiroyuki
On 2015/03/03 1:28, Tejun Heo wrote: Hello, On Mon, Mar 02, 2015 at 05:41:05PM +0900, Kamezawa Hiroyuki wrote: Let me start from explaining current behavior. - cpu-id is determined when a new processor(lapicid/x2apicid) is founded. cpu-id<->nodeid relationship is _not_ recorded. Is this s

Re: [PATCH 4/4] crypto: caamhash: replace kmalloc with kzalloc

2015-03-02 Thread yjin
On 2015年03月02日 19:03, Horia Geantă wrote: On 2/28/2015 8:00 AM, yanjiang@windriver.com wrote: From: Yanjiang Jin This can make sure we get a clean memory, else system would report the below warning: I'd avoid using kzalloc, it's an overhead on the hot path. kmalloc can be used with a bit

[PATCH 3/3] crypto: caamhash: - fix uninitialized edesc->sec4_sg_bytes field

2015-03-02 Thread yanjiang.jin
From: Yanjiang Jin sec4_sg_bytes not being properly initialized causes ahash_done to try to free unallocated DMA memory: caam_jr ffe301000.jr: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0xdeadbeefdeadbeef] [size=3735928559 bytes] [ cut here

[PATCH 1/3] crypto: caam: fix some compile warnings

2015-03-02 Thread yanjiang.jin
From: Yanjiang Jin This commit is to avoid the below warnings: drivers/crypto/caam/sg_sw_sec4.h:88:12: warning: 'dma_map_sg_chained' defined but not used [-Wunused-function] static int dma_map_sg_chained(struct device *dev, struct scatterlist *sg, ^ drivers/crypto/caam/sg_sw_sec4.h:

[PATCH 2/3] crypto: caam_rng: fix rng_unmap_ctx's DMA_UNMAP size problem

2015-03-02 Thread yanjiang.jin
From: Yanjiang Jin Fix rng_unmap_ctx's DMA_UNMAP size problem for caam_rng, else system would report the below calltrace during kexec boot: caam_jr ffe301000.jr: DMA-API: device driver frees DMA memory with different size [device address=0x7f080010] [map size=16 bytes] [unmap size=40 b

Re: [PATCHv2 0/7] introduce dynamic device creation/removal

2015-03-02 Thread Sergey Senozhatsky
On (03/01/15 17:42), Sergey Senozhatsky wrote: > v2: > switch to sysfs class, rather than using /dev/zram-control node and > doing IOCTL on it. we lose some features, though. like automatic > device_id generation. > Hello, will submit v3 later today: -- add missing add/remove documentation -- fi

[PATCH 0/3] fix some CAAM warnings.

2015-03-02 Thread yanjiang.jin
From: Yanjiang Jin Hi, This patch series fix some CAAM compile and runtime warnings. The patches 0001 and 0002 are same as V1. I have tested this on fsl-p5020ds board using upstream 4.0.0-rc1+ with the below configs: CONFIG_DMA_API_DEBUG=y # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set Ch

[PATCH] efi: Clean up the efi_call_phys_[prolog|epilog]() save/restore interaction

2015-03-02 Thread Ingo Molnar
Also clean up the save_pgd global variable while at it. untested as well. Thanks, Ingo ==> >From 166625ceaef68fcbeee63adc63c02d75abcaf0db Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 3 Mar 2015 07:42:48 +0100 Subject: [PATCH] efi: Clean up the efi_call_phys_[prolo

RE: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-02 Thread Wang, Yalin
> -Original Message- > From: Minchan Kim [mailto:minchan@gmail.com] On Behalf Of Minchan Kim > Sent: Tuesday, March 03, 2015 12:15 PM > To: Wang, Yalin > Cc: 'Michal Hocko'; 'Andrew Morton'; 'linux-kernel@vger.kernel.org'; > 'linux...@kvack.org'; 'Rik van Riel'; 'Johannes Weiner'; 'Mel

Re: [PATCH] ath:Release resources for structure pointer, ar if error pointing device in the function, ath10k_core_register_work

2015-03-02 Thread Michal Kazior
On 3 March 2015 at 03:36, Nicholas Krause wrote: > Releases resources and deregisters the stucture pointer ar passed by the > caller to the function, ath10k_core_register_work > if unable to probe the structure pointer successfully with a call to > ath10k_core_probe_fw. Further more if this happ

Re: [PATCH] kernel: Unlock after locking

2015-03-02 Thread Al Viro
On Tue, Mar 03, 2015 at 08:49:10AM +0530, Tapasweni Pathak wrote: > Release lock before returning. > > Signed-off-by: Tapasweni Pathak > --- > I'm not sure if this is a bug, it seems like it is intentional, but > there is no comment or anything like that which confirms this. Er... How about loo

[PATCH] kprobes: x86: cleanup __recover_probed_insn().

2015-03-02 Thread Wang Nan
Since kernel kconfig forbids turning off KPROBES_ON_FTRACE for x86, we don't need to consider the situation that a kprobe probing on a ftrace location. The only exception should be early kprobe with KPROBES_ON_FTRACE enabled. However, it is still impossible for it to get a tainted by ftrace if it i

Re: [PATCH] clkdev: clk_add_alias don't put origin clock

2015-03-02 Thread Yoshinori Sato
At Sun, 1 Mar 2015 14:51:57 +, Russell King - ARM Linux wrote: > > On Sun, Mar 01, 2015 at 04:43:35PM +0900, Yoshinori Sato wrote: > > Refer to 'r' later. > > So don't put in clk_add_alias. > > > > Signed-off-by: Yoshinori Sato > > This isn't how I want to solve this. I'd much rather we co

Re: [PATCH] Staging: fbtft: fb_pcd8544: Fixed coding style errors and warnings

2015-03-02 Thread Dan Carpenter
On Tue, Mar 03, 2015 at 03:36:17AM +, Cláudio Maia wrote: > The following errors were fixed: > > ERROR: code indent should use tabs where possible > WARNING: line over 80 characters > > Signed-off-by: Cláudio Maia Don't indent this. > @@ -52,60 +52,63 @@ static int init_dis

[PATCH] efi: Disable interrupts around EFI calls, not in the epilog/prolog calls

2015-03-02 Thread Ingo Molnar
* Tapasweni Pathak wrote: > Disabling interrupts around kmalloc() is less than ideal. Move it > after the kmalloc(). > > Found using Coccinelle. > > Signed-off-by: Tapasweni Pathak > Suggested-by: Matt Fleming > --- > arch/x86/platform/efi/efi_64.c |2 +- > 1 file changed, 1 insertion(+

[tip:perf/core] perf tools: Reference count struct thread

2015-03-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f3b623b8490af7a9b819cbcf2d99ab4597ece94b Gitweb: http://git.kernel.org/tip/f3b623b8490af7a9b819cbcf2d99ab4597ece94b Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Mar 2015 22:21:35 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Mar 2015 00:17:08 -0300 perf

[tip:perf/core] perf sched: No need to keep the session around

2015-03-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ae536acfacb65a4a9858c32b12361e09f84f4157 Gitweb: http://git.kernel.org/tip/ae536acfacb65a4a9858c32b12361e09f84f4157 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 2 Mar 2015 22:28:41 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 3 Mar 2015 00:17:12 -0300 perf

[tip:perf/core] perf probe: Remove bias offset to find probe point by address

2015-03-02 Thread tip-bot for Masami Hiramatsu
Commit-ID: 0104fe69e0287cf3635657b4c6b26a18e0091697 Gitweb: http://git.kernel.org/tip/0104fe69e0287cf3635657b4c6b26a18e0091697 Author: Masami Hiramatsu AuthorDate: Mon, 2 Mar 2015 21:49:46 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:34:38 -0300 perf probe:

[tip:perf/core] Revert "perf: Remove the extra validity check on nr_pages"

2015-03-02 Thread tip-bot for Kan Liang
Commit-ID: 2ed11312eb19506c027e7cac039994ad42a9cb2c Gitweb: http://git.kernel.org/tip/2ed11312eb19506c027e7cac039994ad42a9cb2c Author: Kan Liang AuthorDate: Mon, 2 Mar 2015 02:14:26 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 18:25:38 -0300 Revert "perf: Remov

[tip:perf/core] perf probe: Warn if given uprobe event accesses memory on older kernel

2015-03-02 Thread tip-bot for Masami Hiramatsu
Commit-ID: 79702f614187f652a814061e8f5875ddcc9e732d Gitweb: http://git.kernel.org/tip/79702f614187f652a814061e8f5875ddcc9e732d Author: Masami Hiramatsu AuthorDate: Sat, 28 Feb 2015 11:53:29 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:27:43 -0300 perf probe:

[tip:perf/core] perf tools: Initialize cpu set in pthread_attr_setaffinity_np feature test

2015-03-02 Thread tip-bot for Adrian Hunter
Commit-ID: 543d976fa2ebf5543bd07b5d487bf3a6144c0886 Gitweb: http://git.kernel.org/tip/543d976fa2ebf5543bd07b5d487bf3a6144c0886 Author: Adrian Hunter AuthorDate: Mon, 2 Mar 2015 09:59:05 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:48:16 -0300 perf tools: Ini

[tip:perf/core] perf tools: Improve libbfd detection message

2015-03-02 Thread tip-bot for Ingo Molnar
Commit-ID: 0189d7c45acd9fc9a7e6876dc55bc44ae8dc9a37 Gitweb: http://git.kernel.org/tip/0189d7c45acd9fc9a7e6876dc55bc44ae8dc9a37 Author: Ingo Molnar AuthorDate: Sat, 28 Feb 2015 09:46:42 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:16:35 -0300 perf tools: Impr

[tip:perf/core] perf tools: Improve feature test debuggability

2015-03-02 Thread tip-bot for Ingo Molnar
Commit-ID: b49f1a4be701c2386ccc7496dc8442cf26424d5c Gitweb: http://git.kernel.org/tip/b49f1a4be701c2386ccc7496dc8442cf26424d5c Author: Ingo Molnar AuthorDate: Sat, 28 Feb 2015 10:16:27 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:17:44 -0300 perf tools: Impr

[tip:perf/core] perf tools: Improve 'libbabel' feature check failure message

2015-03-02 Thread tip-bot for Ingo Molnar
Commit-ID: de5349fa439dd32d432cd401eb2decfae20b9f74 Gitweb: http://git.kernel.org/tip/de5349fa439dd32d432cd401eb2decfae20b9f74 Author: Ingo Molnar AuthorDate: Sat, 28 Feb 2015 10:18:49 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:21:41 -0300 perf tools: Impr

[tip:perf/core] perf tools: Improve libperl detection message

2015-03-02 Thread tip-bot for Ingo Molnar
Commit-ID: a954e68402f9cac000ad7ea57df6040fe5ef455a Gitweb: http://git.kernel.org/tip/a954e68402f9cac000ad7ea57df6040fe5ef455a Author: Ingo Molnar AuthorDate: Sat, 28 Feb 2015 09:39:09 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:15:55 -0300 perf tools: Impr

[tip:perf/core] perf tools: Improve Python feature detection messages

2015-03-02 Thread tip-bot for Ingo Molnar
Commit-ID: 6c5aa23704e2786eb1a2a733165eef95c4375f41 Gitweb: http://git.kernel.org/tip/6c5aa23704e2786eb1a2a733165eef95c4375f41 Author: Ingo Molnar AuthorDate: Sat, 28 Feb 2015 09:33:45 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:13:51 -0300 perf tools: Impr

[tip:perf/core] perf tools: Add PERF-FEATURES to the .gitignore file

2015-03-02 Thread tip-bot for Ingo Molnar
Commit-ID: 97fe9253592241572711d3c1818c0b586d2f34b2 Gitweb: http://git.kernel.org/tip/97fe9253592241572711d3c1818c0b586d2f34b2 Author: Ingo Molnar AuthorDate: Sat, 28 Feb 2015 09:12:48 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:06:20 -0300 perf tools: Add

[tip:perf/core] perf tools: Remove annoying extra message from the features build

2015-03-02 Thread tip-bot for Ingo Molnar
Commit-ID: a6a76ba9ea03fe22eb28a6a19482d547b8773001 Gitweb: http://git.kernel.org/tip/a6a76ba9ea03fe22eb28a6a19482d547b8773001 Author: Ingo Molnar AuthorDate: Sat, 28 Feb 2015 09:17:50 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:07:35 -0300 perf tools: Remo

[tip:perf/core] perf record: Get rid of -l option from Documentation

2015-03-02 Thread tip-bot for Namhyung Kim
Commit-ID: 08b23f4e635fa42a1d3ebdf31b8bb720f17d6c14 Gitweb: http://git.kernel.org/tip/08b23f4e635fa42a1d3ebdf31b8bb720f17d6c14 Author: Namhyung Kim AuthorDate: Mon, 2 Mar 2015 13:53:58 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:04:07 -0300 perf record: Get

[tip:perf/core] perf tools: Fix build error on ARCH=i386/x86_64/ sparc64

2015-03-02 Thread tip-bot for Namhyung Kim
Commit-ID: b11db6581beaccef8ae9a388ae96074aa5cc144f Gitweb: http://git.kernel.org/tip/b11db6581beaccef8ae9a388ae96074aa5cc144f Author: Namhyung Kim AuthorDate: Mon, 2 Mar 2015 13:31:03 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:01:42 -0300 perf tools: Fix

[tip:perf/core] perf record: Document --group option

2015-03-02 Thread tip-bot for Namhyung Kim
Commit-ID: 9a75606ca06d94aab1ed0dbe96935e3f89dfb81c Gitweb: http://git.kernel.org/tip/9a75606ca06d94aab1ed0dbe96935e3f89dfb81c Author: Namhyung Kim AuthorDate: Mon, 2 Mar 2015 12:13:33 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 12:04:45 -0300 perf record: Doc

[tip:perf/core] perf tools: Fix FORK after COMM when synthesizing records for pre-existing threads

2015-03-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4aa5f4f7bb8bc41cba15bcd0d80c4fb085027d6b Gitweb: http://git.kernel.org/tip/4aa5f4f7bb8bc41cba15bcd0d80c4fb085027d6b Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 27 Feb 2015 19:52:10 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 11:51:30 -0300 per

[tip:perf/core] perf stat: Report unsupported events properly

2015-03-02 Thread tip-bot for Suzuki K. Poulose
Commit-ID: 3b4331d9a4f2d99603c38bfcac79943b7c6c5439 Gitweb: http://git.kernel.org/tip/3b4331d9a4f2d99603c38bfcac79943b7c6c5439 Author: Suzuki K. Poulose AuthorDate: Fri, 13 Feb 2015 18:40:58 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 11:51:17 -0300 perf stat:

[tip:perf/core] perf tools: Compare JOBS to 0 after grep

2015-03-02 Thread tip-bot for David Ahern
Commit-ID: c65568c5456e5216e5467e81d1e04c1f5bdd453f Gitweb: http://git.kernel.org/tip/c65568c5456e5216e5467e81d1e04c1f5bdd453f Author: David Ahern AuthorDate: Wed, 18 Feb 2015 18:59:31 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 11:51:00 -0300 perf tools: Comp

[tip:perf/core] perf tools: Only include tsc file for x86

2015-03-02 Thread tip-bot for David Ahern
Commit-ID: ecefde629fadd3fcca2ea4c6a799d6e6aab8781f Gitweb: http://git.kernel.org/tip/ecefde629fadd3fcca2ea4c6a799d6e6aab8781f Author: David Ahern AuthorDate: Thu, 19 Feb 2015 13:22:33 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 2 Mar 2015 11:50:08 -0300 perf tools: Only

Re: [GIT PULL 00/20] perf/core improvements and fixes

2015-03-02 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > This one has the thread reference counting, that I tested using 'perf > probe': > > perf probe -x ~/bin/perf 'thread__delete:4 thread refcnt=thread->refcnt > tid=thread->tid' > perf probe -x ~/bin/perf 'thread__get:1 thread refcnt=th

Re: [PATCH] ARM: dts: imx: Add dr_mode host setting to all host-only usb instances

2015-03-02 Thread Peter Chen
On Tue, Mar 03, 2015 at 11:41:35AM +0800, Shawn Guo wrote: > > On Fri, Feb 27, 2015 at 09:06:00AM -0500, Matt Porter wrote: > > The chipidea driver adds an extra line of spam to the log when a > > host-only chipidea instance is left set to the default of a dual role > > controller. > > > > [2

linux-next: Tree for Mar 3

2015-03-02 Thread Stephen Rothwell
Hi all, Changes since 20150302: The md tree still had its build failure so I applied a fix patch. The clk tree still had its build failure so I again used the version from next-20150225. Non-merge commits (relative to Linus' tree): 2134 files changed, 64110 insertions(+), 50104 dele

Re: [PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-02 Thread Eric Dumazet
On Tue, 2015-03-03 at 12:24 +0800, Fred Chou wrote: > From: Fred Chou > > The temporary buffer to hold firmware data is not really needed, > and memcpy can be avoided by using data pointer instead. > > Signed-off-by: Fred Chou > --- > drivers/net/wireless/ath/ath9k/hif_usb.c | 12 ++--

Re: [PATCH 2/2] ARM: rockchip: disable watchdog during suspend

2015-03-02 Thread Chris Zhong
On 03/03/2015 04:50 AM, Heiko Stuebner wrote: Hi Chris, Am Montag, 9. Februar 2015, 21:12:23 schrieb Chris Zhong: The watchdog clock should be disable in dw_wdt_suspend, but we set a dummy clock to watchdog for rk3288. So the watchdog will continue to work during suspend. And we switch the sys

RE: Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2015-03-02 Thread Kweh, Hock Leong
> -Original Message- > From: Matt Fleming [mailto:m...@console-pimps.org] > Sent: Monday, March 02, 2015 8:30 PM > > On Mon, 02 Mar, at 10:59:00AM, Kweh Hock Leong wrote: > > > -Original Message- > > > From: Borislav Petkov [mailto:b...@alien8.de] > > > Sent: Wednesday, February 25

Re: [PATCH v2] ARM: dts: warp: Add initial WaRP Board support

2015-03-02 Thread Shawn Guo
On Tue, Mar 03, 2015 at 12:41:45AM -0300, Otavio Salvador wrote: > The WaRP Board is a Wearable Reference Plaform. The board features: > > - Freescale i.MX6 SoloLite processor with 512MB of RAM > - Freescale FXOS8700CQ 6-axis Xtrinsic sensor > - Freescale Kinetis KL16 MCU > - Freescale Xtrinsi

[PATCH]: rtc: ds1685: Fix sparse warnings

2015-03-02 Thread Joshua Kinard
From: Joshua Kinard Fix two minor sparse warnings: CHECK drivers/rtc/rtc-ds1685.c drivers/rtc/rtc-ds1685.c:2178:1: warning: function 'ds1685_rtc_poweroff' with external linkage has definition drivers/rtc/rtc-ds1685.c:802:23: warning: Using plain integer as NULL pointer Signed-off-by: Joshua

Re: [PATCH 4/4] pinctrl: tegra: add a driver for Tegra210

2015-03-02 Thread Alexandre Courbot
On Wed, Feb 25, 2015 at 6:00 AM, Stephen Warren wrote: > From: Stephen Warren > > Tegra210's pinmux supports a different set of pins/options than earlier > SoCs, so requires its own driver (well, table of pin-specific data). > > Cc: devicet...@vger.kernel.org > Signed-off-by: Stephen Warren The

Re: [PATCH 1/2] ARM: rockchip: decrease the wait time for resume

2015-03-02 Thread Chris Zhong
On 03/03/2015 04:47 AM, Heiko Stuebner wrote: Am Montag, 9. Februar 2015, 21:12:22 schrieb Chris Zhong: The delay time for wait the 24MHz OSC stabilization is 750ms, and the delay time for wait the external PMU stabilization is 750ms too, let's decrease them to 30ms. just to understand whats h

Re: [GIT PULL] Samsung Thermal fixes for v4.0-rc2

2015-03-02 Thread Eduardo Valentin
On Mon, Mar 02, 2015 at 11:43:47AM +0100, Lukasz Majewski wrote: > Dear Eduardo, > > Please find my first pull request for Samsung Thermal fixes targeting > v4.0-rc2. > Pulled. Thanks. Couple of minor comments though (check next on your pull) > Changes: > - Exynos7 power down detection mode f

Re: [Xen-devel] [PATCH] x86/xen: Initialize cr4 shadow for 64-bit PV(H) guests

2015-03-02 Thread Luis R. Rodriguez
On Mon, Feb 23, 2015 at 9:09 AM, David Vrabel wrote: > On 23/02/15 16:01, Boris Ostrovsky wrote: >> Commit 1e02ce4cccdc ("x86: Store a per-cpu shadow copy of CR4") >> introduced CR4 shadows. >> >> These shadows are initialized in early boot code. The commit missed >> initialization for 64-bit PV(H

Re: [regression v4.0-rc1] mm: IPIs from TLB flushes causing significant performance degradation.

2015-03-02 Thread Dave Chinner
On Mon, Mar 02, 2015 at 06:37:47PM -0800, Linus Torvalds wrote: > On Mon, Mar 2, 2015 at 6:22 PM, Linus Torvalds > wrote: > > > > There might be some other case where the new "just change the > > protection" doesn't do the "oh, but it the protection didn't change, > > don't bother flushing". I don

[PATCH] Fixing style warnings.

2015-03-02 Thread cfredric
Signed-off-by: cfredric --- drivers/usb/core/buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/buffer.c b/drivers/usb/core/buffer.c index 506b969..89f2e77 100644 --- a/drivers/usb/core/buffer.c +++ b/drivers/usb/core/buffer.c @@ -70,7 +70,7 @@ int hcd

[PATCH 1/3] early kprobes: make kprobes_on_ftrace_initialized public available.

2015-03-02 Thread Wang Nan
That var is useful for x86 recover_probed_instruction() for recovering ftraced instructions, to make it possible to determine whether the instruction has been converted to nop by ftrace. I will merge this patch into next version of early kprobe series. Signed-off-by: Wang Nan --- include/linux/

[PATCH 2/3] ftrace/x86: don't return error if other makes a same code change.

2015-03-02 Thread Wang Nan
In ftrace_modify_code_direct(), if the target instruction has already been modified by other to the desire instruction, don't return error. This patch is for early kprobe. If an early kprobe is unregistered before ftrace is ready, the instruction may have already been restored to NOP. Signed-off-

[PATCH 3/3] early kprobes: x86: don't try to recover ftraced instruction before ftrace get ready.

2015-03-02 Thread Wang Nan
Before ftrace convertin instruction to nop, if an early kprobe is registered then unregistered, without this patch its first bytes will be replaced by head of NOP, which may confuse ftrace. Actually, since we have a patch which convert ftrace entry to nop when probing, this problem should never be

[PATCH 0/3] early kprobes: Fix bug in unregistering early kprobe before kprobe is ready.

2015-03-02 Thread Wang Nan
In my RFC patch series of early kprobes, unregistering early kprobe on ftrace triggers ftrace_bug(). This series of patch provides a fix. I'll merge them in next version of early kprobe patch series. -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH] NFC: st21nfca: fix st21nfca_get_iso14443_3_uid data copy

2015-03-02 Thread Nicolas Iooss
st21nfca_get_iso14443_3_uid() does not correctly copy the uid from uid_skb->data to its gate parameter. "gate = uid_skb->data;" only puts a pointer to uid_skb->data to the local variable gate. This means that in st21nfca_hci_target_from_gate() the content of "u8 uid[NFC_NFCID1_MAXSIZE]" local var

Re: [Debug 0/2] Fix regressions caused by commit 593669c2ac0f

2015-03-02 Thread Jiang Liu
On 2015/3/3 12:34, Dave Airlie wrote: > On 3 March 2015 at 14:25, Jiang Liu wrote: >> Commit 593669c2ac0f (x86/PCI/ACPI: Use common ACPI resource interfaces >> to simplify implementation) causes regression to several platforms, >> which is caused by stricter checks in new ACPI resource parsing c

[PATCH 7/9] selftests/timers: Use implicit rules

2015-03-02 Thread Michael Ellerman
There's no need to open-code the build rules, use the implicit ones. This has the nice side effect of enabling cross compilation. Signed-off-by: Michael Ellerman --- tools/testing/selftests/timers/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing

[PATCH 3/9] selftests: Add install support for the powerpc tests

2015-03-02 Thread Michael Ellerman
The bulk of the selftests are actually below the powerpc sub directory. This adds support for installing them, when on a powerpc machine, or if ARCH and CROSS_COMPILE are set appropriately. This is a little more complicated because of the sub directory structure under powerpc, but much of the com

[PATCH 6/9] selftests: Set CC using CROSS_COMPILE once in lib.mk

2015-03-02 Thread Michael Ellerman
This avoids repeating the logic in every Makefile. We mimic the top-level Makefile and use $(CROSS_COMPILE)gcc. Signed-off-by: Michael Ellerman --- tools/testing/selftests/efivarfs/Makefile | 1 - tools/testing/selftests/exec/Makefile | 1 - tools/testing/selftests/kcmp/Makefile | 1 - t

[PATCH 4/9] kbuild: add a new kselftest_install make target to install selftests

2015-03-02 Thread Michael Ellerman
Add a new make target to install kernel selftests. This new target will build and install selftests. The default is just $(objtree)/selftests. This is preferable to something based on $(INSTALL_MOD_PATH) (which defaults to /), as it allows a normal user to install the tests. This is similar to the

[PATCH 9/9] selftests/mount: Use implicit rules

2015-03-02 Thread Michael Ellerman
There's no need to open-code the build rules, use the implicit ones. This has the nice side effect of enabling cross compilation. Signed-off-by: Michael Ellerman --- tools/testing/selftests/mount/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/testing/

[PATCH 8/9] selftests/mqueue: Use implicit rules

2015-03-02 Thread Michael Ellerman
There's no need to open-code the build rules, use the implicit ones. This has the nice side effect of enabling cross compilation. Signed-off-by: Michael Ellerman --- tools/testing/selftests/mqueue/Makefile | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tools

[PATCH 1/9] selftests: Introduce minimal shared logic for running tests

2015-03-02 Thread Michael Ellerman
This adds a Make include file which most selftests can then include to get the run_tests logic. On its own this has the advantage of some reduction in repetition, and also means the pass/fail message is defined in fewer places. However the key advantage is it will allow us to implement install ve

[PATCH 2/9] selftests: Add install target

2015-03-02 Thread Michael Ellerman
This adds make install support to selftests. The basic usage is: $ cd tools/testing/selftests $ make install That installs into tools/testing/selftests/install, which can then be copied where ever necessary. The install destination is also configurable using eg: $ INSTALL_PATH=/mnt/selftests ma

[PATCH 5/9] kbuild: Don't pass -rR to selftest makefiles

2015-03-02 Thread Michael Ellerman
The makefiles under tools/testing/selftests are not real kbuild makefiles, they are regular stand alone makefiles. As such they *do* want all the standard implicit rules and variables defined. So before calling those makefiles, filter -rR out of MAKEFLAGS. Without this not all the selftests are b

[PATCH] selftests: Add install, generate tar, and run_kselftest tools

2015-03-02 Thread Shuah Khan
kselftest_install.sh tool adds support for installing selftests at user specified location/kselftest. By default this tool will install selftests in the selftests/kselftest directory. For example, kselftest_install /tmp will install tests under /tmp/kselftest gen_kselftest_tar.sh tool will generat

Re: [PATCH v2 1/3] ARM: OMAP2: hwmod: AM43XX: Add hwmod support for HDQ-1W

2015-03-02 Thread Paul Walmsley
On Mon, 2 Mar 2015, Vignesh R wrote: > From: "Poddar, Sourav" > > These adds hwmod data for hdq/1w driver on AM43xx. > > Signed-off-by: Vignesh R > --- > Change log: > v2: > * Add SYSC_HAS_AUTOIDLE flag. > > arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 36 > ++ >

Re: [Debug 0/2] Fix regressions caused by commit 593669c2ac0f

2015-03-02 Thread Dave Airlie
On 3 March 2015 at 14:25, Jiang Liu wrote: > Commit 593669c2ac0f (x86/PCI/ACPI: Use common ACPI resource interfaces > to simplify implementation) causes regression to several platforms, > which is caused by stricter checks in new ACPI resource parsing code > and BIOSes report incorrect ACPI resour

Re: Re: [PATCH perf/core 2/4] perf-probe: Fix to handle aliased symbols in glibc

2015-03-02 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 03, 2015 at 01:11:17PM +0900, Masami Hiramatsu escreveu: > (2015/03/03 12:05), Arnaldo Carvalho de Melo wrote: > > Em Mon, Mar 02, 2015 at 11:45:12PM -0300, Arnaldo Carvalho de Melo escreveu: > >> Em Tue, Mar 03, 2015 at 11:39:02AM +0900, Masami Hiramatsu escreveu: > >>> (2015/03/03 0:4

Re: [GIT PULL] clk/samsung: clk support for Exynos 5433 SoC

2015-03-02 Thread Chanwoo Choi
Dear Mike, On 03/03/2015 03:24 AM, Mike Turquette wrote: > Quoting Chanwoo Choi (2015-02-27 16:52:59) >> Dear Mike and Sylwester, >> >> Gently ping. > > Hello, > > I'll merge this into clk-next towards 4.1 later this week. v3.19 was > released on February 8, so this merge request came too late f

[Debug 0/2] Fix regressions caused by commit 593669c2ac0f

2015-03-02 Thread Jiang Liu
Commit 593669c2ac0f (x86/PCI/ACPI: Use common ACPI resource interfaces to simplify implementation) causes regression to several platforms, which is caused by stricter checks in new ACPI resource parsing code and BIOSes report incorrect ACPI resource descriptors. So try to relax the check to avoid

[Debug 2/2] x86/PCI/ACPI: Relax ACPI resource descriptor checks to work around BIOS bugs

2015-03-02 Thread Jiang Liu
Some BIOSes report incorrect length for ACPI address space descriptors, so relax the checks to avoid regressions. Signed-off-by: Jiang Liu --- drivers/acpi/resource.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index

[Debug 1/2] x86/PCI/ACPI: Ignore resources consumed by host bridge itself

2015-03-02 Thread Jiang Liu
When parsing resources for PCI host bridge, we should ignore resources consumed by host bridge itself and only report window resources available to child PCI busses. Signed-off-by: Jiang Liu --- arch/x86/pci/acpi.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a

[PATCH] ath9k_htc: avoid memcpy when downloading firmware

2015-03-02 Thread Fred Chou
From: Fred Chou The temporary buffer to hold firmware data is not really needed, and memcpy can be avoided by using data pointer instead. Signed-off-by: Fred Chou --- drivers/net/wireless/ath/ath9k/hif_usb.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/driv

Re: [PATCH] kernel: Unlock after locking

2015-03-02 Thread David Rientjes
On Tue, 3 Mar 2015, Tapasweni Pathak wrote: > diff --git a/kernel/acct.c b/kernel/acct.c > index e6c10d1a..f592218 100644 > --- a/kernel/acct.c > +++ b/kernel/acct.c > @@ -161,6 +161,7 @@ again: > acct_put(res); > goto again; > } > + mutex_unlock(&res->lock);

Re: [RFC V3] mm: change mm_advise_free to clear page dirty

2015-03-02 Thread Minchan Kim
On Tue, Mar 03, 2015 at 11:59:17AM +0800, Wang, Yalin wrote: > > -Original Message- > > From: Minchan Kim [mailto:minchan@gmail.com] On Behalf Of Minchan Kim > > Sent: Tuesday, March 03, 2015 11:26 AM > > To: Wang, Yalin > > Cc: 'Michal Hocko'; 'Andrew Morton'; 'linux-kernel@vger.kernel

Re: [PATCH] ARM: dts: vf610: remove unused gpio-range-cells property

2015-03-02 Thread Shawn Guo
On Mon, Mar 02, 2015 at 04:58:01PM +0100, Stefan Agner wrote: > The anyway depricated gpio-range-cells property was never used > by the pin controller driver. This patch removes it. > > Signed-off-by: Stefan Agner Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH] ARM: imx: Fix trivial typo in comments

2015-03-02 Thread Shawn Guo
On Mon, Mar 02, 2015 at 03:45:05PM +0100, Yannick Guerrini wrote: > change 'mutliple' to 'multiple' > > Signed-off-by: Yannick Guerrini Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: Re: [PATCH perf/core 2/4] perf-probe: Fix to handle aliased symbols in glibc

2015-03-02 Thread Masami Hiramatsu
(2015/03/03 12:05), Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 02, 2015 at 11:45:12PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Tue, Mar 03, 2015 at 11:39:02AM +0900, Masami Hiramatsu escreveu: >>> (2015/03/03 0:46), Arnaldo Carvalho de Melo wrote: Em Mon, Mar 02, 2015 at 09:49:53PM +

Re: [PATCH net-next 02/14] ethernet: Use eth__addr instead of memset

2015-03-02 Thread Jeff Kirsher
On Mon, 2015-03-02 at 19:54 -0800, Joe Perches wrote: > Use the built-in function instead of memset. > > Signed-off-by: Joe Perches Acked-by: Jeff Kirsher for the changes to Intel's ixgbe driver... > --- > drivers/net/ethernet/amd/pcnet32.c | 2 +- > drivers/net/ethernet/broa

  1   2   3   4   5   6   7   8   9   10   >