[PATCH] x86, ACPI, mm: Revert SRAT support from movablemem_map boot option.

2013-02-28 Thread Tang Chen
The following two commits suooprt getting info from SRAT and determine which memory is hot-pluggable, also AKA movablemem_map=srat boot option. commit 01a178a94e8eaec351b29ee49fbb3d1c124cb7fb acpi, memory-hotplug: support getting hotplug info from SRAT commit

[PATCH 5/5] hwspinlock/core: call pm_runtime_put in pm_runtime_get_sync failed case

2013-02-28 Thread Li Fei
Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value and runtime power management to behave correctly, call pm_runtime_put(_sync) in such case. In __hwspin_lock_request, module_put is also called before return in

Re: [RFC PATCH] sched: wakeup buddy

2013-02-28 Thread Mike Galbraith
On Thu, 2013-02-28 at 15:40 +0800, Michael Wang wrote: Hi, Mike Thanks for your reply. On 02/28/2013 03:18 PM, Mike Galbraith wrote: On Thu, 2013-02-28 at 14:38 +0800, Michael Wang wrote: + /* + * current is the only task on rq

Re: [RFC PATCH] sched: wakeup buddy

2013-02-28 Thread Mike Galbraith
On Thu, 2013-02-28 at 15:42 +0800, Michael Wang wrote: I mean could we say that more ops/sec means more works has been done? Sure. But it's fairly meaningless, it's all scheduler. Real tasks do more than schedule. -Mike -- To unsubscribe from this list: send the line unsubscribe

Re: [RFC PATCH] sched: wakeup buddy

2013-02-28 Thread Michael Wang
On 02/28/2013 04:04 PM, Mike Galbraith wrote: On Thu, 2013-02-28 at 15:40 +0800, Michael Wang wrote: Hi, Mike Thanks for your reply. On 02/28/2013 03:18 PM, Mike Galbraith wrote: On Thu, 2013-02-28 at 14:38 +0800, Michael Wang wrote: + /* +

Re: [PATCH 3/3] convert headers_install.pl to headers_install.sh

2013-02-28 Thread Michal Marek
On 27.2.2013 06:58, Rob Landley wrote: From: Rob Landley r...@landley.net Remove perl from make headers_install by replacing a perl script (doing a simple regex search and replace) with a smaller, faster, simpler, POSIX-2008 shell script implementation. The new shell script is a single for

Re: [PATCH 3/5] wl1251: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Luciano Coelho
On Thu, 2013-02-28 at 15:51 +0800, Li Fei wrote: Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value and runtime power management to behave correctly, call pm_runtime_put(_sync) in such case. Signed-off-by Liu

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-02-28 Thread Huang Shijie
于 2013年02月12日 23:47, Artem Bityutskiy 写道: On Mon, 2013-01-28 at 12:57 +0800, Huang Shijie wrote: + {SmartMedia 256MiB 3,3V, {0, 0x71}, 512, 256, 0x4000 }, + {SmartMedia 256MiB 3,3V ROM, {0, 0x5b}, 512, 256, 0x4000, NAND_ROM}, Sorry for a possibly stupid question, but what

[RFC PATCH] context_tracking/rcu: don't function trace before rcu_user_exit() finishes

2013-02-28 Thread Li Zhong
I saw some RCU illegal usage from idle complaints when function tracer is enabled with forced context tracking. It seems that __schedule() might be called in function_trace_call() when it re-enables preemption(if preemption and irqs are both enabled). So at the places where we call

Re: [RFC PATCH] sched: wakeup buddy

2013-02-28 Thread Mike Galbraith
On Thu, 2013-02-28 at 16:14 +0800, Michael Wang wrote: On 02/28/2013 04:04 PM, Mike Galbraith wrote: It would be nice if it _were_ a promise, but it is not, it's a hint. Bad to know :( Should we fix it or this is by designed? The comments after WF_SYNC cheated me... You can't fix it,

hv_netvsc: WARNING in softirq.c

2013-02-28 Thread Richard GENOUD
Hi, Here is the kernel trace I got this morning (kern.log): Feb 27 22:32:59 devlabo kernel: [10688.187062] hv_vmbus: child device vmbus_0_8 unregistered Feb 27 22:34:37 devlabo kernel: [10688.187196] [ cut here ] Feb 27 22:34:37 devlabo kernel: [10688.187203] WARNING: at

[PATCH 01/19] rtc: rtc-mv: remove erroneous __exit annotation

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

Re: [RFC PATCH 0/5] net: low latency Ethernet device polling

2013-02-28 Thread Eliezer Tamir
On 27/02/2013 23:42, Ben Greear wrote: On 02/27/2013 12:40 PM, Eliezer Tamir wrote: On 27/02/2013 21:58, Rick Jones wrote: On 02/27/2013 09:55 AM, Eliezer Tamir wrote: *rx-usecs=0 is usually not useful in a production environment. I would think that latency-sensitive folks would be using

[PATCH 02/19] rtc: rtc-davinci: remove erroneous __init annotation

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH v2] eCryptfs: allow userspace messaging to be disabled

2013-02-28 Thread Kees Cook
When the userspace messaging (for the less common case of userspace key wrap/unwrap via ecryptfsd) is not needed, allow eCryptfs to build with it removed. This saves on kernel code size and reduces potential attack surface by removing the /dev/ecryptfs node. Signed-off-by: Kees Cook

[PATCH 03/19] rtc: rtc-ds1302: remove erroneous __init annotation

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 04/19] rtc: omap: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 05/19] rtc: rtc-efi: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

Re: [PATCH 4/5] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Lan Tianyu
On 2013年02月28日 15:57, Li Fei wrote: Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value and runtime power management to behave correctly, call pm_runtime_put(_sync) in such case. Hi Fei: It's not necessary.

[PATCH 06/19] rtc: rtc-mc13xxx: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 07/19] rtc: rtc-ps3: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 08/19] rtc: rtc-coh901331: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 09/19] rtc: rtc-pxa: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 10/19] rtc: rtc-rp5c01: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 11/19] rtc: rtc-at32ap700x: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 12/19] rtc: rtc-ab3100: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 13/19] rtc: rtc-at91rm9200: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

Re: [PATCH 0/3] build linux-next without perl

2013-02-28 Thread Michal Marek
On 27.2.2013 22:51, Andrew Morton wrote: It'll need to be reasonably good motivation, too. Because not only do we need to patch the kernel, we also need to *maintain* its perl-freeness and fix up perlisms as they later get added by others. (Perhaps one way of doing this would be to disable

[PATCH 14/19] rtc: msm6242: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 15/19] rtc: rtc-tx4939: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 16/19] rtc: rtc-sun4v: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 17/19] rtc: rtc-generic: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 18/19] rtc: rtc-sh: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

[PATCH 19/19] rtc: rtc-starfire: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
__init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus, these annotations should be removed. Signed-off-by: Jingoo Han

Re: [RFC PATCH] sched: wakeup buddy

2013-02-28 Thread Michael Wang
On 02/28/2013 04:24 PM, Mike Galbraith wrote: On Thu, 2013-02-28 at 16:14 +0800, Michael Wang wrote: On 02/28/2013 04:04 PM, Mike Galbraith wrote: It would be nice if it _were_ a promise, but it is not, it's a hint. Bad to know :( Should we fix it or this is by designed? The comments

Re: [PATCH] Enhanced support for MPC8xx/8xxx watchdog

2013-02-28 Thread leroy christophe
Hi Wim, Le 27/02/2013 20:52, Wim Van Sebroeck a écrit : The rest of the code is OK and when above comments are corrected, I will add the patch to improve the userspace experience. Kind regards, Wim. Ok, I'll fix and re-submit my patch according to your comments. Best regards Christophe --

[PATCH v2] Enhanced support for MPC8xx/8xxx watchdog

2013-02-28 Thread Christophe Leroy
This patch modifies the behaviour of the MPC8xx/8xxx watchdog. On the MPC8xx, at 133Mhz, the maximum timeout of the watchdog timer is 1s, which means it must be pinged twice a second. This is not in line with the Linux watchdog concept which is based on a default watchdog timeout around 60s. This

Re: [PATCH 1/4] documentation: add palmas dts definition

2013-02-28 Thread Laxman Dewangan
On Thursday 28 February 2013 12:02 AM, Stephen Warren wrote: On 02/17/2013 10:11 PM, J Keerthy wrote: +- interrupt-parent : The parent interrupt controller. + +Optional node: +- Child nodes contain in the palmas. The palmas family is made of several + variants that support a different number of

Re: [PATCH v12 rebased] kvm: notify host when the guest is panicked

2013-02-28 Thread Hu Tao
On Thu, Feb 07, 2013 at 11:39:47PM -0200, Marcelo Tosatti wrote: Hi, On Wed, Jan 23, 2013 at 03:19:21PM +0800, Hu Tao wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for

Re: [GIT PULL] Load keys from signed PE binaries

2013-02-28 Thread Florian Weimer
* Greg KH: On Tue, Feb 26, 2013 at 03:13:38AM +, Matthew Garrett wrote: Because Microsoft have indicated that they'd be taking a reactive approach to blacklisting and because, so far, nobody has decided to write the trivial proof of concept that demonstrates the problem. So, once that

Re: [PATCH 07/19] rtc: rtc-ps3: remove erroneous __init/__exit annotations

2013-02-28 Thread Geert Uytterhoeven
On Thu, Feb 28, 2013 at 9:41 AM, Jingoo Han jg1@samsung.com wrote: __init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was

RE: [PATCH 4/5] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Li, Fei
-Original Message- From: Lan, Tianyu Sent: Thursday, February 28, 2013 4:37 PM To: Li, Fei; st...@rowland.harvard.edu Cc: gre...@linuxfoundation.org; sarah.a.sh...@linux.intel.com; r...@sisk.pl; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Liu, Chuansheng Subject: Re:

[PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Li Fei
Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value and runtime power management to behave correctly, call pm_runtime_put(_sync) in such case. Signed-off-by Liu Chuansheng chuansheng@intel.com Signed-off-by: Li Fei

WARNING: at lib/idr.c:678 idr_find_slowpath+0x97/0xc0()

2013-02-28 Thread markus
Just hit the following warning on current git tree: [ cut here ] WARNING: at lib/idr.c:678 idr_find_slowpath+0x97/0xc0() Hardware name: System Product Name Pid: 12366, comm: okular Not tainted 3.8.0-09633-g2a7d2b9-dirty #312 Call Trace: [8105b7a0] ?

[PATCH] irqdomain: document the simple domain first_irq

2013-02-28 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org The first_irq needs to be zero to get a linear domain and that comes with special semantics. We want to simplify this going forward but some documentation never hurts. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- kernel/irq/irqdomain.c |

Re: [PATCH][3.9] ftrace: Update the kconfig for DYNAMIC_FTRACE

2013-02-28 Thread Ingo Molnar
* Steven Rostedt rost...@goodmis.org wrote: Ingo, At ELC I watched a presentation by Ezequiel about a tool he wrote to analyze memory wasted by kmalloc and friends. He incorrectly stated that you need to enable DYNAMIC_FTRACE in order to get events. I pointed out that this was

Re: [RFC PATCH] sched: wakeup buddy

2013-02-28 Thread Mike Galbraith
On Thu, 2013-02-28 at 16:49 +0800, Michael Wang wrote: On 02/28/2013 04:24 PM, Mike Galbraith wrote: On Thu, 2013-02-28 at 16:14 +0800, Michael Wang wrote: On 02/28/2013 04:04 PM, Mike Galbraith wrote: It would be nice if it _were_ a promise, but it is not, it's a hint. Bad to know

Re: linux-next: JFFS2 corruption

2013-02-28 Thread Mark Jackson
On 28/02/13 04:11, Philip, Avinash wrote: On Wed, Feb 27, 2013 at 20:42:01, Mark Jackson wrote: Okay, just tested 3v8 plus:- https://patchwork.kernel.org/patch/1931251/ https://patchwork.kernel.org/patch/1931221/ https://patchwork.kernel.org/patch/1931201/ and changed

Re: [RFC PATCH] sched: wakeup buddy

2013-02-28 Thread Namhyung Kim
Hi Michael, On Thu, 28 Feb 2013 14:38:03 +0800, Michael Wang wrote: wake_affine() stuff is trying to bind related tasks closely, but it doesn't work well according to the test on 'perf bench sched pipe' (thanks to Peter). Besides, pgbench show that blindly using wake_affine() will eat a lot

Re: Serial port initialization broken on Armada 370/XP due to serial: 8250_dw: Don't use UPF_FIXED_TYPE

2013-02-28 Thread Heikki Krogerus
Hi Gregory. On Wed, Feb 27, 2013 at 05:08:04PM +0100, Gregory CLEMENT wrote: I found the root of the problem in drivers/tty/serial/8250/8250.c in the autoconfig() function, when the IIR register is acceded, it is done using serial_in(), this function return an int but is used as it have

[GIT PULL for v3.8] EDAC fixes and ghes-edac

2013-02-28 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac.git linux_next For: - Some fixes at edac drivers (i7core_edac, sb_edac, i3200_edac); - error injection support for i5100, when EDAC debug is enabled; - fix edac when it is

[GIT PULL] KVM fixe for 3.9

2013-02-28 Thread Gleb Natapov
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following KVM bug fix. Peter Hurley (1): x86/kvm: Fix pvclock vsyscall fixmap arch/x86/kernel/pvclock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --

Re: [PATCH 1/2] Use config scripts to detect ncurses libs for menuconfig

2013-02-28 Thread justin
Hello, On a side note: is the old code still useful, now we use the config scripts? In other words: are there cases where a ncurses install would not provide those scripts? If the answer is 'no', then just trash the old code away. I've just tested Debian Squeeze (stable for now), and

Re: [PATCH 07/19] rtc: rtc-ps3: remove erroneous __init/__exit annotations

2013-02-28 Thread Jingoo Han
On Thursday, February 28, 2013 5:56 PM, Geert Uytterhoeven wrote: On Thu, Feb 28, 2013 at 9:41 AM, Jingoo Han jg1@samsung.com wrote: __init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct.

[PATCH RESEND] matroxfb: Convert struct i2c_msg initialization to C99 format

2013-02-28 Thread Jean Delvare
From: Shubhrajyoti Datta omaplinuxker...@gmail.com Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Thanks to Julia Lawall for automating the conversion.

Re: [PATCH 01/19] rtc: rtc-mv: remove erroneous __exit annotation

2013-02-28 Thread Jingoo Han
On Thursday, February 28, 2013 5:38 PM, Jingoo Han wrote: __init/__exit annotations for probe()/remove() are supposed to be __devinit/__devexit, because __init/__exit for probe()/remove() are not correct. However, __devinit/__devexit are not used, because CONFIG_HOTPLUG was removed. Thus,

Re: [PATCH 1/3] kbuild, deb-pkg: Try to determine distribution

2013-02-28 Thread Sedat Dilek
On Thu, Feb 28, 2013 at 8:32 AM, maximilian attems m...@stro.at wrote: On Wed, Feb 27, 2013 at 02:55:45PM +0100, Michal Marek wrote: Sorry I missed this series. Max, can you have a look? I don't know the policies for debian package changelogs. The full series is at

Re: [PATCH] backlight: atmel-pwm-bl: remove erroneous __exit annotation

2013-02-28 Thread Jingoo Han
On Thursday, February 28, 2013 1:05 PM, Jingoo Han wrote: CONFIG_HOTPLUG was removed, so __devexit or __exit of remove() should not be used. This driver also use platform_driver_probe(). So, this patch is useless. Please, abandon this patch. Thank you. Best regards, Jingoo Han

Long Time Kernel

2013-02-28 Thread Stefan Koch
Hi, is linux 3.7 or linux 3.8 a long time supported kernel release? Thanks Stefan Koch -- 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

Re: [PATCH 2/2] Use config scripts to detect ncurses libs for nconfig

2013-02-28 Thread justin
Hello, Long-line. What is the rule for Makefiles? It seems that 80 columns doesn't apply here. Thanks, Justin signature.asc Description: OpenPGP digital signature

[PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-02-28 Thread Pali Rohár
Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/Makefile|1 + arch/arm/mach-omap2/board-rx51-secure.c | 66 +++ arch/arm/mach-omap2/board-rx51-secure.h | 36 +

Re: [PATCH] n_gsm: Add Mutex to avoid race when net destroy

2013-02-28 Thread Jiri Slaby
On 02/28/2013 06:31 AM, channing wrote: when gsm Net is enabled, data on dlci is transferrd by gsm_mux_net_start_xmit(), while userspace may trigger ioctrl to call gsm_destroy_network() during data was transferring, because there is no mutex protection between the two functions, following

Re: [PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-02-28 Thread Ulf Hansson
On 28 February 2013 05:49, Mike Turquette mturque...@linaro.org wrote: Reentrancy into the clock framework from the clk.h api is highly desirable. This feature is necessary for clocks that are prepared and unprepared via i2c_transfer (which includes many PMICs and discrete audio chips) and it

Re: [PATCH 1/4] documentation: add palmas dts definition

2013-02-28 Thread Graeme Gregory
On 28/02/13 08:52, Laxman Dewangan wrote: On Thursday 28 February 2013 12:02 AM, Stephen Warren wrote: On 02/17/2013 10:11 PM, J Keerthy wrote: +- interrupt-parent : The parent interrupt controller. + +Optional node: +- Child nodes contain in the palmas. The palmas family is made of several

Re: Long Time Kernel

2013-02-28 Thread Alexander Stein
On Thursday 28 February 2013 10:47:33, Stefan Koch wrote: is linux 3.7 or linux 3.8 a long time supported kernel release? Please see http://www.kroah.com/log/linux/3.8-is_not_longterm_stable.html Alexander -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[PATCH 2/2] kconfig: use config scripts to detect ncurses libs

2013-02-28 Thread jlec
From: Justin Lecher j...@gentoo.org When building ncurses with --with-termlib several symbols get moved from libncurses.so to libtinfo.so. Thus when linking with libncurses.so, one additionally needs to link with libtinfo.so. Ncurses provides a config script (ncurses5-config) to assist finding

Re: [PATCH] perf: add callgrind conversion tool

2013-02-28 Thread Namhyung Kim
Hi Roberto, On Wed, 27 Feb 2013 00:26:33 +0100, Roberto Vitillo wrote: The proposed patch adds the convert tool to perf which allows to convert a perf.data file to a callgrind data file which can subsequently be displayed with kcachegrind. Callgraphs are not supported. In order to speed up

[PATCH RESEND 1/2] clocksource: dbx500-prcmu: use relaxed readl variant

2013-02-28 Thread Fabio Baltieri
From: Rabin Vincent rabin.vinc...@stericsson.com Modify clksrc_dbx500_prcmu_read to replace readl() with readl_relaxed(). This speeds up calls to the function by about 40%. Signed-off-by: Rabin Vincent rabin.vinc...@stericsson.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by:

[PATCH RESEND 2/2] clocksource: dbx500-prcmu: comment cleanup

2013-02-28 Thread Fabio Baltieri
Remove references to the deprecated DB5500 platform. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- drivers/clocksource/clksrc-dbx500-prcmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-28 Thread Tang Chen
Hi Andrew, On 02/28/2013 05:26 AM, Andrew Morton wrote: Thank you all for addressing the bug. we are on the way to fix it. How long do you think this will take? I think we need one week to solve these problems. I do hope we can catch up the merge window for 3.9. Thanks. :) -- To

[PATCH RESEND] char/tpm: Convert struct i2c_msg initialization to C99 format

2013-02-28 Thread Jean Delvare
From: Shubhrajyoti Datta omaplinuxker...@gmail.com Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Thanks to Julia Lawall for automating the conversion.

Re: [RFC PATCH] sched: wakeup buddy

2013-02-28 Thread Mike Galbraith
On Thu, 2013-02-28 at 18:25 +0900, Namhyung Kim wrote: Not sure if it should require bidirectional relationship. Looks like just for benchmarks. Isn't there a one-way relationship that could get a benefit from this? I don't know ;-) ?? Meaningful relationships are bare minimum

Re: WARNING from tty driver in 3.9-rc0

2013-02-28 Thread Jiri Slaby
On 02/27/2013 10:25 PM, Larry Finger wrote: Thanks for looking into this. Will you be pushing a 3.9 patch to disable the warning? Hi, yes, it's on its way already. -- js suse labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [ 79/86] USB: ehci-omap: Dont free gpios that we didnt request

2013-02-28 Thread Roger Quadros
Hi Luis, On 02/27/2013 07:20 PM, Luis Henriques wrote: Hi Roger, On Wed, Feb 27, 2013 at 09:52:38AM +0200, Roger Quadros wrote: Hi Greg, On 02/27/2013 02:08 AM, Greg Kroah-Hartman wrote: 3.4-stable review patch. If anyone has any objections, please let me know. --

Re: [PATCH 02/16] virtio_ring: virtqueue_add_sgs, to add multiple sgs.

2013-02-28 Thread Paolo Bonzini
Il 27/02/2013 12:21, Rusty Russell ha scritto: Baseline (before add_sgs): 2.84-3.04(2.927292)user After add_sgs: 2.97-3.15(3.053750)user After simplifying add_buf a little: 2.95-3.21(3.081458)user After inlining

[PATCH v2 1/3] arch: make __mutex_fastpath_lock_retval return whether fastpath succeeded or not.

2013-02-28 Thread Maarten Lankhorst
This will allow me to call functions that have multiple arguments if fastpath fails. This is required to support ticket mutexes, because they need to be able to pass an extra argument to the fail function. Originally I duplicated the functions, by adding __mutex_fastpath_lock_retval_arg. This

[PATCH v2 2/3] mutex: add support for reservation style locks, v2

2013-02-28 Thread Maarten Lankhorst
New version. All of the documentation has been moved from the commit log to Documentation/reservation-mutex-design.txt Missing at the moment, maybe TODO? Add a lockdep check in the *_slow calls that verifies that the lock being nested into has no nested lock any more? This would be a check to

[PATCH v2 3/3] reservation: Add tests to lib/locking-selftest.c. v2

2013-02-28 Thread Maarten Lankhorst
This stresses the lockdep code in some ways specifically useful to reservations. It adds checks for most of the common locking errors. Since the lockdep tests were originally written to stress the reservation code, I duplicated some of the definitions into lib/locking-selftest.c for now. This

Re: [PATCH 1/4] documentation: add palmas dts definition

2013-02-28 Thread Laxman Dewangan
On Thursday 28 February 2013 03:28 PM, Graeme Gregory wrote: On 28/02/13 08:52, Laxman Dewangan wrote: On Thursday 28 February 2013 12:02 AM, Stephen Warren wrote: On 02/17/2013 10:11 PM, J Keerthy wrote: +- interrupt-parent : The parent interrupt controller. + +Optional node: +- Child nodes

[PATCH RFC 01/12] xen-blkback: don't store dev_bus_addr

2013-02-28 Thread Roger Pau Monne
dev_bus_addr returned in the grant ref map operation is the mfn of the passed page, there's no need to store it in the persistent grant entry, since we can always get it provided that we have the page. This reduces the memory overhead of persistent grants in blkback. Signed-off-by: Roger Pau

[PATCH RFC 09/12] xen-blkback: move pending handles list from blkbk to pending_req

2013-02-28 Thread Roger Pau Monne
Moving grant ref handles from blkbk to pending_req will allow us to get rid of the shared blkbk structure. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: xen-de...@lists.xen.org --- drivers/block/xen-blkback/blkback.c | 16

[PATCH RFC 12/12] xen-block: implement indirect descriptors

2013-02-28 Thread Roger Pau Monne
Indirect descriptors introduce a new block operation (BLKIF_OP_INDIRECT) that passes grant references instead of segments in the request. This grant references are filled with arrays of blkif_request_segment_aligned, this way we can send more segments in a request. The proposed implementation

[PATCH RFC 11/12] xen-blkback: expand map/unmap functions

2013-02-28 Thread Roger Pau Monne
Preparatory change for implementing indirect descriptors. Change xen_blkbk_{map/unmap} in order to be able to map/unmap a random amount of grants (previously it was limited to BLKIF_MAX_SEGMENTS_PER_REQUEST). Also, remove the usage of pending_req in the map/unmap functions, so we can map/unmap

[PATCH RFC 10/12] xen-blkback: make the queue of free requests per backend

2013-02-28 Thread Roger Pau Monne
Remove the last dependency from blkbk by moving the list of free requests to blkif. This change reduces the contention on the list of available requests. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: xen-de...@lists.xen.org ---

[PATCH RFC 08/12] xen-blkback: use balloon pages for all mappings

2013-02-28 Thread Roger Pau Monne
Using balloon pages for all granted pages allows us to simplify the logic in blkback, specially in the xen_blkbk_map function, since now we can decide if we want to map a grant persistently or not after we have actually mapped it. This could not be done before because persistent grants used

[PATCH RFC 06/12] xen-blkback: implement LRU mechanism for persistent grants

2013-02-28 Thread Roger Pau Monne
This mechanism allows blkback to change the number of grants persistently mapped at run time. The algorithm uses a simple LRU mechanism that removes (if needed) the persistent grants that have not been used since the last LRU run, or if all grants have been used it removes the first grants in the

[PATCH RFC 00/12] xen-block: indirect descriptors

2013-02-28 Thread Roger Pau Monne
This series contains the initial implementation of indirect descriptors for Linux blkback/blkfront. Patches 1, 2, 3, 4 and 5 are bug fixes and minor optimizations. Patch 6 contains a LRU implementation for blkback that will be needed when using indirect descriptors (since we are no longer able

[PATCH RFC 07/12] xen-blkback: print stats about persistent grants

2013-02-28 Thread Roger Pau Monne
Signed-off-by: Roger Pau Monné roger@citrix.com Cc: xen-de...@lists.xen.org Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/block/xen-blkback/blkback.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/block/xen-blkback/blkback.c

[PATCH RFC 04/12] xen-blkfront: pre-allocate pages for requests

2013-02-28 Thread Roger Pau Monne
This prevents us from having to call alloc_page while we are preparing the request. Since blkfront was calling alloc_page with a spinlock held we used GFP_ATOMIC, which can fail if we are requesting a lot of pages since it is using the emergency memory pools. Allocating all the pages at init

[PATCH RFC 05/12] xen-blkfront: remove frame list from blk_shadow

2013-02-28 Thread Roger Pau Monne
We already have the frame (pfn of the grant page) stored inside struct grant, so there's no need to keep an aditional list of mapped frames for a specific request. This reduces memory usage in blkfront. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Konrad Rzeszutek Wilk

[PATCH RFC 03/12] xen-blkfront: switch from llist to list

2013-02-28 Thread Roger Pau Monne
Replace the use of llist with list. llist_for_each_entry_safe can trigger a bug in GCC 4.1, so it's best to remove it and use a doubly linked list, which is used extensively in the kernel already. Specifically this bug can be triggered by hot-unplugging a disk, either by doing xm block-detach or

[PATCH RFC 02/12] xen-blkback: fix foreach_grant_safe to handle empty lists

2013-02-28 Thread Roger Pau Monne
We may use foreach_grant_safe in the future with empty lists, so make sure we can handle them. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: xen-de...@lists.xen.org Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/block/xen-blkback/blkback.c |2 +- 1 files changed, 1

[PATCH 1/7] rtc: rtc-mv: add __init annotation

2013-02-28 Thread Jingoo Han
When platform_driver_probe() is used, bind/unbind via sysfs is disabled. Thus, __init/__exit annotations can be added to probe()/remove(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-mv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [ 79/86] USB: ehci-omap: Dont free gpios that we didnt request

2013-02-28 Thread Luis Henriques
On Thu, Feb 28, 2013 at 12:16:15PM +0200, Roger Quadros wrote: Hi Luis, On 02/27/2013 07:20 PM, Luis Henriques wrote: Hi Roger, On Wed, Feb 27, 2013 at 09:52:38AM +0200, Roger Quadros wrote: Hi Greg, On 02/27/2013 02:08 AM, Greg Kroah-Hartman wrote: 3.4-stable review patch. If

[PATCH 2/7] rtc: rtc-davinci: add __exit annotation

2013-02-28 Thread Jingoo Han
When platform_driver_probe() is used, bind/unbind via sysfs is disabled. Thus, __init/__exit annotations can be added to probe()/remove(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-davinci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3/7] rtc: rtc-ds1302: add __exit annotation

2013-02-28 Thread Jingoo Han
When platform_driver_probe() is used, bind/unbind via sysfs is disabled. Thus, __init/__exit annotations can be added to probe()/remove(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-ds1302.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 4/7] rtc: rtc-imxdi: add __init/__exit annotation

2013-02-28 Thread Jingoo Han
When platform_driver_probe() is used, bind/unbind via sysfs is disabled. Thus, __init/__exit annotations can be added to probe()/remove(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-imxdi.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 0/5] musb-ux500 and ab8500-usb updates

2013-02-28 Thread Fabio Baltieri
Hello Felipe, This series is an initial effort to update current UX500 specific MUSB/OTG drivers with the various improvements and fixes developed internally by ST-Ericsson since the driver was initially merged. The driver currently deployed by STE includes many updates such as runtime PM

[PATCH 1/5] usb: musb: ux500_dma: add missing MEM resource check

2013-02-28 Thread Fabio Baltieri
From: Virupax Sadashivpetimath virupax.sadashivpetim...@stericsson.com Fix dma_controller_create() fail path in case memory resource is missing. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Virupax Sadashivpetimath virupax.sadashivpetim...@stericsson.com Signed-off-by: Fabio

[PATCH 2/5] usb: musb: ux500: implement musb_set_vbus

2013-02-28 Thread Fabio Baltieri
Add ux500_musb_set_vbus() implementation for ux500. This is based on the version originally developed inside ST-Ericsson. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- drivers/usb/musb/ux500.c | 64

  1   2   3   4   5   6   7   8   >