Re: [PATCH] clk: mvebu: staticize of_cpu_clk_setup

2013-11-07 Thread Jason Cooper
On Thu, Nov 07, 2013 at 04:59:33PM +0800, Jisheng Zhang wrote: > This symbol is used only in this file. The patch fix the following > sparse warning: > warning: symbol 'of_cpu_clk_setup' was not declared. Should it be static? > > Signed-off-by: Jisheng Zhang > --- > drivers/clk/mvebu/clk-cpu.c |

Re: [RESEND PATCH] fs/buffer.c: exit if already confirmed page has dirty and writeback buffers

2013-11-07 Thread Jan Kara
On Tue 05-11-13 18:02:03, Gu Zheng wrote: > Stop the loop of iterating bh if we have confirmed page > has dirty and writeback buffers. Thanks for the patch. What I'm somewhat missing here is a motivation of the patch. For the common case where blocksize == pagesize this is a noop (only adds some

Re: [PATCH 1/7] ARM: ux500: Remove legacy ATAG SSP support

2013-11-07 Thread Russell King - ARM Linux
On Wed, Nov 06, 2013 at 10:05:42AM +, Lee Jones wrote: > This hasn't been used since we converted the platform to DT only. Ditto. -- 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

Re: [PATCH 1/2] of: irq: Fix interrupt-map entry matching

2013-11-07 Thread Sachin Kamat
On 5 November 2013 20:51, Tomasz Figa wrote: > This patch fixes interrupt-map entry matching code to properly match all > specifier cells with interrupt map entries. > > Signed-off-by: Tomasz Figa Tested on Origen and Arndale boards. Works fine. Tested-by: Sachin Kamat -- With warm regards,

Re: [PATCH v2 01/11] rbtree: Fix rbtree_postorder_for_each_entry_safe() iterator

2013-11-07 Thread Michel Lespinasse
On Wed, Nov 6, 2013 at 5:42 PM, Cody P Schafer wrote: > From: Jan Kara > > The iterator rbtree_postorder_for_each_entry_safe() relies on pointer > underflow behavior when testing for loop termination. In particular > it expects that > &rb_entry(NULL, type, field)->field > is NULL. But the resul

Re: [PATCH v2 02/11] rbtree/test: move rb_node to the middle of the test struct

2013-11-07 Thread Michel Lespinasse
On Wed, Nov 6, 2013 at 5:42 PM, Cody P Schafer wrote: > Avoid making the rb_node the first entry to catch some bugs around NULL > checking the rb_node. > > Signed-off-by: Cody P Schafer > --- > lib/rbtree_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/rbtree_

Re: [PATCH 1/7] ARM: ux500: Remove legacy ATAG SSP support

2013-11-07 Thread Lee Jones
On Thu, 07 Nov 2013, Russell King - ARM Linux wrote: > On Wed, Nov 06, 2013 at 10:05:42AM +, Lee Jones wrote: > > This hasn't been used since we converted the platform to DT only. > > Ditto. I'm confused. Is this an Acked-by? Or do you want me to do something different? -- Lee Jones Lina

Re: Boot failure on Origen with next-20131107

2013-11-07 Thread Sachin Kamat
Hi Tomasz, On 7 November 2013 16:59, Tomasz Figa wrote: > Hi Sachin, > > On Thursday 07 of November 2013 16:25:15 Sachin Kamat wrote: >> Hi, >> >> Today's linux next fails to boot Origen (Exynos4210) board. However, >> Arndale (Exynos5250) board boots fine. Git bisect points to the >> following a

Re: [PATCH v2 03/11] rbtree/test: test rbtree_postorder_for_each_entry_safe()

2013-11-07 Thread Michel Lespinasse
On Wed, Nov 6, 2013 at 5:42 PM, Cody P Schafer wrote: > Signed-off-by: Cody P Schafer > --- > lib/rbtree_test.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c > index df6c125..8b3c9dc 100644 > --- a/lib/rbtree_test.c > +++ b/lib/rbtree

Re: [PATCH 3/7] ARM: ux500: Remove ATAG support for SDI (MMC)

2013-11-07 Thread Lee Jones
On Thu, 07 Nov 2013, Russell King - ARM Linux wrote: > On Wed, Nov 06, 2013 at 10:05:44AM +, Lee Jones wrote: > > This hasn't been used since we moved over to a Device Tree only platform. > > The patch summary line is slightly off. There's nothing here to do with > ATAGs. Oh I see. Yes you'

Re: [PATCH 3/7] ARM: ux500: Remove ATAG support for SDI (MMC)

2013-11-07 Thread Russell King - ARM Linux
On Wed, Nov 06, 2013 at 10:05:44AM +, Lee Jones wrote: > This hasn't been used since we moved over to a Device Tree only platform. The patch summary line is slightly off. There's nothing here to do with ATAGs. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH] efi earlyprintk fix

2013-11-07 Thread Dave Young
On 11/06/13 at 08:49am, Matt Fleming wrote: > On Mon, 04 Nov, at 08:58:53PM, Dave Young wrote: > > On 11/04/13 at 10:37am, Matt Fleming wrote: > > > On Sun, 03 Nov, at 08:16:47PM, Dave Young wrote: > > > > > > > > there's below one line shift problem: > > > > > > > > ACPI=0xd

Re: [PATCH 3/7] ARM: ux500: Remove ATAG support for SDI (MMC)

2013-11-07 Thread Lee Jones
> > -struct mmci_platform_data mop500_sdi0_data = { > > - .f_max = 1, > > - .capabilities = MMC_CAP_4_BIT_DATA | > > - MMC_CAP_SD_HIGHSPEED | > > - MMC_CAP_MMC_HIGHSPEED | > > -

Re: kernel bugzilla #64531: intel microcode information

2013-11-07 Thread Borislav Petkov
On Thu, Nov 07, 2013 at 09:46:40AM +0100, Arjan van de Ven wrote: > fwiw this file lives on intel.com for a while now.. unfortunately it's > one of these websites with fancy downloading stuff for which I suspect > the URLs are not long term stable ;-( > but if you type "microcode" into the search b

Re:

2013-11-07 Thread mypersonalmailbox1
I advise to visit this site! http://pbcontestana.es/_.371_grand_affair_google_.712._.htm?jcacityvun=4905239 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-in

Re: [PATCH] efi earlyprintk fix

2013-11-07 Thread Dave Young
On 11/06/13 at 09:38am, Matt Fleming wrote: > On Wed, 06 Nov, at 05:23:35PM, Dave Young wrote: > > On 11/04/13 at 08:58pm, Dave Young wrote: > > > On 11/04/13 at 10:37am, Matt Fleming wrote: > > > > On Sun, 03 Nov, at 08:16:47PM, Dave Young wrote: > > > > > > > > > > there's below one line shift p

Re: [patch] net: make ndev->irq signed for error handling

2013-11-07 Thread Mugunthan V N
On Thursday 07 November 2013 01:18 PM, Dan Carpenter wrote: > There is a bug in cpsw_probe() where we do: > > ndev->irq = platform_get_irq(pdev, 0); > if (ndev->irq < 0) { > > The problem is that "ndev->irq" is unsigned so the error handling > doesn't work. I have changed it to a regul

RE: [char-misc-next 2/8] mei: hbm: validate client index is not exceeding allocated array size

2013-11-07 Thread Winkler, Tomas
> > > > This somehow should guard buffer overflow allocated of size dev- > >me_clients_num > > In theory this can happen only if something go wrong in hardware > > initialization or there is some other security hole that can change > > client_num. > > What _kind_ of "security hole" could ever chan

Re: [PATCH] edac, highbank: remove dependency on ARCH_HIGHBANK

2013-11-07 Thread Borislav Petkov
On Wed, Nov 06, 2013 at 11:17:41AM -0600, Rob Herring wrote: > Using some interface which is arch specific and should not be used in a > driver. Well, sorry, but this is not something which justifies enabling building of compilation units on arches for which they don't apply. Rather, this should b

Re: [PATCH] mm: add strictlimit knob -v2

2013-11-07 Thread Henrique de Moraes Holschuh
Is there a reason to not enforce strictlimit by default? -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To unsubscribe from thi

Re: [RFC 3/4] ASoC: Allow Aux Codecs to be specified using DT

2013-11-07 Thread Pavel Machek
Hi! > So in (error) case of ! aux_dev->codec_of_node && ! aux_dev->codec_name > we match first possible codec? > > Given code similarity between this and the one above, should there be > helper function that does the comparison (or even walks the list)? Something like this? soc_probe_aux_dev n

Re: [vfs] BUG: spinlock trylock failure on UP on CPU#0, swapper/0

2013-11-07 Thread Christoph Hellwig
On Thu, Nov 07, 2013 at 08:10:42PM +0800, Fengguang Wu wrote: > Greetings, > > I got the below dmesg and the first bad commit seems to be > > commit 1247c74b4f3f3725a8bd8dc0bbd22baa2a9049ae > Author: David Howells > Date: Thu Sep 12 19:22:53 2013 +0100 > > VFS: Put a small type field into

Re: [PATCH 1/1] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-11-07 Thread Sebastian Hesselbarth
On 11/06/13 23:49, Alan Tull wrote: From: Jamie Iles The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of GPIO pins. Signed-off-by: Alan Tull v6: - (atull) squash the set of patches Much better to review, thanks. [...

Re: [vfs] BUG: spinlock trylock failure on UP on CPU#0, swapper/0

2013-11-07 Thread Fengguang Wu
On Thu, Nov 07, 2013 at 04:30:31AM -0800, Christoph Hellwig wrote: > On Thu, Nov 07, 2013 at 08:10:42PM +0800, Fengguang Wu wrote: > > Greetings, > > > > I got the below dmesg and the first bad commit seems to be > > > > commit 1247c74b4f3f3725a8bd8dc0bbd22baa2a9049ae > > Author: David Howells >

[PATCH] thermal: exynos: handle gate clock for misplaced TRIMINFO register

2013-11-07 Thread Naveen Krishna Chatradhi
On Exynos5420 the TMU(4) for GPU has a seperate clock enable bit from the other TMU channels(0 ~ 3). Hence, accessing TRIMINFO for base_second should be acompanied by enabling the respective clock. This patch which allow for a "clk_sec" clock to be specified in the device-tree which will be ungate

Re: [PATCH v2 00/12] pwm-backlight: Add GPIO and power supply support

2013-11-07 Thread Christian Gmeiner
Hi Thierry > This series adds the ability to specify a GPIO and a power supply to > enable a backlight. Whats the state of this patch set? I am looking for this kind of functionality for a pwm based backlight on a devicetree only imx6 device. greets -- Christian Gmeiner, MSc -- To unsubscribe

Re: [PATCH] ARM: l2x0: add prefetch and power ctrl registers configuration support

2013-11-07 Thread Sebastian Hesselbarth
On 11/07/13 06:07, Jisheng Zhang wrote: PL310 supports Prefetch offset/control register from r2p0 and Power control register from r3p0. This patch adds the support to configure these two registers if there are. The dt binding document is also updated. Signed-off-by: Jisheng Zhang --- Document

Re: [PATCH v3 3/5] MCS Lock: Barrier corrections

2013-11-07 Thread Michel Lespinasse
On Thu, Nov 7, 2013 at 4:06 AM, Linus Torvalds wrote: > > On Nov 7, 2013 6:55 PM, "Michel Lespinasse" wrote: >> >> Rather than writing arch-specific locking code, would you agree to >> introduce acquire and release memory operations ? > > Yes, that's probably the right thing to do. What ops do we

RE: mei: cancel stall timers in mei_reset

2013-11-07 Thread Winkler, Tomas
> -Original Message- > From: Eugene Shatokhin [mailto:eugene.shatok...@rosalab.ru] > Sent: Thursday, November 07, 2013 08:38 > To: Winkler, Tomas > Cc: Usyskin, Alexander; Nicol? Costanza; Alex Burmashev; LKML > Subject: RE: mei: cancel stall timers in mei_reset > > Hi, > > > You can sa

Re: ARM audit, seccomp, etc are broken wrt OABI syscalls

2013-11-07 Thread Henrique de Moraes Holschuh
On Tue, 05 Nov 2013, Andy Lutomirski wrote: > Maybe the thing to do is to put a warning in the config text for > CONFIG_OABI_COMPAT that describes the problems (malicious userspace > can confuse syscall auditors, strace, etc.), change the "if in doubt" > part to N, and disable seccomp filters if CO

Re: CONFIG_NO_HZ_FULL + CONFIG_PREEMPT_RT_FULL = nogo

2013-11-07 Thread Frederic Weisbecker
On Thu, Nov 07, 2013 at 12:21:11PM +0100, Thomas Gleixner wrote: > Mike, > > On Thu, 7 Nov 2013, Mike Galbraith wrote: > > > On Thu, 2013-11-07 at 04:26 +0100, Mike Galbraith wrote: > > > On Wed, 2013-11-06 at 18:49 +0100, Thomas Gleixner wrote: > > > > > > I bet you are trying to work around

Re: CONFIG_NO_HZ_FULL + CONFIG_PREEMPT_RT_FULL = nogo

2013-11-07 Thread Mike Galbraith
On Thu, 2013-11-07 at 12:21 +0100, Thomas Gleixner wrote: > Mike, > > On Thu, 7 Nov 2013, Mike Galbraith wrote: > > > On Thu, 2013-11-07 at 04:26 +0100, Mike Galbraith wrote: > > > On Wed, 2013-11-06 at 18:49 +0100, Thomas Gleixner wrote: > > > > > > I bet you are trying to work around some o

Re: CONFIG_NO_HZ_FULL + CONFIG_PREEMPT_RT_FULL = nogo

2013-11-07 Thread Thomas Gleixner
On Thu, 7 Nov 2013, Frederic Weisbecker wrote: > On Thu, Nov 07, 2013 at 12:21:11PM +0100, Thomas Gleixner wrote: > > Though it's not a full solution. It needs some thought versus the > > softirq code of timers. Assume we have only one timer queued 1000 > > ticks into the future. So this change wil

[PATCH] ARM: dts: Exynos5420: Add device nodes for HSI2C blocks

2013-11-07 Thread Naveen Krishna Chatradhi
Exynos5420 SoC has 7 High speed I2C channels, This patch adds the device tree nodes to the DT device list. Signed-off-by: Naveen Krishna Chatradhi Signed-off-by: Andrew Bresticker --- arch/arm/boot/dts/exynos5420.dtsi | 98 + 1 file changed, 98 insertions(+

Re: [PATCH 0/4] perf record: Cleanups and mmap-based output

2013-11-07 Thread Jiri Olsa
On Wed, Nov 06, 2013 at 11:41:33AM -0700, David Ahern wrote: > I know Jiri is working on cleanups of the output file, but had this > sitting around for a couple of weeks now. Might as well push it out > for the next baseline. The cleanups of perf-record can be taken > independently. > > Ingo: I to

Re: [PATCH] edac, highbank: remove dependency on ARCH_HIGHBANK

2013-11-07 Thread Rob Herring
On 11/07/2013 06:27 AM, Borislav Petkov wrote: > On Wed, Nov 06, 2013 at 11:17:41AM -0600, Rob Herring wrote: >> Using some interface which is arch specific and should not be used in a >> driver. > > Well, sorry, but this is not something which justifies enabling building > of compilation units on

Re: [PATCH] ARM: dts: Exynos5420: Add device nodes for HSI2C blocks

2013-11-07 Thread Naveen Krishna Ch
On 7 November 2013 18:52, Naveen Krishna Chatradhi wrote: > Exynos5420 SoC has 7 High speed I2C channels, This patch adds > the device tree nodes to the DT device list. > > Signed-off-by: Naveen Krishna Chatradhi > Signed-off-by: Andrew Bresticker > --- > arch/arm/boot/dts/exynos5420.dtsi | 9

Re: [patch] net: make ndev->irq signed for error handling

2013-11-07 Thread Dan Carpenter
On Thu, Nov 07, 2013 at 05:44:38PM +0530, Mugunthan V N wrote: > On Thursday 07 November 2013 01:18 PM, Dan Carpenter wrote: > > There is a bug in cpsw_probe() where we do: > > > > ndev->irq = platform_get_irq(pdev, 0); > > if (ndev->irq < 0) { > > > > The problem is that "ndev->irq" is uns

Re: [memcg:since-3.12 75/75] fs/proc/meminfo.c:undefined reference to `vm_commit_limit'

2013-11-07 Thread Michal Hocko
On Thu 07-11-13 19:08:16, Wu Fengguang wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git since-3.12 > head: 2f11d7af8df66cb4f217b6293ad8189aa101d601 > commit: 2f11d7af8df66cb4f217b6293ad8189aa101d601 [75/75] > mm-factor-commit-limit-calculation-fix > config: make ARCH=

Re: [PATCH] edac, highbank: remove dependency on ARCH_HIGHBANK

2013-11-07 Thread Borislav Petkov
On Thu, Nov 07, 2013 at 07:23:10AM -0600, Rob Herring wrote: > See, we are benefiting already. You can catch this when building on arm64, i.e. basically one of the target architectures for which the driver is meant for. -- Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "un

Re: Bench for testing scheduler

2013-11-07 Thread Vincent Guittot
On 7 November 2013 12:32, Catalin Marinas wrote: > Hi Vincent, > > (for whatever reason, the text is wrapped and results hard to read) Yes, i have just seen that. It looks like gmail has wrapped the lines. I have added the results which should not be wrapped, at the end of this email > > > On T

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-07 Thread Peter Zijlstra
On Thu, Nov 07, 2013 at 11:17:41AM +, Will Deacon wrote: > Hi Peter, > > Couple of minor fixes on the arm64 side... > > On Wed, Nov 06, 2013 at 01:57:36PM +, Peter Zijlstra wrote: > > --- a/arch/arm64/include/asm/barrier.h > > +++ b/arch/arm64/include/asm/barrier.h > > @@ -35,11 +35,59 @@

[PATCH] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
Call try_to_freeze() in sleep_thread() only when its safe to sleep. do_read() and do_write() calls sleep_thread with lock held. Make sure these wont call try_to_freeze() by passing can_freeze flag to sleep_thread. Signed-off-by: George Cherian --- drivers/usb/gadget/f_mass_storage.c | 23 +++

Re: [PATCH v2 2/2] clocksource: sh_tmu: Add clk_prepare/unprepare support

2013-11-07 Thread Daniel Lezcano
On 10/31/2013 06:24 AM, Simon Horman wrote: On Tue, Oct 29, 2013 at 03:31:37PM +0100, Laurent Pinchart wrote: Prepare the clock at probe time, as there is no other appropriate place in the driver where we're allowed to sleep. Cc: Daniel Lezcano Cc: linux-kernel@vger.kernel.org Signed-off-by: L

Re: kernel bugzilla #64531: intel microcode information

2013-11-07 Thread Henrique de Moraes Holschuh
On Thu, 07 Nov 2013, Ingo Molnar wrote: > How about: > > http://www.intel.com/content/www/us/en/search.html?keyword=linux+microcode+data+file > > ? That, by the looks of it, appears to be a reasonably stable URL. But it is also mostly useless. No version information in the results, and the ne

[PATCH 00/14] sched: SCHED_DEADLINE v9

2013-11-07 Thread Juri Lelli
Hello everyone, SCHED_DEADLINE patchset v9, less than a month after last version [1]! Changes w.r.t. v8: - rebase on top of 3.12; - all comments from Peter Zijlstra and Ingo Molnar applied (thanks!): + auxiliary functions for UP/SMP cases + add a smp_rmb to match dl_set_overload smp_wm

[PATCH 02/14] sched: add extended scheduling interface.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli Add the interface bits needed for supporting scheduling algorithms with extended parameters (e.g., SCHED_DEADLINE). In general, it makes possible to specify a periodic/sporadic task, that executes for a given amount of runtime at each instance, and is scheduled according to

[PATCH 04/14] sched: SCHED_DEADLINE SMP-related data structures & logic.

2013-11-07 Thread Juri Lelli
Introduces data structures relevant for implementing dynamic migration of -deadline tasks and the logic for checking if runqueues are overloaded with -deadline tasks and for choosing where a task should migrate, when it is the case. Adds also dynamic migrations to SCHED_DEADLINE, so that tasks can

[PATCH 12/14] sched: make dl_bw a sub-quota of rt_bw

2013-11-07 Thread Juri Lelli
Change real-time bandwidth management as to make dl_bw a sub-quota of rt_bw. This patch leaves rt_bw at its default value and sets dl_bw at 40% of rt_bw. It also remove sched_dl_period_us control knob using sched_rt_period_us as common period for both rt_bw and dl_bw. Checks are made when the user

[PATCH 13/14] sched: speed up -dl pushes with a push-heap.

2013-11-07 Thread Juri Lelli
Data from tests confirmed that the original active load balancing logic didn't scale neither in the number of CPU nor in the number of tasks (as sched_rt does). Here we provide a global data structure to keep track of deadlines of the running tasks in the system. The structure is composed by a bit

[PATCH 09/14] rtmutex: turn the plist into an rb-tree.

2013-11-07 Thread Juri Lelli
From: Peter Zijlstra Turn the pi-chains from plist to rb-tree, in the rt_mutex code, and provide a proper comparison function for -deadline and -priority tasks. This is done mainly because: - classical prio field of the plist is just an int, which might not be enough for representing a deadl

[PATCH 11/14] sched: add bandwidth management for sched_dl.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli In order of -deadline scheduling to be effective and useful, it is important that some method of having the allocation of the available CPU bandwidth to tasks and task groups under control. This is usually called "admission control" and if it is not performed at all, no guara

[PATCH 10/14] sched: drafted deadline inheritance logic.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli Some method to deal with rt-mutexes and make sched_dl interact with the current PI-coded is needed, raising all but trivial issues, that needs (according to us) to be solved with some restructuring of the pi-code (i.e., going toward a proxy execution-ish implementation). Thi

[PATCH 07/14] sched: add schedstats for -deadline tasks.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli Add some typical sched-debug output to dl_rq(s) and some schedstats to -deadline tasks. This helps spotting problems with queue and dequeue operations (incorrect ordering) and gives hints about system status (one can have an idea if the system is overloaded, if tasks are miss

[PATCH 03/14] sched: SCHED_DEADLINE structures & implementation.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli Introduces the data structures, constants and symbols needed for SCHED_DEADLINE implementation. Core data structure of SCHED_DEADLINE are defined, along with their initializers. Hooks for checking if a task belong to the new policy are also added where they are needed. Adds

[PATCH 01/14] sched: add sched_class->task_dead.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli Add a new function to the scheduling class interface. It is called at the end of a context switch, if the prev task is in TASK_DEAD state. It might be useful for the scheduling classes that want to be notified when one of their task dies, e.g. to perform some cleanup actions

[PATCH 06/14] sched: add period support for -deadline tasks.

2013-11-07 Thread Juri Lelli
From: Harald Gustafsson Make it possible to specify a period (different or equal than deadline) for -deadline tasks. Relative deadlines (D_i) are used on task arrivals to generate new scheduling (absolute) deadlines as "d = t + D_i", and periods (P_i) to postpone the scheduling deadlines as "d =

[PATCH 05/14] sched: SCHED_DEADLINE avg_update accounting.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli Make the core scheduler and load balancer aware of the load produced by -deadline tasks, by updating the moving average like for sched_rt. Signed-off-by: Dario Faggioli Signed-off-by: Juri Lelli --- kernel/sched/deadline.c |2 ++ 1 file changed, 2 insertions(+) diff

[PATCH 14/14] sched: add sched_dl documentation.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli Add in Documentation/scheduler/ some hints about the design choices, the usage and the future possible developments of the sched_dl scheduling class and of the SCHED_DEADLINE policy. Signed-off-by: Dario Faggioli Signed-off-by: Juri Lelli --- Documentation/scheduler/sched

Re: Disabling in-memory write cache for x86-64 in Linux II

2013-11-07 Thread Jan Kara
On Tue 05-11-13 15:12:45, Dave Chinner wrote: > On Mon, Nov 04, 2013 at 05:50:13PM -0700, Andreas Dilger wrote: > > Something simple like “start writing at 16MB dirty on a single file” > > would probably avoid a lot of complexity at little real-world cost. > > That shouldn’t throttle dirtying memor

[PATCH 08/14] sched: add latency tracing for -deadline tasks.

2013-11-07 Thread Juri Lelli
From: Dario Faggioli It is very likely that systems that wants/needs to use the new SCHED_DEADLINE policy also want to have the scheduling latency of the -deadline tasks under control. For this reason a new version of the scheduling wakeup latency, called "wakeup_dl", is introduced. As a conseq

Re: [PATCH] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread Sebastian Andrzej Siewior
On 11/07/2013 02:37 PM, George Cherian wrote: > Call try_to_freeze() in sleep_thread() only when its safe to sleep. > do_read() and do_write() calls sleep_thread with lock held. > Make sure these wont call try_to_freeze() by passing can_freeze flag > to sleep_thread. Thank you. This is was Alan as

Re: [PATCH v3] x86/cpu: Allow higher NR_CPUS values

2013-11-07 Thread Josh Boyer
On Thu, Nov 07, 2013 at 10:15:55AM +0100, Ingo Molnar wrote: > > * Josh Boyer wrote: > > > The current range for SMP configs is 2 - 512 CPUs, or a full 4096 in the > > case of MAXSMP. There are machines that have 1024 CPUs in them today > > and configuring a kernel for that means you are forc

[PATCH v3 0/2] ARC: Add perf support for ARC700 cores

2013-11-07 Thread Mischa Jonker
Hi all, Please find v3 of my attempt to add support for perf for ARC700 PMU's. If possible, it would be nice to get some feedback on the implementation from non-ARC/Synopsys people familiar with the perf subsystem in Linux. Thanks, Mischa v3: split devicetree binding doc into separate

[PATCH v3 1/2] ARC: Add perf support for ARC700 cores

2013-11-07 Thread Mischa Jonker
This adds basic perf support for ARC700 cores. Most PERF_COUNT_HW* events are supported now. Signed-off-by: Mischa Jonker --- arch/arc/boot/dts/angel4.dts |4 + arch/arc/include/asm/perf_event.h | 204 ++- arch/arc/kernel/Makefile |1 + arch/arc/kernel/

[PATCH v3 2/2] ARC: Add documentation on DT binding for ARC700 PMU

2013-11-07 Thread Mischa Jonker
Signed-off-by: Mischa Jonker --- Documentation/devicetree/bindings/arc/pmu.txt | 24 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/arc/pmu.txt diff --git a/Documentation/devicetree/bindings/arc/pmu.txt b/Documentation/devicetre

[RFC][PATCH 1/4] ima: added error messages to template-related functions

2013-11-07 Thread Roberto Sassu
This patch adds some error messages to inform users about the following events: template descriptor not found, template field not found, and template initialization failed. Signed-off-by: Roberto Sassu --- security/integrity/ima/ima_template.c | 12 ++-- 1 file changed, 10 insertions(+),

[RFC][PATCH 0/4] ima: add support for custom template formats

2013-11-07 Thread Roberto Sassu
Hi everyone currently accepted patches for the new template management mechanism allow to choose among a list of supported templates, statically defined in the code. This functionality is not flexible enough as users may want to include in their measurements list only information needed and not us

[RFC][PATCH 2/4] ima: make a copy of template_fmt in template_desc_init_fields()

2013-11-07 Thread Roberto Sassu
This patch makes a copy of the 'template_fmt' function argument so that the latter will not be modified by strsep(), which does the splitting by replacing the given separator with '\0'. Signed-off-by: Roberto Sassu --- security/integrity/ima/ima_template.c | 9 - 1 file changed, 8 insert

[RFC][PATCH 4/4] ima: added support for new kernel cmdline parameter ima_template_fmt

2013-11-07 Thread Roberto Sassu
This patch allows users to provide a custom template format through the new kernel command line parameter 'ima_template_fmt'. If the supplied format is not valid, IMA uses the default template descriptor. Signed-off-by: Roberto Sassu --- Documentation/kernel-parameters.txt | 4 +++ Documen

[RFC][PATCH 3/4] ima: display template format in meas. list if template name length is zero

2013-11-07 Thread Roberto Sassu
With the introduction of the 'ima_template_fmt' kernel cmdline parameter, an user can define a new template descriptor with custom format. However, in this case, userspace tools will be unable to parse the measurements list because the new template is unknown. For this reason, this patch modifies t

Re: Bench for testing scheduler

2013-11-07 Thread Catalin Marinas
On Thu, Nov 07, 2013 at 01:33:43PM +, Vincent Guittot wrote: > On 7 November 2013 12:32, Catalin Marinas wrote: > > On Thu, Nov 07, 2013 at 10:54:30AM +, Vincent Guittot wrote: > >> During the Energy-aware scheduling mini-summit, we spoke about benches > >> that should be used to evaluate

Re: Is there a notification mechanism for enabled/disabled trace events?

2013-11-07 Thread Steven Rostedt
On Thu, 7 Nov 2013 17:42:54 +0900 Alexandre Courbot wrote: > Hi everyone, > > Trace events can be enabled through debugfs by e.g. writing '1' into > their enable node. This is a very useful feature as some tracing > functions can introduce overhead and we only want them active when > needed. >

Re: [PATCH] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
On 11/7/2013 7:19 PM, Sebastian Andrzej Siewior wrote: On 11/07/2013 02:37 PM, George Cherian wrote: Call try_to_freeze() in sleep_thread() only when its safe to sleep. do_read() and do_write() calls sleep_thread with lock held. Make sure these wont call try_to_freeze() by passing can_freeze fla

[PATCH v2] usb: gadget: f_mass_storage: call try_to_freeze only when its safe

2013-11-07 Thread George Cherian
Call try_to_freeze() in sleep_thread() only when its safe to sleep. do_read() and do_write() calls sleep_thread with lock held. Make sure these wont call try_to_freeze() by passing can_freeze flag to sleep_thread. Calling try_to_freeze() with a lock hold was done since day one in f_mass_storage bu

Re: [patch 1/6] hardirq: Make hardirq bits generic

2013-11-07 Thread Geert Uytterhoeven
Hi Thomas, On Wed, Nov 6, 2013 at 6:23 PM, Thomas Gleixner wrote: >> Also note that the value of "nested" doesn't match the indentation level, >> which depends on my own bookkeeping using "nesting". > > Well, nested is just an indicator. It's not the nest level. I know, the only thing that matte

[PATCH 2/2] mm: create a separate slab for page->ptl allocation

2013-11-07 Thread Kirill A. Shutemov
If DEBUG_SPINLOCK and DEBUG_LOCK_ALLOC are enabled spinlock_t on x86_64 is 72 bytes. For page->ptl they will be allocated from kmalloc-96 slab, so we loose 24 on each. An average system can easily allocate few tens thousands of page->ptl and overhead is significant. Let's create a separate slab fo

[PATCH 1/2] mm: Properly separate the bloated ptl from the regular case

2013-11-07 Thread Kirill A. Shutemov
From: Peter Zijlstra Use kernel/bounds.c to convert build-time spinlock_t size check into a preprocessor symbol and apply that to properly separate the page::ptl situation. Signed-off-by: Peter Zijlstra Signed-off-by: Kirill A. Shutemov --- include/linux/mm.h | 24 +-

Re: [PATCH] thermal: exynos: handle gate clock for misplaced TRIMINFO register

2013-11-07 Thread Tomasz Figa
Hi Naveen, On Thursday 07 of November 2013 18:12:34 Naveen Krishna Chatradhi wrote: > On Exynos5420 the TMU(4) for GPU has a seperate clock enable bit from > the other TMU channels(0 ~ 3). Hence, accessing TRIMINFO for base_second > should be acompanied by enabling the respective clock. > > This

Re: [PATCH] ARM: l2x0: add prefetch and power ctrl registers configuration support

2013-11-07 Thread Andrew Lunn
On Thu, Nov 07, 2013 at 01:46:44PM +0100, Sebastian Hesselbarth wrote: > On 11/07/13 06:07, Jisheng Zhang wrote: > >PL310 supports Prefetch offset/control register from r2p0 and Power > >control register from r3p0. This patch adds the support to configure > >these two registers if there are. The dt

Re: KMS/radeon regression: failure to set modes on CEDAR & TAHITI; v3.11 vs 3.12-rc5/rc7

2013-11-07 Thread Veaceslav Falico
On Sun, Nov 3, 2013 at 7:48 PM, Robin H. Johnson wrote: > (Please CC, not sub'd to LKML; Was originally posted to > xorg-driver-...@lists.x.org, dri-de...@lists.freedesktop.org, but I > think the dmesg attachments got it eaten as spam). > > I apologize for not sending this sooner, but I wanted to

Re: [tip:perf/core] tools/perf: Add required memory barriers

2013-11-07 Thread Vince Weaver
On Thu, 7 Nov 2013, Ingo Molnar wrote: > I don't want a library that is external and under-tested: for example > quite a few of the PAPI breakages were found very late, after a new kernel > has been released - that's the big disadvantage of librarization and > decentralization. The decentralize

Re: [PATCH] perf: Fix version when building out of tree

2013-11-07 Thread David Ahern
On 11/7/13, 1:30 AM, Ingo Molnar wrote: * David Ahern wrote: On 11/5/13, 10:36 PM, Ingo Molnar wrote: I think you could avoid the 'short' complication altogether by doing something like this: +elif test -f ../../PERF-VERSION-FILE +then + TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE)

Re: [PATCH v3 3/5] MCS Lock: Barrier corrections

2013-11-07 Thread Paul E. McKenney
On Thu, Nov 07, 2013 at 04:50:23AM -0800, Michel Lespinasse wrote: > On Thu, Nov 7, 2013 at 4:06 AM, Linus Torvalds > wrote: > > > > On Nov 7, 2013 6:55 PM, "Michel Lespinasse" wrote: > >> > >> Rather than writing arch-specific locking code, would you agree to > >> introduce acquire and release m

Re: [GIT PULL] uprobes: preparations for arm port

2013-11-07 Thread Oleg Nesterov
On 11/07, Ingo Molnar wrote: > > * Oleg Nesterov wrote: > > > --- a/arch/powerpc/include/asm/uprobes.h > > +++ b/arch/powerpc/include/asm/uprobes.h > > @@ -37,6 +37,7 @@ typedef ppc_opcode_t uprobe_opcode_t; > > struct arch_uprobe { > > union { > > u8 insn[MAX_UINSN_BYTES]; >

Re: [PATCH 0/2] perf record: mmap output file - v3

2013-11-07 Thread David Ahern
On 11/7/13, 3:06 AM, Jiri Olsa wrote: On Wed, Nov 06, 2013 at 10:51:52AM -0700, David Ahern wrote: On 11/4/13, 11:31 AM, Jiri Olsa wrote: hi, after discussion with David, sending his change updated into the new data file object. David's original post: http://marc.info/?l=linux-kernel&m=1381

Re: [PATCH 09/10] dmatest: gather test results in the linked list

2013-11-07 Thread Andy Shevchenko
On Wed, 2013-11-06 at 10:11 -0800, Dan Williams wrote: > [ excuse the resend, always forget that mobile-gmail sends html by default ] > > On Wed, Nov 6, 2013 at 6:13 AM, Andy Shevchenko > wrote: > > On Tue, 2013-11-05 at 11:58 -0800, Dan Williams wrote: > >> On Mon, Mar 4, 2013 at 1:09 AM, Andy S

Re: [PATCH v9 03/18] arm/xen,arm64/xen: introduce p2m

2013-11-07 Thread Ian Campbell
On Fri, 2013-10-25 at 11:51 +0100, Stefano Stabellini wrote: > Introduce physical to machine and machine to physical tracking > mechanisms based on rbtrees for arm/xen and arm64/xen. > > We need it because any guests on ARM are an autotranslate guests, > therefore a physical address is potentially

Re: [PATCH 1/3 v8] thermal: samsung: add intclr_fall_shift bit in exynos_tmu_register struct

2013-11-07 Thread Tomasz Figa
Hi Naveen, On Thursday 07 of November 2013 11:22:42 Naveen Krishna Chatradhi wrote: > On Exynos5250, the FALL interrupt related en, status and clear bits are > available at an offset of > 16 in INTEN, INTSTAT registers and at an offset of > 12 in INTCLEAR register. > > On Exynos5420, the FALL int

[PATCH] ARM: pxa/colibri: fix build with CONFIG_USB_OHCI_HCD=y

2013-11-07 Thread Dmitry Artamonow
Fix following build failure observed when support for OHCI host controller is enabled. CC arch/arm/mach-pxa/colibri-evalboard.o arch/arm/mach-pxa/colibri-evalboard.c: In function 'colibri_ohci_init': arch/arm/mach-pxa/colibri-evalboard.c:68: error: implicit declaration of function 'IOMEM'

Re: [Xen-devel] [PATCH] xen/balloon: Set balloon's initial state to number of existing RAM pages

2013-11-07 Thread Daniel Kiper
On Wed, Nov 06, 2013 at 08:25:04PM -0500, Konrad Rzeszutek Wilk wrote: > Bob Liu wrote: > > > >On 11/07/2013 04:37 AM, Boris Ostrovsky wrote: > >> Currently balloon's initial value is set to max_pfn which includes > >> non-RAM ranges such as MMIO hole. As result, initial memory target > >> (specif

[no subject]

2013-11-07 Thread Mercedes Benz Company
Did you receive our last email?.  -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] lockref: Use BLOATED_SPINLOCKS to avoid explicit config dependencies

2013-11-07 Thread Kirill A. Shutemov
From: Peter Zijlstra Avoid the fragile Kconfig construct guestimating spinlock_t sizes; use a friendly compile-time test to determine this. Signed-off-by: Peter Zijlstra [kirill.shute...@linux.intel.com: drop CONFIG_CMPXCHG_LOCKREF] Signed-off-by: Kirill A. Shutemov --- include/linux/lockref.

IPIP6 Linux Kernel Implementation

2013-11-07 Thread Pietro Paolini
Hello everyone, I am writing you regarding the implementation of the IPIP6 tunnel contained in the Linux Kernel which I am trying to configure in order to obtain a DS-Lite (IPIP6) compliant tunnel on a router running a linux OS kernel version 2.6.33. This my network topology : lan --> tun1 -->

[PATCH 7/7] perf tools: Remove unneeded include

2013-11-07 Thread Arnaldo Carvalho de Melo
From: Rodrigo Campos There is no point in sort.h including itself. The include was added when the file was created, in commit "perf tools: Create util/sort.and use it" (dd68ada2d) and added a include to "sort.h" in lot of files (all the files that started using the file). It was probably added b

[PATCH 4/7] perf record: Refactor feature handling into a separate function

2013-11-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Code move only. No logic changes. Signed-off-by: David Ahern Acked-by: Ingo Molnar Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1383763297-27066-2-git-send-email-dsah...@gm

[PATCH 2/7] perf tools: Fix version when building out of tree

2013-11-07 Thread Arnaldo Carvalho de Melo
From: David Ahern When building perf out of tree: $ make perf-tar-src-pkg $ tar -xf perf-.tar -C /tmp $ cd /tmp/perf $ make -C tools/perf you get this warning message: make[1]: *** No rule to make target `kernelversion'. Stop. Fix it by saving the perf version in the tar file and

[PATCH 5/7] perf record: Remove advance_output function

2013-11-07 Thread Arnaldo Carvalho de Melo
From: David Ahern 1 line function with only 1 user; might as well embed directly. Signed-off-by: David Ahern Suggested-by: Ingo Molnar Acked-by: Ingo Molnar Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.

[PATCH 1/7] perf evsel: Ditch evsel->handler.data field

2013-11-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Not needed since this cset: fcf65bf149af: perf evsel: Cache associated event_format So lets trim this struct a bit. Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Steph

[GIT PULL 0/7] perf/core improvements and fixes

2013-11-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 8a4d0b56b031455adcbe4a9383c3b497456fcfac: Merge branch 'uprobes/core' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc into perf/core (2013-11-07 08:46:13 +0100)

<    1   2   3   4   5   6   7   >