Re: [PATCH] mac80211_hwsim: correctly register the platform driver

2013-04-24 Thread Martin Pitt
Hello Sasha, Sasha Levin [2013-04-24 0:40 -0400]: > Not registering a platform_driver would make us access garbage > when the platform callbacks under driver_register() kicks in. > > Signed-off-by: Sasha Levin Ah, thanks for catching this! I applied that patch and verified that it still works

Re: [PATCH v2] arm64: compiling issue, need add include/asm/vga.h file

2013-04-24 Thread Chen Gang
On 2013年04月24日 18:42, Catalin Marinas wrote: > On Wed, Apr 24, 2013 at 11:20:32AM +0100, Chen Gang wrote: >> For compiling with allmodconfig, need vga.h file, so generate it which >> just only include the asm-generic one. >> >> It is firstly used by drivers/gpu/drm/drm_irq.c. >> >> The related

Re: [PATCH 2/3 v14] iommu/fsl: Add additional iommu attributes required by the PAMU driver.

2013-04-24 Thread Joerg Roedel
On Tue, Apr 23, 2013 at 02:10:25PM +, Sethi Varun-B16395 wrote: > I think it's fine to have the header under linux, actually I also the > intel-iommu header under linux. Yes, the difference is that VT-d runs on x86 and on ia64. So there is no single arch where the header could be placed. The

Re: [PATCH v2] arm64: compiling issue, need add include/asm/vga.h file

2013-04-24 Thread Chen Gang
On 2013年04月24日 18:23, Will Deacon wrote: > On Wed, Apr 24, 2013 at 11:20:32AM +0100, Chen Gang wrote: >> > >> > For compiling with allmodconfig, need vga.h file, so generate it which >> > just only include the asm-generic one. >> > >> > It is firstly used by drivers/gpu/drm/drm_irq.c. >> > >> >

[RFC] device-tree.git automatic sync from linux.git

2013-04-24 Thread Ian Campbell
Hi, First off apologies for the large CC list -- I think this catches the arch list for all the arches with device tree source in the tree. Various folks have expressed an interest in eventually splitting the device tree bindings out of the Linux git repository into a separate tree. This should

Re: [PATCH 1/2 V2] iommu/amd: Add workaround for ERBT1312

2013-04-24 Thread Joerg Roedel
On Tue, Apr 23, 2013 at 09:22:45AM -0400, Don Dutile wrote: > Given other threads on this mail list (and I've seen crashes with same > problem) > where this type of logging during a flood of IOMMU errors will lock up the > machine, > is there something that can be done to break the do-while loop

[v3.9-rc8]: kernel BUG at mm/memcontrol.c:3994! (was: Re: [BUG][s390x] mm: system crashed)

2013-04-24 Thread Heiko Carstens
On Thu, Apr 18, 2013 at 09:13:03AM +0200, Heiko Carstens wrote: > Ok, thanks for verifying! I'll look into it; hopefully I can reproduce it > here as well. That seems to be a common code bug. I can easily trigger the VM_BUG_ON() below (when I force the system to swap): [ 48.347963]

Re: [PATCH v2] arm64: compiling issue, need add include/asm/vga.h file

2013-04-24 Thread Catalin Marinas
On Wed, Apr 24, 2013 at 11:20:32AM +0100, Chen Gang wrote: > For compiling with allmodconfig, need vga.h file, so generate it which > just only include the asm-generic one. > > It is firstly used by drivers/gpu/drm/drm_irq.c. > > The related error: > include/video/vga.h:22:21: fatal error:

Re: [PATCH 14/14] perf tools: Add document for perf-ftrace command

2013-04-24 Thread Namhyung Kim
On Tue, 23 Apr 2013 11:53:53 -0400, Steven Rostedt wrote: > On Tue, 2013-04-23 at 17:31 +0900, Namhyung Kim wrote: >> + 'perf ftrace live ' to see a live trace of kernel functions >> + via trace_pipe during executing the . If is not >> + specified, one of target options (-p, -a or -C) should

Re: "attempt to move .org backwards" still show up

2013-04-24 Thread Michael Neuling
Mike Qiu wrote: > 于 2013/4/24 16:31, Michael Ellerman 写道: > > On Wed, Apr 24, 2013 at 04:22:53PM +0800, Mike Qiu wrote: > >> Hi all > >> > >> I get an error message when I compile the source code in Power7 platform > >> use the newest upstream kernel. > > Hi Mike, > > > > It depends on what your

Re: [PATCH 02/14] perf util: Use evsel->name to get tracepoint_paths

2013-04-24 Thread Namhyung Kim
On Tue, 23 Apr 2013 09:07:20 -0400, Steven Rostedt wrote: >> + >> +if (pos->name && strchr(pos->name, ':')) { >> +char *str = strchr(pos->name, ':'); > > Why not make the above into: > > if (pos->name && (str = strchr(pos->name, ':'))) { > > ? I wanted not to

[PATCH] ARM: S5pv210: compiling issue, ARM_S3C64XX_CPUFREQ need CONFIG_CPU_FREQ_TABLE=y

2013-04-24 Thread Chen Gang
For arm S5pv210 with allmodconfig, ARM_S3C64XX_CPUFREQ need CONFIG_CPU_FREQ_TABLE=y, or will cause compiling issue. The related operation: + arm-linux-gnu-ld -EL -p --no-undefined -X --build-id -X -o .tmp_vmlinux1 -T /root/linux-next/arch/arm/kernel/vmlinux.lds arch/arm/kernel/head.o

Re: [PATCH] x86, efi: Fix a build warning

2013-04-24 Thread Matt Fleming
On 24/04/13 11:09, Borislav Petkov wrote: > From: Borislav Petkov > > Fix this: > > arch/x86/boot/compressed/eboot.c: In function ‘setup_efi_vars’: > arch/x86/boot/compressed/eboot.c:269:2: warning: passing argument 1 of > ‘efi_call_phys’ makes pointer from integer without a cast [enabled by

Re: [PATCH v2] arm64: compiling issue, need add include/asm/vga.h file

2013-04-24 Thread Will Deacon
On Wed, Apr 24, 2013 at 11:20:32AM +0100, Chen Gang wrote: > > For compiling with allmodconfig, need vga.h file, so generate it which > just only include the asm-generic one. > > It is firstly used by drivers/gpu/drm/drm_irq.c. > > The related error: > include/video/vga.h:22:21: fatal error:

[PATCH v2] arm64: compiling issue, need add include/asm/vga.h file

2013-04-24 Thread Chen Gang
For compiling with allmodconfig, need vga.h file, so generate it which just only include the asm-generic one. It is firstly used by drivers/gpu/drm/drm_irq.c. The related error: include/video/vga.h:22:21: fatal error: asm/vga.h: No such file or directory Signed-off-by: Chen Gang ---

Re: [PATCH V6 3/3] efi: Distinguish between "remaining space" and actually used space

2013-04-24 Thread Matthew Garrett
On Wed, 2013-04-24 at 18:08 +0800, joeyli wrote: > It causes the garbage size increased and remaining_size decreased. But > we still can create new variable because active_size doesn't increase > due to we delete variable before create new. So, the condition > "remaining_size - size <

Re: [PATCH] x86_32: Fix module version table mismatch.

2013-04-24 Thread James Hogan
On 24/04/13 02:00, H. Peter Anvin wrote: > On 04/23/2013 05:52 PM, H. Peter Anvin wrote: >> On 04/23/2013 05:40 AM, Tetsuo Handa wrote: >>> Commit a4b6a77b "module: fix symbol versioning with symbol prefixes" broke >>> loading of net/ipv6/ipv6.ko built with CONFIG_MODVERSIONS=y for x86_32. >> >>

Re: [PATCH V6 3/3] efi: Distinguish between "remaining space" and actually used space

2013-04-24 Thread joeyli
Hi all, 於 一,2013-04-15 於 13:09 -0700,Matthew Garrett 提到: > EFI implementations distinguish between space that is actively used by a > variable and space that merely hasn't been garbage collected yet. Space > that hasn't yet been garbage collected isn't available for use and so isn't > counted in

[PATCH] x86, efi: Fix a build warning

2013-04-24 Thread Borislav Petkov
From: Borislav Petkov Fix this: arch/x86/boot/compressed/eboot.c: In function ‘setup_efi_vars’: arch/x86/boot/compressed/eboot.c:269:2: warning: passing argument 1 of ‘efi_call_phys’ makes pointer from integer without a cast [enabled by default] In file included from

[RFC] The meaning of local_cpulist and local_cpus

2013-04-24 Thread Bian LuLu
Hi all, Recently, i read some codes of PCI portions. I think local_cpulist is a list about one kind of CPU and local_cpus is a mask of CPU. But i am not sure when and how i should use these two parameters. See http://lxr.linux.no/linux+v3.5.4/drivers/pci/pci-sysfs.c#L390 for details. Would

Re: [PATCH v8 8/8] ARM: dts: add pinctrl property for spi node for atmel SoC

2013-04-24 Thread Mark Brown
On Wed, Apr 03, 2013 at 02:03:52PM +0800, Wenyou Yang wrote: > Signed-off-by: Wenyou Yang Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v8 7/8] ARM: dts: add spi nodes for the atmel boards

2013-04-24 Thread Mark Brown
On Wed, Apr 03, 2013 at 02:03:05PM +0800, Wenyou Yang wrote: > From: Richard Genoud Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v8 6/8] ARM: dts: add spi nodes for atmel SoC

2013-04-24 Thread Mark Brown
On Wed, Apr 03, 2013 at 02:02:18PM +0800, Wenyou Yang wrote: > From: Richard Genoud > > Signed-off-by: Richard Genoud Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v8 5/8] ARM: at91: add clocks for spi dt entries

2013-04-24 Thread Mark Brown
On Wed, Apr 03, 2013 at 02:01:22PM +0800, Wenyou Yang wrote: > From: Richard Genoud Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v8 4/8] spi/spi-atmel: BUG: fix doesn' support 16 bits transfers using PIO

2013-04-24 Thread Mark Brown
On Wed, Apr 03, 2013 at 02:00:05PM +0800, Wenyou Yang wrote: > From: Richard Genoud > > Fix using PIO transfer mode only support 8 bits transfer, doesn't support 16 > bits. This doesn't apply to my -next branch, please check and regenerate. signature.asc Description: Digital signature

Re: [PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-24 Thread Mark Brown
On Wed, Apr 03, 2013 at 01:59:19PM +0800, Wenyou Yang wrote: > From: Nicolas Ferre > > Add dmaengine support. > > Using "has_dma_support" member of struct is used to select > the transfer mode: dmaengine or pdc. Applied, thanks. signature.asc Description: Digital signature

[PATCH] dma: tegra: implement suspend/resume callbacks

2013-04-24 Thread Laxman Dewangan
Implement suspend/resume callbacks to store APB DMA channel's register on suspend and restore APB DMA channel's register on resume. Signed-off-by: Laxman Dewangan --- drivers/dma/tegra20-apb-dma.c | 65 + 1 files changed, 65 insertions(+), 0

Re: [PATCH] swap: redirty page if page write fails on swap file

2013-04-24 Thread Jerome Marchand
On 04/22/2013 10:37 PM, Andrew Morton wrote: > On Wed, 17 Apr 2013 14:11:55 +0200 Jerome Marchand > wrote: > >> >> Since commit 62c230b, swap_writepage() calls direct_IO on swap files. >> However, in that case page isn't redirtied if I/O fails, and is therefore >> handled afterwards as if it

Re: [PATCH] regulator: max8973: Don't override control1 variable when set ramp delay bits

2013-04-24 Thread Mark Brown
On Wed, Apr 24, 2013 at 12:14:55AM +0800, Axel Lin wrote: > Current code overrides control1 variable when setting ramp delay bits. > Fix it by just setting ramp_delay bits. Applied, thanks. Laxman, please check your acks can be cut'n'pasted - there's regularly things I need to fix up by hand.

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Ingo, On Wed, 24 Apr 2013 08:50:18 +0200, Ingo Molnar wrote: > * Pekka Enberg wrote: > >> Hello, >> >> On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >> >> This patchset implements a front-end tool for kernel's ftrace. It >> >> uses function_graph tracer by default and normal

Re: [PATCH V2 1/4] perf: Add hardware breakpoint address mask

2013-04-24 Thread Will Deacon
On Tue, Apr 23, 2013 at 04:18:46PM +0100, Jacob Shin wrote: > On Tue, Apr 23, 2013 at 04:02:40PM +0100, Will Deacon wrote: > > On Tue, Apr 23, 2013 at 03:40:57PM +0100, Jacob Shin wrote: > > > > perf stat -e mem:0x1000/0xf:w a.out > > > > Are you saying that this command would count any write

Re: OOM-killer and strange RSS value in 3.9-rc7

2013-04-24 Thread Michal Hocko
[CCing SL.B people and linux-mm list] Just for quick summary. The reporter sees OOM situations with almost whole memory filled with slab memory. This is a powerpc machine with 4G RAM. /proc/slabinfo shows that almost whole slab occupied memory is on free lists which for some reason don't get

[PATCH 04/26] perf tools: Move programs check into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving programs check into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David Ahern

[PATCH 02/26] perf tools: Fix tab vs spaces issue in Makefile ifdef/endif

2013-04-24 Thread Jiri Olsa
Unmatched spaces/tabs Makefile indentation could make the Makefile fails. While the tabed line could be considered sometimes as follow up for rule command, the mixed space tab meses up with makefile if conditions. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc:

[PATCH 05/26] perf tools: Move compiler and linker flags check into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving compiler and linker flags check into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg

[PATCH 01/26] perf tools: Add automated make test suite

2013-04-24 Thread Jiri Olsa
Adding automated test for testing the build process. To run it you need to be in perf directory or specify one with PERF variable. It's also possible to specify optional Makefile to test via MK variable. Whole suite is executed twice, the second time with O=/tmp/xxx option added. To run the

[PATCH 09/26] perf tools: Move libaudit check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving libaudit check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 06/26] perf tools: Move libelf check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving libelf check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 13/26] perf tools: Move libpython check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving libpython check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 08/26] perf tools: Move libunwind check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving libunwind check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 17/26] perf tools: Move paths config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving paths config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David Ahern

[tip:sched/core] sched: Prevent to re-select dst-cpu in load_balance()

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: e02e60c109ca70935bad1131976bdbf5160cf576 Gitweb: http://git.kernel.org/tip/e02e60c109ca70935bad1131976bdbf5160cf576 Author: Joonsoo Kim AuthorDate: Tue, 23 Apr 2013 17:27:42 +0900 Committer: Ingo Molnar CommitDate: Wed, 24 Apr 2013 08:52:46 +0200 sched: Prevent to re-select

[tip:sched/core] sched: Rename load_balance_tmpmask to load_balance_mask

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: e6252c3ef4b9cd251b53f7b68035f395d20b044e Gitweb: http://git.kernel.org/tip/e6252c3ef4b9cd251b53f7b68035f395d20b044e Author: Joonsoo Kim AuthorDate: Tue, 23 Apr 2013 17:27:41 +0900 Committer: Ingo Molnar CommitDate: Wed, 24 Apr 2013 08:52:45 +0200 sched: Rename

[PATCH 15/26] perf tools: Move stdlib check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving stdlib check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

Re: [PATCHv2] arm: Preserve TPIDRURW on context switch

2013-04-24 Thread Will Deacon
Hi Andrew, On Tue, Apr 23, 2013 at 11:42:22PM +0100, André Hentschel wrote: > Am 23.04.2013 11:15, schrieb Will Deacon: > > You could introduce `get' tls functions, which don't do anything for CPUs > > without the relevant registers. > > Before i have another round of testing and patch

[PATCH 18/26] perf tools: Final touches for CHK config move

2013-04-24 Thread Jiri Olsa
Removing no longer needed ifdefs. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David Ahern ---

[PATCH 14/26] perf tools: Move libbfd check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving libbfd check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 16/26] perf tools: Move libnuma check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving libnuma check config into config/Makefile Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 11/26] perf tools: Move gtk2 check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving gtk2 check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH] VSOCK: Drop bogus __init annotation from vsock_init_tables()

2013-04-24 Thread Geert Uytterhoeven
If gcc (e.g. 4.1.2) decides not to inline vsock_init_tables(), this will cause a section mismatch: WARNING: net/vmw_vsock/vsock.o(.text+0x1bc): Section mismatch in reference from the function __vsock_core_init() to the function .init.text:vsock_init_tables() The function __vsock_core_init()

[PATCH 25/26] perf tools: Remove '?=' Makefile STRIP assignment

2013-04-24 Thread Jiri Olsa
No need to use '?=' assignment for STRP variable, the standard '=' does the same job without creating confusion. Suggested-by: Namhyung Kim Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker

[PATCH 26/26] perf tools: Add missing liblk.a dependency for python/perf.so

2013-04-24 Thread Jiri Olsa
Adding missing liblk.a dependency for python/perf.so. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc:

[PATCH 21/26] perf tools: Switch to full patch C include directories

2013-04-24 Thread Jiri Olsa
Switching to full patch C include directories, to make the includes clear. Plus little include cleanup. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav

Re: [PATCH 2/3] spi: s3c64xx: Added provision for dedicated cs pin

2013-04-24 Thread Girish KS
On Tue, Apr 23, 2013 at 8:12 PM, Mark Brown wrote: > On Mon, Apr 22, 2013 at 12:39:24PM +0530, Girish K S wrote: >> From: Girish K S >> >> The existing driver supports gpio based /cs signal. >> For controller's that have one device per controller, >> the slave device's /cs signal might be

[PATCH 24/26] perf tools: Replace multiple line assignment with multiple statements

2013-04-24 Thread Jiri Olsa
Replacing multiple line assignment with multiple statements. Suggested-by: Sam Ravnborg Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane

[PATCH 22/26] perf tools: Add NO_BIONIC variable to confiure bionic setup

2013-04-24 Thread Jiri Olsa
Adding NO_BIONIC variable to confiure bionic setup Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 23/26] perf tools: Replace tabs with spaces for all non-commands statements

2013-04-24 Thread Jiri Olsa
Replacing tabs with spaces for all non-commands statements in 'Makefile' and 'config/Makefile' files. Suggested-by: Sam Ravnborg Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc:

[PATCH 19/26] perf tools: Merge all *CFLAGS* make variable into CFLAGS

2013-04-24 Thread Jiri Olsa
Merging all *CFLAGS* make variable into CFLAGS to eliminate all special *_CFLAGS_* variables and make the setup clear. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc:

[PATCH 12/26] perf tools: Move libperl check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving libperl check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 20/26] perf tools: Merge all *LDFLAGS* make variable into LDFLAGS

2013-04-24 Thread Jiri Olsa
Merging all *LDFLAGS* make variable into LDFLAGS to eliminate all special *LDFLAGS* variables and make the setup clear. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim

Re: [RFC PATCH 1/2] regulator: core: Add regulator_set_voltage_min()

2013-04-24 Thread Mark Brown
On Tue, Apr 23, 2013 at 09:45:09PM +0300, Taras Kondratiuk wrote: To repeat, you should leave blank lines between paragraphs and delete irrelevant context to improve the legibility of your mails and help people find whatever content you're adding. > On 04/23/2013 04:45 PM, Mark Brown wrote: >

[PATCH 10/26] perf tools: Move slang check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving slang check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCH 07/26] perf tools: Move libdw check config into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving libdw check config into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David

[PATCHv2 00/26] perf tools: Makefile changes

2013-04-24 Thread Jiri Olsa
hi, this patchset mostly consists of moving the config 'CHK' stuff into config/Makefile which will be also used for kbuild afterwards. I'm sending now just the Makefile changes separated from the kbuild stuff, which will come later. The original RFC is here:

[PATCH 03/26] perf tools: Move arch check into config/Makefile

2013-04-24 Thread Jiri Olsa
Moving arch check into config/Makefile. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Borislav Petkov Cc: Stephane Eranian Cc: Sam Ravnborg Cc: David Ahern ---

Re: [PATCH 1/3] spi: s3c64xx: added support for polling mode

2013-04-24 Thread Girish KS
On Tue, Apr 23, 2013 at 8:45 PM, Mark Brown wrote: > On Mon, Apr 22, 2013 at 12:39:23PM +0530, Girish K S wrote: >> From: Girish K S >> >> The 64xx spi driver supports partial polling mode. >> Only the last chunk of the transfer length is transferred >> or recieved in polling mode. > > This

Re: [PATCH 2/2] f2fs: add REQ_META about metadata requests for submit bio

2013-04-24 Thread Jaegeuk Kim
2013-04-24 (수), 15:08 +0900, Namjae Jeon: > >>> > >>> + if (type == META) > >> > >> Should be if (btype == META). > >> Thanks, > > Yes, Right :) > > Thanks for fixing. > Hi. Jaegeuk. > Should I resend the fixed patch as above your comment ? I can handle it. :) Thanks, > > Thanks. > >> > >>> +

[tip:sched/core] sched: Move up affinity check to mitigate useless redoing overhead

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: d31980846f9688db3ee3e5863525c6ff8ace4c7c Gitweb: http://git.kernel.org/tip/d31980846f9688db3ee3e5863525c6ff8ace4c7c Author: Joonsoo Kim AuthorDate: Tue, 23 Apr 2013 17:27:40 +0900 Committer: Ingo Molnar CommitDate: Wed, 24 Apr 2013 08:52:44 +0200 sched: Move up affinity

[tip:sched/core] sched: Don' t consider other cpus in our group in case of NEWLY_IDLE

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: cfc03118047172f5bdc58d63c607d16d33ce5305 Gitweb: http://git.kernel.org/tip/cfc03118047172f5bdc58d63c607d16d33ce5305 Author: Joonsoo Kim AuthorDate: Tue, 23 Apr 2013 17:27:39 +0900 Committer: Ingo Molnar CommitDate: Wed, 24 Apr 2013 08:52:44 +0200 sched: Don't consider other

[tip:sched/core] sched: Explicitly cpu_idle_type checking in rebalance_domains()

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: de5eb2dd7f171ee8a45d23cd41aa2efe9ab922b3 Gitweb: http://git.kernel.org/tip/de5eb2dd7f171ee8a45d23cd41aa2efe9ab922b3 Author: Joonsoo Kim AuthorDate: Tue, 23 Apr 2013 17:27:38 +0900 Committer: Ingo Molnar CommitDate: Wed, 24 Apr 2013 08:52:43 +0200 sched: Explicitly

[tip:sched/core] sched: Change position of resched_cpu() in load_balance()

2013-04-24 Thread tip-bot for Joonsoo Kim
Commit-ID: f1cd0858100c67273f2c74344e0c464344c4a982 Gitweb: http://git.kernel.org/tip/f1cd0858100c67273f2c74344e0c464344c4a982 Author: Joonsoo Kim AuthorDate: Tue, 23 Apr 2013 17:27:37 +0900 Committer: Ingo Molnar CommitDate: Wed, 24 Apr 2013 08:52:43 +0200 sched: Change position of

Re: [PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-24 Thread Michael S. Tsirkin
On Tue, Apr 23, 2013 at 02:40:39PM +0800, Jason Wang wrote: > commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the > creation of multiqueue tuntap since it forbids to create more than one queues > for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we

Re: [PATCH 3/8] irq-imgpdc: add ImgTec PDC irqchip driver

2013-04-24 Thread Thomas Gleixner
On Wed, 24 Apr 2013, James Hogan wrote: > Thanks for the review Thomas! > > On 23/04/13 16:09, Thomas Gleixner wrote: > > On Tue, 23 Apr 2013, James Hogan wrote: >> + spinlock_t lock; > > > > raw_spinlock_t please > > Okay. > > If I understand right, this would be because on

[tip:x86/mm] x86/iommu/dmar: Remove warning for HPET scope type

2013-04-24 Thread tip-bot for Linn Crosetto
Commit-ID: 13f72756da86f155898e2c2022f7b3a106c3742e Gitweb: http://git.kernel.org/tip/13f72756da86f155898e2c2022f7b3a106c3742e Author: Linn Crosetto AuthorDate: Tue, 23 Apr 2013 12:26:45 -0600 Committer: Ingo Molnar CommitDate: Wed, 24 Apr 2013 08:45:47 +0200 x86/iommu/dmar: Remove

[tip:x86/platform] x86/olpc/xo1/sci: Don't call input_free_device () after input_unregister_device()

2013-04-24 Thread tip-bot for Wei Yongjun
Commit-ID: 3482e664dc7f44e0ffb1fcf1de7af74977748f31 Gitweb: http://git.kernel.org/tip/3482e664dc7f44e0ffb1fcf1de7af74977748f31 Author: Wei Yongjun AuthorDate: Wed, 24 Apr 2013 10:46:24 +0800 Committer: Ingo Molnar CommitDate: Wed, 24 Apr 2013 08:44:47 +0200 x86/olpc/xo1/sci: Don't

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Pekka, On Tue, 23 Apr 2013 20:19:37 +0300, Pekka Enberg wrote: > Hello, > > On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >>> This patchset implements a front-end tool for kernel's ftrace. It >>> uses function_graph tracer by default and normal function tracer is >>> also supported.

Re: [PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-24 Thread Richard Genoud
2013/4/23 Mark Brown : > On Wed, Apr 03, 2013 at 12:23:35PM +0200, Richard GENOUD wrote: > > Richard, delete irrelevant context from your mails - it makes it much > easier to find the content you added. > >> On [mer., 03.04.2013 13:59:19], Wenyou Yang wrote: > >> As I did some work on that one: >>

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-24 Thread Namhyung Kim
Hi Steve, On Tue, 23 Apr 2013 11:58:01 -0400, Steven Rostedt wrote: > On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: >> Hello, >> >> This patchset implements a front-end tool for kernel's ftrace. It >> uses function_graph tracer by default and normal function tracer is >> also

Re: [PATCH] Revert "V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo"

2013-04-24 Thread Laurent Pinchart
Hi Adam, Thanks for the patch. On Wednesday 24 April 2013 15:57:19 adam@canonical.com wrote: > From: Adam Lee > > This reverts commit 3dae8b41dc5651f8eb22cf310e8b116480ba25b7. > > 1, I do have a Chicony webcam, implements autosuspend in a broken way, > make `poweroff` performs rebooting

Re: [PATCH 3/8] irq-imgpdc: add ImgTec PDC irqchip driver

2013-04-24 Thread James Hogan
Thanks for the review Thomas! On 23/04/13 16:09, Thomas Gleixner wrote: > On Tue, 23 Apr 2013, James Hogan wrote: >> +/** >> + * struct pdc_intc_priv - private pdc interrupt data. >> + * @nr_perips: Number of peripheral interrupt signals. >> + * @nr_syswakes:Number of syswake

[PATCH v2] pinctrl: move subsystem mutex to pinctrl_dev struct

2013-04-24 Thread Linus Walleij
From: Patrice Chotard This mutex avoids deadlock in case of use of multiple pin controllers. Before this modification, by using a global mutex, deadlock appeared when, for example, a call to pinctrl_pins_show() locked the pinctrl_mutex, called the ops->pin_dbg_show of a particular pin

Re: eGalax touchscreen regression

2013-04-24 Thread Artem Bityutskiy
On Tue, 2013-04-23 at 08:40 -0700, Dmitry Torokhov wrote: > > the eGalax driver now requires OF. For us this is a regression because > > we do not have OF: https://bugs.tizen.org/jira/browse/TIVI-740 > > I see. In this case we need to come up with a platform data to pass > wakeup gpio in case

Re: NumaTOP 1.0 launched

2013-04-24 Thread zhou jencce
2013/4/24 Jin, Yao : > Hi Zhou, > > > > I just worry a little bit if you can apply the raw patch on the tip or other > version of kernel code. You know, the perf code is changed frequently. > > > > Thanks > > Jin Yao > > > That's OK, I'd like to try. Thanks XIong > From: zhou jencce

Re: [PATCH] pinctrl: move subsystem mutex to pinctrl_dev struct

2013-04-24 Thread Linus Walleij
On Wed, Apr 10, 2013 at 3:04 PM, Patrice CHOTARD wrote: > On 03/28/2013 12:33 AM, Stephen Warren wrote: I don't understand the link between maps and pinctrl_select(), pinctrl_select_state_locked() doesn't touch the map. >> >> Yes, pinctrl_select() shouldn't touch the map since it's

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-24 Thread Jassi Brar
Hi - On 24 April 2013 13:38, Loic PALLARDY wrote: > Hi Jassi, > > On 04/24/2013 06:39 AM, Jassi Brar wrote: >> The non-atomic API falls flat should just a single client comes with >> very low latency requirements. > > In fact there are different situations for the non/atomic requirements >

Re: [PATCH 17/32] dmaengine: ste_dma40: Remove redundant argument from d40_phy_cfg()

2013-04-24 Thread Lee Jones
> > + if ((cfg->dir == STEDMA40_PERIPH_TO_MEM) || > > + (cfg->dir == STEDMA40_PERIPH_TO_PERIPH)) { > Why would you need your own direction defines, I see that there is not much > diff between these and what dmaengine defines, so perhpas you could use > those? Same with these ones,

[HELP] cpuidle in SYSFS: /sys/devices/system/cpu/cpu0/cpuidle/state0/desc

2013-04-24 Thread Ren Zhen
Hi all: In /Documentation/cpuidle/sysfs.txt, It says: "desc : Small description about the idle state(string)". when I read desc: mysystem:/sys/devices/system/cpu/cpu0/cpuidle/state0/# cat desc CPUIDLE CORE POLL IDLE

Re: [PATCH 05/32] dmaengine: ste_dma40: Supply macros to resolve 'src' and 'dst' directions

2013-04-24 Thread Lee Jones
On Mon, 22 Apr 2013, Lee Jones wrote: > On Mon, 22 Apr 2013, Vinod Koul wrote: > > > On Thu, Apr 18, 2013 at 11:11:47AM +0100, Lee Jones wrote: > > > There are lots of lengthy if() statements located sporadically up and > > > down the driver. This simple macro should make many of them a little >

Re: [PATCH 15/32] dmaengine: ste_dma40: Separate Logical Global Interrupt Mask (GIM) unmasking

2013-04-24 Thread Lee Jones
On Mon, 22 Apr 2013, Lee Jones wrote: > > > void d40_phy_cfg(struct stedma40_chan_cfg *cfg, > > >u32 *src_cfg, u32 *dst_cfg, bool is_log) > > > @@ -107,11 +113,6 @@ void d40_phy_cfg(struct stedma40_chan_cfg *cfg, > > > src |= 1 << D40_SREG_CFG_PRI_POS; > > >

[PATCH 08/32 v2] dmaengine: ste_dma40: Remove home-brew MAX() macro

2013-04-24 Thread Lee Jones
The current implementation of the DMA40's local MAX() macro evaluates its arguments more times than is necessary and it not type checked. This patch strips replaces it with a new, more efficient constant. Cc: Vinod Koul Cc: Dan Williams Cc: Per Forlin Cc: Rabin Vincent Reported-by: Harvey

Re: [PATCH] arm64: compiling issue, need add include/asm/vga.h file

2013-04-24 Thread Chen Gang
On 2013年04月24日 16:22, Catalin Marinas wrote: > On Wed, Apr 24, 2013 at 04:44:29AM +0100, Chen Gang wrote: >> For compiling with allmodconfig, need vga.h file, so copy it from arm32. > > I would rather use the generic vga.h. We don't even have a vga_base > defined. > OK, thanks. I need send

Re: [PATCH v3 2/3] resource: Add release_mem_region_adjustable()

2013-04-24 Thread Ram Pai
On Thu, Apr 11, 2013 at 10:30:02AM -0600, Toshi Kani wrote: > On Wed, 2013-04-10 at 15:24 -0700, Andrew Morton wrote: > > On Wed, 10 Apr 2013 15:08:29 -0700 (PDT) David Rientjes > > wrote: > > > > > On Wed, 10 Apr 2013, Toshi Kani wrote: > > > > > > > > I'll switch it to GFP_ATOMIC. Which is

[PATCH 21/32 v2] dmaengine: ste_dma40: Also report the number of logical channels

2013-04-24 Thread Lee Jones
dmaengine: ste_dma40: Also report the number of logical channels Now we know the total of physical and logical channels, we may as well report them within the information log. Before: dma40 dma40.0: hardware revision: 3 @ 0x801c with 8 physical channels After: and 256 logical channels Cc:

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-24 Thread Loic PALLARDY
Hi Jassi, On 04/24/2013 09:59 AM, Jassi Brar wrote: > Hi Loic, > > On 24 April 2013 13:09, Loic PALLARDY wrote: >> Hi Jassi, Suman, >> >> Yes, the xxx_no_irq API has been introduced to answer some STE >> requirements. It must be possible to send some message under atomic >> context for different

Re: "attempt to move .org backwards" still show up

2013-04-24 Thread Mike Qiu
于 2013/4/24 16:31, Michael Ellerman 写道: On Wed, Apr 24, 2013 at 04:22:53PM +0800, Mike Qiu wrote: Hi all I get an error message when I compile the source code in Power7 platform use the newest upstream kernel. Hi Mike, It depends on what your .config is. What defconfig are you building?

Re: "attempt to move .org backwards" still show up

2013-04-24 Thread Mike Qiu
于 2013/4/24 16:31, Michael Ellerman 写道: On Wed, Apr 24, 2013 at 04:22:53PM +0800, Mike Qiu wrote: Hi all I get an error message when I compile the source code in Power7 platform use the newest upstream kernel. Hi Mike, It depends on what your .config is. What defconfig are you building? I

Re: [PATCH 21/32] dmaengine: ste_dma40: Also report the number of logical channels

2013-04-24 Thread Lee Jones
On Mon, 22 Apr 2013, Russell King - ARM Linux wrote: > On Mon, Apr 22, 2013 at 11:37:15AM +0100, Lee Jones wrote: > > On Mon, 22 Apr 2013, Vinod Koul wrote: > > > > > On Mon, Apr 22, 2013 at 11:14:55AM +0100, Lee Jones wrote: > > > > On Mon, 22 Apr 2013, Vinod Koul wrote: > > > > > > > > > On

RE: [PATCH] lowmemorykiller: prevent multiple instances of low memory killer

2013-04-24 Thread Dolkow, Snild
> No, it's not. This is controlled higher in shrink_slab() by this: > > max_pass = do_shrinker_shrink(shrinker, shrink, 0); > if (max_pass <= 0) > continue; > Yes, but the later calls will still not handle other negative values as failures, and there is a chance that

Re: [PATCH] arch/powerpc/kernel: using %12.12s instead of %12s for avoiding memory overflow.

2013-04-24 Thread Chen Gang
On 2013年04月24日 16:19, Vasant Hegde wrote: >> for tmp_part->header.name: >> > it is "Terminating null required only for names< 12 chars". >> > so need to limit the %.12s for it in printk >> > >> > additional info: >> > >> >

Re: "attempt to move .org backwards" still show up

2013-04-24 Thread Michael Ellerman
On Wed, Apr 24, 2013 at 04:22:53PM +0800, Mike Qiu wrote: > Hi all > > I get an error message when I compile the source code in Power7 platform > use the newest upstream kernel. Hi Mike, It depends on what your .config is. What defconfig are you building? cheers -- To unsubscribe from this

<    1   2   3   4   5   6   7   8   9   10   >