[PATCH] KVM: x86: cluster mode broadcast does not work

2014-07-30 Thread Nadav Amit
Local-apic enables cluster mode broadcast. As Intel SDM 10.6.2.2 says: "Broadcast to all local APICs is achieved by setting all destination bits to one." This patch enables cluster mode broadcast. Signed-off-by: Nadav Amit --- arch/x86/kvm/lapic.c | 8 ++-- 1 file changed, 6 insertions(+), 2

Re: [PATCH 4/6] MAINTAINERS: Update solo6x10 patterns

2014-07-30 Thread Hans Verkuil
Repost, this time with the linux-media ml included. On 07/30/2014 09:02 AM, Hans Verkuil wrote: > On 07/30/2014 05:38 AM, Joe Perches wrote: >> commit 28cae868cd24 ("[media] solo6x10: move out of staging into >> drivers/media/pci") moved the files, update the patterns. >> >> Signed-off-by: Joe Per

[PATCH] cpuset: fix the WARN_ON() in update_nodemasks_hier()

2014-07-30 Thread Li Zefan
The WARN_ON() is used to check if we break the legal hierarchy, on which the effective mems should be equal to configured mems. Reported-by: Mike Qiu Tested-by: Mike Qiu Signed-off-by: Li Zefan --- kernel/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cpuse

Re: [PATCH 2/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-30 Thread Yuyang Du
On Tue, Jul 29, 2014 at 03:35:10PM +0200, Peter Zijlstra wrote: > > Does not compute, sorry. How would delaying the effect of migrations > help? > > Suppose we have 2 cpus and 6 tasks. cpu0 has 2 tasks, cpu1 has 4 tasks. > the group weights are resp. 341 and 682. We compute we have an imbalance >

Re: [PATCH 3/6] MAINTAINERS: Update go7007 pattern

2014-07-30 Thread Hans Verkuil
On 07/30/2014 05:38 AM, Joe Perches wrote: > Commit 7955f03d18d1 ("[media] go7007: move out of staging into > drivers/media/usb") moved the files, update the pattern. > > Signed-off-by: Joe Perches > cc: Hans Verkuil Acked-By: Hans Verkuil Thanks, I forgot about that one. I'll pull this in t

Re: [PATCH 4/6] MAINTAINERS: Update solo6x10 patterns

2014-07-30 Thread Hans Verkuil
On 07/30/2014 05:38 AM, Joe Perches wrote: > commit 28cae868cd24 ("[media] solo6x10: move out of staging into > drivers/media/pci") moved the files, update the patterns. > > Signed-off-by: Joe Perches > cc: Ismael Luceno > cc: Hans Verkuil Acked-By: Hans Verkuil I'll pull this one in through

[PATCH] ARM/ARM64: don't enter kgdb when userspace executes a kgdb break instruction.

2014-07-30 Thread Omar Sandoval
The kgdb breakpoint hooks (kgdb_brk_fn and kgdb_compiled_brk_fn) should only be entered when a kgdb break instruction is executed from the kernel. Otherwise, if kgdb is enabled, a userspace program can cause the kernel to drop into the debugger by executing either KGDB_BREAKINST or KGDB_COMPILED_BR

Re: linux-next: URL change for mfd tree?

2014-07-30 Thread Lee Jones
Hi Stephen, > I noticed commit 71e297b17bb6 ("MAINTAINERS: Update MFD repo location") > in the mfd-lj tree today. In linux-next, I have the following mfd > trees: > > git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-fixes.git#master > git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mf

Re: [PATCH 3.15 33/37] Fix gcc-4.9.0 miscompilation of load_balance() in scheduler

2014-07-30 Thread Markus Trippelsdorf
On 2014.07.30 at 08:53 +0200, Jakub Jelinek wrote: > On Tue, Jul 29, 2014 at 06:49:09PM -0700, Greg Kroah-Hartman wrote: > > 3.15-stable review patch. If anyone has any objections, please let me know. > > IMNSHO this is a too big hammer approach. The bug happened on a single > file only (right?)

Re: Open-ended task In kernel

2014-07-30 Thread Abhay Sachan
https://bugzilla.kernel.org/ On Wed, Jul 30, 2014 at 10:48 AM, sanjeev sharma wrote: > Thanks greg > > so I need to find issue myself and then start from there.Do we have > some link somewhere open-ended task is captured. > > Regards > Sanjeev Sharma > > On Tue, Jul 29, 2014 at 8:44 PM, gregkh w

Re: [PATCH v3 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-30 Thread Andreas Werner
On Tue, Jul 29, 2014 at 02:47:08PM -0700, Guenter Roeck wrote: > On 07/29/2014 02:12 PM, Wim Van Sebroeck wrote: > >Hi Andreas, > > > >>aOn Thu, Jul 24, 2014 at 03:00:09PM -0700, Bryan Wu wrote: > >>>On Thu, Jul 17, 2014 at 6:18 AM, Andreas Werner > >>>wrote: > Added driver to support the 14F

Re: [RFC PATCH 00/11] Refactor MSI to support Non-PCI device

2014-07-30 Thread Yijing Wang
On 2014/7/30 14:47, Jiang Liu wrote: > > > On 2014/7/30 10:45, Yijing Wang wrote: >> On 2014/7/29 22:08, Arnd Bergmann wrote: >>> On Saturday 26 July 2014 11:08:37 Yijing Wang wrote: The series is a draft of generic MSI driver that supports PCI and Non-PCI device which have MSI

Re: [PATCH 3.15 33/37] Fix gcc-4.9.0 miscompilation of load_balance() in scheduler

2014-07-30 Thread Jakub Jelinek
On Wed, Jul 30, 2014 at 09:13:08AM +0200, Markus Trippelsdorf wrote: > On 2014.07.30 at 08:53 +0200, Jakub Jelinek wrote: > > On Tue, Jul 29, 2014 at 06:49:09PM -0700, Greg Kroah-Hartman wrote: > > > 3.15-stable review patch. If anyone has any objections, please let me > > > know. > > > > IMNSHO

[PATCH 1/4] perf/x86/uncore: declare some functions and variables

2014-07-30 Thread Yan, Zheng
prepare for moving hardware specific code to seperate files Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 149 +- arch/x86/kernel/cpu/perf_event_intel_uncore.h | 32 -- 2 files changed, 98 insertions(+), 83 deletions(-) diff --git a/a

[PATCH 2/4] perf/x86/uncore: move NHM/SNB/IVB specific code to seperate file

2014-07-30 Thread Yan, Zheng
Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/Makefile | 3 +- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 531 +-- arch/x86/kernel/cpu/perf_event_intel_uncore.h | 56 +- arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c | 603 ++

[PATCH 3/4] perf/x86/uncore: move SNB-EP/IvyTown specific code to seperate file

2014-07-30 Thread Yan, Zheng
Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/Makefile |1 + arch/x86/kernel/cpu/perf_event_intel_uncore.c | 1465 + arch/x86/kernel/cpu/perf_event_intel_uncore.h | 164 +- .../x86/kernel/cpu/perf_event_intel_uncore_snbep.c | 1644 +

[PATCH 4/4] perf/x86/uncore: move NHM-EX/WSM-EX specific code to seperate file

2014-07-30 Thread Yan, Zheng
Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/Makefile |2 +- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 1038 + arch/x86/kernel/cpu/perf_event_intel_uncore.h | 185 +-- .../x86/kernel/cpu/perf_event_intel_uncore_nhmex.c | 1221 +++

Re: [PATCH v2] Documentation: fix two typos in watchdog-api.txt

2014-07-30 Thread Randy Dunlap
On 07/29/14 17:56, Sangjung Woo wrote: > This patch changes 'go of' to 'go off' and 'pretimout' to > 'pretimeout'. > > Signed-off-by: Sangjung Woo > Reviewed-by: Guenter Roeck Acked-by: Randy Dunlap Thanks. > --- > Documentation/watchdog/watchdog-api.txt |2 +- > 1 file changed, 1 inser

scheduler crash on Power

2014-07-30 Thread Sukadev Bhattiprolu
I am getting this crash on a Powerpc system using 3.16.0-rc7 kernel plus some patches related to perf (24x7 counters) that Cody Schafer posted here: https://lkml.org/lkml/2014/5/27/768 I don't get the crash on an unpatched kernel though. I have been staring at the perf event patches, bu

Re: [PATCH] mfd: ab8500-core: Use 'ifdef' for config options

2014-07-30 Thread Lee Jones
On Tue, 29 Jul 2014, Fabio Estevam wrote: > From: Fabio Estevam > > The config symbol 'CONFIG_DEBUG_FS' should be protected by a 'ifdef' instead > of a plain 'if'. > > Signed-off-by: Fabio Estevam > --- > drivers/mfd/ab8500-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Appli

Re: [PATCH 3.15 33/37] Fix gcc-4.9.0 miscompilation of load_balance() in scheduler

2014-07-30 Thread Markus Trippelsdorf
On 2014.07.30 at 09:21 +0200, Jakub Jelinek wrote: > On Wed, Jul 30, 2014 at 09:13:08AM +0200, Markus Trippelsdorf wrote: > > On 2014.07.30 at 08:53 +0200, Jakub Jelinek wrote: > > > On Tue, Jul 29, 2014 at 06:49:09PM -0700, Greg Kroah-Hartman wrote: > > > > 3.15-stable review patch. If anyone has

[no subject]

2014-07-30 Thread Mrs Sandra
Do you need a loan?If yes contact us for more info thanks Loan Amount Needed: Loan Duration: Country: Phone Number: -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordo

[tip:timers/core] timekeeping: Fixup typo in update_vsyscall_old definition

2014-07-30 Thread tip-bot for John Stultz
Commit-ID: 953dec21aed4038464fec02f96a2f1b8701a5bce Gitweb: http://git.kernel.org/tip/953dec21aed4038464fec02f96a2f1b8701a5bce Author: John Stultz AuthorDate: Fri, 25 Jul 2014 21:37:19 -0700 Committer: Thomas Gleixner CommitDate: Wed, 30 Jul 2014 09:26:25 +0200 timekeeping: Fixup typo

Re: [PATCH v12 4/8] ata: libahci: allow to use multiple PHYs

2014-07-30 Thread Antoine Ténart
On Tue, Jul 29, 2014 at 10:34:38AM -0400, Tejun Heo wrote: > On Tue, Jul 29, 2014 at 09:20:47AM +0200, Antoine Ténart wrote: > > The current implementation of the libahci does not allow to use multiple > > PHYs. This patch adds the support of multiple PHYs by the libahci while > > keeping the old b

Re: [PATCH 0/2] new API to allocate buffer-cache for superblock in non-movable area

2014-07-30 Thread Gioh Kim
2014-07-22 오후 6:38, Jan Kara 쓴 글: On Tue 22-07-14 09:30:05, Peter Zijlstra wrote: On Tue, Jul 22, 2014 at 02:18:47PM +0900, Gioh Kim wrote: Hello, This patch try to solve problem that a long-lasting page cache of ext4 superblock disturbs page migration. I've been testing CMA feature on my A

Re: [PATCH 0/2] new API to allocate buffer-cache for superblock in non-movable area

2014-07-30 Thread Gioh Kim
2014-07-27 오전 10:01, Theodore Ts'o 쓴 글: Gioh, As follow up, if you want some further discussions about why these patches should be accepted, it would be good to get some hard data about why the keeping the ext4 superblock pinned is causing such a problem for page migation. Can you give us mor

Re: [PATCH 0/2] new API to allocate buffer-cache for superblock in non-movable area

2014-07-30 Thread Kyungmin Park
Adding Marek & Tomasz, On Wed, Jul 30, 2014 at 4:44 PM, Gioh Kim wrote: > > > 2014-07-22 오후 6:38, Jan Kara 쓴 글: > >> On Tue 22-07-14 09:30:05, Peter Zijlstra wrote: >>> >>> On Tue, Jul 22, 2014 at 02:18:47PM +0900, Gioh Kim wrote: Hello, This patch try to solve problem that a

Re: [PATCH v2 2/5] sched: Teach scheduler to understand ONRQ_MIGRATING state

2014-07-30 Thread Kirill Tkhai
В Вт, 29/07/2014 в 18:19 +0200, Oleg Nesterov пишет: > On 07/29, Kirill Tkhai wrote: > > > > How about this? Everything is inside task_rq_lock() now. The patch > > became much less. > > And with this change task_migrating() is not possible under > task_rq_lock() or __task_rq_lock(). This means tha

Re: [PATCH] s390: net: claw.c: Fix a define larger than in a sizeof in conjunction with strncpy

2014-07-30 Thread Ursula Braun
On Sun, 2014-07-27 at 13:50 +0200, Rickard Strandqvist wrote: > The MAX_NAME_LEN is larger than sizeof, which could potentially > giving lots of error here. > > Signed-off-by: Rickard Strandqvist > --- > drivers/s390/net/claw.c | 31 +++ > 1 file changed, 19 inserti

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

2014-07-30 Thread Gioh Kim
2014-07-22 오전 10:04, Gioh Kim 쓴 글: 2014-07-22 오전 9:15, Minchan Kim 쓴 글: Hello Mel, On Mon, Jul 21, 2014 at 02:01:46PM +0100, Mel Gorman wrote: On Mon, Jul 21, 2014 at 04:36:51PM +0900, Minchan Kim wrote: I'm not reviewing this in detail at all, didn't even look at the patch but two things

Re: [PATCH v2 05/29] nios2: Memory management

2014-07-30 Thread Geert Uytterhoeven
On Wed, Jul 30, 2014 at 8:42 AM, Ley Foon Tan wrote: > On Mon, Jul 28, 2014 at 10:59 PM, Geert Uytterhoeven > wrote: >> On Tue, Jul 15, 2014 at 10:45 AM, Ley Foon Tan wrote: >>> --- /dev/null >>> +++ b/arch/nios2/include/asm/mmu.h >>> @@ -0,0 +1,18 @@ >>> +/* >>> + * Copyright (C) 2010 Tobias Kl

Re: [PATCH] s390: net: qeth_core_main.c: Cleaning up missing null-terminate in conjunction with strncpy

2014-07-30 Thread Ursula Braun
On Tue, 2014-07-29 at 15:21 +0200, Rickard Strandqvist wrote: > > Den 29 jul 2014 15:13 skrev "Ursula Braun" > : > > > > On Sat, 2014-07-26 at 16:35 +0200, Rickard Strandqvist wrote: > > > Replacing strncpy with strlcpy to avoid strings that lacks null > terminate. > > > > > > Signed-off-by: Ricka

Re: [PATCH v11 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-30 Thread Antoine Ténart
On Tue, Jul 29, 2014 at 10:40:42AM -0400, Tejun Heo wrote: > On Thu, Jul 24, 2014 at 11:17:25AM +0200, Antoine Ténart wrote: > > @@ -321,6 +321,8 @@ struct ahci_host_priv { > > u32 cap;/* cap to use */ > > u32 cap2; /* cap2 to us

[PATCH net-next] pktgen: add ttl option for pktgen

2014-07-30 Thread Zhouyi Zhou
I think it is useful to add ttl option for pktgen, for example if a some ISP want to test its network quality, it could set ttl so that the tested links get the packet while end users won't get it. Also, add a blank line after declarations in pktgen.c Signed-off-by: Zhouyi Zhou --- Documentat

Re: linux-next: build failure after merge of the net tree

2014-07-30 Thread Oliver Neukum
On Wed, 2014-07-30 at 10:36 +1000, Stephen Rothwell wrote: > Caused by commit 20fbe3ae990f ("cdc_subset: deal with a device that > needs reset for timeout"). > > I have used the net tree from next-20140729 for today (i.e. up to > commit fe26566d8a0515 ("bnx2x: fix crash during TSO tunneling")).

Re: [PATCH 6/9] gpiolib: devres: use correct structure type name in sizeof

2014-07-30 Thread Alexandre Courbot
On Wed, Jul 30, 2014 at 12:16 AM, Julia Lawall wrote: > From: Julia Lawall > > Correct typo in the name of the type given to sizeof. Because it is the > size of a pointer that is wanted, the typo has no impact on compilation or > execution. > > This problem was found using Coccinelle (http://coc

Re: [PATCH 2/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-30 Thread Peter Zijlstra
On Wed, Jul 30, 2014 at 06:27:52AM +0800, Yuyang Du wrote: > On Tue, Jul 29, 2014 at 03:17:29PM +0200, Vincent Guittot wrote: > > >> > > >> IMHO, we should apply the same policy than the one i mentioned for > > >> task. So the load_avg of an entity or a cfs_rq will not be disturbed > > >> by an old

Re: [PATCH v5 14/14] mm, compaction: try to capture the just-created high-order freepage

2014-07-30 Thread Joonsoo Kim
On Tue, Jul 29, 2014 at 05:34:37PM +0200, Vlastimil Babka wrote: > >>@@ -570,6 +572,14 @@ isolate_migratepages_block(struct compact_control *cc, > >>unsigned long low_pfn, > >>unsigned long flags; > >>bool locked = false; > >>struct page *page = NULL, *valid_page = NULL; > >>+ unsign

[PATCH 2/3] dmaengine: sun6i: Free the interrupt before killing the tasklet

2014-07-30 Thread Maxime Ripard
There's still a small window between the call to sun6i_kill_tasklet and the end of the driver remove function where a spurious interrupt might trigger, and start using deallocated resources. Replace the call to synchronize_irq by a free_irq, so that we're sure that we won't get any further interru

[PATCH 0/3] dmaengine: sun6i: Misc fixes for the dma driver

2014-07-30 Thread Maxime Ripard
Hi Dan, Vinod, Here are the patches that you requested previously, plus an additional fix for a memory leak was spotted by Dan Carpenter. Thanks, Maxime Maxime Ripard (3): dmaengine: sun6i: Remove switch statement from buswidth convertion routine dmaengine: sun6i: Free the interrupt befo

[PATCH 3/3] dmaengine: sun6i: Fix memory leaks

2014-07-30 Thread Maxime Ripard
The sun6i_dma_prep_memcpy and sun6i_dma_prep_slave_sg functions were both leaking the descriptor they allocated if an error was happening after a successful dma_pool_alloc call. It also fixes a memleak that was happening in the scatter gather list traversal, that was allocating as much descriptor

[PATCH 1/3] dmaengine: sun6i: Remove switch statement from buswidth convertion routine

2014-07-30 Thread Maxime Ripard
Since the conversion routine is quite trivial, we don't need this switch, and we can just use a simple calculation. Signed-off-by: Maxime Ripard --- drivers/dma/sun6i-dma.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/dma/sun6i-dma.c b/drivers/dma/

Re: [PATCH 2/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-30 Thread Yuyang Du
On Wed, Jul 30, 2014 at 10:30:08AM +0200, Peter Zijlstra wrote: > > > > Isn't the entire effort starting from PJT and Ben up to now to soften the > > extremely > > dynamic changes (runnable or not, weight change, etc)? Assume task does not > > change > > weight much, but group entity does as Pet

Re: [RFC PATCH v1 13/70] x86, x2apic_cluster: _FROZEN Cleanup

2014-07-30 Thread Borislav Petkov
On Wed, Jul 30, 2014 at 02:24:15AM -0400, Chen, Gong wrote: > On Wed, Jul 23, 2014 at 10:36:28PM +0200, Borislav Petkov wrote: > > /* > >* At CPU state changes, update the x2apic cluster sibling info. > >*/ > > @@ -151,9 +166,14 @@ static int > > update_clusterinfo(struct notifier_block

Re: [RFC 3/5] regulator: core: Only apply constraints if available on list voltage

2014-07-30 Thread Javier Martinez Canillas
Hello Mark, thanks a lot for all your feedback. On 07/29/2014 07:18 PM, Mark Brown wrote: > On Tue, Jul 29, 2014 at 06:28:57PM +0200, Javier Martinez Canillas wrote: >> >> But for load switches that don't define a voltage output, the parent >> supply voltage is used so the constraints should only

Re: [PATCH 6/9] gpiolib: devres: use correct structure type name in sizeof

2014-07-30 Thread Julia Lawall
On Wed, 30 Jul 2014, Alexandre Courbot wrote: > On Wed, Jul 30, 2014 at 12:16 AM, Julia Lawall wrote: > > From: Julia Lawall > > > > Correct typo in the name of the type given to sizeof. Because it is the > > size of a pointer that is wanted, the typo has no impact on compilation or > > execu

[PATCH] mm: BUG when __kmap_atomic_idx crosses boundary

2014-07-30 Thread Chintan Pandya
__kmap_atomic_idx >= KM_TYPE_NR or < ZERO is a bug. Report it even if CONFIG_DEBUG_HIGHMEM is not enabled. That saves much debugging efforts. Signed-off-by: Chintan Pandya --- include/linux/highmem.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/linux/highmem.h

Re: [RFC 5/5] ARM: dts: Improve Peach Pit and Pi power scheme model

2014-07-30 Thread Javier Martinez Canillas
On 07/29/2014 07:20 PM, Mark Brown wrote: > On Tue, Jul 29, 2014 at 06:28:59PM +0200, Javier Martinez Canillas wrote: >> The DeviceTree files for the Peach Pit and Pi machines have >> a simplistic model of the connections between the different >> regulators since not all the tps65090 regulators get

[PATCH] ASoC: max98090 add irq valid check

2014-07-30 Thread jianqun
From: Jianqun Since IRQ pin from max98090 may NC, the irq number will be zero, that is invalid for request_threaded_irq, so just add irq valid check there. Since hardware may not MUST to use IRQ pin of max98090 as jack detect, the driver can work well without it, can report jack trigger to CPU b

Re: [RFC 4/5] regulator: tps65090: Set voltage for fixed regulators

2014-07-30 Thread Javier Martinez Canillas
On 07/29/2014 07:36 PM, Mark Brown wrote: > On Tue, Jul 29, 2014 at 06:28:58PM +0200, Javier Martinez Canillas wrote: > >> +#define tps65090_REG_VAR(_id, _sname, en_reg, _en_bits, _ops) \ >> +tps65090_REG_DESC(_id, _sname, en_reg, _en_bits, 0, 0, _ops) > > I'd expect this to describe a variab

Re: [PATCH v2 05/29] nios2: Memory management

2014-07-30 Thread Tobias Klauser
On 2014-07-30 at 10:18:49 +0200, Geert Uytterhoeven wrote: > On Wed, Jul 30, 2014 at 8:42 AM, Ley Foon Tan wrote: > > On Mon, Jul 28, 2014 at 10:59 PM, Geert Uytterhoeven > > wrote: > >> On Tue, Jul 15, 2014 at 10:45 AM, Ley Foon Tan wrote: > >>> --- /dev/null > >>> +++ b/arch/nios2/include/as

linux-next: manual merge of the clk tree with the driver-core tree

2014-07-30 Thread Stephen Rothwell
Hi Mike, Today's linux-next merge of the clk tree got a conflict in drivers/base/platform.c between commit 3d713e0e382e ("driver core: platform: add device binding path 'driver_override'") from the driver-core tree and commit 86be408bfbd8 ("clk: Support for clock parents and rates assigned from de

Re: [PATCH 2/6] MAINTAINERS: Update usb/gadget patterns

2014-07-30 Thread Laurent Pinchart
Hi Joe, Thank you for the patch. On Tuesday 29 July 2014 20:38:40 Joe Perches wrote: > Several commits have moved files around, update the section patterns. > > Signed-off-by: Joe Perches > cc: Thomas Dahlmann > cc: Nicolas Ferre > cc: Li Yang > cc: Eric Miao > cc: Russell King > cc: Haoji

Re: [PATCH v2 05/29] nios2: Memory management

2014-07-30 Thread Tobias Klauser
On 2014-07-15 at 10:45:32 +0200, Ley Foon Tan wrote: > This patch contains the initialisation of the memory blocks, MMU > attributes and the memory map. > > Signed-off-by: Ley Foon Tan > --- > arch/nios2/include/asm/mmu.h | 18 +++ > arch/nios2/include/asm/page.h| 113 +

Re: [PATCH] ASoC: max98090 not need to return fail if fail to request hpdet irq.

2014-07-30 Thread Jianqun
On 2014年07月30日 14:29, Jarkko Nikula wrote: > On 07/30/2014 04:50 AM, jianqun wrote: >> From: xujianqun >> >> Since hardware may not MUST to use IRQ pin of max98090 as jack detect, the >> driver can work well without it, can report jack trigger to CPU by a GPIO. >> >> But here driver will registe

Re: [RFC 1/5] regulator: core: Get voltage from parent if not available

2014-07-30 Thread Javier Martinez Canillas
On 07/29/2014 08:26 PM, Mark Brown wrote: > On Tue, Jul 29, 2014 at 06:28:55PM +0200, Javier Martinez Canillas wrote: >> Load switches are modeled as regulators but they just provide >> the voltage of their parent input supply. So the drivers for > > Applied, thanks. The term "load switch" is a b

Re: [PATCH] mm: BUG when __kmap_atomic_idx crosses boundary

2014-07-30 Thread Andrew Morton
On Wed, 30 Jul 2014 14:22:35 +0530 Chintan Pandya wrote: > __kmap_atomic_idx >= KM_TYPE_NR or < ZERO is a bug. > Report it even if CONFIG_DEBUG_HIGHMEM is not enabled. > That saves much debugging efforts. Please take considerably more care when preparing patch changelogs. kmap_atomic() is a ve

Re: [PATCH 3/4] perf/x86/uncore: move SNB-EP/IvyTown specific code to seperate file

2014-07-30 Thread Peter Zijlstra
What's Ivytown? Is that IVB-EP or EX or both? I want to fix the subject to not mix and match these terms. A quick search seems to suggest Ivytown is IVB-EX, which leaves me wondering what driver does IVB-EP use? Patch 2 seems to be about NHM/WSM/SNB/IVB client parts Patch 4 is about NHM/WSM EX

Re: [PATCH v5 07/14] mm, compaction: khugepaged should not give up due to need_resched()

2014-07-30 Thread Vlastimil Babka
On 07/30/2014 12:53 AM, David Rientjes wrote: On Tue, 29 Jul 2014, Vlastimil Babka wrote: I think there's two ways to go about it: - allow a single thp fault to be expensive and then rely on deferred compaction to avoid subsequent calls in the near future, or - try to make all thp

Re: [PATCH v2 02/29] nios2: Kernel booting and initialization

2014-07-30 Thread Tobias Klauser
On 2014-07-15 at 10:45:29 +0200, Ley Foon Tan wrote: > This patch adds the kernel booting and the initial setup code. > > Signed-off-by: Ley Foon Tan > --- > arch/nios2/include/asm/entry.h | 152 > arch/nios2/include/asm/setup.h | 38 +++ > arch/nios2/kernel/he

Re: [PATCH v11 4/8] ata: libahci: allow to use multiple PHYs

2014-07-30 Thread Kishon Vijay Abraham I
On Thursday 24 July 2014 02:47 PM, Antoine Ténart wrote: > The current implementation of the libahci does not allow to use multiple > PHYs. This patch adds the support of multiple PHYs by the libahci while > keeping the old bindings valid for device tree compatibility. > > This introduce a new w

Re: [PATCH v8 01/11] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-07-30 Thread Russell King - ARM Linux
On Mon, Jul 21, 2014 at 02:07:56PM -0700, Brian Norris wrote: > +static DEFINE_SPINLOCK(boot_lock); > + > +static void brcmstb_secondary_init(unsigned int cpu) > +{ > + /* > + * Synchronise with the boot thread. > + */ > + spin_lock(&boot_lock); > + spin_unlock(&boot_lock); >

Re: [PATCH v5 05/14] mm, compaction: move pageblock checks up from isolate_migratepages_range()

2014-07-30 Thread Vlastimil Babka
On 07/30/2014 01:51 AM, David Rientjes wrote: On Wed, 30 Jul 2014, Kirill A. Shutemov wrote: Hmm, I'm confused at how that could be true, could you explain what memory other than thp can return true for PageTransHuge()? PageTransHuge() will be true for any head of compound page if THP is enab

[RFC PATCH] mm: Add helpers for locked_vm

2014-07-30 Thread Alexey Kardashevskiy
This adds 2 helpers to change the locked_vm counter: - try_increase_locked_vm - may fail if new locked_vm value will be greater than the RLIMIT_MEMLOCK limit; - decrease_locked_vm. These will be used by drivers capable of locking memory by userspace request. For example, VFIO can use it to check i

Re: [PATCH 1/2] sched: fix and clean up calculate_imbalance

2014-07-30 Thread Vincent Guittot
On 29 July 2014 17:27, Peter Zijlstra wrote: > On Tue, Jul 29, 2014 at 04:59:10PM +0200, Peter Zijlstra wrote: >> On Tue, Jul 29, 2014 at 11:04:50AM +0200, Vincent Guittot wrote: >> > > In situations where all the domains are overloaded, or where only the >> > > busiest domain is overloaded, that

Re: [PATCH 8/8] clk: tegra: Add EMC clock driver

2014-07-30 Thread Thierry Reding
On Tue, Jul 29, 2014 at 04:14:44PM -0600, Stephen Warren wrote: > On 07/29/2014 02:19 PM, Mike Turquette wrote: > >Quoting Mikko Perttunen (2014-07-29 01:47:35) > >>On 22/07/14 19:57, Stephen Warren wrote: > >>>On 07/11/2014 08:18 AM, Mikko Perttunen wrote: > +static int emc_debug_rate_set(void

[PATCH] x86, irq: Keep IRQ assignment for PCI devices during suspend/hibernation

2014-07-30 Thread Jiang Liu
Function pci_disable_device() may be called for PCI devices during suspend/hibernation, which in turn may release IRQ assigned to PCI interrupt. Later when pci_enable_device() is called during resume, a different IRQ may be assigned and thus break the driver. So keep IRQ assignment for PCI devices

Re: [PATCH] mtd: atmel_nand: increase chip_delay

2014-07-30 Thread Josh Wu
Hi, Raphael On 7/29/2014 9:27 PM, Raphael Poggi wrote: Some nand with 8k page size like Micron MT29F32G08ABAAAWP need more than 20us. Signed-off-by: Raphaël Poggi --- drivers/mtd/nand/atmel_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/atmel_

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Hugo Mills
On Tue, Jul 29, 2014 at 11:54:20PM -0400, Nick Krause wrote: > Hey Guys , > I am new to reading and writing kernel code.I got interested in > writing code for btrfs as it seems to > need more work then other file systems and this seems other then > drivers, a good use of time on my part. > I in

Re: [PATCH v5 05/14] mm, compaction: move pageblock checks up from isolate_migratepages_range()

2014-07-30 Thread Vlastimil Babka
On 07/30/2014 01:02 AM, David Rientjes wrote: /* - * Isolate all pages that can be migrated from the block pointed to by - * the migrate scanner within compact_control. + * Isolate all pages that can be migrated from the first suitable block, + * starting at the block pointed to by the migrat

Re: [LKP] [drm/i915] WARNING: CPU: 3 PID: 248 at drivers/gpu/drm/i915/intel_pm.c:6427 check_power_well_state+0x60/0x90 [i915]()

2014-07-30 Thread Daniel Vetter
On Wed, Jul 30, 2014 at 4:20 AM, Aaron Lu wrote: > On 07/29/2014 07:10 PM, Daniel Vetter wrote: >> On Tue, Jul 29, 2014 at 12:14 PM, Ville Syrjälä >> wrote: >>> On Tue, Jul 29, 2014 at 10:43:02AM +0800, Aaron Lu wrote: FYI, we noticed the below changes on git://people.freedesktop.o

Re: [Xen-devel] [Intel-gfx] [Announcement] Updates to XenGT - a Mediated Graphics Passthrough Solution from Intel

2014-07-30 Thread Jike Song
On 07/29/2014 06:09 PM, Dario Faggioli wrote: Perhaps the info is available somewhere already (in which case, sorry), but what's the (if any) upstreaming plan/status/ETA? I think this info could well be part of these updates. :-) Thanks for your opinion :-) We plan to start the upstreaming wo

[PATCH v3 0/3] usb: gadget: f_fs: userspace API fixes and improvements

2014-07-30 Thread Robert Baldyga
This patchset contains changes in FunctionFS making it easier and safer to use. It fixes bug in endpoint files handling code, adds new ioctl allowing to obtain endpoint descriptor, and introduces virtual address mapping which allows to separate endpoint address space in function from physical endpo

[PATCH v3 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-07-30 Thread Robert Baldyga
This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/f_fs.c | 17 + include/uapi/linux/usb/functionfs.h | 6 ++ 2 files

[PATCH v3 3/3] usb: gadget: f_fs: virtual endpoint address mapping

2014-07-30 Thread Robert Baldyga
This patch introduces virtual endpoint address mapping. It separates function logic form physical endpoint addresses making it more hardware independent. Following modifications changes user space API, so to enable them user have to switch on the FUNCTIONFS_VIRTUAL_ADDR flag in descriptors. Endpo

[PATCH v3 1/3] usb: gadget: f_fs: fix the redundant ep files problem

2014-07-30 Thread Robert Baldyga
Up to now, when endpoint addresses in descriptors were non-consecutive, there were created redundant files, which could cause problems in kernel, when user tryed to read/write to them. It was result of fact that maximum endpoint address was taken as total number of endpoints in funciton. This patc

Re: [PATCH] ARM: smp_scu: Enable standby mode

2014-07-30 Thread Will Deacon
On Tue, Jul 29, 2014 at 06:21:03PM +0100, Soren Brinkmann wrote: > Enable the SCU standby mode. > From documentation: > When set, SCU CLK is turned off when all processors are in WFI mode, > there is no pending request on the ACP (if implemented), and there is > no remaining activity in the S

Re: [PATCH v7 07/22] Replace the XIP page fault handler with the DAX page fault handler

2014-07-30 Thread Jan Kara
On Tue 29-07-14 17:23:33, Matthew Wilcox wrote: > On Tue, Jul 29, 2014 at 11:04:57PM +0200, Jan Kara wrote: > > > Path 1: > > > > > > ext4_fallocate -> > > > ext4_punch_hole -> > > > ext4_inode_attach_jinode() -> ... -> > > > lock_map_acquire(&handle->h_lockdep_map); > > > truncate_pageca

Re: [PATCH v5 14/14] mm, compaction: try to capture the just-created high-order freepage

2014-07-30 Thread Vlastimil Babka
On 07/30/2014 10:39 AM, Joonsoo Kim wrote: On Tue, Jul 29, 2014 at 05:34:37PM +0200, Vlastimil Babka wrote: Could do it in isolate_migratepages() for whole pageblocks only (as David's patch did), but that restricts the usefulness. Or maybe do it fine grained by calling isolate_migratepages_block

Re: [PATCH] Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch

2014-07-30 Thread Takashi Iwai
At Mon, 28 Jul 2014 16:01:55 +0200, Takashi Iwai wrote: > > At Mon, 28 Jul 2014 15:48:41 +0200, > Takashi Iwai wrote: > > > > At Mon, 28 Jul 2014 09:16:48 -0400, > > Josef Bacik wrote: > > > > > > On 07/28/2014 04:57 AM, Takashi Iwai wrote: > > > > We've got bug reports that btrfs crashes when q

Re: [PATCH v5 2/7] crypto: SHA1 multibuffer crypto hash infrastructure

2014-07-30 Thread Peter Zijlstra
On Tue, Jul 29, 2014 at 03:28:25PM -0700, Tim Chen wrote: > Peter, > > Is my explanation adequate or you still have objection to the implementation? > I'm > trying to decide here whether to extend our batch processing by > the crypto daemon (prolong our busy period) > based on whether there are

PATCH hid: Implement mode switching on Logitech gaming wheels accordingly to the documentation

2014-07-30 Thread Michal Malý
Implement mode switching on Logitech gaming wheels accordingly to the documentation Signed-off-by: Michal Malý --- Logitech has recently released technical documentation which describes the protocol used by their force feedback gaming devices. The documentation describes the method by which

Re: [PATCH 0/2] new API to allocate buffer-cache for superblock in non-movable area

2014-07-30 Thread Jan Kara
On Wed 30-07-14 16:44:24, Gioh Kim wrote: > 2014-07-22 오후 6:38, Jan Kara 쓴 글: > >On Tue 22-07-14 09:30:05, Peter Zijlstra wrote: > >>On Tue, Jul 22, 2014 at 02:18:47PM +0900, Gioh Kim wrote: > >>>Hello, > >>> > >>>This patch try to solve problem that a long-lasting page cache of > >>>ext4 superbloc

Re: [RFC PATCH] mm: Add helpers for locked_vm

2014-07-30 Thread Peter Zijlstra
On Wed, Jul 30, 2014 at 07:28:13PM +1000, Alexey Kardashevskiy wrote: > This adds 2 helpers to change the locked_vm counter: > - try_increase_locked_vm - may fail if new locked_vm value will be greater > than the RLIMIT_MEMLOCK limit; > - decrease_locked_vm. > > These will be used by drivers capab

Re: [PATCH 1/2] sched: fix and clean up calculate_imbalance

2014-07-30 Thread Peter Zijlstra
On Wed, Jul 30, 2014 at 11:32:36AM +0200, Vincent Guittot wrote: > > FWIW, you can add my ack for the new version of the patchset which > includes this patch > Thanks, done! pgpJYUV3jiN2k.pgp Description: PGP signature

Re: [PATCH 0/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-30 Thread Morten Rasmussen
On Sun, Jul 27, 2014 at 08:02:37PM +0100, Yuyang Du wrote: > Hi Morten, > > On Fri, Jul 18, 2014 at 04:39:31PM +0100, Morten Rasmussen wrote: > > 1. runnable_avg_period is removed > > > > load_avg_contrib used to be runnable_avg_sum/runnable_avg_period scaled > > by the task load weight (priority

Re: [PATCH 0/2] new API to allocate buffer-cache for superblock in non-movable area

2014-07-30 Thread Peter Zijlstra
On Wed, Jul 30, 2014 at 12:11:43PM +0200, Jan Kara wrote: > > sb_bread allocates page from movable area but it is not movable until the > > reference counter of the buffer-head becomes zero. > > There is no lock for the buffer but the reference counter acts like lock. > OK, but why do you care ab

Re: [PATCH 0/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-30 Thread Peter Zijlstra
On Wed, Jul 30, 2014 at 11:13:31AM +0100, Morten Rasmussen wrote: > It is a very real problem when user-space uses priorities extensively > like Android does. Tasks related to audio run at very high priorities > but only for a very short amount of time, but due the to priority > scaling their load

Re: [RFC PATCH] mm: Add helpers for locked_vm

2014-07-30 Thread Davidlohr Bueso
On Wed, 2014-07-30 at 19:28 +1000, Alexey Kardashevskiy wrote: > This adds 2 helpers to change the locked_vm counter: > - try_increase_locked_vm - may fail if new locked_vm value will be greater > than the RLIMIT_MEMLOCK limit; > - decrease_locked_vm. > > These will be used by drivers capable of l

linux-kernel@vger.kernel.org

2014-07-30 Thread Punit Agrawal
Olof Johansson writes: > On Tue, Jul 29, 2014 at 4:34 AM, Punit Agrawal wrote: >> Hi Arnd, >> >> Will Deacon writes: >> >>> On Wed, Jul 23, 2014 at 04:01:56PM +0100, Punit Agrawal wrote: > diff --git a/drivers/bus/arm-cci.c b/drivers/bus/arm-cci.c > index 5a86da9..7af78df 100644

Re: [PATCH] mm: BUG when __kmap_atomic_idx crosses boundary

2014-07-30 Thread Davidlohr Bueso
On Wed, 2014-07-30 at 02:06 -0700, Andrew Morton wrote: > On Wed, 30 Jul 2014 14:22:35 +0530 Chintan Pandya > wrote: > > > __kmap_atomic_idx >= KM_TYPE_NR or < ZERO is a bug. > > Report it even if CONFIG_DEBUG_HIGHMEM is not enabled. > > That saves much debugging efforts. > > Please take consi

[PATCH v2 1/1] staging: vt6655: ioctl.c - missing __user annotation

2014-07-30 Thread Anil Belur
From: Anil Belur v2: - private_ioctl() internally calls copy_{to,from}_user() and does not use '__user' which gives out several sparse warnings - this patch adds __user annotation to the data member of struct tagSCmdRequest as suggested by tklau...@distanz.ch - sparse warnings fixed: drivers

Re: [RFC 3/5] regulator: core: Only apply constraints if available on list voltage

2014-07-30 Thread Mark Brown
On Wed, Jul 30, 2014 at 10:49:25AM +0200, Javier Martinez Canillas wrote: > On 07/29/2014 07:18 PM, Mark Brown wrote: > > I would also expect any regulator where the supplied devices are able to > > vary the voltage to explicitly provide a constraint even if the > > implementation is done in a par

Re: [PATCH v5 00/11] Add DRM for stih4xx platforms

2014-07-30 Thread Benjamin Gaignard
I have push two additional patches on drm_kms_for_next-v7 branch to make the driver build as a module: - "gpu: drm: export drm_sysfs_connector_{add,remove} function" - "drm: sti: Allow driver to be built as module" I have tested the both configuration (built-in and module), it is ok on my hardware

Re: [PATCH v2 05/29] nios2: Memory management

2014-07-30 Thread Ley Foon Tan
On Wed, Jul 30, 2014 at 5:01 PM, Tobias Klauser wrote: > On 2014-07-15 at 10:45:32 +0200, Ley Foon Tan wrote: >> This patch contains the initialisation of the memory blocks, MMU >> attributes and the memory map. >> >> Signed-off-by: Ley Foon Tan >> --- >> arch/nios2/include/asm/mmu.h | 18

Re: [PATCH net-next] pktgen: add ttl option for pktgen

2014-07-30 Thread Dmitry Popov
On Wed, 30 Jul 2014 16:21:26 +0800 Zhouyi Zhou wrote: > I think it is useful to add ttl option for pktgen, for example > if a some ISP want to test its network quality, it could set > ttl so that the tested links get the packet while end users won't > get it. It seems you're missing --- a/ne

Re: [PATCH] mm: BUG when __kmap_atomic_idx crosses boundary

2014-07-30 Thread Davidlohr Bueso
On Wed, 2014-07-30 at 03:37 -0700, Davidlohr Bueso wrote: > On Wed, 2014-07-30 at 02:06 -0700, Andrew Morton wrote: > > On Wed, 30 Jul 2014 14:22:35 +0530 Chintan Pandya > > wrote: > > > > > __kmap_atomic_idx >= KM_TYPE_NR or < ZERO is a bug. > > > Report it even if CONFIG_DEBUG_HIGHMEM is not e

Re: [PATCH v2 05/29] nios2: Memory management

2014-07-30 Thread Ley Foon Tan
On Wed, Jul 30, 2014 at 4:57 PM, Tobias Klauser wrote: >> >> Any chance you can use mmu.h from asm-generic instead? >> >> It uses a struct with a single "unsigned long end_brk" member (unless >> >> CONFIG_BINFMT_ELF_FDPIC is defined). >> > From asm-generic/mmu.h, it is for nommu implementations.

Re: [PATCH 3/3][update] PM / sleep: Introduce command line argument for sleep state enumeration

2014-07-30 Thread Pavel Machek
Hi! > For this reason I'm considering changing the defaul behavior going forward (so > that "mem" is always present and means "the deepest sleep state available > other > than hibernation"), but I don't want to do that in one go. Actually, I don't think that's good idea, at least on PC. The way

Re: [PATCH 0/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-30 Thread Morten Rasmussen
On Wed, Jul 30, 2014 at 11:21:28AM +0100, Peter Zijlstra wrote: > On Wed, Jul 30, 2014 at 11:13:31AM +0100, Morten Rasmussen wrote: > > It is a very real problem when user-space uses priorities extensively > > like Android does. Tasks related to audio run at very high priorities > > but only for a

  1   2   3   4   5   6   7   8   9   >