[PATCH] staging: speakup: selection.c fix typo in comment

2013-04-05 Thread Valentin Ilie
Replace disallocated with deallocated Signed-off-by: Valentin Ilie valentin.i...@gmail.com --- drivers/staging/speakup/selection.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/speakup/selection.c b/drivers/staging/speakup/selection.c index

RE: [PATCHv3 1/3] thermal: introduce thermal_zone_get_zone_by_name helper function

2013-04-05 Thread R, Durgadoss
-Original Message- From: Eduardo Valentin [mailto:eduardo.valen...@ti.com] Sent: Friday, April 05, 2013 6:02 PM To: Zhang, Rui Cc: linux...@vger.kernel.org; linux-kernel@vger.kernel.org; R, Durgadoss; Eduardo Valentin Subject: [PATCHv3 1/3] thermal: introduce

Re: [PATCH -tip 0/4] do not make cputime scaling in kernel

2013-04-05 Thread Stanislaw Gruszka
On Thu, Apr 04, 2013 at 03:47:19PM +0200, Frederic Weisbecker wrote: 2013/4/4 Stanislaw Gruszka sgrus...@redhat.com: On Thu, Apr 04, 2013 at 02:31:42PM +0200, Frederic Weisbecker wrote: I don't know. I'm not convinced userland is the right place to perform this kind of check. The kernel

Re: [PATCH v3 0/2] omap_hsmmc DT DMA Client support

2013-04-05 Thread Balaji T K
On Wednesday 06 March 2013 07:42 PM, Matt Porter wrote: Changes since v2: - dropped skip platform_get_resource_byname() patch Changes since v1: - rebase to 3.9-rc1, previous dependencies upstream This series adds DT DMA Engine Client support to the omap_hsmmc. It leverages the

Re: [PATCH/Resend 2/2] arm: mach-omap2: prevent UART console idle on suspend while using no_console_suspend

2013-04-05 Thread Sourav Poddar
Hi Santosh, On Friday 05 April 2013 12:45 PM, Santosh Shilimkar wrote: On Friday 05 April 2013 12:38 PM, Sourav Poddar wrote: Hi Kevin, On Wednesday 03 April 2013 11:18 PM, Kevin Hilman wrote: Sourav Poddarsourav.pod...@ti.com writes: Hi Kevin, On Wednesday 20 March 2013 05:36 PM, Sourav

[PATCH 0/4 v6] arm: introduce psci_smp_ops and use them on Xen

2013-04-05 Thread Stefano Stabellini
Hi all, this is the sixth version of the patch series to move virt_smp_ops out of mach-virt and make it a generic set of reusable PSCI based smp_ops. psci_smp_ops are preferred over the platform smp_ops. I added a patch to introduce smp_init to this series. In the last patch I am using smp_init to

[PATCH v6 2/4] arm: prefer psci_smp_ops over mdesc-smp

2013-04-05 Thread Stefano Stabellini
If PSCI is available on the platform, prefer psci_smp_ops over the platform smp_ops. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/kernel/setup.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/kernel/setup.c

[PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-05 Thread Stefano Stabellini
Rename virt_smp_ops to psci_smp_ops and move them to arch/arm/kernel/psci_smp.c. Remove mach-virt/platsmp.c, now unused. Compile psci_smp if CONFIG_ARM_PSCI and CONFIG_SMP. Add a cpu_die smp_op based on psci_ops.cpu_off. Initialize PSCI before setting smp_ops in setup_arch. Use psci_smp_ops if

[PATCH v6 3/4] ARM: Enable selection of SMP operations at boot time

2013-04-05 Thread Stefano Stabellini
From: Jon Medhurst t...@linaro.org Add a new 'smp_init' hook to machine_desc so platforms can specify a function to be used to setup smp ops instead of having a statically defined value. If smp_init is set, use it instead of psci_smp_ops or mdesc-smp. Signed-off-by: Jon Medhurst t...@linaro.org

[PATCH v6 4/4] xen/arm: introduce xen_early_init, use PSCI on xen

2013-04-05 Thread Stefano Stabellini
Split xen_guest_init in two functions, one of them (xen_early_init) is going to be called very early from setup_arch. Change machine_desc-smp_init to xen_smp_init if Xen is present on the platform. xen_smp_init just sets smp_ops to psci_smp_ops. XEN selects ARM_PSCI. Changes in v6: -

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

2013-04-05 Thread Li, Fei
-Original Message- From: Rafael J. Wysocki [mailto:r...@sisk.pl] Sent: Friday, April 05, 2013 7:42 PM To: Ohad Ben-Cohen; Liu, Chuansheng Cc: Li, Fei; linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] hwspinlock/core: call pm_runtime_put in pm_runtime_get_sync failed case On

[PATCHv3] driver: serial: prevent UART console idle on suspend while using no_console_suspend

2013-04-05 Thread Sourav Poddar
With dt boot, uart wakeup after suspend is non functional while using no_console_suspend in the bootargs. With no_console_suspend used, we should prevent the runtime suspend of the uart port which is getting used as an console. Cc: Santosh Shilimkarsantosh.shilim...@ti.com Cc: Felipe

Re: [PATCH -mm -next] ipc,sem: untangle RCU locking with find_alloc_undo

2013-04-05 Thread Rik van Riel
On 04/05/2013 12:38 AM, Mike Galbraith wrote: On Tue, 2013-03-26 at 16:00 -0400, Rik van Riel wrote: The ipc semaphore code has a nasty RCU locking tangle, with both find_alloc_undo and semtimedop taking the rcu_read_lock(). The code can be cleaned up somewhat by only taking the rcu_read_lock

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

2013-04-05 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

[PATCH v3 4/4] kprobes: replace printk with pr_-functions

2013-04-05 Thread Oskar Andero
Instead of using printk use pr_info/pr_err/pr_warn. This was detected by the checkpatch.pl script. Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: David S. Miller da...@davemloft.net Signed-off-by: Oskar Andero oskar.and...@sonymobile.com Acked-by: Masami Hiramatsu

[PATCH v3 0/4] kprobes: split blacklist into common and arch

2013-04-05 Thread Oskar Andero
Hi, This is version 3 of the patch-set for splitting arch and common kprobe blackpoints. Changes since last version are: - 1/4: Add write memory barrier at blacklist initialization. - 1/4: Change kprobe_blacklist_initialized type to boolean. - 2/4: Fix racing of kprobe_blacklist. - 2/4: Define

[PATCH v3 2/4] kprobes: split blacklist into common and arch

2013-04-05 Thread Oskar Andero
Some blackpoints are only valid for specific architectures. To let each architecture specify its own blackpoints the list has been split in two lists: common and arch. The common list is kept in kernel/kprobes.c and the arch list is kept in the arch/ directory. Cc: Masami Hiramatsu

[PATCH v3 3/4] kprobes: move x86-specific blacklist symbols to arch directory

2013-04-05 Thread Oskar Andero
From: Björn Davidsson bjorn.davids...@sonymobile.com The common kprobes blacklist contains x86-specific symbols. Looking for these in kallsyms takes unnecessary time during startup on non-X86 platform. The symbols where moved to arch/x86/kernel/kprobes/core.c. Cc: Masami Hiramatsu

[PATCH v3 1/4] kprobes: delay blacklist symbol lookup until we actually need it

2013-04-05 Thread Oskar Andero
From: Toby Collett toby.coll...@sonymobile.com The symbol lookup can take a long time and kprobes is initialised very early in boot, so delay symbol lookup until the blacklist is first used. Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: David S. Miller da...@davemloft.net Reviewed-by:

Re: linux-next: manual merge of the arm-soc tree with the xilinx tree

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Michal Simek wrote: Interesting. I rebased my arm-next branch based on 3.9-rc5 with some Rob's + one Arnd patch from arm-soc - clksrc/cleanup branch. I will fix my arm-next branch. The for-next branch in arm-soc is not stable, you should never base

Re: [RFC][PATCH 1/7] memcg: use css_get in sock_update_memcg()

2013-04-05 Thread Michal Hocko
On Fri 05-04-13 12:08:40, Glauber Costa wrote: On 04/03/2013 07:29 PM, Michal Hocko wrote: On Wed 03-04-13 16:58:48, Glauber Costa wrote: On 04/03/2013 01:11 PM, Li Zefan wrote: Use css_get/css_put instead of mem_cgroup_get/put. Note, if at the same time someone is moving @current to a

Re: [RFC][PATCH 1/7] memcg: use css_get in sock_update_memcg()

2013-04-05 Thread Michal Hocko
On Wed 03-04-13 17:11:37, Li Zefan wrote: Use css_get/css_put instead of mem_cgroup_get/put. Note, if at the same time someone is moving @current to a different cgroup and removing the old cgroup, css_tryget() may return false, and sock-sk_cgrp won't be initialized. Signed-off-by: Li

Re: [PATCH v3 21/22] x86, mm: Make init_mem_mapping be able to be called several times

2013-04-05 Thread Konrad Rzeszutek Wilk
On Thu, Apr 04, 2013 at 04:46:25PM -0700, Yinghai Lu wrote: Prepare to put page table on local nodes. Move calling of init_mem_mapping to early_initmem_init. Rework alloc_low_pages to alloc page table in following order: BRK, local node, low range Still only load_cr3 one time,

Re: [RFC][PATCH 1/7] memcg: use css_get in sock_update_memcg()

2013-04-05 Thread Glauber Costa
OK, I guess I understand. Thanks for the clarification, Galuber! You're welcome Mihcal! -- 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

[PATCH] ipc: use list_for_each_entry for list traversing

2013-04-05 Thread Nikola Pajkovsky
the ipc/msg.c code does all list operations by hand and it open-codes the accesses, instead of using for_each_entry. Signed-off-by: Nikola Pajkovsky npajk...@redhat.com --- ipc/msg.c | 35 --- 1 files changed, 8 insertions(+), 27 deletions(-) diff --git

Re: [RFC][PATCH 2/7] memcg: don't use mem_cgroup_get() when creating a kmemcg cache

2013-04-05 Thread Michal Hocko
On Fri 05-04-13 14:28:12, Glauber Costa wrote: On 04/03/2013 07:31 PM, Michal Hocko wrote: On Wed 03-04-13 17:12:21, Li Zefan wrote: Use css_get()/css_put() instead of mem_cgroup_get()/mem_cgroup_put(). Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 10 +-

Re: [RFC][PATCH 2/7] memcg: don't use mem_cgroup_get() when creating a kmemcg cache

2013-04-05 Thread Michal Hocko
On Fri 05-04-13 14:51:10, KAMEZAWA Hiroyuki wrote: (2013/04/03 18:12), Li Zefan wrote: Use css_get()/css_put() instead of mem_cgroup_get()/mem_cgroup_put(). Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 10 +- 1 file changed, 5 insertions(+), 5

Re: [RFC][PATCH 3/7] memcg: use css_get/put when charging/uncharging kmem

2013-04-05 Thread Michal Hocko
On Fri 05-04-13 14:19:30, Glauber Costa wrote: * __mem_cgroup_free will issue static_key_slow_dec because this * memcg is active already. If the later initialization fails * then the cgroup core triggers the cleanup so we do not have * to do it here. */ -

Re: ext4 object already free.

2013-04-05 Thread Dave Jones
On Fri, Apr 05, 2013 at 12:25:53PM +0200, Jan Kara wrote: [ 93.672257] [812c2da9] sys_msgctl+0x139/0x400 [ 93.674641] [816c5d4d] ? retint_swapgs+0xe/0x13 [ 93.677056] [810b6c55] ? trace_hardirqs_on_caller+0x115/0x1a0 [ 93.679626] [8134b39e]

Re: [RFC 2/2] initramfs with digital signature protection

2013-04-05 Thread Vivek Goyal
On Tue, Feb 05, 2013 at 11:55:09PM +0200, Kasatkin, Dmitry wrote: [..] Also I am assuming that from signed initramfs, keys will be loaded in appropriate keyrings and then keyring will be locked so that any tools from unsigned initramfs can not load additional keys. Exactly like that.

Re: [PATCHv2, RFC 20/30] ramfs: enable transparent huge page cache

2013-04-05 Thread Christoph Lameter
On Fri, 5 Apr 2013, Minchan Kim wrote: How about add a knob? Maybe, volunteering? Hi Minchan, I can be the volunteer, what I care is if add a knob make sense? Frankly sepaking, I'd like to avoid new knob but there might be some workloads suffered from mlocked page migration so

Re: [PATCH 1/2] efivars: Check max_size only if it is non-zero.

2013-04-05 Thread Matt Fleming
On 04/04/13 17:12, Richard Weinberger wrote: Fair point. I'll add such a printk() to my patch and resend. Also take a look at FW_BUG. -- 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

Re: [PATCH 0/2] vfs: Report a mount r/o if the superblock is

2013-04-05 Thread Jan Kara
On Thu 14-03-13 12:09:18, Shea Levy wrote: By calling mount(2) with MS_REMOUNT | MS_BIND on a non-bind readonly mountpoint, it is possible to have a readonly mount without MNT_READONLY in its mnt_flags. Currently, /proc/pid/mountinfo and statfs will report such a mount as r/w, even though for

Re: [PATCH] ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

2013-04-05 Thread Marek Vasut
Dear Shawn Guo, On Fri, Apr 05, 2013 at 01:16:53AM -0300, Alexandre Pereira da Silva wrote: The imx23-olinuxino sdcard doesn't support card detect. So it sounds more like a broken-cd rather than non-removable? The CD line is working perfectly well on this board, so I don't get it. Best

RE: hv_netvsc: WARNING in softirq.c

2013-04-05 Thread Haiyang Zhang
-Original Message- From: Richard Genoud [mailto:richard.gen...@gmail.com] Sent: Friday, April 05, 2013 7:00 AM To: Haiyang Zhang Cc: KY Srinivasan; de...@linuxdriverproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: hv_netvsc: WARNING in softirq.c

Re: [PATCH] Revert drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR

2013-04-05 Thread Nicolas Ferre
On 04/03/2013 12:18 PM, Nicolas Ferre : On 04/03/2013 11:54 AM, Johan Hovold : This reverts commit 0ef1594c017521ea89278e80fe3f80dafb17abde. This patch introduced a few races which cannot be easily fixed with a small follow-up patch. Furthermore, the SoC with the broken hardware register,

Re: linux-next: manual merge of the arm-soc tree with the xilinx tree

2013-04-05 Thread Michal Simek
On 04/05/2013 03:32 PM, Arnd Bergmann wrote: On Friday 05 April 2013, Michal Simek wrote: Interesting. I rebased my arm-next branch based on 3.9-rc5 with some Rob's + one Arnd patch from arm-soc - clksrc/cleanup branch. I will fix my arm-next branch. The for-next branch in arm-soc is not

Re: block device queues, elevatoring implicit or explicit?

2013-04-05 Thread Jan Kara
On Sat 16-03-13 02:06:00, Raymond Jennings wrote: Are all block devices fundamentally elevators or fifos or what? To be blunt, if a bunch of concurrent processes dump requests on a noop queue, are they serviced fifo or in elevator order or what? My goal is to get a dumb elevator that does

Re: [PATCH v2] nfsd: fix bug on nfs4 stateid deallocation

2013-04-05 Thread J. Bruce Fields
On Thu, Apr 04, 2013 at 10:04:03PM +0800, Yanchuan Nian wrote: On Wed, Apr 03, 2013 at 02:55:08PM -0400, J. Bruce Fields wrote: On Wed, Apr 03, 2013 at 06:58:43PM +0800, Yanchuan Nian wrote: On Mon, Apr 01, 2013 at 09:50:44PM -0400, J. Bruce Fields wrote: On Wed, Mar 13, 2013 at

Re: x86/mm/pageattr: Code without effect?

2013-04-05 Thread Borislav Petkov
On Fri, Apr 05, 2013 at 11:01:02AM +0200, Stefan Bader wrote: When looking through some mm code I stumbled over one part in arch/x86/mm/pageattr.c that looks somewhat bogus to me. Cannot say what exactly the effects are, but maybe you do (or you could explain to me why I am wrong :)).

[char-misc-next] mei: add debugfs hooks

2013-04-05 Thread Tomas Winkler
debugfs exposes device state and list of me clients and their properties Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- V2: 1. don't use DEBUGFS_ADD_FILE macro 2. compile debugfs.c only if CONFIG_DEBUG_FS is set drivers/misc/mei/Makefile | 1 + drivers/misc/mei/debugfs.c | 155

Re: [PATCH] Blackfin: bf537: use CONFIG_SND_SOC_AD193X

2013-04-05 Thread Guenter Roeck
On Fri, Apr 05, 2013 at 11:43:37AM +0200, Jean Delvare wrote: On Fri, 05 Apr 2013 11:20:46 +0200, Paul Bolle wrote: 1) Added Jean and Guenter because they seem to take in interest in Blackfin's stamp files. Doh, no, I only express my disgust and I'd rather stay away from them as much as I

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-04-05 Thread Christoph Lameter
On Fri, 5 Apr 2013, Joonsoo Kim wrote: Here goes a patch implementing Christoph's idea. Instead of updating my previous patch, I re-write this patch on top of your slab/next tree. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe

Re: [char-misc-next] mei: add debugfs hooks

2013-04-05 Thread Arnd Bergmann
On Friday 05 April 2013, Tomas Winkler wrote: debugfs exposes device state and list of me clients and their properties Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- V2: 1. don't use DEBUGFS_ADD_FILE macro 2. compile debugfs.c only if CONFIG_DEBUG_FS is set Acked-by: Arnd

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

2013-04-05 Thread Ohad Ben-Cohen
On Fri, Apr 5, 2013 at 4:20 PM, Li Fei fei...@intel.com 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. In

[PATCH] perf: fix comments in PERF_MEM_LVL bitmask

2013-04-05 Thread Stephane Eranian
This small patch fixes a mistake in the comments for the PERF_MEM_LVL_* events. The L2, L3 bits simply represent cache levels, not hits or misses. That is encoded in PERF_MEM_LVL_MISS/PERF_MEM_LVL_HIT. Signed-off-by: Stephane Eranian eran...@google.com --- diff --git

Re: [PATCH 3/3] x86: kernel base offset ASLR

2013-04-05 Thread Borislav Petkov
On Thu, Apr 04, 2013 at 01:07:35PM -0700, Kees Cook wrote: This creates CONFIG_RANDOMIZE_BASE, so that the base offset of the kernel can be randomized at boot. Right, if I'm reading this whole deal correctly, I have an issue with this in the sense that if this thing is enabled by default and

Re: [PATCH] ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

2013-04-05 Thread Alexandre Pereira da Silva
On Fri, Apr 5, 2013 at 11:11 AM, Marek Vasut ma...@denx.de wrote: The CD line is working perfectly well on this board, so I don't get it. In the schematics of this board, the SSP1_DETECT pin is connected to the green led. As I see, there is no way, the hardware can detect card removal. Am I

Re: [RFC: PATCH 2/2] iio: adc: exynos_adc: Handle timeout and race conditions

2013-04-05 Thread Doug Anderson
Lars, On Fri, Apr 5, 2013 at 1:53 AM, Lars-Peter Clausen l...@metafoo.de wrote: Since we sleep inside the protected section we need to use a mutex. Ah, good point. It's not the timeout case I'm worried about, but the case where the transfer is interrupted by the user. Even though it is

Re: [PATCH] Add non-zero module sections to sysfs

2013-04-05 Thread Sebastian Wankerl
On 04/05/13 06:00, Rusty Russell wrote: Sebastian Wankerl sisew...@cip.cs.fau.de writes: On 04/04/13 03:00, Rusty Russell wrote: Sebastian Wankerl sisew...@cip.cs.fau.de writes: Add non-zero module sections to sysfs on architectures unequal to PARISC. KGDB needs all module sections for proper

Re: mkfs.f2fs gets stuck with blk_update_request: bio idx 0 = vcnt 0 on 3.8

2013-04-05 Thread Max Filippov
Hi Namjae, On Fri, Apr 5, 2013 at 11:57 AM, Namjae Jeon linkinj...@gmail.com wrote: Hi. Max. I have a question. Your mmc host driver set to host-max_discard_to by some value instead of not zero ? I believe it's zero, because the only place where I can see it initialized (sdhci_add_host in

Re: [PATCH v7 2/2] mm: replace hardcoded 3% with admin_reserve_pages knob

2013-04-05 Thread Andrew Shewmaker
On Wed, Apr 3, 2013 at 9:50 PM, Simon Jeons simon.je...@gmail.com wrote: FAQ ... * How do you calculate a minimum useful reserve? A user or the admin needs enough memory to login and perform recovery operations, which includes, at a minimum: sshd or login + bash (or some

Re: Re: [PATCH 3/4] uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls

2013-04-05 Thread Oleg Nesterov
On 04/05, Masami Hiramatsu wrote: Acked-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Thanks! Masami, perhaps you can also answer the question I asked in 0/4 marc.info/?l=linux-kernelm=136458107403835 ? Off-topic question... Why uprobe_perf_func() passes addr = ip to

Re: [PATCH] merge_config.sh: Avoid creating unnessary source softlinks

2013-04-05 Thread Darren Hart
On 04/04/2013 12:02 PM, John Stultz wrote: Viresh noticed when using merge_config.sh that a source softlink was being created even when he didn't specify the -O option. The problem arises due to the previous commit 409f117e2d6b which added the -O option. Basically if -O is not specified,

Re: [PATCH 3/3] x86: kernel base offset ASLR

2013-04-05 Thread H. Peter Anvin
On 04/05/2013 01:04 AM, Ingo Molnar wrote: Random runtime shuffling of the kernel image - is that possible with existing toolchains? Yes... the question is how much work we'd be willing to go through to make it happen. One approach: the kernel already contains a linker -- used for modules

New Defect(s) reported by Coverity Scan

2013-04-05 Thread Scan Subscription
Hi, Please find the latest report on new defect(s) that have been introduced to the Linux Kernel found with Coverity SCAN. Defect(s) Reported-by: Coverity Scan: ___ ** CID 996157: Logically dead code (DEADCODE)

Re: [PATCH] Revert drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR

2013-04-05 Thread Greg KH
On Fri, Apr 05, 2013 at 04:14:35PM +0200, Nicolas Ferre wrote: On 04/03/2013 12:18 PM, Nicolas Ferre : On 04/03/2013 11:54 AM, Johan Hovold : This reverts commit 0ef1594c017521ea89278e80fe3f80dafb17abde. This patch introduced a few races which cannot be easily fixed with a small

Re: hang while add block device to raid1

2013-04-05 Thread Greg KH
On Fri, Apr 05, 2013 at 04:13:40PM +0400, Vasiliy Tolstov wrote: Hello. I'm use kernel 3.6.11 from stable tree. Which is no longer supported, can you duplicate this on the 3.8 stable tree? thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [RFC: PATCH 2/2] iio: adc: exynos_adc: Handle timeout and race conditions

2013-04-05 Thread Lars-Peter Clausen
On 04/05/2013 04:56 PM, Doug Anderson wrote: Lars, On Fri, Apr 5, 2013 at 1:53 AM, Lars-Peter Clausen l...@metafoo.de wrote: Since we sleep inside the protected section we need to use a mutex. Ah, good point. It's not the timeout case I'm worried about, but the case where the transfer

Re: [PATCH v4 00/21] ARM: OMAP2+: Adapt to ehci-omap changes for 3.10

2013-04-05 Thread Tony Lindgren
* Benoit Cousson b-cous...@ti.com [130405 03:00]: On 04/05/2013 10:30 AM, Benoit Cousson wrote: ... ARM: dts: OMAP4: Add HS USB Host IP nodes ARM: dts: OMAP3: Add HS USB Host IP nodes ARM: dts: omap3-beagle: Add USB Host support These 3 DTS patches are good to me, but I

Re: [RESEND: PATCH]: Mfd-Initial-support-for-Texas-Instruments-AIC-family-Codecs

2013-04-05 Thread Samuel Ortiz
Hi Mehar, On Sun, Feb 17, 2013 at 05:15:38AM +, BAJWA, MEHAR wrote: Hi Samuel, I am re-sending the MFD support for AIC family of Audio CODECs from Texas Instruments. The patch was tested on mfd-for-linus-3.8-1. I would like to request that this be considered for inclusion in the

Re: [PATCH 2/4] mfd: palmas: Change the DT node property names to follow the convention

2013-04-05 Thread Samuel Ortiz
Hi, On Mon, Feb 18, 2013 at 10:42:44AM +0530, J Keerthy wrote: DT node properties should not have _. Replacing them by -. Signed-off-by: J Keerthy j-keer...@ti.com --- drivers/mfd/palmas.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Applied, thanks. Cheers, Samuel.

Re: Beyond inotify recursive watches

2013-04-05 Thread Jan Kara
Hi, On Mon 18-03-13 16:18:11, Ramkumar Ramachandra wrote: We, the Git folks, were wondering how to speed things up. In an strace of git status on linux-2.6.git, we found: top syscalls sorted top syscalls sorted by acc. timeby number

PROBLEM: IPv6 TCP-Connections resetting

2013-04-05 Thread Tetja Rediske
Hi, [1.] One line summary of the problem: IPv6 TCP-Connections resetting [2.] Full description of the problem/report: In the last weeks we updated some of our systems to a 3.8.4 Kernel. Since then sometimes we can't connect to services running IPv6, Apache and Openssh tested. We got this on

Re: [GIT PULL] please pull infiniband.git

2013-04-05 Thread David Woodhouse
On Mon, 2013-03-25 at 09:42 -0700, Roland Dreier wrote: Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus Vinit Agnihotri (1): IB/qib: change QLogic to Intel firmware/Makefile | 2 +-

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-05 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130405 03:44]: On 04/04/2013 07:41 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130404 00:39]: On 04/04/2013 02:42 AM, Tony Lindgren wrote: For v3.10, let's just make sure that USB works with DT as then after v3.10 we can make omap4 DT only and

Re: [PATCH v7 1/2] mfd: syscon: Removed unneeded field dev from private driver structure

2013-04-05 Thread Samuel Ortiz
Hi Alexander, On Wed, Mar 13, 2013 at 09:34:19PM +0400, Alexander Shiyan wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/mfd/syscon.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) Both patches applied, thanks. Cheers, Samuel. -- Intel Open Source

Re: [PATCH 0/4 v6] arm: introduce psci_smp_ops and use them on Xen

2013-04-05 Thread Stefano Stabellini
Russell, sorry for not CC'ing you explicitly since v1 of this series, there have been quite few lengthy discussions on this topic. Do you have any opinions on this? Do you feel that this work belong to your tree, or do you want me to go via arm-soc? On Fri, 5 Apr 2013, Stefano Stabellini

Re: [PATCH 1/2] mfd: stmpe: DT: Enable no-irq mode configuration

2013-04-05 Thread Samuel Ortiz
Hi Linus, On Fri, Mar 01, 2013 at 01:07:16PM +0100, Linus Walleij wrote: From: Gabriel Fernandez gabriel.fernan...@stericsson.com If there is no interrupt property into stmpe node then activate the no-irq mode by setting the irq value to -1. Cc: devicetree-disc...@lists.ozlabs.org

Re: [PATCH V2 1/7] kbuild: create an include chroot for DT bindings

2013-04-05 Thread Rob Herring
On 04/04/2013 08:01 PM, Stephen Warren wrote: On 04/04/2013 05:17 PM, Rob Herring wrote: On 04/03/2013 06:34 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The recent dtc+cpp support allows header files and C pre-processor defines/macros to be used when compiling device

Re: [GIT PULL] Sound fixes for 3.9-rc6

2013-04-05 Thread Linus Torvalds
On Fri, Apr 5, 2013 at 12:46 AM, Takashi Iwai ti...@suse.de wrote: please pull sound fixes for v3.9-rc6 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-linus Argh, Takashi, you're usually so reliable... But you actually meant for me to pull the sound-3.9 tag, didn't

Re: [PATCH 2/2] mfd: stmpe: DT: Add stmpe-i2c dt alias to get id device

2013-04-05 Thread Samuel Ortiz
Hi Linus, On Fri, Mar 01, 2013 at 01:07:26PM +0100, Linus Walleij wrote: From: Gabriel Fernandez gabriel.fernan...@stericsson.com This patch augments the STMP driver to read the device id from the stmpe-i2c dt alias if present. Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by:

Re: [PATCH] mmc: mxs-mmc: Add support for non-removable cards

2013-04-05 Thread Marek Vasut
Dear Mark Brown, On Fri, Apr 05, 2013 at 08:37:39AM +0200, Marek Vasut wrote: btw. did you know you can let git send-email automatically handle CC for you so you don't have to type it into the command line by simply sticking Cc: Us Er e...@ma.il in the commit message? Preferably

Re: [PATCH] ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

2013-04-05 Thread Marek Vasut
Dear Alexandre Pereira da Silva, On Fri, Apr 5, 2013 at 11:11 AM, Marek Vasut ma...@denx.de wrote: The CD line is working perfectly well on this board, so I don't get it. In the schematics of this board, the SSP1_DETECT pin is connected to the green led. As I see, there is no way, the

Re: [PATCH 1/3] mfd: ab3100-otp: use module_platform_driver_probe()

2013-04-05 Thread Samuel Ortiz
Hi Jingoo, On Tue, Mar 05, 2013 at 01:47:06PM +0900, Jingoo Han wrote: This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/mfd/ab3100-otp.c | 14 +- 1 files changed, 1

[PATCH RFC] watchdog: core: don't try to stop device if not running

2013-04-05 Thread Hector Palacios
A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and status bits checked for stopping it. Besides, if the device has not been unregistered a critical message watchdog

Re: [PATCH] mfd: abx500 move the AB8500 Kconfig fragment

2013-04-05 Thread Samuel Ortiz
Hi Linus, On Thu, Mar 14, 2013 at 03:54:24PM +0100, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org Move the AB8500 Kconfig fragment below the AB3100 so the menuconfig menu gets hierarchically nested and looks nice. Having the EZX PCAP in the middle disturbs the nice

Re: [GIT PULL] Sound fixes for 3.9-rc6

2013-04-05 Thread Takashi Iwai
At Fri, 5 Apr 2013 09:06:43 -0700, Linus Torvalds wrote: On Fri, Apr 5, 2013 at 12:46 AM, Takashi Iwai ti...@suse.de wrote: please pull sound fixes for v3.9-rc6 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-linus Argh, Takashi, you're usually so

Re: Beyond inotify recursive watches

2013-04-05 Thread Al Viro
On Fri, Apr 05, 2013 at 05:55:34PM +0200, Jan Kara wrote: What your question reminds me is an idea of recursive modification time stamp on directories. That is a time stamp that gets updated whenever anything in the tree under the directory changes. Now this would be too expensive to maintain

Re: [PATCH v6 2/4] arm: prefer psci_smp_ops over mdesc-smp

2013-04-05 Thread Nicolas Pitre
On Fri, 5 Apr 2013, Stefano Stabellini wrote: If PSCI is available on the platform, prefer psci_smp_ops over the platform smp_ops. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Nicolas Pitre n...@linaro.org --- arch/arm/kernel/setup.c |6 +++--- 1

[PATCH] Revert drivers/rtc/rtc-at91rm9200.c: use a variable for storing IMR

2013-04-05 Thread Nicolas Ferre
From: Johan Hovold jhov...@gmail.com This reverts commit 0ef1594. This patch introduced a few races which cannot be easily fixed with a small follow-up patch. Furthermore, the SoC with the broken hardware register, which this patch intended to add support for, can only be used with device trees,

[PATCH] [TRIVIAL] FIX: unintended variable name reuse

2013-04-05 Thread Jan-Simon Möller
Cleanup a variable name reuse. Fix suggested by PaX Team pagee...@freemail.hu Signed-off-by: Jan-Simon Möller dl...@gmx.de --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [PATCH v6 4/4] xen/arm: introduce xen_early_init, use PSCI on xen

2013-04-05 Thread Nicolas Pitre
On Fri, 5 Apr 2013, Stefano Stabellini wrote: Split xen_guest_init in two functions, one of them (xen_early_init) is going to be called very early from setup_arch. Change machine_desc-smp_init to xen_smp_init if Xen is present on the platform. xen_smp_init just sets smp_ops to psci_smp_ops.

Re: [ 105/124] af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-05 Thread Greg KH
On Fri, Apr 05, 2013 at 12:47:15AM -0400, David Miller wrote: From: Sven Joachim svenj...@gmx.de Date: Wed, 03 Apr 2013 13:41:32 +0200 On 2013-04-03 00:11 +0200, Greg Kroah-Hartman wrote: 3.8-stable review patch. If anyone has any objections, please let me know. I'm seeing several

Re: [PATCH -mm -next] ipc,sem: untangle RCU locking with find_alloc_undo

2013-04-05 Thread Mike Galbraith
On Fri, 2013-04-05 at 09:21 -0400, Rik van Riel wrote: On 04/05/2013 12:38 AM, Mike Galbraith wrote: On Tue, 2013-03-26 at 16:00 -0400, Rik van Riel wrote: The ipc semaphore code has a nasty RCU locking tangle, with both find_alloc_undo and semtimedop taking the rcu_read_lock(). The

Re: GFS2: Pull request (fixes)

2013-04-05 Thread David Teigland
On Fri, Apr 05, 2013 at 11:34:45AM +0100, Steven Whitehouse wrote: Please consider pulling the following changes, There's some mixup here that should be cleared up first. David Teigland (2): GFS2: Fix unlock of fcntl locks during withdrawn state Steven Whitehouse (1): GFS2:

[PATCH] nfc: Remove useless Makefile line

2013-04-05 Thread Paul Bolle
There's no Kconfig symbol NFC_DEBUG. Besides, there doesn't seem to be any nfc code that uses a DEBUG macro. This line can safely be removed. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Untested. drivers/nfc/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/nfc/Makefile

Re: [PATCH v10 0/12] Palmas updates

2013-04-05 Thread Samuel Ortiz
Hi Ian, On Fri, Mar 22, 2013 at 02:55:10PM +, Ian Lartey wrote: This patchset adds to the support for the Palmas series of PMIC chips. Some of the patches have previously been submitted individually. The DT bindings doc has been added first due to comments that it was missing. Patches

Re: [PATCH v10 03/12] mfd: palmas add variant and OTP detection

2013-04-05 Thread Samuel Ortiz
Hi Ian, On Fri, Mar 22, 2013 at 02:55:13PM +, Ian Lartey wrote: @@ -278,20 +329,20 @@ static void palmas_dt_to_pdata(struct i2c_client *i2c, int ret; u32 prop; - ret = of_property_read_u32(node, ti,mux_pad1, prop); + ret = of_property_read_u32(node, ti,mux-pad1,

Re: [PATCH] nfc: Remove useless Makefile line

2013-04-05 Thread Joe Perches
On Fri, 2013-04-05 at 18:31 +0200, Paul Bolle wrote: There's no Kconfig symbol NFC_DEBUG. Besides, there doesn't seem to be any nfc code that uses a DEBUG macro. This line can safely be removed. [] diff --git a/drivers/nfc/Makefile b/drivers/nfc/Makefile [] -ccflags-$(CONFIG_NFC_DEBUG) :=

Re: [PATCH v3 00/22] x86, ACPI, numa: Parse numa info early

2013-04-05 Thread Thomas Renninger
On Thursday, April 04, 2013 08:09:46 PM Yinghai Lu wrote: ... can you try git checkout -b for-x86-mm origin/for-x86-mm That worked out much better :) I see these changes in e820 table, the first part is probably unrelated: BIOS-e820: [mem 0x-0x0009bbff] usable ...

[PATCH] sched: Fix 32bit race in sched_clock_remote()

2013-04-05 Thread Peter Zijlstra
Thomas spotted a nasty 32bit race in sched_clock_remote() after way too many hours of debugging weirdness. What happens is that sched_clock_remote() does regular machine word reads of sched_clock_data::clock; this appears safe since we use cmpxchg64() to update the variable and any half-read

Re: [PATCH] nfc: Remove useless Makefile line

2013-04-05 Thread Paul Bolle
On Fri, 2013-04-05 at 09:35 -0700, Joe Perches wrote: On Fri, 2013-04-05 at 18:31 +0200, Paul Bolle wrote: -ccflags-$(CONFIG_NFC_DEBUG) := -DDEBUG pr_debug/dev_dbg/nfc_dev_dbg logging messages depend on this. Thanks. But then a NFC_DEBUG symbol needs to be added, because now the DEBUG

Re: [PATCH] MFD: rtsx_pcr, fix probe fail path

2013-04-05 Thread Samuel Ortiz
Hi Jiry, On Thu, Apr 04, 2013 at 09:34:11PM +0200, Jiri Slaby wrote: When rtsx_pci_acquire_irq fails in rtsx_pci_probe, we forget to disable an MSI (if we enabled it). This results in this warning on the next attempt to load the module: WARNING: at drivers/pci/msi.c:834

Re: Version number policy!

2013-04-05 Thread Eugene Krasnikov
Hi Adrian, This is the patch with new wmi command to support build number. Please let me know if it's ok so i can send it as pull request: From 2591efa83bd24a807e3d93c4c8e1bf5c570737e1 Mon Sep 17 00:00:00 2001 From: Eugene Krasnikov k.eugen...@gmail.com Date: Fri, 5 Apr 2013 18:37:26 +0200

Re: [PATCH] nfc: Remove useless Makefile line

2013-04-05 Thread Joe Perches
On Fri, 2013-04-05 at 18:39 +0200, Paul Bolle wrote: On Fri, 2013-04-05 at 09:35 -0700, Joe Perches wrote: On Fri, 2013-04-05 at 18:31 +0200, Paul Bolle wrote: -ccflags-$(CONFIG_NFC_DEBUG) := -DDEBUG pr_debug/dev_dbg/nfc_dev_dbg logging messages depend on this. Thanks. But then a

Re: GFS2: Pull request (fixes)

2013-04-05 Thread Steven Whitehouse
Hi, On Fri, 2013-04-05 at 12:27 -0400, David Teigland wrote: On Fri, Apr 05, 2013 at 11:34:45AM +0100, Steven Whitehouse wrote: Please consider pulling the following changes, There's some mixup here that should be cleared up first. David Teigland (2): GFS2: Fix unlock of fcntl

Re: GFS2: Pull request (fixes)

2013-04-05 Thread Linus Torvalds
On Fri, Apr 5, 2013 at 9:27 AM, David Teigland teigl...@redhat.com wrote: On Fri, Apr 05, 2013 at 11:34:45AM +0100, Steven Whitehouse wrote: Please consider pulling the following changes, There's some mixup here that should be cleared up first. David Teigland (2): GFS2: Fix unlock of

[PATCH v4 4/7] CIFS: Use NT_CREATE_ANDX command for forcemand mounts

2013-04-05 Thread Pavel Shilovsky
forcemand mount option now lets us use Windows mandatory style of byte-range locks even if server supports posix ones - switches on Windows locking mechanism. Share flags is another locking mehanism provided by Windows semantic that can be used by NT_CREATE_ANDX command. This patch combines all

[PATCH v4 6/7] NFSD: Pass share reservations flags to VFS

2013-04-05 Thread Pavel Shilovsky
that maps them into O_DENY flags and make them visible for applications that use O_DENYMAND opens. Signed-off-by: Pavel Shilovsky pias...@etersoft.ru --- fs/locks.c | 1 + fs/nfsd/nfs4state.c | 46 +- 2 files changed, 46 insertions(+), 1

<    3   4   5   6   7   8   9   10   11   >