Re: [RFC 0/2] USB gadget - configfs

2012-08-20 Thread Joel Becker
On Fri, Aug 17, 2012 at 12:34:11PM +0200, Sebastian Andrzej Siewior wrote: On 08/17/2012 12:30 PM, Andrzej Pietrasiewicz wrote: There is a separation between setting myself up and seeing that a host wants to talk to me. You are a woman. And if you not done yet done you ignore the host until

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-20 Thread Raymond Jennings
On Sun, 2012-08-19 at 20:47 -0400, Theodore Ts'o wrote: On Mon, Aug 20, 2012 at 01:06:20AM +0200, Carlos Alberto Lopez Perez wrote: I also seriously question the niche of people who want to use a thumb drive to transfer 4GB files. Try it sometime and see what a painful user

linux-next: build failure after merge of the drivers-x86 tree

2012-08-20 Thread Stephen Rothwell
Hi Matthew, After merging the drivers-x86 tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/platform/x86/asus-wmi.c: In function 'asus_new_rfkill': drivers/platform/x86/asus-wmi.c:892:3: error: implicit declaration of function 'rfkill_set_led_trigger_name'

RE: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-20 Thread Kim, Milo
* Rather than having to do the #ifdef here, I think it would be better if the PWM subsystem provided stub functions for pwm_request, pwm_config, pwm_enable, pwm_disable and pwm_free that do nothing, so you can in effect let the compiler optimize away the above code. Thanks a lot for

RE: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-20 Thread Kim, Milo
* Rather than having to do the #ifdef here, I think it would be better if the PWM subsystem provided stub functions for pwm_request, pwm_config, pwm_enable, pwm_disable and pwm_free that do nothing, so you can in effect let the compiler optimize away the above code. That's

[PATCH]mm/ia64: fix a node distance bug

2012-08-20 Thread wujianguo
From: Jianguo Wu wujian...@huawei.com Hi all, When doing memory-hot-plug, We found node distance is wrong after offline a node in IA64 platform. For example system has 4 nodes: node distances: node 0 1 2 3 0: 10 21 21 32 1: 21 10 32 21 2: 21 32 10 21 3: 32

Re: [PATCH] sched: fix kernel-doc warnings in kernel/sched/fair.c

2012-08-20 Thread Peter Zijlstra
On Sat, 2012-08-18 at 17:45 -0700, Randy Dunlap wrote: From: Randy Dunlap rdun...@xenotime.net Fix kernel-doc warnings in kernel/sched/fair.c: Warning(kernel/sched/fair.c:3660): Excess function parameter 'cpus' description in 'update_sg_lb_stats' Warning(kernel/sched/fair.c:3806): Excess

Re: [PATCH 5/8] UBI: check max_beb_per1024 value in ubi_attach_mtd_dev

2012-08-20 Thread Richard Genoud
Hi Shmulik, 2012/8/19 Shmulik Ladkani shmulik.ladk...@gmail.com: Hi Richard, On Fri, 17 Aug 2012 16:35:21 +0200 Richard Genoud richard.gen...@gmail.com wrote: + /* + * A value of 0 is forced to the default value to keep the same + * behavior between ubiattach command and

RE: [PATCH] caif: Do not dereference NULL in chnl_recv_cb()

2012-08-20 Thread Sjur BRENDELAND
In net/caif/chnl_net.c::chnl_recv_cb() we call skb_header_pointer() which may return NULL, but we do not check for a NULL pointer before dereferencing it. This patch adds such a NULL check and properly free's allocated memory and return an error (-EINVAL) on failure - much better than

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

2012-08-20 Thread AceLan Kao
Hi, The commit 154a7a7b2234 (asus-wmi: update wlan LED through rfkill led trigger) needs another patch which was submitted to rfkill, but still not be merged yet. see https://patchwork.kernel.org/patch/1240091/ Sorry for leading to the problem. Best regards, AceLan Kao. 2012/8/20 Stephen

Re: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-20 Thread Arnd Bergmann
On Monday 20 August 2012, Kim, Milo wrote: * I don't understand why you need the if (rvdata-pwm) return 0; case. It's normally better to do the initialization exactly once from the probe() function. You might want to return -EPROBE_DEFER if the pwm source is not yet available though.

Re: [PATCH 4/9] sound/soc/omap/am3517evm.c: fix error return code

2012-08-20 Thread Jarkko Nikula
On 08/19/2012 10:03 AM, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr It was forgotten to initialize ret to the result of calling snd_soc_dai_set_sysclk, unlike at the other calls in the same function. A simplified version of the semantic match that finds this problem is as

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-20 Thread Oliver Neukum
On Sunday 19 August 2012 23:07:32 Raymond Jennings wrote: On Sun, 2012-08-19 at 20:47 -0400, Theodore Ts'o wrote: On Mon, Aug 20, 2012 at 01:06:20AM +0200, Carlos Alberto Lopez Perez wrote: I also seriously question the niche of people who want to use a thumb drive to transfer 4GB

Re: [PATCH 4/4] UBI: replace MTD_UBI_BEB_LIMIT with user-space parameter

2012-08-20 Thread Richard Genoud
Hi Artem, 2012/8/19 Artem Bityutskiy dedeki...@gmail.com: Yeah, I wanted to make it 1..256 but forgot, will do now. 0..256 would need some more work to avoid division by 0. Division by 0 is handled in the get_bad_peb_limit() function, I don't see another dangerous place. So, I think that we can

Re: [PATCH] Extcon: Minor change in the declaration of cable_names

2012-08-20 Thread 함명주
From: anish kumar anish198519851...@gmail.com Instead of const char **supported_cable it is better to have it as const char *const *supported_cable. Signed-off-by: anish kumar anish198519851...@gmail.com Could you please elaborate on why it's better? (Is this fixing the using the

[PATCH] pstore: add missed platform_device_unregister

2012-08-20 Thread Jovi Zhang
From 152373a6262045d19023cf45de84ad3c69316a45 Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Mon, 20 Aug 2012 14:20:01 +0800 Subject: [PATCH] pstore: add missed platform_device_unregister we need unregister platform device when module exit, add it. Signed-off-by: Jovi Zhang

Re: [PATCH]mm/ia64: fix a node distance bug

2012-08-20 Thread Wen Congyang
At 08/20/2012 02:21 PM, wujianguo Wrote: From: Jianguo Wu wujian...@huawei.com Hi all, When doing memory-hot-plug, We found node distance is wrong after offline a node in IA64 platform. For example system has 4 nodes: node distances: node 0 1 2 3 0: 10 21 21 32 1:

Re: [PATCH 27/74] lto: Mark EXPORT_SYMBOL symbols __visible

2012-08-20 Thread Rusty Russell
On Sat, 18 Aug 2012 19:56:23 -0700, Andi Kleen a...@firstfloor.org wrote: @@ -78,11 +78,13 @@ extern struct module __this_module; #else /* !CONFIG_MODULES... */ -#define EXPORT_SYMBOL(sym) -#define EXPORT_SYMBOL_GPL(sym) -#define EXPORT_SYMBOL_GPL_FUTURE(sym) -#define

[GIT PULL] arm-soc: bug fixes for v3.6-rc3

2012-08-20 Thread Arnd Bergmann
Hi Linus, Please pull the latest fixes from the arm-soc tree. Since most patches came in after I sent out the previous pull request but before -rc2, the branch is based on the last commit you pulled from me, in case you are wondering. Arnd The following changes since commit

Re: [PATCH] usb: gadget: lpc32xx_udc: Port to new start/stop interface

2012-08-20 Thread Sebastian Andrzej Siewior
On 08/19/2012 02:33 PM, Roland Stigge wrote: On 17/08/12 11:42, Sebastian Andrzej Siewior wrote: Some minor things: - please use to_udc() in start then - would it make sense to use platform_get_drvdata() in lpc32xx_udc_shutdown() ? - could you please remove struct usb_endpoint_descriptor

Re: [PATCH v6 1/4] xattr: extract simple_xattr code from tmpfs

2012-08-20 Thread Hugh Dickins
On Thu, 16 Aug 2012, Tejun Heo wrote: On Thu, Aug 16, 2012 at 01:44:54PM -0400, a...@redhat.com wrote: From: Li Zefan lize...@huawei.com Extract in-memory xattr APIs from tmpfs. Will be used by cgroup. $ size vmlinux.o textdata bss dec hex filename 4658782

Re: [PATCH] i2c-i801: Add device tree support

2012-08-20 Thread Thierry Reding
On Sat, Aug 18, 2012 at 09:01:52PM +0200, Wolfram Sang wrote: I thought to recall that busses which can be probed at runtime should not have nodes but should be probed. Maybe that was wrong. Can you point me to a dts-file with an example? That approach doesn't work for I2C

Re: lockdep trace from posix timers

2012-08-20 Thread Peter Zijlstra
On Fri, 2012-08-17 at 17:14 +0200, Oleg Nesterov wrote: I still think that task_work_add() should synhronize with exit_task_work() itself and fail if necessary. But I wasn't able to convince Al ;) I'm not at all sure how that relates to needing task_lock() in the keyctl stuff. Also, can't

Re: [PATCH 4/5] drivers/net/wireless/ath/ath6kl/main.c: introduce missing initialization

2012-08-20 Thread Kalle Valo
On 08/19/2012 12:25 AM, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr The result of one call to a function is tested, and then at the second call to the same function, the previous result, and not the current result, is tested again. The semantic match that finds this

RE: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-20 Thread Kim, Milo
In that case, I would recommend changing it from + /* if the pwm device exists, skip requesting the device */ + if (drvdata-pwm) + return 0; to /* warn if the PWM was not released prior to reneabling it */ WARN_ON(drvdata-pwm); OK, thanks for

Re: [PATCH 3/3] IIO: arm: Add LRADC to i.MX28 dts

2012-08-20 Thread Jonathan Cameron
On 19/08/12 16:30, Marek Vasut wrote: Dear Shawn Guo, On 17 August 2012 10:57, Marek Vasut ma...@denx.de wrote: Thanks ... still, is there some key for those tags? Or do you invent them at random and then let people guess what's right? Some git grep on Documentation directory gets me nothing.

Re: [PATCH] Extcon: Minor change in the declaration of cable_names

2012-08-20 Thread anish kumar
On Mon, 2012-08-20 at 06:56 +, 함명주 wrote: From: anish kumar anish198519851...@gmail.com Instead of const char **supported_cable it is better to have it as const char *const *supported_cable. Signed-off-by: anish kumar anish198519851...@gmail.com Could you please elaborate on

Re: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-20 Thread Thierry Reding
On Mon, Aug 20, 2012 at 06:16:41AM +, Kim, Milo wrote: * Rather than having to do the #ifdef here, I think it would be better if the PWM subsystem provided stub functions for pwm_request, pwm_config, pwm_enable, pwm_disable and pwm_free that do nothing, so you can in effect

Re: [PATCH 6/8] UBI: replace MTD_UBI_BEB_LIMIT with module parameter

2012-08-20 Thread Richard Genoud
2012/8/19 Shmulik Ladkani shmulik.ladk...@gmail.com: Hi Richard, On Fri, 17 Aug 2012 16:35:22 +0200 Richard Genoud richard.gen...@gmail.com wrote: + MTD devices may be specified by their number, name, or path to the MTD character device node.\n +

RE: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-20 Thread Kim, Milo
Maybe we should get this resolved somehow in the meantime. Resolving the other issues may take another cycle or two, so you may not want to wait that long. Is that job also including HAVE_PWM configurations? Some SoCs still set HAVE_PWMs and codes exist under arch/ directory. As I far as

[PATCH] iscsi: Don't disable BH on BH context

2012-08-20 Thread Ying Xue
Since we have already in BH context when iscsi_sw_tcp_write_space() is called, it's unnecessary to disable BH. Signed-off-by: Ying Xue ying@windriver.com --- drivers/scsi/iscsi_tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/iscsi_tcp.c

Re: [BUGFIX PATCH][RESEND] kexec iosapic: kexec oops when iosapic was removed

2012-08-20 Thread Hanjun Guo
On 2012/8/17 3:33, Toshi Kani wrote: On Thu, 2012-08-16 at 18:28 +0800, Hanjun Guo wrote: On 2012/8/13 10:54, Luck, Tony wrote: vec = irq_to_vector(irq); list_for_each_entry(rte, info-rtes, rte_list) { + if (rte-refcnt ==

Re: RFC: Link Time Optimization support for the kernel

2012-08-20 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: This rather large patchkit enables gcc Link Time Optimization (LTO) support for the kernel. With LTO gcc will do whole program optimizations for the whole kernel and each module. This increases compile time, but can generate faster code. By how

Re: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-20 Thread Thierry Reding
On Mon, Aug 20, 2012 at 07:41:31AM +, Kim, Milo wrote: Maybe we should get this resolved somehow in the meantime. Resolving the other issues may take another cycle or two, so you may not want to wait that long. Is that job also including HAVE_PWM configurations? Some SoCs still set

Re: [PATCH 3/3] IIO: arm: Add LRADC to i.MX28 dts

2012-08-20 Thread Shawn Guo
On Mon, Aug 20, 2012 at 08:29:23AM +0100, Jonathan Cameron wrote: Mostly these prefixes are an excuse for grumpy maintainers to moan at people :) Yeah, I have to become grumpy when my comment gets ignored and I have to make it right (for several times) to avoid my upstream moaning at me. Is it

Re: [PATCH v2 00/11] Request for Inclusion: kmem controller for memcg.

2012-08-20 Thread Glauber Costa
On 08/18/2012 01:37 AM, Ying Han wrote: On Thu, Aug 9, 2012 at 6:01 AM, Glauber Costa glom...@parallels.com wrote: Hi, This is the first part of the kernel memory controller for memcg. It has been discussed many times, and I consider this stable enough to be on tree. A follow up to this

RE: [PATCH] leds-lm3530: replace pwm platform functions with generic pwm functions

2012-08-20 Thread Kim, Milo
Yes, the goal is to remove all implementations of the old framework (HAVE_PWM) and replace it with PWM only implementations. I suppose we could in the meantime add #ifdef CONFIG_HAVE_PWM around the legacy functions and provide dummies in the !PWM case. That might work. Sounds great, thanks a

Re: [PATCH 3/3] IIO: arm: Add LRADC to i.MX28 dts

2012-08-20 Thread Jonathan Cameron
On 20/08/12 08:52, Shawn Guo wrote: On Mon, Aug 20, 2012 at 08:29:23AM +0100, Jonathan Cameron wrote: Mostly these prefixes are an excuse for grumpy maintainers to moan at people :) Yeah, I have to become grumpy when my comment gets ignored and I have to make it right (for several times) to

[PATCH] serial/imx: improve error diagnosics for clock and pinctrl failures

2012-08-20 Thread Uwe Kleine-König
These error paths are used more often now after deep changes to the clock code and pinctrl is still new for imx. So help debugging and give clues in the boot log. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- drivers/tty/serial/imx.c |3 +++ 1 file changed, 3

Re: Repeated fork() causes SLAB to grow without bound

2012-08-20 Thread Hugh Dickins
On Fri, 17 Aug 2012, Rik van Riel wrote: On 08/17/2012 08:03 PM, Daniel Forrest wrote: Based on your comments, I came up with the following patch. It boots and the anon_vma/anon_vma_chain SLAB usage is stable, but I don't know if I've overlooked something. I'm not a kernel hacker.

[PATCH] sched: add missing call for calc_load_exit_idle

2012-08-20 Thread Charles Wang
From Charles Wang muming...@taobao.com Azat Khuzhin reported high loadavg in linux-3.6 After checking for upstream's code, I found Peter's patch (Commit id:5167e8d5417bf5c322a703d2927daec727ea40dd) not be fully applied, missing the call for calc_load_exit_idle. After that idle exit in sampling

RE: [PATCH 2/3] [media] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-08-20 Thread Marek Szyprowski
Hello, I'm really sorry for a late reply, but I was a bit busy with other stuff. On Tuesday, July 31, 2012 10:17 PM Federico Vaga wrote: Signed-off-by: Federico Vaga federico.v...@gmail.com --- drivers/media/video/Kconfig | 6 +- drivers/media/video/Makefile

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-20 Thread Ingo Molnar
* Arjan van de Ven ar...@linux.intel.com wrote: On 8/15/2012 8:04 AM, Peter Zijlstra wrote: This all sounds far too complicated.. we're talking about simple spreading and packing balancers without deep arch knowledge and knobs, we couldn't possibly evaluate anything like that.

Re: [PATCH 13/22] ARM: ux500: Fork MSP platform registration for step-by-step DT enablement

2012-08-20 Thread Lee Jones
On Tue, Aug 14, 2012 at 01:13:49PM +0200, Linus Walleij wrote: On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: We've done this before and it worked well last time. Here we're duplicating a complex registration function to ease the process of enabling it for Device

[PATCH] ext4: change the debug description in ext4_mb_cleanup_pa

2012-08-20 Thread Wang Sheng-Hui
The count records the PAs freed, not left. Change the debug description. Signed-off-by: Wang Sheng-Hui shh...@gmail.com --- fs/ext4/mballoc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 8eae947..f83b145 100644 ---

Re: regression with poll(2)

2012-08-20 Thread Eric Dumazet
On Sun, 2012-08-19 at 11:49 -0700, Sage Weil wrote: I've bisected and identified this commit: netvm: propagate page-pfmemalloc to skb The skb-pfmemalloc flag gets set to true iff during the slab allocation of data in __alloc_skb that the the PFMEMALLOC reserves were used.

Re: [PATCH 04/22] ASoC: Ux500: Move MSP pinctrl setup into the MSP driver

2012-08-20 Thread Lee Jones
On Tue, Aug 14, 2012 at 10:51:02AM +0200, Linus Walleij wrote: On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: In the initial submission of the MSP driver msp1 and msp3's associated pinctrl mechanism was passed back to platform code using a plat_init() call-back

Re: [PATCH] usb: gadget: lpc32xx_udc: Port to new start/stop interface

2012-08-20 Thread Roland Stigge
Hi, On 08/20/2012 09:07 AM, Sebastian Andrzej Siewior wrote: I merged these changes into the patch set, and will repost it tomorrow after I can test it more thoroughly. Thanks. While you are playing with it, I saw that you handle vbus (-pull()) manually. This was the case in the old

[PATCH 1/3] usb: gadget: lpc32xx_udc: Port to new start/stop interface

2012-08-20 Thread Roland Stigge
This patch adjusts the LPC32xx USB gadget driver to the new udc_start / udc_stop interface. Signed-off-by: Roland Stigge sti...@antcom.de --- Applies to v3.6-rc2 drivers/usb/gadget/lpc32xx_udc.c | 49 +++ 1 file changed, 14 insertions(+), 35 deletions(-)

[PATCH 3/3] usb: gadget: lpc32xx_udc: Support multiple controllers

2012-08-20 Thread Roland Stigge
The lpc32xx_udc driver supported only one controller by defining a global static struct for it. This patch enables multiple instances of the controller by dynamic allocation of the struct at probe(). A static struct is kept as a template on initialization since it does some complex preset,

[PATCH 2/3] usb: gadget: lpc32xx_udc: Remove usb_endpoint_descriptor

2012-08-20 Thread Roland Stigge
This patch removes the utilization of struct usb_endpoint_descriptor, as done by other drivers also. This was done on request by the USB gadget maintainers, since this API is obsoleted. Signed-off-by: Roland Stigge sti...@antcom.de --- drivers/usb/gadget/lpc32xx_udc.c | 23

Re: [PATCH 00/11] pinctrl: mvebu: pinctrl driver

2012-08-20 Thread Linus Walleij
On Sat, Aug 11, 2012 at 2:56 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood. The SoC specific stubs use the pinctrl-mvebu core driver that

Re: [PATCH 4/4] UBI: replace MTD_UBI_BEB_LIMIT with user-space parameter

2012-08-20 Thread Artem Bityutskiy
On Mon, 2012-08-20 at 08:55 +0200, Richard Genoud wrote: Hi Artem, 2012/8/19 Artem Bityutskiy dedeki...@gmail.com: Yeah, I wanted to make it 1..256 but forgot, will do now. 0..256 would need some more work to avoid division by 0. Division by 0 is handled in the get_bad_peb_limit() function,

Re: [PATCH] sched: add missing call for calc_load_exit_idle

2012-08-20 Thread Charles Wang
No email address provided by Azat Khuzhin, so I don't know how to let him know this. - -! On 08/20/2012 04:02 PM, Charles Wang wrote: From Charles Wang muming...@taobao.com Azat Khuzhin reported high loadavg in linux-3.6 After checking for upstream's code, I found Peter's patch (Commit

Re: [PATCH 3/3] usb: gadget: lpc32xx_udc: Support multiple controllers

2012-08-20 Thread Sebastian Andrzej Siewior
On 08/20/2012 10:11 AM, Roland Stigge wrote: --- linux-2.6.orig/drivers/usb/gadget/lpc32xx_udc.c +++ linux-2.6/drivers/usb/gadget/lpc32xx_udc.c @@ -2608,10 +2608,9 @@ static void nop_release(struct device *d /* nothing to free */ } -static struct lpc32xx_udc controller = { +static

Re: [PATCH 2/3] usb: gadget: lpc32xx_udc: Remove usb_endpoint_descriptor

2012-08-20 Thread Sebastian Andrzej Siewior
On 08/20/2012 10:11 AM, Roland Stigge wrote: This patch removes the utilization of struct usb_endpoint_descriptor, as done by other drivers also. This was done on request by the USB gadget maintainers, since this API is obsoleted. #1 and #2 look good. #3 could use a const besides that it looks

Re: [PATCH 5/8] UBI: check max_beb_per1024 value in ubi_attach_mtd_dev

2012-08-20 Thread Artem Bityutskiy
On Mon, 2012-08-20 at 08:31 +0200, Richard Genoud wrote: That's right, I'll correct that in next version. Thanks ! I've amended this patch, added Shmulik's reviewed-by and pushed to linux-ubi.git, thanks! -- Best Regards, Artem Bityutskiy signature.asc Description: This is a digitally

Re: O_DIRECT to md raid 6 is slow

2012-08-20 Thread David Brown
On 20/08/2012 02:01, NeilBrown wrote: On Sun, 19 Aug 2012 18:34:28 -0500 Stan Hoeppner s...@hardwarefreak.com wrote: Since we are trying to set the record straight md/RAID6 must read all devices in a RMW cycle. md/RAID6 must read all data devices (i.e. not parity devices) which it is

Re: [PATCH 35/74] lto, crypto, aes: mark AES tables __visible

2012-08-20 Thread Herbert Xu
On Sat, Aug 18, 2012 at 07:56:31PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com Various tables in aes_generic are accessed by assembler code. Mark them __visible for LTO Cc: herb...@gondor.apana.org.au Signed-off-by: Andi Kleen a...@linux.intel.com Acked-by: Herbert Xu

Re: [PATCH 36/74] lto, crypto, camelia: Make camelia tables used by assembler __visible

2012-08-20 Thread Herbert Xu
On Sat, Aug 18, 2012 at 07:56:32PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com Cc: herb...@gondor.apana.org.au Signed-off-by: Andi Kleen a...@linux.intel.com Acked-by: Herbert Xu herb...@gondor.apana.org.au -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page:

Re: [PATCH 6/8] UBI: replace MTD_UBI_BEB_LIMIT with module parameter

2012-08-20 Thread Richard Genoud
2012/8/20 Richard Genoud richard.gen...@gmail.com: 2012/8/19 Shmulik Ladkani shmulik.ladk...@gmail.com: Hi Richard, On Fri, 17 Aug 2012 16:35:22 +0200 Richard Genoud richard.gen...@gmail.com wrote: + MTD devices may be specified by their number, name, or path to the MTD

Re: [PATCH 5/8] UBI: check max_beb_per1024 value in ubi_attach_mtd_dev

2012-08-20 Thread Artem Bityutskiy
On Mon, 2012-08-20 at 11:25 +0300, Artem Bityutskiy wrote: On Mon, 2012-08-20 at 08:31 +0200, Richard Genoud wrote: That's right, I'll correct that in next version. Thanks ! I've amended this patch, added Shmulik's reviewed-by and pushed to linux-ubi.git, thanks! Sorry, actually I've

Re: [PATCH 1/6] perf, x86: Making hardware events translations available in sysfs

2012-08-20 Thread Stephane Eranian
On Mon, Jul 9, 2012 at 10:37 PM, Jiri Olsa jo...@redhat.com wrote: Making hardware events translations available through the sysfs. Adding 'events' group attribute under the sysfs x86 PMU record with attribute/file for each hardware event: # ls /sys/devices/cpu/events/

Re: [PATCH 2/3] usb: gadget: lpc32xx_udc: Remove usb_endpoint_descriptor

2012-08-20 Thread Roland Stigge
On 08/20/2012 10:19 AM, Sebastian Andrzej Siewior wrote: On 08/20/2012 10:11 AM, Roland Stigge wrote: This patch removes the utilization of struct usb_endpoint_descriptor, as done by other drivers also. This was done on request by the USB gadget maintainers, since this API is obsoleted.

Re: [ 00/46] 3.5.3-stable review

2012-08-20 Thread Holger Hoffstaette
(CC: J. Bruce Fields) Greg, it looks like a fix for a regression in NFS is not mentioned in this patch even though it was supposedly sent to -stable: http://lkml.indiana.edu/hypermail/linux/kernel/1208.2/00594.html I tried to locate the patch in git but could not find it anywhere. As far as I

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-20 Thread Peter Zijlstra
On Mon, 2012-08-20 at 10:06 +0200, Ingo Molnar wrote: I was really more thinking of something useful for the laptops out there, when they pull the power cord it makes sense to try and keep CPUs asleep until the one that's awake is saturated. s/CPU/core ? I was thinking logical

Re: [PATCH 4/4] UBI: replace MTD_UBI_BEB_LIMIT with user-space parameter

2012-08-20 Thread Richard Genoud
2012/8/20 Artem Bityutskiy dedeki...@gmail.com: On Mon, 2012-08-20 at 08:55 +0200, Richard Genoud wrote: Hi Artem, 2012/8/19 Artem Bityutskiy dedeki...@gmail.com: Yeah, I wanted to make it 1..256 but forgot, will do now. 0..256 would need some more work to avoid division by 0. Division by

[PATCH v2 2/3] usb: gadget: lpc32xx_udc: Remove usb_endpoint_descriptor

2012-08-20 Thread Roland Stigge
This patch removes the utilization of struct usb_endpoint_descriptor, as done by other drivers also. This was done on request by the USB gadget maintainers, since this API is obsoleted. Signed-off-by: Roland Stigge sti...@antcom.de --- Changes since v1: * None drivers/usb/gadget/lpc32xx_udc.c

Re: [PATCH 26/74] lto, sound: Fix export symbols for !CONFIG_MODULES

2012-08-20 Thread Takashi Iwai
At Sat, 18 Aug 2012 19:56:22 -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com The new LTO EXPORT_SYMBOL references symbols even without CONFIG_MODULES. Since these functions are macros in this case this doesn't work. Add a ifdef to fix the build. Cc: ti...@suse.de

[PATCH v2 1/3] usb: gadget: lpc32xx_udc: Port to new start/stop interface

2012-08-20 Thread Roland Stigge
This patch adjusts the LPC32xx USB gadget driver to the new udc_start / udc_stop interface. Signed-off-by: Roland Stigge sti...@antcom.de --- Applies to v3.6-rc2 Changes since v1: * None drivers/usb/gadget/lpc32xx_udc.c | 49 +++ 1 file changed, 14

[PATCH v2 3/3] usb: gadget: lpc32xx_udc: Support multiple controllers

2012-08-20 Thread Roland Stigge
The lpc32xx_udc driver supported only one controller by defining a global static struct for it. This patch enables multiple instances of the controller by dynamic allocation of the struct at probe(). A static struct is kept as a template on initialization since it does some complex preset,

Re: [PATCH 3/6] drivers/char/hw_random/octeon-rng.c: drop frees of devm allocated data

2012-08-20 Thread Herbert Xu
On Sat, Aug 04, 2012 at 06:50:46PM +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr devm_kfree and devm_iounmap should not have to be explicitly used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x,d;

Re: [PATCH] crypto: atmel - Remove possible typo error

2012-08-20 Thread Herbert Xu
On Tue, Aug 07, 2012 at 05:32:14PM +0530, Tushar Behera wrote: Commit bd3c7b5c2aba (crypto: atmel - add Atmel AES driver) possibly has a typo error of adding an extra CONFIG_. CC: Nicolas Royer nico...@eukrea.com Signed-off-by: Tushar Behera tushar.beh...@linaro.org Applied. Thanks! --

Re: [PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS

2012-08-20 Thread Herbert Xu
On Wed, Aug 08, 2012 at 05:26:21PM +, Arnd Bergmann wrote: Ok. this leaves the omap-rng driver, and my patch comes down to the below. Thanks! Patch applied. Thanks Arnd. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-20 Thread Lee Jones
On Tue, Aug 14, 2012 at 12:44:37PM +0200, Linus Walleij wrote: On Tue, Aug 14, 2012 at 11:42 AM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 14 August 2012, Linus Walleij wrote: On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: +int db8500_irq_get_virq(int irq);

Re: [PATCH] sched: add missing call for calc_load_exit_idle

2012-08-20 Thread Peter Zijlstra
On Mon, 2012-08-20 at 16:02 +0800, Charles Wang wrote: From Charles Wang muming...@taobao.com Azat Khuzhin reported high loadavg in linux-3.6 After checking for upstream's code, I found Peter's patch (Commit id:5167e8d5417bf5c322a703d2927daec727ea40dd) not be fully applied, missing the

Re: [PATCH] unifdef: set a secure umask before calling mkstemp()

2012-08-20 Thread Bastien ROUCARIES
On Sat, Aug 18, 2012 at 1:43 AM, Tony Finch d...@dotat.at wrote: Jesper Juhl j...@chaosbits.net wrote: In newer glibc's (versions 2.06) reasonably secure permissions of 0600 are used when creating a temporary file with mkstemp(). But for older glibc's (versions = 2.06) 0666 is used which is

Re: [PATCH 0/3]: ezusb cleanup, FX2 support, firmware downloading support

2012-08-20 Thread Rene Buergel
- Ursprüngliche Mail - On Fri, Aug 03, 2012 at 05:06:27PM +0200, René Bürgel wrote: Hello, this is a patches-series for controllers using the ezusb-functions. ezusb: remove dependency to usb_serial interface euzsb: add support for Cypress FX2LP ezusb: add functions for

RE: [RFC 0/2] USB gadget - configfs

2012-08-20 Thread Andrzej Pietrasiewicz
Hello Joel, Thanks for your reply. On Monday, August 20, 2012 8:00 AM Joel Becker wrote: I think what you want here is a symlink. Create a directory high in the tree called 'ready' or 'available', and when you want to lock the device in place, symlink it into that directory. This

[GIT PULL] core kernel fix

2012-08-20 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus HEAD: 0bce9c46bf3b15f485d82d7e81dabed6ebcc24b1 mutex: Place lock in contended state after fastpath_lock failure Thanks, Ingo

Re: [alsa-devel] [PATCH 0/10] fix error return code

2012-08-20 Thread Takashi Iwai
At Sun, 19 Aug 2012 09:02:51 +0200, Julia Lawall wrote: These patches fix cases where the return code appears to be unintentially nonnegative. The patch 10/10 seems missing. Or are all 9 patches? The patch number suddenly changes to X/9 from 4. In anyway, the patches 3, 5, 6, 7, 8 and 9

Re: [PATCH v2 23/31] arm64: Debugging support

2012-08-20 Thread Will Deacon
On Fri, Aug 17, 2012 at 08:06:07AM +0100, Arnd Bergmann wrote: Sorry for the dumb question, but why do you even need PTRACE_GET_THREAD_AREA for 64 bit tasks? I thought the thread pointer is a GPR, or is this just for compat tasks? The TLS is stored in a co-processor register which is read-only

[GIT PULL] perf fixes

2012-08-20 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus HEAD: 26a4f3c08de49c1437a7b7f97693cf22d8c31656 perf/x86: disable PEBS on a guest entry. Thanks, Ingo -- Borislav

Re: [PATCH 01/11] pinctrl: mvebu: pinctrl driver core

2012-08-20 Thread Linus Walleij
On Sat, Aug 11, 2012 at 2:56 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: This patch adds a pinctrl driver core for Marvell SoCs plus DT binding documentation. This core driver will be used by SoC family specific drivers, i.e. Armada XP, Armada 370, Dove, Kirkwood, aso.

Re: regression with poll(2)

2012-08-20 Thread Mel Gorman
On Sun, Aug 19, 2012 at 11:49:31AM -0700, Sage Weil wrote: I've bisected and identified this commit: netvm: propagate page-pfmemalloc to skb The skb-pfmemalloc flag gets set to true iff during the slab allocation of data in __alloc_skb that the the PFMEMALLOC reserves were

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-20 Thread Alexander Thomas
On Mon, Aug 20, 2012 at 2:47 AM, Theodore Ts'o ty...@mit.edu wrote: More and more consumer devices, including TV's, are network-enabled. I'm not at all convinced the USB memory disk model is the one which makes sense --- you can make a much better user experience work if you can rely on

[GIT PULL] scheduler fixes

2012-08-20 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus HEAD: 8f6189684eb4e85e6c593cd710693f09c944450a sched: Fix migration thread runtime bogosity Thanks, Ingo --

Re: [alsa-devel] [PATCH 1/2] snd-ad1816a: remove useless struct snd_card_ad1816a

2012-08-20 Thread Takashi Iwai
At Sun, 19 Aug 2012 23:27:19 +0200, Ondrej Zary wrote: struct snd_card_ad1816a is only set but the values are never used then. Removing it allows struct snd_card's private_data to be used for struct snd_ad1816a, simplifying the code. Signed-off-by: Ondrej Zary li...@rainbow-software.org

Re: [PATCH 46/74] x86, lto: Disable fancy hweight optimizations for LTO

2012-08-20 Thread Avi Kivity
On 08/19/2012 05:56 AM, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com The fancy x86 hweight uses different compiler options for the hweight file. This does not work with LTO. Just disable the optimization with LTO Signed-off-by: Andi Kleen a...@linux.intel.com ---

Re: [alsa-devel] [PATCH 0/10] fix error return code

2012-08-20 Thread Julia Lawall
On Mon, 20 Aug 2012, Takashi Iwai wrote: At Sun, 19 Aug 2012 09:02:51 +0200, Julia Lawall wrote: These patches fix cases where the return code appears to be unintentially nonnegative. The patch 10/10 seems missing. Or are all 9 patches? The patch number suddenly changes to X/9 from 4. In

Re: [PATCH] smsc75xx: add missing entry to MAINTAINERS

2012-08-20 Thread David Miller
From: Steve Glendinning steve.glendinn...@shawell.net Date: Thu, 16 Aug 2012 08:53:38 +0100 Signed-off-by: Steve Glendinning steve.glendinn...@shawell.net Applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-20 Thread Michael Wang
On 08/17/2012 09:49 PM, Fengguang Wu wrote: Hi, FengGuang native_smp_prepare_cpus has already disabled the preempt before reach __irq_alloc_descs(), and sleep in mutex_lock() cause the bug. May be the follow patch could help to solve the issue(actually I think the true problem should be in

[GIT PULL] x86 fixes

2012-08-20 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus HEAD: 515c7af85ed92696c311c53d53cb4898ff32d784 x32: Use compat shims for {g,s}etsockopt Please have an extra look at: 515c7af85ed9 x32:

[PATCH] perf/x86: enable Intel Cedarview Atom suppport

2012-08-20 Thread Stephane Eranian
This patch enables perf_events support for Intel Cedarview Atom (model 54) processors. Support includes PEBS and LBR. Tested on my Atom N2600 netbook. Signed-off-by: Stephane Eranian eran...@google.com --- diff --git a/arch/x86/kernel/cpu/perf_event_intel.c

linux-next: Tree for Aug 20

2012-08-20 Thread Stephen Rothwell
Hi all, Changes since 20120817: The v4l-dvb tree lost its build failure. The tip tree still has its build failure so I used the version from next-20120814. The drivers-x86 tree gained a build failure so I used the version from next-20120817. The driver-core tree lost its build failure. I

Re: Add rq-nr_uninterruptible count to dest cpu's rq while CPU goes down.

2012-08-20 Thread Peter Zijlstra
On Fri, 2012-08-17 at 19:39 +0600, Rakib Mullick wrote: On 8/16/12, Peter Zijlstra pet...@infradead.org wrote: On Thu, 2012-08-16 at 21:32 +0600, Rakib Mullick wrote: And also I think migrate_nr_uninterruptible() is meaning less too. Hmm, I think I see a problem.. we forget to migrate the

Re: BUG: scheduling while atomic, under native_smp_prepare_cpus()

2012-08-20 Thread Fengguang Wu
Hi Michael, On Mon, Aug 20, 2012 at 05:20:35PM +0800, Michael Wang wrote: On 08/17/2012 09:49 PM, Fengguang Wu wrote: Hi, FengGuang native_smp_prepare_cpus has already disabled the preempt before reach __irq_alloc_descs(), and sleep in mutex_lock() cause the bug. May be the follow

Re: [PATCH v2 23/31] arm64: Debugging support

2012-08-20 Thread Will Deacon
On Mon, Aug 20, 2012 at 10:07:54AM +0100, Will Deacon wrote: On Fri, Aug 17, 2012 at 08:06:07AM +0100, Arnd Bergmann wrote: Sorry for the dumb question, but why do you even need PTRACE_GET_THREAD_AREA for 64 bit tasks? I thought the thread pointer is a GPR, or is this just for compat tasks?

[RFC V7 PATCH 05/19] memory-hotplug: check whether memory is present or not

2012-08-20 Thread wency
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com If system supports memory hot-remove, online_pages() may online removed pages. So online_pages() need to check whether onlining pages are present or not. CC: David Rientjes rient...@google.com CC: Jiang Liu liu...@gmail.com CC: Len Brown

[RFC V7 PATCH 04/19] memory-hotplug: offline and remove memory when removing the memory device

2012-08-20 Thread wency
From: Wen Congyang we...@cn.fujitsu.com We should offline and remove memory when removing the memory device. The memory device can be removed by 2 ways: 1. send eject request by SCI 2. echo 1 /sys/bus/pci/devices/PNP0C80:XX/eject In the 1st case, acpi_memory_disable_device() will be called. In

  1   2   3   4   5   6   7   8   9   10   >