[PATCH] usb: phy: samsung: Add support to set pmu isolation

2013-01-11 Thread Vivek Gautam
Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- Changes from v5: - Using a global spin_lock member in 'samsung_usbphy' structure to be used in samsung_usbphy_init() and

Re: [PATCH 1/2] tools: hv: Fix how ifcfg-* file is created

2013-01-11 Thread Tomas Hozza
There is a mistake in this Patch. Sorry for this. I'll send corrected one ASAP after testing it! - Original Message - -Original Message- From: Tomas Hozza [mailto:tho...@redhat.com] Sent: Tuesday, January 08, 2013 6:27 AM To: gre...@linuxfoundation.org Cc: KY

Re: [PATCH v3 05/22] sched: remove domain iterations in fork/exec/wake

2013-01-11 Thread li guang
在 2013-01-11五的 10:26 +0530,Preeti U Murthy写道: Hi Morten,Alex On 01/09/2013 11:51 PM, Morten Rasmussen wrote: On Sat, Jan 05, 2013 at 08:37:34AM +, Alex Shi wrote: Guess the search cpu from bottom to up in domain tree come from commit 3dbd5342074a1e sched: multilevel sbe sbf, the

Re: [PATCH RESEND v1 06/16] vfs: add temp calculation function

2013-01-11 Thread Zhi Yong Wu
On Thu, Jan 10, 2013 at 8:53 AM, David Sterba dste...@suse.cz wrote: On Thu, Dec 20, 2012 at 10:43:25PM +0800, zwu.ker...@gmail.com wrote: --- a/fs/hot_tracking.c +++ b/fs/hot_tracking.c @@ -25,6 +25,14 @@ static struct kmem_cache *hot_inode_item_cachep __read_mostly; static struct

[RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-11 Thread Michael Wang
This patch set is trying to simplify the select_task_rq_fair() with schedule balance map. After get rid of the complex code and reorganize the logical, pgbench show the improvement. Prev: | db_size | clients | tps | +-+-+---+

[RFC PATCH 1/2] sched: schedule balance map foundation

2013-01-11 Thread Michael Wang
In order to get rid of the complex code in select_task_rq_fair(), approach to directly get sd on each level with proper flag is required. Schedule balance map is the solution, which record the sd according to it's flag and level. For example, cpu_sbm-sd[wake][l] will locate the sd of cpu which

[RFC PATCH 2/2] sched: simplify select_task_rq_fair() with schedule balance map

2013-01-11 Thread Michael Wang
Since schedule balance map provide the approach to get proper sd directly, simplify the code of select_task_rq_fair() is possible. The new code is designed to reserve most of the old logical, but get rid of those 'for' by using the schedule balance map to locate proper sd directly.

Re: [PATCH] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-01-11 Thread Christian Riesch
Hi, On 2013-01-11 03:45, Ming Lei wrote: Cc netdev and usb lists. On Fri, Jan 11, 2013 at 9:17 AM, fre...@asix.com.tw wrote: From: Freddy Xin fre...@asix.com.tw This patch adds a driver for ASIX's AX88179 family of USB 3.0/2.0 to gigabit ethernet adapters. It's based on the AX88xxx driver

Re: [RFC] Reproducible OOM with partial workaround

2013-01-11 Thread Simon Jeons
On Fri, 2013-01-11 at 00:01 -0800, Andrew Morton wrote: On Fri, 11 Jan 2013 12:46:15 +1100 paul.sz...@sydney.edu.au wrote: ... I don't believe 64GB of RAM has _ever_ been booted on a 32-bit kernel without either violating the ABI (3GB/1GB split) or doing something that never got merged

Re: [PATCH V3 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-11 Thread Jason Wang
On 01/11/2013 03:12 AM, Ben Hutchings wrote: On Thu, 2013-01-10 at 11:19 +1030, Rusty Russell wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: On 01/09/2013 07:31 AM, Rusty Russell wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: */ static u16 virtnet_select_queue(struct

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-11 Thread Jason Wang
On 01/11/2013 01:12 PM, David Miller wrote: From: Jason Wang jasow...@redhat.com Date: Fri, 11 Jan 2013 09:29:20 +0800 On 01/11/2013 06:39 AM, David Miller wrote: From: Stefan Hajnoczi stefa...@redhat.com Date: Thu, 10 Jan 2013 08:59:48 +0100 Multiqueue tun devices support detaching a

Re: [PATCH V4 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-11 Thread Jason Wang
On 01/11/2013 01:56 PM, Wanlong Gao wrote: As Michael mentioned, set affinity and select queue will not work very well when CPU IDs are not consecutive, this can happen with hot unplug. Fix this bug by traversal the online CPUs, and create a per cpu variable to find the mapping from CPU to the

RE: [PATCH 1/2] VFIO-AER: Vfio-pci driver changes for supporting AER

2013-01-11 Thread Pandarathil, Vijaymohan R
-Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Wednesday, January 09, 2013 11:05 AM To: Pandarathil, Vijaymohan R Cc: Bjorn Helgaas; Gleb Natapov; k...@vger.kernel.org; qemu- de...@nongnu.org; linux-...@vger.kernel.org;

Re: [PATCH] staging/omapdrm: garbage collect OMAP_DSS_DISPLAY_SUSPENDED

2013-01-11 Thread Paolo Pisati
On Thu, Jan 10, 2013 at 09:42:27PM +0100, Paolo Pisati wrote: Compilation fix - leftover from: commit 998c336d4c7183301ed6a6ca93952f63e3cf694f Author: Tomi Valkeinen tomi.valkei...@ti.com Date: Wed May 30 13:26:00 2012 +0300 OMAPDSS: remove omap_dss_device's suspend/resume Cc:

Re: [PATCH 2/2] arm: make return_address available for ARM_UNWIND

2013-01-11 Thread Keun-O Park
On Mon, Jan 7, 2013 at 10:41 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 2013-01-04 at 17:45 +0900, Keun-O Park wrote: With CFLAGS_REMOVE_unwind.o = -pg and with CONFIG_PROVE_LOCKING turned on, I confirmed that there's no trace output like Steve mentioned. However, if I turn

RE: [PATCH 2/2] QEMU-AER: Qemu changes to support AER for VFIO-PCI devices

2013-01-11 Thread Pandarathil, Vijaymohan R
-Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Wednesday, January 09, 2013 10:08 AM To: Pandarathil, Vijaymohan R Cc: Bjorn Helgaas; Gleb Natapov; k...@vger.kernel.org; qemu- de...@nongnu.org; linux-...@vger.kernel.org;

[PATCH] Prevent use of unitialized variable

2013-01-11 Thread Fredrik Gustafsson
Run checkpatch.pl -f kernel/fork.c in commit ecf02a607bd801e742d7bb35c6e40f7ca15edf03 and checkpatch.pl will try to use an uninitialized variable. This patch fixes that. Signed-off-by: Fredrik Gustafsson iv...@iveqy.com --- scripts/checkpatch.pl | 19 +++ 1 files changed, 11

RE: [Qemu-devel] [PATCH 2/2] QEMU-AER: Qemu changes to support AER for VFIO-PCI devices

2013-01-11 Thread Pandarathil, Vijaymohan R
-Original Message- From: Blue Swirl [mailto:blauwir...@gmail.com] Sent: Wednesday, January 09, 2013 1:23 PM To: Pandarathil, Vijaymohan R Cc: Alex Williamson; Bjorn Helgaas; Gleb Natapov; linux- p...@vger.kernel.org; qemu-de...@nongnu.org; k...@vger.kernel.org; linux-

[PATCH 1/2] tuntap: forbid calling TUNSETIFF when detached

2013-01-11 Thread Jason Wang
Michael points out that even after Stefan's fix the TUNSETIFF is still allowed to create a new tap device. This because we only check tfile-tun but the tfile-detached were introduced. Fix this by failing early in tun_set_iff() if the file is detached. After this fix, there's no need to do the

[PATCH 2/2] tuntap: fix leaking reference count

2013-01-11 Thread Jason Wang
Reference count leaking of both module and sock were found: - When a detached file were closed, its sock refcnt from device were not released, solving this by add the sock_put(). - The module were hold or drop unconditionally in TUNSETPERSIST, which means we if we set the persist flag for N

RE: [patch] [SCSI] bfa: fix strncpy() limiter in bfad_start_ops()

2013-01-11 Thread Anil Gurumurthy
-Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-ow...@vger.kernel.org] On Behalf Of Dan Carpenter Sent: Thursday, January 10, 2013 2:36 PM To: Anil Gurumurthy Cc: Vijay Mohan Guvva; James E.J. Bottomley; linux-s...@vger.kernel.org;

[PATCH] staging: ced1401: fix GFP_KERNEL in spinlock context

2013-01-11 Thread Alexey Khoroshilov
Allowi() calls usb_submit_urb(pdx-pUrbCharIn, bInCallback ? GFP_ATOMIC : GFP_KERNEL) under spin_lock_irqsave(pdx-charInLock, flags). That means it should use GFP_ATOMIC anyway. As soon as it is the only usage of bInCallback argument, the patch removes it at all. Found by Linux Driver

Re: [PATCHSET] cpuset: decouple cpuset locking from cgroup core, take#2

2013-01-11 Thread Li Zefan
On 2013/1/10 2:57, Tejun Heo wrote: Hello, Li. On Tue, Jan 08, 2013 at 09:31:11AM +0800, Li Zefan wrote: I don't think Paul's still maintaining cpusets. Normally it's Andrew that picks up cpuset patches. It's fine you route it through cgroup tree. Can you please take over the cpuset

Re: linux-next: please cleanup the cpuidle tree

2013-01-11 Thread Daniel Lezcano
On 01/11/2013 01:56 AM, Stephen Rothwell wrote: Hi Daniel, On Tue, 8 Jan 2013 10:22:27 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: On Tue, 08 Jan 2013 00:11:50 +0100 Daniel Lezcano daniel.lezc...@linaro.org wrote: On 01/07/2013 11:27 PM, Stephen Rothwell wrote: All the

Re: [PATCH resend 2/2] Input: twl6040-vibra: Code cleanup in probe with devm_* conversion

2013-01-11 Thread Peter Ujfalusi
Hi Dmitry, On 01/10/2013 06:54 PM, Dmitry Torokhov wrote: Hi Peter, On Thu, Jan 10, 2013 at 02:36:05PM +0100, Peter Ujfalusi wrote: Convert the probe to use devm_*. At the same time reorder the calls so we will register the input device as the last step when the driver is loaded. If you

[PATCH] blkcg: Before starting a new slice, firstly count bps/iops limit in func tg_may_dispatch.

2013-01-11 Thread majianpeng
In func tg_may_dispatch, if (throtl_slice_used(td, tg, rw)) throtl_start_new_slice(td, tg, rw); ... if (tg_with_in_bps_limit(td, tg, bio, bps_wait) tg_with_in_iops_limit(td, tg, bio, iops_wait)) { In funcs tg_with_in_(bps/iops)_limit, it used the slice_start to count.

Re: [PATCH v3 00/44] Meta Linux Kernel Port

2013-01-11 Thread James Hogan
On 10/01/13 23:34, Stephen Rothwell wrote: You really should not base development work on linux-next and before I can include it there you will need to rebase it onto Linus' tree (or some other tree that does not rebase). Its OK to test by doing a merge with linux-next ... Thanks for the

Re: linux-next: please cleanup the cpuidle tree

2013-01-11 Thread Stephen Rothwell
Hi Daniel, On Fri, 11 Jan 2013 10:10:12 +0100 Daniel Lezcano daniel.lezc...@linaro.org wrote: On 01/11/2013 01:56 AM, Stephen Rothwell wrote: Unfortunately, you reset your tree to be a version of the pm tree that has now been rebased :-( This is now causing more conflicts in

Re: [PATCH] usb: phy: samsung: Add support to set pmu isolation

2013-01-11 Thread Sylwester Nawrocki
On 01/11/2013 09:08 AM, Vivek Gautam wrote: Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Thanks for addressing my all comments, Reviewed-by: Sylwester Nawrocki

[PATCH] mm: compaction: Partially revert capture of suitable high-order page

2013-01-11 Thread Mel Gorman
Eric Wong reported on 3.7 and 3.8-rc2 that ppoll() got stuck when waiting for POLLIN on a local TCP socket. It was easier to trigger if there was disk IO and dirty pages at the same time and he bisected it to commit 1fb3f8ca mm: compaction: capture a suitable high-order page immediately when it is

[PATCH v2 2/4] input: twl4030-vibra: Use system workqueue

2013-01-11 Thread Peter Ujfalusi
It is time to switch to system wq instead creating a queue for the driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/input/misc/twl4030-vibra.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/drivers/input/misc/twl4030-vibra.c

[PATCH v2 4/4] input: twl6040-vibra: Use system workqueue

2013-01-11 Thread Peter Ujfalusi
It is time to switch to system wq instead creating a queue for the driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/input/misc/twl6040-vibra.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/drivers/input/misc/twl6040-vibra.c

[PATCH v2 0/4] Input: twl*-vibra cleanups (devm_* conversion, system wq)

2013-01-11 Thread Peter Ujfalusi
Hi Dmitry, Changes since v1: - Use devm_input_allocate_device() - swtich drivers to use system workqueue Cover letter from v1 (resend set): This series seams to got lost: https://lkml.org/lkml/2012/6/15/128 Can you take it for 3.9? Convert the twl4030, twl6040 vibra drivers to use devm_ at

[PATCH v2 3/4] Input: twl6040-vibra: Code cleanup in probe with devm_* conversion

2013-01-11 Thread Peter Ujfalusi
Convert the probe to use devm_*. At the same time reorder the calls so we will register the input device as the last step when the driver is loaded. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/input/misc/twl6040-vibra.c | 102 - 1 file

[PATCH] cpuset: update MAINTAINERS

2013-01-11 Thread Li Zefan
As Paul doesn't maintain cpusets anymore, I'll take over the maintainership. Signed-off-by: Li Zefan lize...@huawei.com --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fa309ab..d58bc12 100644 --- a/MAINTAINERS +++

[PATCH v2 1/4] Input: twl4030-vibra: Convert to use devm_* in probe

2013-01-11 Thread Peter Ujfalusi
Cleanup to use devm_* when it is possible at probe time. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/input/misc/twl4030-vibra.c | 26 -- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/drivers/input/misc/twl4030-vibra.c

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-11 Thread Mel Gorman
On Fri, Jan 11, 2013 at 12:51:05AM +, Eric Wong wrote: Mel Gorman mgor...@suse.de wrote: mm: compaction: Partially revert capture of suitable high-order page snip Reported-by: Eric Wong normalper...@yhbt.net Cc: sta...@vger.kernel.org Signed-off-by: Mel Gorman mgor...@suse.de

Re: [PATCH] uprobes: Add exports for module use

2013-01-11 Thread Christoph Hellwig
On Thu, Jan 10, 2013 at 03:01:46PM -0800, Josh Stone wrote: The original pull message for uprobes (commit 654443e2) noted: This tree includes uprobes support in 'perf probe' - but SystemTap (and other tools) can take advantage of user probe points as well. In order to actually be

Re: linux-next: manual merge of the signal tree with the arm64 tree

2013-01-11 Thread Catalin Marinas
Hi Stephen, On Fri, Jan 11, 2013 at 04:46:17AM +, Stephen Rothwell wrote: Today's linux-next merge of the signal tree got a conflict in arch/arm64/kernel/signal32.c between commits 068f1bb36cf1 (arm64: compat: include sa_restorer in old action from rt_sigaction) and efed4d52e39f (arm64:

Re: [PATCH 01/14] mfd: omap-usb-host: Consolidate OMAP USB-HS platform data

2013-01-11 Thread Roger Quadros
Tony, On 01/11/2013 01:45 AM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130110 08:54]: Let's have a single platform data structure for the OMAP's High-Speed USB host subsystem instead of having 3 separate ones i.e. one for board data, one for USB Host (UHH) module and one for

Re: [PATCH 04/14] usb: phy: nop: Handle power supply regulator for the PHY

2013-01-11 Thread Roger Quadros
On 01/10/2013 08:06 PM, Sergei Shtylyov wrote: Hello. On 01/10/2013 07:51 PM, Roger Quadros wrote: We use vcc as the supply name for the PHY's power supply. The power supply will be enabled during .init() and disabled during .shutdown() Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH v3 41/44] metag: OProfile

2013-01-11 Thread James Hogan
Hi Maynard, On 10/01/13 17:12, Maynard Johnson wrote: +static void kernel_backtrace_fp(unsigned long *fp, unsigned long *stack, +unsigned int depth) +{ ... +#ifdef CONFIG_KALLSYMS +/* If we've reached TBIBoingVec then we're at an interrupt +

RE: [PATCH] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-01-11 Thread Freddy
Hi, +static int ax88179_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, + u16 size, void *data) { + int ret; + ret = usbnet_read_cmd(dev, cmd, + USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, +

mmots: memory-hotplug-remove-memmap-of-sparse-vmemmap.patch compile fix

2013-01-11 Thread Michal Hocko
Defconfig for x86_64 complains: arch/x86/mm/init_64.c: In function ‘vmemmap_free’: arch/x86/mm/init_64.c:1317: error: implicit declaration of function ‘remove_pagetable’ vmemmap_free is only used for CONFIG_MEMORY_HOTPLUG so let's move it inside ifdef Signed-off-by: Michal Hocko mho...@suse.cz

[PATCH] MODSIGN: Warn when sign check fails due to -ENOKEY

2013-01-11 Thread Chris Samuel
/* Please CC me in responses, I am not subscribed to LKML */ Currently if a signature check fails on module load due to not having the appropriate key (-ENOKEY) and we are not doing strict checking there is no information provided to the user other than the lock debug taint warning: Disabling

Re: [PATCH] usb: phy: samsung: Add support to set pmu isolation

2013-01-11 Thread Vivek Gautam
Hi Sylwester, On Fri, Jan 11, 2013 at 2:51 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: On 01/11/2013 09:08 AM, Vivek Gautam wrote: Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by: Vivek Gautam

mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Michal Hocko
Defconfig for x86_64 complains arch/x86/mm/init_64.c: In function ‘register_page_bootmem_memmap’: arch/x86/mm/init_64.c:1340: error: implicit declaration of function ‘get_page_bootmem’ arch/x86/mm/init_64.c:1340: error: ‘MIX_SECTION_INFO’ undeclared (first use in this function)

[PATCH 2/2]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2013-01-11 Thread fangxiaozhi 00110321
From: fangxiaozhi huana...@huawei.com 1. Optimize the match rules with new macro for Huawei USB storage devices, to avoid to load USB storage driver for the modem interface with Huawei devices. 2. Add to support new switch command for new Huawei USB dongles. Signed-off-by: fangxiaozhi

Re: [PATCH v3 15/44] metag: Huge TLB

2013-01-11 Thread James Hogan
On 10/01/13 16:57, Dave Hansen wrote: On 01/10/2013 07:30 AM, James Hogan wrote: +pte_t *huge_pte_alloc(struct mm_struct *mm, +unsigned long addr, unsigned long sz) +{ +pgd_t *pgd; +pud_t *pud; +pmd_t *pmd; +pte_t *pte; + +pgd = pgd_offset(mm,

Re: linux-next: manual merge of the signal tree with the arm64 tree

2013-01-11 Thread Will Deacon
On Fri, Jan 11, 2013 at 09:36:02AM +, Catalin Marinas wrote: Hi Stephen, On Fri, Jan 11, 2013 at 04:46:17AM +, Stephen Rothwell wrote: Today's linux-next merge of the signal tree got a conflict in arch/arm64/kernel/signal32.c between commits 068f1bb36cf1 (arm64: compat: include

[PATCH] ext4: Fix memory leak in ext4_init_new_dir

2013-01-11 Thread Mel Gorman
Commit a774f9c2 ext4: make ext4_init_dot_dotdot for inline dir usage is a preparation cleanup for later ext4 patches but there was a snag when moving code to the newly created ext4_init_new_dir() function. ext4_bread() is called twice but brelse() is only called one leading to a memory leak. The

Re: [PATCH v3 05/22] sched: remove domain iterations in fork/exec/wake

2013-01-11 Thread Morten Rasmussen
On Fri, Jan 11, 2013 at 02:46:31AM +, Alex Shi wrote: On 01/10/2013 02:21 AM, Morten Rasmussen wrote: new_cpu = find_idlest_cpu(group, p, cpu); - -/* Now try balancing at a lower domain level of new_cpu */ -cpu = new_cpu; -

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-11 Thread Nikunj A Dadhania
Hi Michael, Michael Wang wang...@linux.vnet.ibm.com writes: Prev: +-+-+---+ | 7484 MB | 32 | 42463 | Post: | 7483 MB | 32 | 44185 | +0.18% That should be +4.05% Regards Nikunj -- To unsubscribe

Re: Oops in sound/usb/pcm.c:match_endpoint_audioformats() in current -git

2013-01-11 Thread Takashi Iwai
At Fri, 11 Jan 2013 08:47:25 +0100, Jens Axboe wrote: On 2013-01-10 21:19, Takashi Iwai wrote: From: Takashi Iwai ti...@suse.de Subject: [PATCH v2] ALSA: usb-audio: Fix NULL dereference by access to non-existing substream The commit [0d9741c0: ALSA: usb-audio: sync ep init fix for

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Michal Hocko
On Fri 11-01-13 10:56:58, Michal Hocko wrote: [...] diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index be2b90c..1501d25 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -91,7 +91,6 @@ static void release_memory_resource(struct resource *res) return; }

Re: [PATCH] ext4: Fix memory leak in ext4_init_new_dir

2013-01-11 Thread Tao Ma
Hi Mel, Thanks for the report. This bug is already spotted by Guo Chao and the patch has been accepted by Ted already. Thanks, Tao On 01/11/2013 06:06 PM, Mel Gorman wrote: Commit a774f9c2 ext4: make ext4_init_dot_dotdot for inline dir usage is a preparation cleanup for later ext4 patches but

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Tang Chen
Hi Michal, Thank you very much for the nice catch. :) On 01/11/2013 05:56 PM, Michal Hocko wrote: Defconfig for x86_64 complains arch/x86/mm/init_64.c: In function ‘register_page_bootmem_memmap’: arch/x86/mm/init_64.c:1340: error: implicit declaration of function ‘get_page_bootmem’

Re: [patch] dac960: return success instead of -ENOTTY

2013-01-11 Thread Jens Axboe
On 2013-01-11 07:52, Dan Carpenter wrote: There is a missing break statement here. This used to return directly but we re-worked it in 2008 to add locking as part of the BKL push down. Thanks Dan, applied. Must have a big user base... -- Jens Axboe -- To unsubscribe from this list: send the

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Michal Hocko
On Fri 11-01-13 11:17:45, Michal Hocko wrote: [...] diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index be2b90c..59eddff 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -128,6 +128,64 @@ void __ref put_page_bootmem(struct page *page) } +void

Re: [PATCH] ext4: Fix memory leak in ext4_init_new_dir

2013-01-11 Thread Mel Gorman
On Fri, Jan 11, 2013 at 06:12:17PM +0800, Tao Ma wrote: Hi Mel, Thanks for the report. This bug is already spotted by Guo Chao and the patch has been accepted by Ted already. Ah grand, I see now that it was merged for 3.8-rc3. Thanks for the heads up. -- Mel Gorman SUSE Labs -- To

Link state change detection problem on Moschip MCS7832 again

2013-01-11 Thread Michael Hunold
Hi, I have a no-name Moschip MCS7832-based adapter shows a strange behaviour in my system after a system upgrade. lsusb -vv for that device is attached to the end of the mail. I am using the adapter for embedded systems development, where it serves kernels via TFTP and root filesystems via

[PATCH] ARM: ux500: Include the PRCMU's Secure Registers in DB8500's DT

2013-01-11 Thread Lee Jones
Currently we only include the PRCMU's primary registers when referencing the register count in the 'reg' property. This patch expands that count to include the secure registers also. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/dbx5x0.dtsi |2 +- 1 file changed, 1

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Michal Hocko
On Fri 11-01-13 11:29:24, Michal Hocko wrote: On Fri 11-01-13 11:17:45, Michal Hocko wrote: [...] diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index be2b90c..59eddff 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -128,6 +128,64 @@ void __ref

Re: [PATCH v3 43/44] tty/metag_da: Add metag DA TTY driver

2013-01-11 Thread James Hogan
Hi Jiri, On 10/01/13 16:03, Jiri Slaby wrote: Hi, few comments/questions below. On 01/10/2013 04:31 PM, James Hogan wrote: --- /dev/null +++ b/drivers/tty/metag_da.c @@ -0,0 +1,696 @@ ... +struct dashtty_port { +struct tty_port port; +spinlock_t rx_lock;

Re: [PATCH v3 05/22] sched: remove domain iterations in fork/exec/wake

2013-01-11 Thread Morten Rasmussen
Hi Preeti, On Fri, Jan 11, 2013 at 04:56:09AM +, Preeti U Murthy wrote: Hi Morten,Alex On 01/09/2013 11:51 PM, Morten Rasmussen wrote: On Sat, Jan 05, 2013 at 08:37:34AM +, Alex Shi wrote: Guess the search cpu from bottom to up in domain tree come from commit 3dbd5342074a1e

[PATCHv2] posix-timers: Fix clock_adjtime to always return timex data on success

2013-01-11 Thread Miroslav Lichvar
The clock_adj call returns the clock state on success, which may be a non-zero value (e.g. TIME_INS), but the modified timex data is copied back to the user only when zero value (TIME_OK) was returned. Fix the condition to copy the data also with positive return values. Signed-off-by: Miroslav

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Roger Quadros
On 01/10/2013 10:48 PM, Alan Stern wrote: On Thu, 10 Jan 2013, Roger Quadros wrote: If the OMAP's Host controller is in PHY mode then we instantiate a platform device for the PHY (one for each port in PHY mode) and hold a reference to it so that we can use the usb_phy API, e.g. while

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-11 Thread Mark Brown
On Thu, Jan 10, 2013 at 10:56:36PM +0100, Rafael J. Wysocki wrote: On Thursday, January 10, 2013 03:58:52 PM Mika Westerberg wrote: Well, they can use the same LPSS block with a different CPU but then we expect the ACPI IDs to change as well (so we can then make another set of clocks for

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Roger Quadros
On 01/11/2013 12:59 PM, Roger Quadros wrote: On 01/10/2013 10:48 PM, Alan Stern wrote: On Thu, 10 Jan 2013, Roger Quadros wrote: If the OMAP's Host controller is in PHY mode then we instantiate a platform device for the PHY (one for each port in PHY mode) and hold a reference to it so that

Re: [PATCH v3 3/6] ACPI/pci_slot: update PCI slot information when PCI hotplug event happens

2013-01-11 Thread Martin Mokrejs
Hi, I just hit this thread in my bloated Inbox. Rafael J. Wysocki wrote: On Thursday, January 10, 2013 03:03:53 PM Yinghai Lu wrote: On Thu, Jan 10, 2013 at 1:50 PM, Rafael J. Wysocki r...@sisk.pl wrote: Well, I don't see what functional problems that can bring. In theory people may want

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Lin Feng
Hi Michal, On 01/11/2013 06:47 PM, Michal Hocko wrote: Signed-off-by: Michal Hocko mho...@suse.cz --- arch/x86/mm/init_64.c |3 +++ include/linux/mm.h|2 ++ 2 files changed, 5 insertions(+) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index ddd3b58..d8edf52

Re: regression, bisected: openpty fails from 3.7 onwards without devpts

2013-01-11 Thread Jiri Slaby
On 01/10/2013 11:51 PM, Jiri Slaby wrote: On 01/10/2013 11:45 PM, Alan Cox wrote: So we should just fix TIOCGPTN on a pty with no suitable name answer to return -EINVAL Yes, I agree as I'm expressed in my second mail. Sorry for the confusion. Does the attached patch help? -- js suse labs

Re: BUG: kernel panic on Dell Vostro 3560 when plugging in AC adapter

2013-01-11 Thread Adrian Byszuk
On 11/01/13 07:59, Sujith Manoharan wrote: Adrian Byszuk wrote: Aaaand failure again! I haven't finished bisecting yet, but as of now I have ~20 commits left: all related to 'mtd' - propably not a source of troubles too. Any other way to diagnose this bug? I think this has been fixed by:

Re: [PATCH] mm: wait for congestion to clear on all zones

2013-01-11 Thread Zlatko Calusic
On 11.01.2013 02:25, Simon Jeons wrote: On Wed, 2013-01-09 at 22:41 +0100, Zlatko Calusic wrote: From: Zlatko Calusic zlatko.calu...@iskon.hr Currently we take a short nap (HZ/10) and wait for congestion to clear before taking another pass with lower priority in balance_pgdat(). But we do

Re: [PATCH 4/4] serial/arc-uart: switch to devicetree based probing

2013-01-11 Thread Arnd Bergmann
On Friday 11 January 2013, Vineet Gupta wrote: * DT binding for arc-uart * With alll the bits in place we can now use DT probing. Note that there's a bit of kludge right now because earlyprintk portion of driver can't use the DT infrastrcuture to get resoures/plat_data. This requires some

Re: [PATCH v4 00/14] DMA Engine support for AM33XX

2013-01-11 Thread Arnd Bergmann
On Friday 11 January 2013, Matt Porter wrote: The approach taken is similar to how OMAP DMA is being converted to DMA Engine support. With the functional EDMA private API already existing in mach-davinci/dma.c, we first move that to an ARM common area so it can be shared. Adding DT and runtime

Re: BUG: kernel panic on Dell Vostro 3560 when plugging in AC adapter

2013-01-11 Thread Borislav Petkov
On Fri, Jan 11, 2013 at 12:29:30PM +0530, Sujith Manoharan wrote: Adrian Byszuk wrote: Aaaand failure again! I haven't finished bisecting yet, but as of now I have ~20 commits left: all related to 'mtd' - propably not a source of troubles too. Any other way to diagnose this bug? I

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2013-01-11 Thread Borislav Petkov
On Thu, Jan 10, 2013 at 03:47:01PM -0500, Alex Deucher wrote: Does disabling the new DMA ring for ttm bo moves avoid the issue? How do I do that? diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index 9056faf..b0cc46d 100644 [ … ] Ok, I'm

Re: BUG: kernel panic on Dell Vostro 3560 when plugging in AC adapter

2013-01-11 Thread Borislav Petkov
On Fri, Jan 11, 2013 at 12:25:45PM +0100, Adrian Byszuk wrote: Aaaah... yes, looks like this is it. I'll wait for the 3.7.2 and if it isn't fixed then I'll mail here again. Sorry, I just noticed I had email trouble and you've probably didn't see my email yet - this patch is not in the 3.7.2

Re: [PATCH v4 2/9] clk: tegra: Add tegra specific clocks

2013-01-11 Thread Hiroshi Doyu
Hi Prahant, Some nit-pick/cosmetic comments inlined... Prashant Gaikwad pgaik...@nvidia.com wrote @ Fri, 11 Jan 2013 08:46:20 +0100: Add tegra specific clocks, pll, pll_out, peripheral, frac_divider, super. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com --- drivers/clk/Makefile

Re: [RFC] Reproducible OOM with partial workaround

2013-01-11 Thread paul . szabo
Dear Andrew, Check /proc/slabinfo, see if all your lowmem got eaten up by buffer_heads. Please see below: I do not know what any of that means. This machine has been running just fine, with all my users logging in here via XDMCP from X-terminals, dozens logged in simultaneously. (But, I think I

Re: [PATCH 09/11] extcon: arizona: Support HPDET based accessory identification

2013-01-11 Thread Mark Brown
On Fri, Jan 11, 2013 at 11:00:24AM +0900, Chanwoo Choi wrote: + /* OK, got both. Now, compare... */ Is is correct comment? I think so but that doesn't mean I'm not mistaken or there's nothing that could be improved - why do you ask? signature.asc Description: Digital signature

Re: linux-3.7.1: OOPS in page_lock_anon_vma

2013-01-11 Thread Martin Mokrejs
Hugh Dickins wrote: On Sun, 6 Jan 2013, Martin Mokrejs wrote: I was running 3.7.1 kernel quite fine for a while but I realized that it is slow and that I should go and drop useless kernel drivers from my kernel. I have a SandyBridge-based laptop and I found that I gain speed while

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Michal Hocko
On Fri 11-01-13 19:08:59, Lin Feng wrote: Hi Michal, On 01/11/2013 06:47 PM, Michal Hocko wrote: Signed-off-by: Michal Hocko mho...@suse.cz --- arch/x86/mm/init_64.c |3 +++ include/linux/mm.h|2 ++ 2 files changed, 5 insertions(+) diff --git a/arch/x86/mm/init_64.c

Re: [PATCH 4/4] serial/arc-uart: switch to devicetree based probing

2013-01-11 Thread Vineet Gupta
On Friday 11 January 2013 05:03 PM, Arnd Bergmann wrote: On Friday 11 January 2013, Vineet Gupta wrote: * DT binding for arc-uart * With alll the bits in place we can now use DT probing. Note that there's a bit of kludge right now because earlyprintk portion of driver can't use the DT

Re: [PATCH v3 3/6] ACPI/pci_slot: update PCI slot information when PCI hotplug event happens

2013-01-11 Thread Rafael J. Wysocki
On Friday, January 11, 2013 12:07:43 PM Martin Mokrejs wrote: Hi, I just hit this thread in my bloated Inbox. Rafael J. Wysocki wrote: On Thursday, January 10, 2013 03:03:53 PM Yinghai Lu wrote: On Thu, Jan 10, 2013 at 1:50 PM, Rafael J. Wysocki r...@sisk.pl wrote: Well, I don't see

Re: dw_dmac patches

2013-01-11 Thread Andy Shevchenko
On Tue, 2013-01-08 at 07:54 -0800, Vinod Koul wrote: On Mon, Jan 07, 2013 at 02:54:54PM +0200, Andy Shevchenko wrote: Hi, Vinod. I noticed you missed the 3.8 merge window and I can't see any of my recent patches [1] in your next branch. So, what is your plan regarding to them? Yes i

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Tang Chen
On 01/11/2013 06:47 PM, Michal Hocko wrote: Darn! And now that I am looking at the patch closer it is too x86 centric so this cannot be in the generic code. I will try to cook something better. Sorry about the noise. It is more complicated than I thought. One would tell it's a mess. The patch

Re: mmots: memory-hotplug-remove-memmap-of-sparse-vmemmap.patch compile fix

2013-01-11 Thread Lin Feng
It looks fine to me. Tested-by: Lin Feng linf...@cn.fujitsu.com On 01/11/2013 05:53 PM, Michal Hocko wrote: Defconfig for x86_64 complains: arch/x86/mm/init_64.c: In function ‘vmemmap_free’: arch/x86/mm/init_64.c:1317: error: implicit declaration of function ‘remove_pagetable’

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Lin Feng
On 01/11/2013 06:47 PM, Michal Hocko wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index ddd3b58..d8edf52 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -32,6 +32,7 @@ #include linux/memory_hotplug.h #include linux/nmi.h #include linux/gfp.h

[PATCH -tip] sched/rt: Fix locality of threaded interrupt handlers

2013-01-11 Thread Alexander Gordeev
When a interrupt affinity mask targets multiple CPUs, the RT scheduler selects a runqueue for RT task corresponding to a threaded interrupt handler without consideration of where the interrupt is actually gets delivered. It leads to a suboptimal condition when a hardware interrupt handler executes

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Michal Hocko
On Fri 11-01-13 20:06:25, Tang Chen wrote: On 01/11/2013 06:47 PM, Michal Hocko wrote: Darn! And now that I am looking at the patch closer it is too x86 centric so this cannot be in the generic code. I will try to cook something better. Sorry about the noise. It is more complicated than I

Re: [PATCH v7u1 10/31] x86, 64bit: Don't set max_pfn_mapped wrong value early on native path

2013-01-11 Thread Borislav Petkov
On Thu, Jan 03, 2013 at 04:48:30PM -0800, Yinghai Lu wrote: We are not having max_pfn_mapped set correctly until init_memory_mapping. so don't print it initial value for 64bit Just a minor nitpick: So don't print its initial value for 64bit. And you don't need the newlines between each

Re: [PATCH v4 7/9] clk: tegra: add clock support for tegra30

2013-01-11 Thread Hiroshi Doyu
On Fri, 11 Jan 2013 08:46:25 +0100 Prashant Gaikwad pgaik...@nvidia.com wrote: Add tegra30 clock support based on common clock framework. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com ... +static void __init tegra30_pll_init(void) +{ + struct clk *clk; + + /* PLLC

Re: [Alternative][PATCH] ACPI / PCI: Set root bridge ACPI handle in advance, v2

2013-01-11 Thread Rafael J. Wysocki
On Friday, January 11, 2013 12:40:30 AM Rafael J. Wysocki wrote: On Thursday, January 10, 2013 02:54:00 PM Yinghai Lu wrote: On Wed, Jan 9, 2013 at 3:06 PM, Rafael J. Wysocki r...@sisk.pl wrote: arch/ia64/pci/pci.c|8 arch/x86/include/asm/pci.h |3 +++

[PATCH] x86 e820: only void usable memory areas in memmap=exactmap case

2013-01-11 Thread Thomas Renninger
On Friday, January 11, 2013 12:34:37 AM Yinghai Lu wrote: On Wed, Jan 9, 2013 at 7:21 PM, Thomas Renninger tr...@suse.de wrote: ... Can kexec simply pass the memory to use via memmap=X@Y Then take the original e820 table, but not the usable entries (those are coming from above memmap=X@Y).

Re: mmots: memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap fix

2013-01-11 Thread Tang Chen
On 01/11/2013 08:12 PM, Michal Hocko wrote: On Fri 11-01-13 20:06:25, Tang Chen wrote: On 01/11/2013 06:47 PM, Michal Hocko wrote: Darn! And now that I am looking at the patch closer it is too x86 centric so this cannot be in the generic code. I will try to cook something better. Sorry about

Re: [PATCH v5 2/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2013-01-11 Thread Vivek Gautam
Hi Doug, Sorry!! for the delayed response. On Thu, Dec 20, 2012 at 4:31 AM, Doug Anderson diand...@chromium.org wrote: Vivek, I don't really have a good 1 foot view about how all of the USB bits fit together, but a few detail-oriented comments below. On Tue, Dec 18, 2012 at 6:43 AM,

Re: regression, bisected: openpty fails from 3.7 onwards without devpts

2013-01-11 Thread Florian Westphal
Jiri Slaby jsl...@suse.cz wrote: On 01/10/2013 11:51 PM, Jiri Slaby wrote: On 01/10/2013 11:45 PM, Alan Cox wrote: So we should just fix TIOCGPTN on a pty with no suitable name answer to return -EINVAL Yes, I agree as I'm expressed in my second mail. Sorry for the confusion. Does

Re: regression, bisected: openpty fails from 3.7 onwards without devpts

2013-01-11 Thread Jiri Slaby
On 01/11/2013 01:41 PM, Florian Westphal wrote: Jiri Slaby jsl...@suse.cz wrote: On 01/10/2013 11:51 PM, Jiri Slaby wrote: On 01/10/2013 11:45 PM, Alan Cox wrote: So we should just fix TIOCGPTN on a pty with no suitable name answer to return -EINVAL Yes, I agree as I'm expressed in my

  1   2   3   4   5   6   7   8   9   10   >