Re: [PATCH] timer: Fix jiffies wrap behavior of round_jiffies*()

2013-05-30 Thread Bart Van Assche
On 05/30/13 01:01, Andrew Morton wrote: On Tue, 21 May 2013 20:43:50 +0200 Bart Van Assche bart.vanass...@gmail.com wrote: Make sure that the round_jiffies*() functions return a time that is in the future when the jiffies counter is about to wrap. Actually when the jiffies counter has

Re: What is listed in /sys/module?

2013-05-30 Thread anish singh
On Thu, May 30, 2013 at 6:24 AM, Rusty Russell ru...@rustcorp.com.au wrote: Jean Delvare kh...@linux-fr.org writes: Hi Greg, Rusty, I have a question related to /sys/module and can't seem to find the answer by myself so I hope you can explain. I noticed that /sys/module contains more than

[PATCH] arch: m68k: math-emu: unsigned issue, 'unsigned long' will never be less than zero.

2013-05-30 Thread Chen Gang
'oldmant.m32[1]' is 'unsigned long' which never ' 0', and the original author wanted to check the highest bit whether set. So need type cast form 'unsigned long' to 'long'. The related warning: (with EXTRA_CFLAGS=-W ARCH=m68k for allmodconfig) arch/m68k/math-emu/fp_arith.c:522:4: warning:

RE: [PATCH] PCI: set correct value for iov device before device

2013-05-30 Thread Hao, Xudong
Okay, I saw patch in PCI tree two days ago by Jiang Liu. Thanks, -Xudong -Original Message- From: yhlu.ker...@gmail.com [mailto:yhlu.ker...@gmail.com] On Behalf Of Yinghai Lu Sent: Thursday, May 30, 2013 2:05 PM To: Hao, Xudong Cc: Bjorn Helgaas; linux-...@vger.kernel.org; Linux

Re: [RFC][PATCH] mm: Fix RLIMIT_MEMLOCK

2013-05-30 Thread Ingo Molnar
* KOSAKI Motohiro kosaki.motoh...@gmail.com wrote: Hi I'm unhappy you guys uses offensive word so much. Please cool down all you guys. :-/ In fact, _BOTH_ the behavior before and after Cristoph's patch doesn't have cleaner semantics. Erm, this feature _regressed_ after the patch. All

linux-next: Tree for May 30

2013-05-30 Thread Stephen Rothwell
Hi all, Changes since 20130529: The xen-arm tree lost its build failure. The net-next tree lost its build warning. I have created today's linux-next tree at

Re: Basic perf PMU support for Haswell v12

2013-05-30 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: On Tue, May 28, 2013 at 08:29:15AM +0200, Ingo Molnar wrote: * Andi Kleen a...@firstfloor.org wrote: All outstanding issues fixed I hope. And I added mem-loads/stores support. Contains support for: - Basic Haswell PMU and PEBS support

Re: [PATCH] md: Partially revert 2f6db2a7, which broke raid5

2013-05-30 Thread Jens Axboe
On Thu, May 30 2013, NeilBrown wrote: On Wed, 29 May 2013 15:03:40 +0200 Jens Axboe ax...@kernel.dk wrote: On Wed, May 29 2013, Richard W.M. Jones wrote: On Sun, May 19, 2013 at 10:51:45AM -0700, Kent Overstreet wrote: Sorry for the delay - been vacationing. Reproduced the original

Re: [PATCH 4/6] perf, x86: Move NMI clearing to end of PMI handler v2

2013-05-30 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: From: Andi Kleen a...@linux.intel.com This avoids some problems with spurious PMIs on Haswell. Haswell seems to behave more like P4 in this regard. Do the same thing as the P4 perf handler by unmasking the NMI only at the end. Shouldn't make any

RE: [PATCH] dts: am33xx: Correct properties on gpmc node

2013-05-30 Thread Gupta, Pekon
Lars == Lars Poeschel la...@wh2.tu-dresden.de writes: Lars From: Lars Poeschel poesc...@lemonage.de Lars The gpmc driver is actually looking for gpmc,num-cs and Lars gpmc,num-waitpins properties in DT. The binding doc also states Lars this. Lars Correct the properties in the dts to

[PATCH] powerpc/smp: use '==' instead of '' for system_state

2013-05-30 Thread liguang
'system_state SYSTEM_RUNNING' will have same effect with 'system_state == SYSTEM_BOOTING', but the later one is more clearer. Signed-off-by: liguang lig.f...@cn.fujitsu.com --- arch/powerpc/platforms/cell/smp.c|2 +- arch/powerpc/platforms/powernv/smp.c |2 +-

Re: [PATCH v6 net-next 1/5] net: add napi_id and hash

2013-05-30 Thread Eliezer Tamir
On 29/05/2013 23:09, Ben Hutchings wrote: On Wed, 2013-05-29 at 09:39 +0300, Eliezer Tamir wrote: +void napi_hash_add(struct napi_struct *napi) +{ + if (!test_and_set_bit(NAPI_STATE_HASHED, napi-state)) { + + spin_lock(napi_hash_lock); + + /* 0 is not a valid

Re: [patch] minix: bug widening a binary not operation

2013-05-30 Thread Dan Carpenter
On Wed, May 29, 2013 at 03:28:26PM -0700, Andrew Morton wrote: But we should fix it to set a good example, and to quieten whatever-tool-i-suspect-you-were-using(?). Linus wrote some Sparse patches that check for this but they haven't been merged yet. regards, dan carpenter -- To unsubscribe

Re: [PATCH] ata: increase retry count but shorten duration for Calxeda controller

2013-05-30 Thread Tejun Heo
On Wed, May 29, 2013 at 03:35:28PM -0500, Mark Langsdorf wrote: On 05/29/2013 03:12 PM, Timur Tabi wrote: On Wed, May 29, 2013 at 10:51 AM, Mark Langsdorf mark.langsd...@calxeda.com wrote: { - const unsigned long *timing = sata_ehc_deb_timing(link-eh_context); +

Re: Basic perf PMU support for Haswell v12

2013-05-30 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: * Andi Kleen a...@firstfloor.org wrote: On Tue, May 28, 2013 at 08:29:15AM +0200, Ingo Molnar wrote: * Andi Kleen a...@firstfloor.org wrote: All outstanding issues fixed I hope. And I added mem-loads/stores support. Contains

Re: [PATCH, v2 11/13] mm: kill free_all_bootmem_node()

2013-05-30 Thread Tejun Heo
On Wed, May 29, 2013 at 10:44:50PM +0800, Jiang Liu wrote: Now nobody makes use of free_all_bootmem_node(), kill it. Signed-off-by: Jiang Liu jiang@huawei.com Cc: Andrew Morton a...@linux-foundation.org Cc: Johannes Weiner han...@cmpxchg.org Cc: David S. Miller da...@davemloft.net Cc:

[patch v7 0/8] sched: using runnable load avg in balance

2013-05-30 Thread Alex Shi
Thanks comments from Peter, Paul, Morten, Michael and Preeti. The most important change of this version is rebasing on latest tip/sched/core tree. I tested on Intel core2, NHM, SNB, IVB, 2 and 4 sockets machines with benchmark kbuild, aim7, dbench, tbench, hackbench, oltp, and netperf loopback

[patch v7 1/8] Revert sched: Introduce temporary FAIR_GROUP_SCHED dependency for load-tracking

2013-05-30 Thread Alex Shi
Remove CONFIG_FAIR_GROUP_SCHED that covers the runnable info, then we can use runnable load variables. Signed-off-by: Alex Shi alex@intel.com --- include/linux/sched.h | 7 +-- kernel/sched/core.c | 7 +-- kernel/sched/fair.c | 13 ++--- kernel/sched/sched.h | 10

[patch v7 4/8] sched: fix slept time double counting in enqueue entity

2013-05-30 Thread Alex Shi
The wakeuped migrated task will __synchronize_entity_decay(se); in migrate_task_fair, then it needs to set `se-avg.last_runnable_update -= (-se-avg.decay_count) 20' before update_entity_load_avg, in order to avoid slept time is updated twice for se.avg.load_avg_contrib in both __syncchronize and

[patch v7 8/8] sched: remove blocked_load_avg in tg

2013-05-30 Thread Alex Shi
blocked_load_avg sometime is too heavy and far bigger than runnable load avg, that make balance make wrong decision. So remove it. Changlong tested this patch, found ltp cgroup stress testing get better performance: https://lkml.org/lkml/2013/5/23/65 --- 3.10-rc1 patch1-7

Re: [PATCH] ata_piix: add PCI IDs for Intel BayTail

2013-05-30 Thread Tejun Heo
On Thu, May 30, 2013 at 03:02:41PM +0800, chew chiau ee wrote: Baytrail supports only two SATA ports. Baytrail is using the mapping table of ich8_2port_map_db while SNB is using mapping table of ich8_map_db. Ah, alright. Thanks for the explanation. :) -- tejun -- To unsubscribe from this

[patch v7 7/8] sched: consider runnable load average in move_tasks

2013-05-30 Thread Alex Shi
Except using runnable load average in background, move_tasks is also the key functions in load balance. We need consider the runnable load average in it in order to the apple to apple load comparison. Signed-off-by: Alex Shi alex@intel.com --- kernel/sched/fair.c | 10 +- 1 file

[patch v7 6/8] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-05-30 Thread Alex Shi
They are the base values in load balance, update them with rq runnable load average, then the load balance will consider runnable load avg naturally. We also try to include the blocked_load_avg as cpu load in balancing, but that cause kbuild performance drop 6% on every Intel machine, and

[patch v7 5/8] sched: update cpu load after task_tick.

2013-05-30 Thread Alex Shi
To get the latest runnable info, we need do this cpuload update after task_tick. Signed-off-by: Alex Shi alex@intel.com --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 6f226c2..05176b8 100644 ---

[patch v7 3/8] sched: set initial value of runnable avg for new forked task

2013-05-30 Thread Alex Shi
We need initialize the se.avg.{decay_count, load_avg_contrib} for a new forked task. Otherwise random values of above variables cause mess when do new task enqueue: enqueue_task_fair enqueue_entity enqueue_entity_load_avg and make forking balancing imbalance since

[patch v7 2/8] sched: move few runnable tg variables into CONFIG_SMP

2013-05-30 Thread Alex Shi
The following 2 variables only used under CONFIG_SMP, so better to move their definiation into CONFIG_SMP too. atomic64_t load_avg; atomic_t runnable_avg; Signed-off-by: Alex Shi alex@intel.com --- kernel/sched/sched.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH] ARM: EXYNOS: Update defconfig for Arndale and Origen board

2013-05-30 Thread Jingoo Han
On Thursday, May 30, 2013 12:38 PM, Tushar Behera wrote: On 05/30/2013 12:16 AM, Olof Johansson wrote: On Wed, May 29, 2013 at 2:33 AM, Jingoo Han jg1@samsung.com wrote: However, Olof Johansson mentioned, 'drivers/platform/arm/board_arndale.c' would be a good alternative. Whoa. I didn't

[PATCH] powerpc/pseries: use 'true' instead of '1' for orderly_poweroff

2013-05-30 Thread liguang
orderly_poweroff is expecting a bool parameter, so use 'ture' instead '1' Signed-off-by: liguang lig.f...@cn.fujitsu.com --- arch/powerpc/platforms/pseries/ras.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/pseries/ras.c

Re: [PATCH] arch: m68k: math-emu: unsigned issue, 'unsigned long' will never be less than zero.

2013-05-30 Thread Andreas Schwab
Chen Gang gang.c...@asianux.com writes: 'oldmant.m32[1]' is 'unsigned long' which never ' 0', and the original author wanted to check the highest bit whether set. So need type cast form 'unsigned long' to 'long'. Better to make the bit test explicit, since it is not a sign bit. diff --git

Re: [PATCH] powerpc/pseries: use 'true' instead of '1' for orderly_poweroff

2013-05-30 Thread Joe Perches
On Thu, 2013-05-30 at 15:07 +0800, liguang wrote: orderly_poweroff is expecting a bool parameter, so use 'ture' instead '1' [] diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c [] @@ -162,7 +162,7 @@ void rtas_parse_epow_errlog(struct rtas_error_log

Re: [PATCH] powerpc/pseries: use 'true' instead of '1' for orderly_poweroff

2013-05-30 Thread li guang
在 2013-05-30四的 00:14 -0700,Joe Perches写道: On Thu, 2013-05-30 at 15:07 +0800, liguang wrote: orderly_poweroff is expecting a bool parameter, so use 'ture' instead '1' [] diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c [] @@ -162,7 +162,7 @@

[PATCHv2] powerpc/pseries: use 'true' instead of '1' for orderly_poweroff

2013-05-30 Thread liguang
orderly_poweroff is expecting a bool parameter, so use 'true' instead '1' Signed-off-by: liguang lig.f...@cn.fujitsu.com --- arch/powerpc/platforms/pseries/ras.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/pseries/ras.c

Re: Basic perf PMU support for Haswell v12

2013-05-30 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: v12: Rebase to 3.10-rc2 Add mem-loads/stores support for parity with Sandy Bridge. Fix fixed counters (Thanks Ingo!) Make late ack optional Export new config bits in sysfs. Minor changes Sigh, what you have not fixed in your patches are the basic

Re: [v2, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-30 Thread Benoit Cousson
Hi Pekon, On 05/20/2013 06:44 AM, Gupta, Pekon wrote: am33xx_pinmux: pinmux@44e10800 { pinctrl-names = default; - pinctrl-0 = matrix_keypad_s0 volume_keys_s0; + pinctrl-0 = matrix_keypad_s0 volume_keys_s0 + nandflash_pins_s0; Why add this to

Re: [RFC] Add co-maintainer for fbdev

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:53 Wed 29 May , Andrew Morton wrote: On Wed, 29 May 2013 10:32:08 +0900 Jingoo Han jg1@samsung.com wrote: On Wednesday, May 29, 2013 6:20 AM, Arnd Bergmann wrote: On Monday 27 May 2013, Florian Tobias Schandinat wrote: On Fri, May 24, 2013 at 8:38 AM, Jean-Christophe

Re: OOPS in perf_mmap_close()

2013-05-30 Thread Peter Zijlstra
On Wed, May 29, 2013 at 03:18:32PM -0400, Vince Weaver wrote: On Wed, 29 May 2013, Peter Zijlstra wrote: Hurm.. I don't suppose you have an easy reproducer handy eh? I'll go stare at it. At least the current state is better than before, but clearly we're not quite there yet. OK, below

Re: [PATCH v3] aerdrv: Move cper_print_aer() call out of interrupt context

2013-05-30 Thread Borislav Petkov
On Thu, May 30, 2013 at 04:55:20AM +, Ortiz, Lance E wrote: This TODO is a note for future clean-up and is not directly related to the bug being fixed with this patch. Which lends to the argument of why put the TODO in this patch? Opportunistic. I don’t think we want to create a separate

Re: [PATCH] md: Partially revert 2f6db2a7, which broke raid5

2013-05-30 Thread Richard W.M. Jones
On Thu, May 30, 2013 at 09:22:43AM +1000, NeilBrown wrote: On Wed, 29 May 2013 15:03:40 +0200 Jens Axboe ax...@kernel.dk wrote: On Wed, May 29 2013, Richard W.M. Jones wrote: On Sun, May 19, 2013 at 10:51:45AM -0700, Kent Overstreet wrote: Sorry for the delay - been vacationing.

RE: [v2, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-30 Thread Gupta, Pekon
Sorry, I missed that series. I'm applying it right now. No issues.. Please pick newer v4 versions of this series. Following are rebased, updated and tested on linux-3.10-rc3 [PATCH v4,0/3] http://www.spinics.net/lists/linux-omap/msg91165.html [PATCH v4,1/3]

RE: [v2, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-30 Thread Gupta, Pekon
Sorry, I missed that series. I'm applying it right now. No issues.. Please pick newer v4 versions of this series. Following are rebased, updated and tested on linux-3.10-rc3 [PATCH v4,0/3] http://www.spinics.net/lists/linux-omap/msg91165.html [PATCH v4,1/3]

[PATCH] ASoC: OMAP: Remove obsolete Makefile line

2013-05-30 Thread Paul Bolle
Support for omap2evm was removed in v3.0. But only one of its two lines in this Makefile was removed. Remove the second line too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Eyeball tested only. sound/soc/omap/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [v2, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-05-30 Thread Benoit Cousson
On 05/30/2013 09:31 AM, Gupta, Pekon wrote: Sorry, I missed that series. I'm applying it right now. No issues.. Please pick newer v4 versions of this series. Following are rebased, updated and tested on linux-3.10-rc3 [PATCH v4,0/3] http://www.spinics.net/lists/linux-omap/msg91165.html

Re: [PATCH v3 0/5] rtc-at91rm9200: add shadow interrupt mask

2013-05-30 Thread Nicolas Ferre
On 23/05/2013 10:38, Johan Hovold : This is an update of the shadow-interrupt-mask series against v3.10-rc2. I guess we need Atmel to confirm that all sam9x5 SoCs are indeed affected. If not, then some probing mechanism as the one Doug suggested could be implemented on top of (a subset of)

Re: [PATCH -next v2] dmaengine: ste_dma40: fix error return code in d40_probe()

2013-05-30 Thread Linus Walleij
On Thu, May 30, 2013 at 6:32 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In many of the error handling case, the return value 'ret' not set and 0 will be return from d40_probe() even if error, but we should return a negative error code instead in

Re: [PATCH 20/39] usb: musb: ux500: move channel number knowledge into the driver

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: For all ux500 based platforms the maximum number of end-points are used. Move this knowledge into the driver so we can relinquish the burden from platform data. This also removes quite a bit of complexity from the driver

Re: [PATCH 20/39] usb: musb: ux500: move channel number knowledge into the driver

2013-05-30 Thread Linus Walleij
On Wed, May 29, 2013 at 7:57 PM, Felipe Balbi ba...@ti.com wrote: On Wed, May 15, 2013 at 10:51:43AM +0100, Lee Jones wrote: For all ux500 based platforms the maximum number of end-points are used. Move this knowledge into the driver so we can relinquish the burden from platform data. This

[PATCH v3] pwm: add pca9685 driver

2013-05-30 Thread Steffen Trumtrar
Add pwm driver for the NXP pca9685 16 channel pwm-led controller. The driver is really barebones at this stage. E.g. the OE' pin and therefore the corresponding registers are not supported. The driver was tested on a HW where this pin is tied to GND. Signed-off-by: Steffen Trumtrar

Re: [PATCH v3 0/5] rtc-at91rm9200: add shadow interrupt mask

2013-05-30 Thread Nicolas Ferre
On 29/05/2013 22:41, Robert Nelson : On Wed, May 29, 2013 at 3:33 PM, Andrew Morton a...@linux-foundation.org wrote: On Thu, 23 May 2013 10:38:50 +0200 Johan Hovold jhov...@gmail.com wrote: This is an update of the shadow-interrupt-mask series against v3.10-rc2. I guess we need Atmel to

Re: [PATCH] cris: kgdb: use native hex2bin

2013-05-30 Thread Geert Uytterhoeven
On Tue, May 28, 2013 at 5:53 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c index 37e6d2c..07bccd8 100644 --- a/arch/cris/arch-v10/kernel/kgdb.c +++ b/arch/cris/arch-v10/kernel/kgdb.c @@ -659,18

[PATCH 1/4] sys: remove unnecesscary parameter of set_one_prio

2013-05-30 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- kernel/sys.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/kernel/sys.c b/kernel/sys.c index b95d3c7..07c6177 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -151,9 +151,9 @@ static bool

[PATCH 3/4] sys/reboot: boolize C_A_D

2013-05-30 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- include/linux/reboot.h |2 +- kernel/sys.c |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/reboot.h b/include/linux/reboot.h index 23b3630..a8c5e4c 100644 --- a/include/linux/reboot.h +++

[PATCH 4/4] sys: fix malformed panic massage of reboot

2013-05-30 Thread liguang
if LINUX_REBOOT_CMD_HALT for reboot failed, message cannot halt will stay in same line with next message, so append a '\n' for it. Signed-off-by: liguang lig.f...@cn.fujitsu.com --- kernel/sys.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sys.c b/kernel/sys.c

[PATCH 2/4] sys: remove kernel_shutdown_prepare's parameter

2013-05-30 Thread liguang
kernel_shutdown_prepare's parameter can be removed by checking global 'system_state', so, maybe we can save a register to be used :-). Signed-off-by: liguang lig.f...@cn.fujitsu.com --- kernel/sys.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/kernel/sys.c

Re: linux-next: Tree for May 30

2013-05-30 Thread Geert Uytterhoeven
On Thu, May 30, 2013 at 8:33 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Changes since 20130529: The following defconfigs fail without anything useful in the log: - at91sam9g20_defconfig - at91sam9261_defconfig - at91sam9260_defconfig A manual run reveals why: Can't find default

Re: [PATCH 1/4] sys: remove unnecesscary parameter of set_one_prio

2013-05-30 Thread Joe Perches
On Thu, 2013-05-30 at 15:58 +0800, liguang wrote: [] diff --git a/kernel/sys.c b/kernel/sys.c [] -static int set_one_prio(struct task_struct *p, int niceval, int error) +static int set_one_prio(struct task_struct *p, int niceval) Umm, error is forwarded through do_each loops. Are you sure you

Re: [PATCHv3 RESEND 0/6] ARM: sunxi: Add support for A10 Ethernet controller

2013-05-30 Thread Maxime Ripard
Hi Richard, On Wed, May 29, 2013 at 08:15:49PM +0200, Richard Genoud wrote: 2013/5/24 Maxime Ripard maxime.rip...@free-electrons.com: I tested it successfully on cubieboard 1GB, on top of kernel 3.10-rc3, nfsroot (debian wheezy) I also added in sun4i-a10-cubieboard.dts phy0: ethernet-phy@0 {

Re: [PATCH 20/39] usb: musb: ux500: move channel number knowledge into the driver

2013-05-30 Thread Lee Jones
On Thu, 30 May 2013, Linus Walleij wrote: On Wed, May 29, 2013 at 7:57 PM, Felipe Balbi ba...@ti.com wrote: On Wed, May 15, 2013 at 10:51:43AM +0100, Lee Jones wrote: For all ux500 based platforms the maximum number of end-points are used. Move this knowledge into the driver so we can

Re: [PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-30 Thread Po-Yu Chuang
On Wed, May 29, 2013 at 5:34 PM, Po-Yu Chuang ratbert.chu...@gmail.com wrote: Hi Will, On Wed, May 29, 2013 at 4:54 PM, Will Deacon will.dea...@arm.com wrote: On Wed, May 29, 2013 at 03:14:58AM +0100, Po-Yu Chuang wrote: Will, I guess nobody noticed this because the MMU of later v7

Re: [PATCH v3 0/5] rtc-at91rm9200: add shadow interrupt mask

2013-05-30 Thread Nicolas Ferre
On 30/05/2013 01:22, Douglas Gilbert : On 13-05-29 04:41 PM, Robert Nelson wrote: On Wed, May 29, 2013 at 3:33 PM, Andrew Morton a...@linux-foundation.org wrote: On Thu, 23 May 2013 10:38:50 +0200 Johan Hovold jhov...@gmail.com wrote: This is an update of the shadow-interrupt-mask series

Re: [PATCH 1/4] mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-05-30 Thread Michal Hocko
On Wed 22-05-13 12:49:37, Michal Hocko wrote: On Wed 22-05-13 17:29:27, Wanpeng Li wrote: Logic memory-remove code fails to correctly account the Total High Memory when a memory block which contains High Memory is offlined as shown in the example below. The following patch fixes it.

[PATCH v2] arch: m68k: math-emu: unsigned issue, 'unsigned long' will never be less than zero

2013-05-30 Thread Chen Gang
'oldmant.m32[1]' is 'unsigned long' which never ' 0', and the original author wanted to check the highest bit whether set. So need make the bit test explicit (which is better than type cast form 'unsigned long' to 'long'). The related warning: (with EXTRA_CFLAGS=-W ARCH=m68k for allmodconfig)

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-30 Thread Roman Gushchin
On 29.05.2013 23:06, Eric Dumazet wrote: On Wed, 2013-05-29 at 14:09 +0400, Roman Gushchin wrote: True, these lookup functions are usually structured the same around the hlist_nulls_for_each_entry_rcu() loop. A barrier() right before the loop seems to be a benefit, the size of assembly code is

Re: [PATCH 21/39] usb: musb: ux500: move the MUSB HDRC configuration into the driver

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: The MUSB HDRC configuration never changes between each of the ux500 supported platforms, so there's little point passing it though platform data. If we set it in the driver instead, we can make good use of it when booting

[PATCH] ARM: ux500: Reduce PRCMU reg-names to shorter form for u8540 DT

2013-05-30 Thread Lee Jones
After some discussion and deliberation we have decided to only use the short form of the PRCMU register names i.e. not mention the peripheral in which the registers reside. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/ccu8540.dts |2 +- 1 file changed, 1 insertion(+),

Re: [PATCH 22/39] usb: musb: ux500: take the dma_mask from coherent_dma_mask

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: The dma_mask will always be the same as the coherent_dma_mask, so let's cut down on the platform_data burden and set it as such in the driver. This also saves us from supporting it separately when we come to enable this

Re: [v3][PATCH 2/4] x86: warn when NMI handlers take large amounts of time

2013-05-30 Thread Ingo Molnar
* Dave Hansen d...@sr71.net wrote: @@ -96,8 +106,24 @@ static int __kprobes nmi_handle(unsigned * can be latched at any given time. Walk the whole list * to handle those situations. */ - list_for_each_entry_rcu(a, desc-head, list) + list_for_each_entry_rcu(a,

Re: [PATCH 23/39] usb: musb: ux500: harden checks for platform data

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: In its current state, the ux500-musb driver uses platform data pointers blindly with no prior checking. If no platform data pointer is passed this will Oops the kernel. In this patch we ensure platform data and board data

Re: What is listed in /sys/module?

2013-05-30 Thread Jean Delvare
Hi Rusty, Thanks for the fast and helpful reply. On Thu, 30 May 2013 11:53:10 +0530, anish singh wrote: On Thu, May 30, 2013 at 6:24 AM, Rusty Russell ru...@rustcorp.com.au wrote: Jean Delvare kh...@linux-fr.org writes: Hi Greg, Rusty, I have a question related to /sys/module and can't

Re: [PATCH 24/39] usb: musb: ux500: attempt to find channels by name before using pdata

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: If we can ever get to a state where we can solely search for DMA channels by name, this will almost completely alleviate the requirement to pass copious amounts of information though platform data. Here we take the first

Re: [PATCH] arch: m68k: math-emu: unsigned issue, 'unsigned long' will never be less than zero.

2013-05-30 Thread Chen Gang
On 05/30/2013 03:09 PM, Andreas Schwab wrote: Chen Gang gang.c...@asianux.com writes: 'oldmant.m32[1]' is 'unsigned long' which never ' 0', and the original author wanted to check the highest bit whether set. So need type cast form 'unsigned long' to 'long'. Better to make the bit test

Re: [patch v3 -mm 1/3] memcg: integrate soft reclaim tighter with zone shrinking code

2013-05-30 Thread Michal Hocko
On Wed 29-05-13 16:54:00, Michal Hocko wrote: [...] I am still running kbuild tests with the same configuration to see a more general workload. And here we go with the kbuild numbers. Same configuration (mem=1G, one group for kernel build - it is actually expand the three + build a distro

Re: [PATCH 25/39] usb: musb: ux500: add device tree probing support

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: This patch will allow ux500-musb to be probed and configured solely from configuration found in Device Tree. Cc: Felipe Balbi ba...@ti.com Cc: Rob Herring rob.herr...@calxeda.com Cc: linux-...@vger.kernel.org Cc:

Re: [PATCH 26/39] ARM: ux500: Add an auxdata entry for MUSB for clock-name look-up

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: The recently DT:ed MUSB driver will require clock-name by device-name look-up capability, until common clk has is properly supported by the ux500 platform. Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by:

Re: [PATCH 27/39] ARM: ux500: Remove ux500-musb platform registation when booting with DT

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: Now the ux500-musb driver has been enabled for Device Tree, there is no requirement to register it from platform code. Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org

Re: [PATCH 28/39] ARM: ux500: Remove empty function u8500_of_init_devices()

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: As promised, now all devices which resided in u8500_of_init_devices() have been enabled for Device Tree, we can completely remove it. Acked-by: Fabio Baltieri fabio.balti...@linaro.org Signed-off-by: Lee Jones

Re: [patch v3 -mm 1/3] memcg: integrate soft reclaim tighter with zone shrinking code

2013-05-30 Thread Michal Hocko
On Wed 29-05-13 16:01:54, Johannes Weiner wrote: On Wed, May 29, 2013 at 05:57:56PM +0200, Michal Hocko wrote: On Wed 29-05-13 15:05:38, Michal Hocko wrote: On Mon 27-05-13 19:13:08, Michal Hocko wrote: [...] Nevertheless I have encountered an issue while testing the huge number

Re: [PATCH 29/39] dmaengine: ste_dma40: Use the BIT macro to replace ugly '(1 x)'s

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: The aim is to make the code that little more readable. Acked-by: Vinod Koul vnod.k...@intel.com Acked-by: Arnd Bergmann a...@arndb.de Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones

Re: [PATCH 30/39] ARM: ux500: Replace ST-E's home-brew DMA direction definition with the generic one

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: STEDMA40_*_TO_* direction definitions are identical in all but name to the pre-defined generic DMA_*_TO_* ones. Let's make things easy by not duplicating such things. Signed-off-by: Lee Jones lee.jo...@linaro.org Vinod,

Re: [PATCH 1/1] i2c: omap: correct usage of the interrupt enable register

2013-05-30 Thread Oleksandr Dmytryshyn
On 05/29/2013 08:22 PM, Kevin Hilman wrote: Oleksandr Dmytryshyn oleksandr.dmytrys...@ti.com writes: Starting from the OMAP chips with version2 registers scheme there are 2 registers (I2C_IRQENABLE_SET and I2C_IRQENABLE_CLR) to manage interrupts instead of the older OMAP chips with old scheme

Re: [PATCH 31/39] dmaengine: ste_dma40: Replace ST-E's home-brew DMA direction defs with generic ones

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: STEDMA40_*_TO_* direction definitions are identical in all but name to the pre-defined generic DMA_*_TO_* ones. Let's make things easy by not duplicating such things. Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams

Re: [PATCH 32/39] ARM: ux500: Remove recently unused stedma40_xfer_dir enums

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: We're now using the transfer direction definitions provided by the DMA sub-system, so the home-brew ones have become obsolete. Signed-off-by: Lee Jones lee.jo...@linaro.org Tentatively applied, also missing Vinod's ACK

Re: [PATCH 33/39] dmaengine: ste_dma40_ll: Use the BIT macro to replace ugly '(1 x)'s

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: The aim is to make the code that little more readable. Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams d...@fb.com Cc: Per Forlin per.for...@stericsson.com Cc: Rabin Vincent ra...@rab.in Signed-off-by: Lee Jones

Re: [PATCH 34/39] dmaengine: ste_dma40: Convert data_width from register bit format to value

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: When a DMA client requests and configures a DMA channel, it requests data_width in Bytes. The DMA40 driver then swiftly converts it over to the necessary register bit value. Unfortunately, for any subsequent calculations

Re: [PATCH 35/39] dmaengine: ste_dma40_ll: Replace meaningless register set with comment

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: Unsure of the author's intentions, rather than just removing the nop, we're replacing it with a comment containing the possible intention of the statement OR:ing with 0. Cc: Vinod Koul vinod.k...@intel.com Cc: Dan

[PATCH -tip] sched/fair: Remove unused variable from expire_cfs_rq_runtime()

2013-05-30 Thread Kamalesh Babulal
78becc2709 sched: Use an accessor to read the rq clock introduces rq_clock(), which obsoletes use of rq in expire_cfs_rq_runtime() and triggers build warning: kernel/sched/fair.c: In function 'expire_cfs_rq_runtime': kernel/sched/fair.c:2159:13: warning: unused variable 'rq' [-Wunused-variable]

Re: [PATCH 36/39] dmaengine: ste_dma40: Allow memcpy channels to be configured from DT

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:51 AM, Lee Jones lee.jo...@linaro.org wrote: At this moment in time the memcpy channels which can be used by the D40 are fixed, as each supported platform in Mainline uses the same ones. However, platforms do exist which don't follow this convention, so these will

Re: [PATCH v5 12/13] ARM: kirkwood: remove redundant DT board files

2013-05-30 Thread Sebastian Hesselbarth
On 05/30/13 11:06, Arnaud Ebalard wrote: Sebastian Hesselbarth sebastian.hesselba...@gmail.com writes: With DT support for mv643xx_eth board specific init for some boards now is unneccessary. Remove those board files, Kconfig entries, and corresponding entries in kirkwood_defconfig.

Re: [PATCH 7/7] thermal: ti-soc-thermal: add DT example for DRA752 chip

2013-05-30 Thread keerthy
Hi Eduardo, On 05/29/2013 08:37 PM, Eduardo Valentin wrote: Update documentation by adding an example for DRA752 on DT description. Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob

Re: [PATCH] cris: kgdb: use native hex2bin

2013-05-30 Thread Andy Shevchenko
On Thu, May 30, 2013 at 10:57 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Tue, May 28, 2013 at 5:53 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c index 37e6d2c..07bccd8 100644 ---

Re: A bug about system call on ARM

2013-05-30 Thread Will Deacon
On Thu, May 30, 2013 at 02:41:42AM +0100, Wang, Yalin wrote: Hi Will, Hello, Have you received the log files? Yep, and you seem to be completely correct: CPU0 ages the page from which CPU1 just executed a system call, so we explode trying to load the swi instruction in order to retrieve the

Re: [RFC PATCH] vfs: add permute operation

2013-05-30 Thread Linus Torvalds
On Thu, May 30, 2013 at 5:45 PM, Miklos Szeredi mik...@szeredi.hu wrote: The third name is because of the replace-empty-directory wart in the rename(2) definition. With overlay/union that can become 1) check if destination directory is empty: upper directory contains a whiteout for each

Re: [PATCH 37/39] ARM: ux500: Stop passing DMA platform data though AUXDATA

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:52 AM, Lee Jones lee.jo...@linaro.org wrote: The DMA platform data is now empty due to some recent refactoring, so there is no longer a requirement to pass it though. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org Applied to

Re: [PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-30 Thread Will Deacon
On Thu, May 30, 2013 at 09:15:26AM +0100, Po-Yu Chuang wrote: On Wed, May 29, 2013 at 5:34 PM, Po-Yu Chuang ratbert.chu...@gmail.com wrote: Hi Will, On Wed, May 29, 2013 at 4:54 PM, Will Deacon will.dea...@arm.com wrote: On Wed, May 29, 2013 at 03:14:58AM +0100, Po-Yu Chuang wrote:

Re: [PATCH] ARM: OMAP2+: omap-usb-host: clean up pin mux setup code

2013-05-30 Thread Roger Quadros
On 05/09/2013 02:52 AM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130422 03:02]: The USB host pins are named quite differently between OMAP3 and OMAP4+ SoCs. To make this managable in code, we create a pin mapping table (pin_names) that maps pin function to pin name. This pin

Re: [PATCH 38/39] dmaengine: ste_dma40: Fetch the number of physical channels from DT

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:52 AM, Lee Jones lee.jo...@linaro.org wrote: Some platforms insist on obscure physical channel availability. This information is currently passed though platform data in internal BSP kernels. Once those platforms land, they'll need to configure them appropriately,

Re: [PATCH v5 12/13] ARM: kirkwood: remove redundant DT board files

2013-05-30 Thread Arnaud Ebalard
Hi Jason and Sebastian, Sebastian Hesselbarth sebastian.hesselba...@gmail.com writes: With DT support for mv643xx_eth board specific init for some boards now is unneccessary. Remove those board files, Kconfig entries, and corresponding entries in kirkwood_defconfig. Signed-off-by: Sebastian

Re: [PATCH 39/39] dmaengine: ste_dma40: Fetch disabled channels from DT

2013-05-30 Thread Linus Walleij
On Wed, May 15, 2013 at 11:52 AM, Lee Jones lee.jo...@linaro.org wrote: Some platforms have channels which are not available for normal use. This information is currently passed though platform data in internal BSP kernels. Once those platforms land, they'll need to configure them

Re: [PATCH -tip] sched/fair: Remove unused variable from expire_cfs_rq_runtime()

2013-05-30 Thread Frederic Weisbecker
2013/5/30 Kamalesh Babulal kamal...@linux.vnet.ibm.com: 78becc2709 sched: Use an accessor to read the rq clock introduces rq_clock(), which obsoletes use of rq in expire_cfs_rq_runtime() and triggers build warning: kernel/sched/fair.c: In function 'expire_cfs_rq_runtime':

Re: [PATCH] writeback: make local functions as static

2013-05-30 Thread Jan Kara
On Wed 29-05-13 21:49:38, Haicheng Li wrote: Functions not used globally should be static. I agree for wb_do_writeback(). You definitely shouldn't make writeback_inodes_sb_nr() static, that it part of generic writeback API (although it is currently unused, I agree). I'm somewhat undecided about

Re: What is listed in /sys/module?

2013-05-30 Thread anish singh
On Thu, May 30, 2013 at 2:04 PM, Jean Delvare kh...@linux-fr.org wrote: Hi Rusty, Thanks for the fast and helpful reply. On Thu, 30 May 2013 11:53:10 +0530, anish singh wrote: On Thu, May 30, 2013 at 6:24 AM, Rusty Russell ru...@rustcorp.com.au wrote: Jean Delvare kh...@linux-fr.org

<    3   4   5   6   7   8   9   10   11   12   >