Re: [PATCH] perf: Add vm_ops->name call for mmap event name retrieval

2014-07-14 Thread Andy Lutomirski
On Mon, Jul 14, 2014 at 9:09 AM, Peter Zijlstra wrote: > On Mon, Jul 14, 2014 at 05:57:19PM +0200, Jiri Olsa wrote: >> Following patch added another way to get mmap name: >> 78d683e mm, fs: Add vm_ops->name as an alternative to arch_vma_name > > Please add to your .gitconfig: > > [core] >

Re: [for-next][PATCH 04/21] ftrace: Optimize function graph to be called directly

2014-07-14 Thread Steven Rostedt
On Mon, 14 Jul 2014 16:46:40 +0300 Tuomas Tynkkynen wrote: > Thanks, both of these patches work for me. > > Tested-by: Tuomas Tynkkynen Thanks for testing. I'll pull the first one if for my for-next, and the second one I'll send to the arm folks for 3.18, after the first one is in mainline.

Re: [PATCH] perf: Add vm_ops->name call for mmap event name retrieval

2014-07-14 Thread Peter Zijlstra
On Mon, Jul 14, 2014 at 06:09:47PM +0200, Peter Zijlstra wrote: > On Mon, Jul 14, 2014 at 05:57:19PM +0200, Jiri Olsa wrote: > > Following patch added another way to get mmap name: > > 78d683e mm, fs: Add vm_ops->name as an alternative to arch_vma_name > > Please add to your .gitconfig: > > [co

Re: [PATCH v4 6/7] sched: add function nr_running_cpu to expose number of tasks running on cpu

2014-07-14 Thread Tim Chen
On Mon, 2014-07-14 at 12:16 +0200, Peter Zijlstra wrote: > On Fri, Jul 11, 2014 at 01:33:04PM -0700, Tim Chen wrote: > > This function will help a thread decide if it wants to to do work > > that can be delayed, to accumulate more tasks for more efficient > > batch processing later. > > > > Howeve

Re: [PATCH] libata: handle IDE AMNF errors in the EH path

2014-07-14 Thread Tejun Heo
On Sat, Jul 12, 2014 at 12:22:53PM +0400, Alexey Asemov wrote: > libata-eh.c should handle AMNF error condition (error byte bit 0, usually > code 0x01) in libata-eh.c along with UNC as a media error so SCSI stack > can handle it properly (translation code 0x01 is already present in > libata-scsi.c)

Re: [PATCH] perf: Add vm_ops->name call for mmap event name retrieval

2014-07-14 Thread Peter Zijlstra
On Mon, Jul 14, 2014 at 05:57:19PM +0200, Jiri Olsa wrote: > Following patch added another way to get mmap name: > 78d683e mm, fs: Add vm_ops->name as an alternative to arch_vma_name Please add to your .gitconfig: [core] abbrev = 12 Also, you failed to CC the two people involved in tha

Re: [PATCH v5 0/3] DMA: Freescale: driver cleanups and enhancements

2014-07-14 Thread Vinod Koul
On Wed, May 21, 2014 at 04:03:00PM +0800, hongbo.zh...@freescale.com wrote: > From: Hongbo Zhang > > Hi Dan, > Please have a look at this 3/3 as Vinod mentioned. > > Hi Vinod Koul, > Please have a look at the v5 patch set. I dont see any objection, so applying all 3 with subject changed to refl

Re: [PATCH v2] ring-buffer: Race when writing and swapping cpu buffer in parallel

2014-07-14 Thread Steven Rostedt
On Mon, 14 Jul 2014 16:32:58 +0200 Petr Mladek wrote: > The trace/ring_buffer allows to swap the entire ring buffer. Everything has to > be done lockless. I think that I have found a race when trying to understand > the code. The problematic situation is the following: > > CPU 1 (write/reserve e

Re: [PATCH] xillybus: place 'else' on same line as '}'

2014-07-14 Thread Jeremiah Mahler
Dan, On Mon, Jul 14, 2014 at 11:51:42AM +0300, Dan Carpenter wrote: > On Mon, Jul 14, 2014 at 09:40:39AM +0300, Eli Billauer wrote: > ... > > This patch is almost totally ok except it doesn't have "staging" in the > subject. I'm not sure if that's enough to reject it... Probably it's > ok and y

Re: [PATCH 7/7] tracing: change filter_free_subsystem_*() to check ->subsystem rather then ->name

2014-07-14 Thread Oleg Nesterov
On 07/14, Namhyung Kim wrote: > > 2014-07-11 (금), 21:06 +0200, Oleg Nesterov: > > filter_free_subsystem_preds() and filter_free_subsystem_filters() > > can rely on file->system->subsystem and avoid strcmp(). > > I guess the same can go to the replace_system_preds() too. Hmm, indeed ;) I'll send "v

finish_task_switch && prev_state (Was: sched, timers: use after free in __lock_task_sighand when exiting a process)

2014-07-14 Thread Oleg Nesterov
On 07/14, Oleg Nesterov wrote: > > Yes, the task itself (or, depending ob pov, scheduler) has a reference. > copy_process() does > > /* >* One for us, one for whoever does the "release_task()" (usually >* parent) >*/ > atomic_set(&tsk->usage, 2); > > "us" actuall

Re: [PATCH] xillybus: place 'else' on same line as '}'

2014-07-14 Thread Jeremiah Mahler
Eli, On Mon, Jul 14, 2014 at 09:40:39AM +0300, Eli Billauer wrote: > Hi, > > Thanks for this. > > And since I looked at the part in Codingstyle that deals with if-else, I > found another few mistakes regarding braces around a single statement. The > rules say, it turns out, that if one of the cl

Re: [PATCH 0/4 V3] irqchip: gic: Introduce ARM GICv2m MSI(-X) support

2014-07-14 Thread Suravee Suthikulanit
On 7/13/2014 6:14 PM, Jason Cooper wrote: Suravee, On Wed, Jul 09, 2014 at 06:05:00PM -0500, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit This patch set introduces support for MSI(-X) in GICv2m specification, which is implemented in some variation of GIC400. This depends

Re: [PATCHv2 0/5] OMAP Mailbox framework adoption & DT support

2014-07-14 Thread Suman Anna
Hi Markus, On 07/11/2014 06:15 PM, Markus Mayer wrote: > On 11 July 2014 15:04, Suman Anna wrote: >> Hi, >> >> This is a refresh of the OMAP Mailbox framework adoption & DT support >> series [1], to work with the revised OMAP mailbox DT/hwmod cleanup >> series [2]. >> >> The series has one less p

[PATCH] perf: Add vm_ops->name call for mmap event name retrieval

2014-07-14 Thread Jiri Olsa
Following patch added another way to get mmap name: 78d683e mm, fs: Add vm_ops->name as an alternative to arch_vma_name The vdso vma mapping already switch to this and we no longer get vdso name via arch_vma_name function. Adding this way to the perf mmap event name retrieval code. Caught this

Re: [PATCH] vfs: Turn the unlinked inode counter into a percpu counter

2014-07-14 Thread Andi Kleen
Andi Kleen writes: > > fsnotify_inode_delete(inode); >> > - if (!inode->i_nlink) { >> > - WARN_ON(atomic_long_read(&inode->i_sb->s_remove_count) == 0); >> >> This is not mentioned in the description, but I guess it makes sense since >> it'd be quite expensive. > > Yes. I guess we co

Re: [PATCH] fuse: avoid scheduling while atomic

2014-07-14 Thread Maxim Patlasov
On 07/04/2014 08:27 PM, Miklos Szeredi wrote: Maxim, thanks for the patch. Here's a reworked one. While it looks a bit more complicated, its chances of being (and remaining) correct are, I think, better, since the region surrounded by kmap/kunmap_atomic is trivially non-sleeping. This patch al

Re: [PATCH] vfs: Turn the unlinked inode counter into a percpu counter

2014-07-14 Thread Andi Kleen
> > diff --git a/fs/inode.c b/fs/inode.c > > index f96d2a6..4820c35 100644 > > --- a/fs/inode.c > > +++ b/fs/inode.c > > @@ -234,10 +234,8 @@ void __destroy_inode(struct inode *inode) > > BUG_ON(inode_has_buffers(inode)); > > security_inode_free(inode); > > fsnotify_inode_delete(inode);

[PATCH 6/6] cgroup: initialize cgrp_dfl_root_inhibit_ss_mask from !->dfl_files test

2014-07-14 Thread Tejun Heo
cgrp_dfl_root_inhibit_ss_mask determines which subsystems are not supported on the default hierarchy and is currently initialized statically and just includes the debug subsystem. Now that there's cgroup_subsys->dfl_files, we can easily tell which subsystems support the default hierarchy or not.

[PATCH 2/6] cgroup: rename cgroup_subsys->base_cftypes to ->legacy_cftypes

2014-07-14 Thread Tejun Heo
Currently, cgroup_subsys->base_cftypes is used for both the unified default hierarchy and legacy ones and subsystems can mark each file with either CFTYPE_ONLY_ON_DFL or CFTYPE_INSANE if it has to appear only on one of them. This is quite hairy and error-prone. Also, we may end up exposing interf

[PATCH 1/6] cgroup: split cgroup_base_files[] into cgroup_{dfl|legacy}_base_files[]

2014-07-14 Thread Tejun Heo
Currently cgroup_base_files[] contains the cgroup core interface files for both legacy and default hierarchies with each file tagged with CFTYPE_INSANE and CFTYPE_ONLY_ON_DFL. This is difficult to read. Let's separate it out to two separate tables, cgroup_dfl_base_files[] and cgroup_legacy_base_f

[PATCH 4/6] cgroup: distinguish the default and legacy hierarchies when handling cftypes

2014-07-14 Thread Tejun Heo
Until now, cftype arrays carried files for both the default and legacy hierarchies and the files which needed to be used on only one of them were flagged with either CFTYPE_ONLY_ON_DFL or CFTYPE_INSANE. This gets confusing very quickly and we may end up exposing interface files to the default hier

[PATCH 3/6] cgroup: replace cgroup_add_cftypes() with cgroup_add_legacy_cftypes()

2014-07-14 Thread Tejun Heo
Currently, cftypes added by cgroup_add_cftypes() are used for both the unified default hierarchy and legacy ones and subsystems can mark each file with either CFTYPE_ONLY_ON_DFL or CFTYPE_INSANE if it has to appear only on one of them. This is quite hairy and error-prone. Also, we may end up expos

[PATCH 5/6] cgroup: make CFTYPE_ONLY_ON_DFL and CFTYPE_NO_ internal to cgroup core

2014-07-14 Thread Tejun Heo
cgroup now distinguishes cftypes for the default and legacy hierarchies more explicitly by using separate arrays and CFTYPE_ONLY_ON_DFL and CFTYPE_INSANE should be and are used only inside cgroup core proper. Let's make it clear that the flags are internal by prefixing them with double underscores

[PATCHSET v2 cgroup/for-3.17] cgroup: distinguish the default and legacy hierarchies when handling cftypes

2014-07-14 Thread Tejun Heo
Hello, This is v2 of dfl_files patchset. Changes from the last version [1] are * Rebased on top of cgroup/for-3.17. * 0004 updated so that CFTYPE_ONLY_ON_DFL and CFTYPE_INSANE are cleared when cfts are removed as suggested by Li. Until now, cftype arrays carried files for both the default an

Re: [PATCH v4 2/5] xen/pciback: Don't deadlock when unbinding.

2014-07-14 Thread Konrad Rzeszutek Wilk
On Mon, Jul 14, 2014 at 10:30:13AM -0400, Boris Ostrovsky wrote: > On 07/14/2014 10:13 AM, Konrad Rzeszutek Wilk wrote: > >On Fri, Jul 11, 2014 at 05:02:01PM -0400, Konrad Rzeszutek Wilk wrote: > --- a/drivers/xen/xen-pciback/pci_stub.c > +++ b/drivers/xen/xen-pciback/pci_stub.c > @@ -2

Re: [PATCH v3 0/4] ARM: EXYNOS: cpuidle: fix AFTR mode on boards with secure firmware enabled

2014-07-14 Thread Daniel Drake
Hi Bartlomiej, On Wed, Jul 9, 2014 at 6:17 PM, Bartlomiej Zolnierkiewicz wrote: > This patch series adds support for AFTR idle mode on boards with > secure firmware enabled and allows EXYNOS cpuidle driver usage on > Exynos4x12 SoCs. > > It has been tested on Trats2 board (using Exynos4412 SoC wi

Re: sched, timers: use after free in __lock_task_sighand when exiting a process

2014-07-14 Thread Andrey Ryabinin
On 07/14/14 18:49, Oleg Nesterov wrote: > On 07/14, Peter Zijlstra wrote: >> >> On Sun, Jul 13, 2014 at 07:45:56PM -0400, Sasha Levin wrote: >>> >>> [ 876.319044] >>> == >>> [ 876.319044] AddressSanitizer: use after free in >>> do_

Re: [RFC PATCH 0/38] clean-up uapi + asm-generic Kbuild files

2014-07-14 Thread Arnd Bergmann
On Monday 14 July 2014 17:06:09 Sam Ravnborg wrote: > > What tree is the best for this stuff? > I would suggest to go via the asm-generic tree that Arnd has. > But it also touches a lot of architectures so Andrews -mm or > kbuild#misc could be used. I rarely have anything to send for the asm-gene

Re: [PATCH V2 3/3] clk: exynos-audss: Use samsung clock APIs to register/unregister clocks

2014-07-14 Thread Sylwester Nawrocki
On 11/07/14 14:00, Tushar Behera wrote: > @@ -103,17 +140,11 @@ static int exynos_audss_clk_probe(struct > platform_device *pdev) > return PTR_ERR(reg_base); > } > > - clk_table = devm_kzalloc(&pdev->dev, > - sizeof(struct clk *) * EXYNOS_AUDSS

Re: [PATCH 1/1 V2] workqueue: remove the del_timer_sync()s in maybe_create_worker()

2014-07-14 Thread Thomas Gleixner
On Mon, 14 Jul 2014, Tejun Heo wrote: > Hello, > > On Mon, Jul 14, 2014 at 04:13:21PM +0800, Lai Jiangshan wrote: > > It is said in the document that the timer which is being > > deleted by del_timer_sync() should not be restarted: > > Synchronization rules: Callers must prevent restarting of >

Re: [PATCH] fs/cifs: Fix build warnings

2014-07-14 Thread Steve French
I don't see this build warning, and I do see these functions used outside the CONFIG_CIFS_WEAK_PW_HASH - are you using current linux-next (or equivalently cifs-2.6.git for-next branch)There were some updates to fs/cifs late last week. On Mon, Jul 14, 2014 at 5:38 AM, Thierry Reding wrote: > From:

[PATCH 03/38] hexagon: drop ucontext from list exported headers

2014-07-14 Thread Sam Ravnborg
ucontext.h is already specified in include/uapi/asm-generic/Kbuild so this is redundant. Signed-off-by: Sam Ravnborg Cc: Richard Kuo Cc: linux-hexagon Cc: David Howells --- arch/hexagon/include/asm/Kbuild | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/hexagon/include/asm/Kbuild b/

[PATCH 06/38] x86: clean-up Kbuild file - drop unused assignments

2014-07-14 Thread Sam Ravnborg
Drop unused assignment in Kbuild file. The unistd* files are exported using the Kbuild file in uapi/* and the assignments in this file was left-overs from the past. Signed-off-by: Sam Ravnborg Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: David Howells --- arch/x86/include/asm

[PATCH 04/38] score: drop irrelevant assignment from Kbuild file

2014-07-14 Thread Sam Ravnborg
header-y assignemnt in this file has no effect - drop it. Signed-off-by: Sam Ravnborg Cc: Chen Liqin Cc: Lennox Wu Cc: David Howells --- arch/score/include/asm/Kbuild | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/score/include/asm/Kbuild b/arch/score/include/asm/Kbuild index 2f94

Re: [PATCH v2 0/2] xen: Silence compiler warnings

2014-07-14 Thread Konrad Rzeszutek Wilk
On Sat, Jul 12, 2014 at 11:09:46PM +0200, Daniel Kiper wrote: > Hi, > > Here are two patches that follow earlier Xen dom0 EFI series and > fix some compiler warnings found during detailed build tests. > > Both patches should be applied to: > > git://git.kernel.org/pub/scm/linux/kernel/git/mflemi

Re: [PATCH v7 0/4] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X)

2014-07-14 Thread Arnd Bergmann
On Monday 14 July 2014 10:05:35 Daniel Thompson wrote: > On 12/07/14 12:10, Russell King - ARM Linux wrote: > > On Sat, Jul 12, 2014 at 11:16:02AM +0100, Russell King - ARM Linux wrote: > >> On Mon, Jun 30, 2014 at 12:30:51PM +0100, Daniel Thompson wrote: > >>> This patchset removes some single-pla

Re: [PATCH] [RFC] CMA: clear buffer-head lru before page migration

2014-07-14 Thread Michal Nazarewicz
On Mon, Jul 14 2014, Joonsoo Kim wrote: > On Tue, Jul 08, 2014 at 06:46:31PM +0200, Michal Nazarewicz wrote: >> This seems reasonable, except I think [invalidate_bh_lrus()] should >> go after start_isolate_page_range call because otherwise there's no >> guarantee that someone won't grab those page

Re: [PATCH RFC] percpu: add data dependency barrier in percpu accessors and operations

2014-07-14 Thread Christoph Lameter
On Mon, 14 Jul 2014, Paul E. McKenney wrote: > Here is the sort of thing that I would be concerned about: > > p = alloc_percpu(struct foo); > for_each_possible_cpu(cpu) > initialize(per_cpu_ptr(p, cpu); > gp = p; > > We clearly need a memory barrier in there somewhe

[PATCH 15/38] blackfin: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Steven Miao --- arch/blackfin/include/uapi/asm/Kbuild | 13 - 1 file changed, 13 deletions(-) diff --git a/arch/blackfin/include/uapi/asm/Kbuild b/arch/blackfin/include/uapi/asm/Kbuild index 0bd28f7..c226f31 100644 ---

[PATCH 11/38] alpha: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner --- arch/alpha/include/uapi/asm/Kbuild | 32 1 file changed, 32 deletions(-) diff --git a/arch/alpha/include/uapi/asm/Kbuild b/arch/alpha/incl

[PATCH 08/38] kbuild: drop support for non uapi Kbuild files in headers_install

2014-07-14 Thread Sam Ravnborg
There are no more Kbuild files outside uapi directories used for exported headers so drop support for these. Also update documentation to reference the correct files. Except for destination-y which has no in-tree users at the moment. Signed-off-by: Sam Ravnborg Cc: David Howells --- Documentati

[PATCH 05/38] tile: clean up Kbuild files

2014-07-14 Thread Sam Ravnborg
Drop an unused Kbuild file - it was anyway empty Drop an irrelevent assignment to header-y Signed-off-by: Sam Ravnborg Cc: Chris Metcalf Cc: David Howells --- arch/tile/include/arch/Kbuild | 1 - arch/tile/include/asm/Kbuild | 3 --- 2 files changed, 4 deletions(-) delete mode 100644 arch/ti

[PATCH 10/38] uapi: drop obsolete logic for generated headers

2014-07-14 Thread Sam Ravnborg
We no longer call this Makefile with gen set to anything, so we can simplify logic to find dir for generated files. Signed-off-by: Sam Ravnborg Cc: David Howells --- scripts/Makefile.headersinst | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/Makefile.headersinst

[PATCH 14/38] avr32: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Haavard Skinnemoen Cc: Hans-Christian Egtvedt --- arch/avr32/include/uapi/asm/Kbuild | 21 ++--- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/arch/avr32/include/uapi/asm/Kbuild b/arch/avr32/include

[PATCH 13/38] arm64: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Catalin Marinas Cc: Will Deacon --- arch/arm64/include/uapi/asm/Kbuild | 16 1 file changed, 16 deletions(-) diff --git a/arch/arm64/include/uapi/asm/Kbuild b/arch/arm64/include/uapi/asm/Kbuild index 942376d..aa17

Re: sched, timers: use after free in __lock_task_sighand when exiting a process

2014-07-14 Thread Oleg Nesterov
I'm afraid I wasn't clear... Let me try again. So yes, this "race" is of course possible: lock_task_sighand() release_task() sighand = task->sighand; sighand = task->sighand;

[PATCH 12/38] arm: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Russell King --- arch/arm/include/uapi/asm/Kbuild | 14 -- 1 file changed, 14 deletions(-) diff --git a/arch/arm/include/uapi/asm/Kbuild b/arch/arm/include/uapi/asm/Kbuild index 70a1c9d..aa17aa8 100644 --- a/arch/arm/inc

[PATCH 17/38] cris: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Mikael Starvik Cc: Jesper Nilsson --- arch/cris/include/uapi/asm/Kbuild | 31 +-- 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi/

Re: [PATCH v4 7/7] arm/arm64: Unexport restart handlers

2014-07-14 Thread Catalin Marinas
On Mon, Jul 14, 2014 at 03:39:38PM +0100, Guenter Roeck wrote: > On 07/14/2014 07:22 AM, Catalin Marinas wrote: > > On Sun, Jul 13, 2014 at 04:30:31PM +0100, Guenter Roeck wrote: > >> Implementing a restart handler in a module don't make sense > >> as there would be no guarantee that the module is

[PATCH 28/38] parisc: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: "James E.J. Bottomley" Cc: Helge Deller --- arch/parisc/include/uapi/asm/Kbuild | 30 +++--- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/arch/parisc/include/uapi/asm/Kbuild b/arch/parisc/i

Re: [RFC/PATCH -next 00/21] Address sanitizer for kernel (kasan) - dynamic memory error detector.

2014-07-14 Thread Christoph Lameter
On Sun, 13 Jul 2014, Andrey Ryabinin wrote: > > How does that work when memory is sparsely populated? > > > > Sparsemem configurations currently may not work with kasan. > I suppose I will have to move shadow area to vmalloc address space and > make it (shadow) sparse too if needed. Well it seems

Fill in the information ! - 219906871

2014-07-14 Thread Apple Store
Click on the link below and confirm Billing Information records : http://artedever.com.br/store.apple.com/IDMSWebAuth/login.html/appIdKey49bd208126787c17c33ca3b14d2a4f0c92d/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

[PATCH 20/38] ia64: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Tony Luck Cc: Fenghua Yu --- arch/ia64/include/uapi/asm/Kbuild | 36 +++- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/arch/ia64/include/uapi/asm/Kbuild b/arch/ia64/include/uapi/asm

Re: [PATCH 1/6] x86-mce: Modify CMCI poll interval to adjust for small check_interval values.

2014-07-14 Thread Borislav Petkov
On Fri, Jul 11, 2014 at 05:10:07PM -0700, Havard Skinnemoen wrote: > 200ms per second means we're using 20% of that CPU. I'd say that's > definitely too much. But I like the general approach. Right. > > Yeah, by "generous" I meant, choose values which fit all. But I realize > > now that this is a

[PATCH 18/38] frv: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: David Howells --- arch/frv/include/uapi/asm/Kbuild | 31 --- 1 file changed, 31 deletions(-) diff --git a/arch/frv/include/uapi/asm/Kbuild b/arch/frv/include/uapi/asm/Kbuild index 42a2b33..d24144b 100644

[PATCH 19/38] hexagon: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Richard Kuo --- arch/hexagon/include/uapi/asm/Kbuild | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/hexagon/include/uapi/asm/Kbuild b/arch/hexagon/include/uapi/asm/Kbuild index c31706c..3f464d5 100644 --- a/arch

[PATCH 21/38] m32r: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Hirokazu Takata --- arch/m32r/include/uapi/asm/Kbuild | 31 --- 1 file changed, 31 deletions(-) diff --git a/arch/m32r/include/uapi/asm/Kbuild b/arch/m32r/include/uapi/asm/Kbuild index 43937a6..b15bf6b 1

[PATCH 22/38] m68k: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Geert Uytterhoeven --- arch/m68k/include/uapi/asm/Kbuild | 33 ++--- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/arch/m68k/include/uapi/asm/Kbuild b/arch/m68k/include/uapi/asm/Kbuild i

[PATCH 33/38] sparc: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: "David S. Miller" --- arch/sparc/include/uapi/asm/Kbuild | 30 -- 1 file changed, 30 deletions(-) diff --git a/arch/sparc/include/uapi/asm/Kbuild b/arch/sparc/include/uapi/asm/Kbuild index b5843ee..9dcd2

[PATCH 37/38] xtensa: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Max Filippov --- arch/xtensa/include/uapi/asm/Kbuild | 23 --- 1 file changed, 23 deletions(-) diff --git a/arch/xtensa/include/uapi/asm/Kbuild b/arch/xtensa/include/uapi/asm/Kbuild index 56aad54..b15bf6b 100644

[PATCH 25/38] mips: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Ralf Baechle --- arch/mips/include/uapi/asm/Kbuild | 38 ++ 1 file changed, 6 insertions(+), 32 deletions(-) diff --git a/arch/mips/include/uapi/asm/Kbuild b/arch/mips/include/uapi/asm/Kbuild ind

[PATCH 26/38] mn10300: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: David Howells Cc: Koichi Yasutake --- arch/mn10300/include/uapi/asm/Kbuild | 32 1 file changed, 32 deletions(-) diff --git a/arch/mn10300/include/uapi/asm/Kbuild b/arch/mn10300/include/uapi/asm/Kb

[PATCH 24/38] microblaze: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Michal Simek --- arch/microblaze/include/uapi/asm/Kbuild | 34 +++-- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/arch/microblaze/include/uapi/asm/Kbuild b/arch/microblaze/include/uapi/a

[PATCH 27/38] openrisc: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Jonas Bonn --- arch/openrisc/include/uapi/asm/Kbuild | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/openrisc/include/uapi/asm/Kbuild b/arch/openrisc/include/uapi/asm/Kbuild index 80761eb..1ecfc9d 100644 --- a/arch/ope

[PATCH 35/38] unicore32: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Guan Xuetao --- arch/unicore32/include/uapi/asm/Kbuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/unicore32/include/uapi/asm/Kbuild b/arch/unicore32/include/uapi/asm/Kbuild index 0514d7a..aff532f

[PATCH 23/38] metag: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: James Hogan --- arch/metag/include/uapi/asm/Kbuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/metag/include/uapi/asm/Kbuild b/arch/metag/include/uapi/asm/Kbuild index ab78be2..1f7f43f 100644 --- a

[PATCH 34/38] tile: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Chris Metcalf --- arch/tile/include/uapi/asm/Kbuild | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/arch/tile/include/uapi/asm/Kbuild b/arch/tile/include/uapi/asm/Kbuild index c20db8e..87d40be 1006

[PATCH 32/38] sh: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg --- arch/sh/include/uapi/asm/Kbuild | 12 1 file changed, 12 deletions(-) diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild index 60613ae..826b88a 100644 --- a/arch/sh/include/uapi/asm/Kbuild +++

[PATCH 36/38] x86: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" --- arch/x86/include/uapi/asm/Kbuild | 34 +- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/arch/x86/include/uapi/asm/Kbuild b/arc

[PATCH 30/38] s390: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Martin Schwidefsky Cc: Heiko Carstens --- arch/s390/include/uapi/asm/Kbuild | 31 --- 1 file changed, 31 deletions(-) diff --git a/arch/s390/include/uapi/asm/Kbuild b/arch/s390/include/uapi/asm/Kbuild i

[PATCH 29/38] powerpc: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Benjamin Herrenschmidt Cc: Paul Mackerras --- arch/powerpc/include/uapi/asm/Kbuild | 32 1 file changed, 32 deletions(-) diff --git a/arch/powerpc/include/uapi/asm/Kbuild b/arch/powerpc/include/uap

Re: [PATCH v4 5/7] watchdog: moxart: Register restart handler with restart notifier

2014-07-14 Thread Catalin Marinas
On Mon, Jul 14, 2014 at 03:41:15PM +0100, Guenter Roeck wrote: > On 07/14/2014 07:19 AM, Catalin Marinas wrote: > > On Sun, Jul 13, 2014 at 04:30:29PM +0100, Guenter Roeck wrote: > >> diff --git a/drivers/watchdog/moxart_wdt.c b/drivers/watchdog/moxart_wdt.c > >> index 4aa3a8a..5080b50 100644 > >>

[PATCH 38/38] asm-generic: introduc Kbuild.generic

2014-07-14 Thread Sam Ravnborg
Kbuild.generic is for asm-generic files that are used by all architectures. So rather than adding the file to the individual Kbuild files it is enough to add it to this file Signed-off-by: Sam Ravnborg Cc: Arnd Bergmann --- arch/alpha/include/asm/Kbuild | 4 ++-- arch/arc/include/asm/Kbuil

[PATCH 31/38] score: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Signed-off-by: Sam Ravnborg Cc: Chen Liqin Cc: Lennox Wu --- arch/score/include/uapi/asm/Kbuild | 32 1 file changed, 32 deletions(-) diff --git a/arch/score/include/uapi/asm/Kbuild b/arch/score/include/uapi/asm/Kbuild index 0401

[PATCH 07/38] Delete unused Kbuild files in include/*

2014-07-14 Thread Sam Ravnborg
The following files are not used - and they serve no purpose. Delete them. Signed-off-by: Sam Ravnborg Cc: David Howells --- include/Kbuild | 2 -- include/scsi/fc/Kbuild | 0 include/video/Kbuild | 0 3 files changed, 2 deletions(-) delete mode 100644 include/Kbuild delete mode 100

[PATCH 02/38] openrisc: drop ucontext from list exported headers

2014-07-14 Thread Sam Ravnborg
ucontext.h is already specified in include/uapi/asm-generic/Kbuild so this is redundant. Signed-off-by: Sam Ravnborg Cc: Jonas Bonn Cc: openrisc Cc: David Howells --- arch/openrisc/include/asm/Kbuild | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/openrisc/include/asm/Kbuild b/arch

[PATCH 16/38] c6x: clean-up uapi Kbuild file

2014-07-14 Thread Sam Ravnborg
Remove redundant assignments. Also drop kvm_para.h wrapper as it is never referenced from c6x code. Signed-off-by: Sam Ravnborg Cc: Mark Salter Cc: Aurelien Jacquiot --- arch/c6x/include/uapi/asm/Kbuild | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/c6x/include/uapi/asm/Kb

[PATCH 09/38] uapi: check for optional files which are generated

2014-07-14 Thread Sam Ravnborg
In include/uapi/asm-generic/Kbuild.asm we have a few optional files listed. The files may be provided by the architecture or the wrapped from asm-generic may be used. The current logic failed to check for generated wrappers. Replace the obsolete check for the file outside uapi with a check for a g

[PATCH 01/38] cris: fix headers_install

2014-07-14 Thread Sam Ravnborg
Fix headers_install by adjusting the path to arch files. And delete unused Kbuild file. Drop special handling of cris in the headers.sh script as a nice side-effect. Signed-off-by: Sam Ravnborg Cc: Mikael Starvik Cc: Jesper Nilsson Cc: David Howells --- arch/cris/include/asm/Kbuild | 5 -

Re: [PATCH v3 2/2] devicetree: Add Cadence WDT devicetree bindings documentation

2014-07-14 Thread Mark Rutland
On Mon, Jul 14, 2014 at 01:16:09PM +0100, Harini Katakam wrote: > Add cadence-wdt bindings documentation. > > Signed-off-by: Harini Katakam > --- > > v3 changes: > - Change reset property type and improve description. > - Improve description of clocks and interrupts. > - Use watchdog@ in the exa

Re: [RFC 0/2] target: userspace pass-through backend

2014-07-14 Thread Stefan Hajnoczi
On Tue, Jul 1, 2014 at 9:11 PM, Andy Grover wrote: > Shaohua Li wrote an initial implementation of this, late last year[1]. > Starting from that, I started working on some alternate implementation > choices, and ended up with something rather different. > > Please take a look and let me know what

Re: [PATCH v4 2/7] arm64: Support restart through restart notifier call chain

2014-07-14 Thread Catalin Marinas
On Mon, Jul 14, 2014 at 04:01:14PM +0100, Guenter Roeck wrote: > On 07/14/2014 07:55 AM, Catalin Marinas wrote: > > On Sun, Jul 13, 2014 at 04:30:26PM +0100, Guenter Roeck wrote: > >> diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c > >> index 43b7c34..b2da6d5 100644 > >> ---

Re: [PATCH] EDAC, MCE_AMD: Add MCE decoding for F15h M60h

2014-07-14 Thread Borislav Petkov
On Mon, Jul 14, 2014 at 09:42:59AM -0500, Aravind Gopalakrishnan wrote: > Yep, works fine. Thanks for testing, applied. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[RFC PATCH 0/38] clean-up uapi + asm-generic Kbuild files

2014-07-14 Thread Sam Ravnborg
While working one another patch-set I noticed some stray Kbuild files. And then when I started to dig into this it somehow got out of control and I ended up with the following set of patches. Almost 600 lines chopped of the kernel - which is nice. But even better is that the Kbuild files for uapi

Re: [patch 12/13] mm: memcontrol: rewrite charge API

2014-07-14 Thread Michal Hocko
Hi, I've finally manage to untagle myself from internal stuff... On Wed 18-06-14 16:40:44, Johannes Weiner wrote: > The memcg charge API charges pages before they are rmapped - i.e. have > an actual "type" - and so every callsite needs its own set of charge > and uncharge functions to know what ty

Re: [PATCH char-misc-next v3 3/8] dma: MIC X100 DMA Driver

2014-07-14 Thread Greg Kroah-Hartman
; drivers/dma/Kconfig| 19 ++ > > drivers/dma/Makefile | 1 + > > drivers/dma/mic_x100_dma.c | 774 > > + > > drivers/dma/mic_x100_dma.h | 286 + > > 4 files changed, 1080 insertions(+) > > create mod

Re: [PATCH v4 2/7] arm64: Support restart through restart notifier call chain

2014-07-14 Thread Guenter Roeck
On 07/14/2014 07:55 AM, Catalin Marinas wrote: On Sun, Jul 13, 2014 at 04:30:26PM +0100, Guenter Roeck wrote: diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index 43b7c34..b2da6d5 100644 --- a/arch/arm64/kernel/process.c +++ b/arch/arm64/kernel/process.c @@ -174,6 +174,8

Re: [PATCH 0/4] New Qualcomm PMIC pin controller drivers

2014-07-14 Thread Ivan T. Ivanov
On Sat, 2014-07-12 at 16:51 -0700, Bjorn Andersson wrote: > On Thu, Jul 10, 2014 at 6:39 AM, Ivan T. Ivanov wrote: > > On Wed, 2014-07-09 at 07:02 -0700, Bjorn Andersson wrote: > [..] > >> Correct Ivan; we do however share the same issues related to how to do > >> interrupt handling, > > > > Yep,

Re: [PATCH v4 1/7] kernel: Add support for restart notifier call chain

2014-07-14 Thread Guenter Roeck
On 07/14/2014 07:53 AM, Catalin Marinas wrote: On Sun, Jul 13, 2014 at 04:30:25PM +0100, Guenter Roeck wrote: diff --git a/include/linux/reboot.h b/include/linux/reboot.h index 48bf152..120db73 100644 --- a/include/linux/reboot.h +++ b/include/linux/reboot.h @@ -38,6 +38,9 @@ extern int reboot_f

Re: [PATCH 1/3] usb: host: st-hcd: Add USB HCD support for STi SoCs

2014-07-14 Thread Alan Stern
On Mon, 14 Jul 2014, Lee Jones wrote: > On Fri, 11 Jul 2014, Alan Stern wrote: > > On Fri, 11 Jul 2014, Peter Griffin wrote: > > > On Thu, 10 Jul 2014, Alan Stern wrote: > > > > > > > On Thu, 10 Jul 2014, Peter Griffin wrote: > > > > > > > > > This driver adds support for the USB HCD present in

Re: [PATCH v2 5/5] kvm, mem-hotplug: Do not pin apic access page in memory.

2014-07-14 Thread Gleb Natapov
CCing Jan to check my nested kvm findings below. On Mon, Jul 14, 2014 at 03:57:09PM +0800, Tang Chen wrote: > Hi Gleb, > > Thanks for the reply. Please see below. > > On 07/12/2014 04:04 PM, Gleb Natapov wrote: > >On Tue, Jul 08, 2014 at 09:01:32PM +0800, Tang Chen wrote: > >>apic access page is

Re: [PATCH 1/6] x86-mce: Modify CMCI poll interval to adjust for small check_interval values.

2014-07-14 Thread Borislav Petkov
On Fri, Jul 11, 2014 at 01:39:19PM -0700, Havard Skinnemoen wrote: > Sorry, I was being unclear. I was actually arguing the opposite: > Getting 15 CMCIs per second is fine and shouldn't cause any switch to > polling mode, especially if the polling will happen at 100 times per > second. But your pro

[PATCH v2 4/4] PCI: host: pcie-dra7xx: add support for pcie-dra7xx controller

2014-07-14 Thread Kishon Vijay Abraham I
Added support for pcie controller in dra7xx. This driver re-uses the designware core code that is already present in kernel. Cc: Jason Gunthorpe Cc: Bjorn Helgaas Cc: Mohit Kumar Cc: Jingoo Han Cc: Marek Vasut Cc: Arnd Bergmann Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/host/Kco

[PATCH v2 2/4] PCI: designware: use untranslated address while programming ATU

2014-07-14 Thread Kishon Vijay Abraham I
In DRA7, the cpu sees 32bit address, but the pcie controller can see only 28bit address. So whenever the cpu issues a read/write request, the 4 most significant bits are used by L3 to determine the target controller. For example, the cpu reserves 0x2000_ - 0x2FFF_ for PCIe controller but th

[PATCH v2 1/4] PCI: designware: Configuration space should be specified in 'reg'

2014-07-14 Thread Kishon Vijay Abraham I
The configuration address space has so far been specified in *ranges*, however it should be specified in *reg* making it a platform MEM resource. Hence used 'platform_get_resource_*' API to get configuration address space in the designware driver. Cc: Jason Gunthorpe Cc: Bjorn Helgaas Cc: Marek

Re: [PATCHv2 5/6] base: platform: name the device already during allocation

2014-07-14 Thread Greg Kroah-Hartman
On Mon, Jul 14, 2014 at 11:49:38AM +0530, Kishon Vijay Abraham I wrote: > Greg, > > On Thursday 05 June 2014 06:22 PM, Heikki Krogerus wrote: > > This allows resources such as GPIOs and clocks, which can be > > matched based on the device name when requested, to be > > assigned even when PLATFORM_

[PATCH] Staging: rtl8821ae: delete unneeded lines in cam.c

2014-07-14 Thread Joerg C. Meyer
This is a patch to the cam.c file that removes some unneeded lines of commented-out code Signed-off-by: Joerg C. Meyer --- drivers/staging/rtl8821ae/cam.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8821ae/cam.c b/drivers/staging/rtl8821ae/cam.c index 3bc6b3d..6

[PATCH v2 0/4] dra7: Add PCIe support

2014-07-14 Thread Kishon Vijay Abraham I
Changes from v1: * fixed dw_pcie_prog_viewport_io_outbound() to use untranslated address * split dra7xx patch into driver part and documentation part [1] is split into separate series in order for individual subsystem Maintainers to pick up the patches. This series handles the PCIe support for DRA

[PATCH v2 3/4] Documentation: pci: ti: Add dt binding documentation for PCIe in DRA7xx

2014-07-14 Thread Kishon Vijay Abraham I
Added dt binding documentation of PCIe in DRA7xx. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/ti-pci.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/ti-pci.txt diff --git a/Document

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