[RFC PATCH 10/10] cpu: No more __stop_machine() in _cpu_down()

2012-12-04 Thread Srivatsa S. Bhat
From: Paul E. McKenney paul.mcken...@linaro.org The _cpu_down() function invoked as part of the CPU-hotplug offlining process currently invokes __stop_machine(), which is slow and inflicts substantial real-time latencies on the entire system. This patch substitutes stop_cpus() for

[RFC PATCH 04/10] sched, cpu hotplug: Use stable online cpus in try_to_wake_up() select_task_rq()

2012-12-04 Thread Srivatsa S. Bhat
With stop_machine() gone from the CPU offline path, we can't depend on preempt_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_stable_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Scheduler functions such as

[RFC PATCH 00/10] CPU hotplug: stop_machine()-free CPU hotplug

2012-12-04 Thread Srivatsa S. Bhat
Hi, This patchset removes CPU hotplug's dependence on stop_machine() from the CPU offline path and provides an alternative (set of APIs) to preempt_disable() to prevent CPUs from going offline, which can be invoked from atomic context. This is an RFC patchset with only a few call-sites of

[RFC PATCH 06/10] yield_to(), cpu-hotplug: Prevent offlining of other CPUs properly

2012-12-04 Thread Srivatsa S. Bhat
With stop_machine() gone from the CPU offline path, we can't depend on local_irq_save() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_stable_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. And use the stable online mask while

Re: kswapd craziness in 3.7

2012-12-04 Thread Zdenek Kabelac
Dne 3.12.2012 20:18, Johannes Weiner napsal(a): Szia Zdenek, On Mon, Dec 03, 2012 at 04:23:15PM +0100, Zdenek Kabelac wrote: Ok, bad news - I've been hit by kswapd0 loop again - my kernel git commit cc19528bd3084c3c2d870b31a3578da8c69952f3 again shown kswapd0 for couple minutes on CPU. It

Re: [PATCH 1/1] ARM: ux500: Change IRQ from low-to-high edge triggered to high-to-low

2012-12-04 Thread Lee Jones
On Sat, 01 Dec 2012, Linus Walleij wrote: On Fri, Nov 30, 2012 at 4:24 PM, Lee Jones lee.jo...@linaro.org wrote: When the STMPE IRQ is triggered to be active high level-sensitive, the Nomadik GPIO controller it uses complains, although it still works. Recently we attempted to move

Re: [PATCH 1/1] gpio: Provide the STMPE GPIO driver with its own IRQ Domain

2012-12-04 Thread Lee Jones
On Sat, 01 Dec 2012, Linus Walleij wrote: On Fri, Nov 23, 2012 at 4:19 PM, Lee Jones lee.jo...@linaro.org wrote: The STMPE GPIO driver can be used as an IRQ controller by some related devices. Here we provide it with its very own IRQ Domain so that IRQs can be issued dynamically. This

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-12-04 Thread Tang Chen
Hi Wu, Sorry to make noise here. Please see below. :) On 12/03/2012 10:23 AM, Jianguo Wu wrote: Signed-off-by: Jianguo Wuwujian...@huawei.com Signed-off-by: Jiang Liujiang@huawei.com --- include/linux/mm.h |1 + mm/sparse-vmemmap.c | 231

Re: kswapd craziness in 3.7

2012-12-04 Thread Jiri Slaby
On 12/04/2012 10:05 AM, Zdenek Kabelac wrote: Dne 3.12.2012 20:18, Johannes Weiner napsal(a): Szia Zdenek, On Mon, Dec 03, 2012 at 04:23:15PM +0100, Zdenek Kabelac wrote: Ok, bad news - I've been hit by kswapd0 loop again - my kernel git commit cc19528bd3084c3c2d870b31a3578da8c69952f3 again

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-12-04 Thread Hanjun Guo
On 2012/12/4 8:10, Toshi Kani wrote: On Mon, 2012-12-03 at 12:25 +0800, Hanjun Guo wrote: On 2012/11/30 6:27, Toshi Kani wrote: On Thu, 2012-11-29 at 12:48 +0800, Hanjun Guo wrote: On 2012/11/29 2:41, Toshi Kani wrote: On Wed, 2012-11-28 at 19:05 +0800, Hanjun Guo wrote: On 2012/11/24 1:50,

Re: [PATCH 12/18] perf ui/hist: Add support for event group view

2012-12-04 Thread Namhyung Kim
On Fri, Nov 30, 2012 at 10:52 PM, Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Fri, Nov 30, 2012 at 02:29:43PM +0100, Jiri Olsa escreveu: On Thu, Nov 29, 2012 at 03:38:40PM +0900, Namhyung Kim wrote: +#define __HPP_COLOR_PERCENT_FN(_type, _field)

Re: [Patch v4 01/12] memory-hotplug: try to offline the memory twice to avoid dependence

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: memory can't be offlined when CONFIG_MEMCG is selected. For example: there is a memory device on node 1. The address range is [1G, 1.5G). You will find 4 new directories memory8, memory9, memory10, and memory11 under the directory

Re: [PATCH] da8xx: Fix revision check on the da8xx driver

2012-12-04 Thread Tomi Valkeinen
On 2012-12-04 08:36, Manjunathappa, Prakash wrote: Hi Tomi, On Wed, Oct 31, 2012 at 09:21:35, Manjunathappa, Prakash wrote: On Wed, Oct 31, 2012 at 21:26:24, Pantelis Antoniou wrote: The revision check fails for the beaglebone; Add new revision ID. Signed-off-by: Pantelis Antoniou

Re: [PATCH v5 1/3] aerdrv: Trace Event for AER

2012-12-04 Thread Borislav Petkov
On Mon, Dec 03, 2012 at 02:20:48PM -0700, Lance Ortiz wrote: This header file will define a new trace event that will be triggered when a AER event occurs. The following data will be provided to the trace event. char * dev_name - The name of the slot where the device resides

Re: [Patch v4 02/12] memory-hotplug: check whether all memory blocks are offlined or not when removing memory

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: From: Yasuaki Ishimatsuisimatu.yasu...@jp.fujitsu.com We remove the memory like this: 1. lock memory hotplug 2. offline a memory block 3. unlock memory hotplug 4. repeat 1-3 to offline all memory blocks 5. lock memory hotplug 6. remove memory(TODO) 7.

Re: [net-next rfc v7 1/3] virtio-net: separate fields of sending/receiving queue from virtnet_info

2012-12-04 Thread Jason Wang
On Monday, December 03, 2012 01:18:48 PM Michael S. Tsirkin wrote: On Mon, Dec 03, 2012 at 01:15:01PM +0800, Jason Wang wrote: + + /* Work struct for refilling if we run low on memory. */ + struct delayed_work refill; I can't really see the justificaiton for a refill

Re: [Patch v4 03/12] memory-hotplug: remove redundant codes

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: offlining memory blocks and checking whether memory blocks are offlined are very similar. This patch introduces a new function to remove redundant codes. CC: David Rientjesrient...@google.com CC: Jiang Liuliu...@gmail.com CC: Len

Re: [net-next rfc v7 1/3] virtio-net: separate fields of sending/receiving queue from virtnet_info

2012-12-04 Thread Jason Wang
On Tuesday, December 04, 2012 02:13:11 PM Rusty Russell wrote: Jason Wang jasow...@redhat.com writes: On Monday, December 03, 2012 12:25:42 PM Rusty Russell wrote: + +/* Work struct for refilling if we run low on memory. */ +struct delayed_work refill; I can't

Re: [PATCH 4/4 v8] AMD64 EDAC: Fix type usage in NB IDs and memory ranges

2012-12-04 Thread Daniel J Blueman
On 01/12/2012 01:17, Borislav Petkov wrote: On Fri, Nov 30, 2012 at 04:44:20PM +0800, Daniel J Blueman wrote: Use appropriate types for northbridge IDs and memory ranges. Mark immutable data const and keep within compilation unit on related structures. Tested on multi-socket server and

Re: [net-next rfc v7 2/3] virtio_net: multiqueue support

2012-12-04 Thread Jason Wang
On Monday, December 03, 2012 01:11:18 PM Michael S. Tsirkin wrote: On Mon, Dec 03, 2012 at 06:01:58PM +0800, Jason Wang wrote: On 12/03/2012 05:47 PM, Michael S. Tsirkin wrote: On Mon, Dec 03, 2012 at 02:05:27PM +0800, Jason Wang wrote: On Monday, December 03, 2012 12:34:08 PM Rusty

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Dave Airlie
On Tue, Dec 4, 2012 at 6:36 PM, Heinz Diehl h...@fancy-poultry.org wrote: On 03.12.2012, devendra.aaru wrote: Add more CC's Thanks! This is a real showstopper for me, it occurs in every session now. Booting with i915.i915_enable_rc6=0 doesn't help

Re: [net-next rfc v7 2/3] virtio_net: multiqueue support

2012-12-04 Thread Jason Wang
On Tuesday, December 04, 2012 09:35:03 AM Michael S. Tsirkin wrote: On Mon, Dec 03, 2012 at 06:30:49PM +0800, Jason Wang wrote: On 12/03/2012 06:14 PM, Michael S. Tsirkin wrote: On Tue, Nov 27, 2012 at 06:15:59PM +0800, Jason Wang wrote: - if (!try_fill_recv(vi-rq, GFP_KERNEL))

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-12-04 Thread Vladimir Kondratiev
Hi Jason, Do you have any update on the status for patches below? Where is it now? When do you expect it to merge? 3.8? I am waiting for this to merge before I can go on with my driver. Thanks, Vladimir On Tuesday, November 20, 2012 11:08:45 AM Jason Baron wrote: On Sun, Nov 18, 2012 at

Re: [PATCH v5 5/8] fat: restructure export_operations

2012-12-04 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: +static struct dentry *fat_fh_to_dentry_nostale(struct super_block *sb, + struct fid *fh, int fh_len, + int fh_type) +{ + struct inode *inode = NULL; + struct

next: ext4 build failure

2012-12-04 Thread Jiri Slaby
Hi, commit a7b0168d4a9bb78535827ddaf9c055963f5bd7aa Author: Tao Ma boyu...@taobao.com Date: Sun Dec 2 20:30:52 2012 -0500 ext4: let fallocate handle inline data correctly added static int int ext4_convert_inline_data(struct inode *inode) ^^^ when EXT4_FS_XATTR is unset.

Re: [PATCH v5 2/3] aerdrv: Enhanced AER logging

2012-12-04 Thread Borislav Petkov
On Mon, Dec 03, 2012 at 02:20:54PM -0700, Lance Ortiz wrote: This patch will provide a more reliable and easy way for user-space applications to have access to AER logs rather than reading them from the message buffer. It also provides a way to notify user-space when an AER event occurs.

Re: [PATCH v5 7/8] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-12-04 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: 2012/12/3, OGAWA Hirofumi hirof...@mail.parknet.co.jp: Namjae Jeon linkinj...@gmail.com writes: From: Namjae Jeon namjae.j...@samsung.com This patch enables rebuilding of directory inodes which are not present in the cache.This is done by traversing

Re: [Patch v4 05/12] memory-hotplug: introduce new function arch_remove_memory() for removing page table depends on architecture

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: For removing memory, we need to remove page table. But it depends on architecture. So the patch introduce arch_remove_memory() for removing page table. Now it only calls __remove_pages(). Note: __remove_pages() for some archtecuture is not implemented

RE: [PATCH] sched/rt: don't enable runtime if already enabled

2012-12-04 Thread Neil Zhang
Hi All, -Original Message- From: Neil Zhang [mailto:zhan...@marvell.com] Sent: 2012年12月3日 16:01 To: mi...@redhat.com; pet...@infradead.org Cc: Chao Xie; linux-kernel@vger.kernel.org; Neil Zhang Subject: [PATCH] sched/rt: don't enable runtime if already enabled There are two paths will

Re: [Patch v4 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: From: Yasuaki Ishimatsuisimatu.yasu...@jp.fujitsu.com Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. So the patch add unregister_memory_section() into

RE: [PATCH RFC] PM/Devfreq: Add Exynos5-bus devfreq driver for Exynos5250.

2012-12-04 Thread Jonghwan Choi
Hi Abhilash Kesavan. I compiled in 3.7-rc8 I got a compile error warning. Compile error. CC drivers/devfreq/exynos5_ppmu.o drivers/devfreq/exynos5_ppmu.c:56:14: error: 'S5P_VA_PPMU_DDR_C' undeclared here (not in a function) drivers/devfreq/exynos5_ppmu.c:59:14: error:

Re: [PATCH] nommu: Enable the strict alignment (CR_A) bit only if ARCH v6

2012-12-04 Thread Armando Visconti
On 12/03/2012 06:46 PM, Will Deacon wrote: On Mon, Dec 03, 2012 at 05:25:53PM +, Russell King - ARM Linux wrote: On Mon, Dec 03, 2012 at 05:44:11PM +0100, Armando Visconti wrote: On 11/29/2012 12:04 PM, Armando VISCONTI wrote: This patch keeps disabled the strict alignment CP15 bit for

Re: [PATCH -next 0/9] tty: Fix buffer work access-after-free

2012-12-04 Thread Jiri Slaby
On 12/04/2012 08:07 AM, Peter Hurley wrote: This patch series addresses the causes of flush_to_ldisc accessing the tty after freeing. Hi, thanks for doing the work. The series looks good to me. This series also does not include Jiri's debug patch here https://lkml.org/lkml/2012/11/2/278 for

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Daniel Vetter
On Tue, Dec 4, 2012 at 10:27 AM, Dave Airlie airl...@gmail.com wrote: On Tue, Dec 4, 2012 at 6:36 PM, Heinz Diehl h...@fancy-poultry.org wrote: On 03.12.2012, devendra.aaru wrote: Add more CC's Thanks! This is a real showstopper for me, it occurs in every session now. Booting with

Regression in 3.7-rc8: block device size

2012-12-04 Thread Meelis Roos
This is on a couple of different Sun sparc64 machines with pata_ali IDE controller. These machines work with no warnings in 3.7-rc7 and the same userspace. On 3.7-rc8, I get warning about trying to access beyond end of device: [ 65.219323] scsi0 : pata_ali [ 65.258060] scsi1 : pata_ali [

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: static int __remove_section(struct zone *zone, struct mem_section *ms) { unsigned long flags; @@ -330,9 +317,9 @@ static int __remove_section(struct zone *zone, struct mem_section *ms) pgdat_resize_lock(pgdat,flags);

[PATCH v3] Add NumaChip remote PCI support

2012-12-04 Thread Daniel J Blueman
Add NumaChip-specific PCI access mechanism via MMCONFIG cycles, but preventing access to AMD Northbridges which shouldn't respond. v2: Use PCI_DEVFN in precomputed constant limit; drop unneeded includes v3: Express dependency on MMCONFIG Signed-off-by: Daniel J Blueman dan...@numascale-asia.com

Re: [PATCH v3] mmc: core: Add support for idle time BKOPS

2012-12-04 Thread Ulf Hansson
On 3 December 2012 10:49, me...@codeaurora.org wrote: Hi Jaehoon, With this patch we don't expect to see any degradation. Thanks for verifying that. The test plan would be to run the lmdd and iozone benchmarks with this patch and verify that the performance is not degraded. I verified it

Re: [RFT PATCH v2 4/5] mm: provide more accurate estimation of pages occupied by memmap

2012-12-04 Thread Chris Clayton
On 12/03/12 23:17, Andrew Morton wrote: On Sun, 02 Dec 2012 19:55:09 + Chris Clayton chris2...@googlemail.com wrote: On 11/29/12 10:52, Chris Clayton wrote: On 11/28/12 23:52, Andrew Morton wrote: On Wed, 21 Nov 2012 23:09:46 +0800 Jiang Liu liu...@gmail.com wrote: Subject: Re:

Re: [PATCH 1/9] goldfish: definitions for Goldfish on x86 platforms

2012-12-04 Thread Geert Uytterhoeven
On Mon, Dec 3, 2012 at 4:04 PM, Alan Cox a...@linux.intel.com wrote: --- /dev/null +++ b/arch/x86/include/asm/goldfish.h @@ -0,0 +1,36 @@ +/* + * + * arch/x86/include/asm/mach-goldfish/hardware.h Please don't put file names in header files, they get out of sync too easily.

Re: [Patch v4 10/12] memory-hotplug: memory_hotplug: clear zone when removing the memory

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: From: Yasuaki Ishimatsuisimatu.yasu...@jp.fujitsu.com When a memory is added, we update zone's and pgdat's start_pfn and spanned_pages in the function __add_zone(). So we should revert them when the memory is removed. The patch adds a new function

Re: [Patch v4 11/12] memory-hotplug: remove sysfs file of node

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: This patch introduces a new function try_offline_node() to remove sysfs file of node when all memory sections of this node are removed. If some memory sections of this node are not removed, this function does nothing. CC: David

Re: [Patch v4 12/12] memory-hotplug: free node_data when a node is offlined

2012-12-04 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: We call hotadd_new_pgdat() to allocate memory to store node_data. So we should free it when removing a node. CC: David Rientjesrient...@google.com CC: Jiang Liuliu...@gmail.com CC: Len Brownlen.br...@intel.com CC: Benjamin

[PATCH 0/2] clocksource: nomadik-mtu: support timer-based delay

2012-12-04 Thread Fabio Baltieri
Hi all, this implements timer-based delay support for nomadik and ux500 platforms, using the MTU as time source, and marks the u8500 cpufreq driver as CPUFREQ_CONST_LOOPS accordingly. The patches are based on Arnd's arm-soc/ux500/mtu-clk branch, as that contains latest MTU driver developments,

[PATCH 2/2] cpufreq: db8500: set CPUFREQ_CONST_LOOPS

2012-12-04 Thread Fabio Baltieri
As ux500 is being converted to timer based delay loops, and the timer used is not depending on CPUs clock frequency, set cpufreq_driver flag CPUFREQ_CONST_LOOPS to prevent cpufreq rescaling loops_for_jiffies. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri

Re: [PATCH] tty: Correct tty buffer flushing.

2012-12-04 Thread Ilya Zykov
On 04.12.2012 12:53, Alan Cox wrote: Main idea here - we never flash last (struct tty_buffer) in the active buffer. Only data for ldisc. (tty-buf.head-read = tty-buf.head-commit). At that moment driver can collect(write) data in buffer without conflict. This one I agree with (sorry it took

[PATCH 1/2] clocksource: nomadik-mtu: support timer-based delay

2012-12-04 Thread Fabio Baltieri
This patch adds support to use Nomadik MTU for timer-based delay. Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- drivers/clocksource/nomadik-mtu.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-04 Thread Eli Billauer
On 12/04/2012 05:41 AM, Greg KH wrote: On Sun, Dec 02, 2012 at 07:26:27PM +0200, Eli Billauer wrote: On 11/30/2012 06:32 PM, Greg KH wrote: +static struct class *xillybus_class; Why not just use the misc interface instead of your own class? When

[PULL] Module signing build fixes for blackfin and metag

2012-12-04 Thread Rusty Russell
The following changes since commit 3c46f3d6406b1d0c53575774b2d1fd013cd7f76f: Merge branch 'for-3.7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq (2012-12-01 17:55:13 -0800) are available in the git repository at:

[PATCH 1/3] MODSIGN: Fix comparison erros in scripts/sign-file

2012-12-04 Thread Michal Marek
Signed-off-by: Michal Marek mma...@suse.cz --- scripts/sign-file |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/sign-file b/scripts/sign-file index 87ca59d..974a20b 100755 --- a/scripts/sign-file +++ b/scripts/sign-file @@ -156,12 +156,12 @@ sub

[PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-04 Thread Michal Marek
From: Takashi Iwai ti...@suse.de Using the asm .incbin statement in C sources breaks any gcc wrapper which assumes that preprocessed C source is self-contained. Use a separate .S file to include the siging key and certificate. Tested-by: Michal Marek mma...@suse.cz Signed-off-by: Takashi Iwai

[PATCH 3/3] MODSIGN: Drop ccache hack

2012-12-04 Thread Michal Marek
The __TIME__ macro is not needed anymore, because the pubkey is included in a separate .S file. Signed-off-by: Michal Marek mma...@suse.cz --- kernel/modsign_pubkey.c |6 -- 1 file changed, 6 deletions(-) diff --git a/kernel/modsign_pubkey.c b/kernel/modsign_pubkey.c index

Re: [PATCH] xen/blkback: do not leak mode property

2012-12-04 Thread Jan Beulich
On 03.12.12 at 20:32, Olaf Hering o...@aepfle.de wrote: be-mode is obtained from xenbus_read, which does a kmalloc for the message body. The short string is never released, so do it on blkbk remove. Signed-off-by: Olaf Hering o...@aepfle.de --- !! Not compile tested !!

Re: [PATCH v3] i2c-hid: introduce HID over i2c specification implementation

2012-12-04 Thread Jiri Kosina
On Mon, 3 Dec 2012, Benjamin Tissoires wrote: I know that it already have been used by one Nvidia team and by Elan for internal tests. So I don't know if it's possible to change it now (though it's not a big deal). Yes it is possible, as long as the code isn't in Linus' tree (and I'd

[PATCH -resend 1/2] frv: Fix use of extinct _sbss and _ebss in debug code

2012-12-04 Thread Geert Uytterhoeven
Nowadays it should probably use __bss_start and __bss_stop Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/frv/kernel/setup.c |2 +- arch/frv/mm/init.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/frv/kernel/setup.c

[PATCH -resend 2/2] frv: Properly use the declarations provided by asm/sections.h

2012-12-04 Thread Geert Uytterhoeven
- Remove the superfluous address-of ('') operators, - Remove the unneeded casts, use %p to format pointers instead. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/frv/kernel/setup.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git

Re: [Patch v4 03/12] memory-hotplug: remove redundant codes

2012-12-04 Thread Tang Chen
On 12/04/2012 05:22 PM, Tang Chen wrote: On 11/27/2012 06:00 PM, Wen Congyang wrote: offlining memory blocks and checking whether memory blocks are offlined are very similar. This patch introduces a new function to remove redundant codes. CC: David Rientjesrient...@google.com CC: Jiang

Re: [PATCH] Revert __d_unalias() should refuse to move mountpoints

2012-12-04 Thread Maarten Lankhorst
Hey, Op 29-11-12 21:06, Al Viro schreef: On Tue, Sep 25, 2012 at 04:29:58AM -0700, Eric W. Biederman wrote: Maarten Lankhorst maarten.lankho...@canonical.com writes: Could you try the following patch? This should report what directories cannot be renamed because one of them is a mount point

Re: [regression] Re: [ 049/149] rtc: Disable the alarm in the hardware (v2)

2012-12-04 Thread Heinz Wiesinger
On Monday 03 December 2012 15:14:12 you wrote: On 11/05/2012 02:55 PM, Heinz Wiesinger wrote: On Monday 05 November 2012 11:13:31 Greg KH wrote: On Mon, Nov 05, 2012 at 01:11:18AM -0800, Jonathan Nieder wrote: Hi, In March, Greg KH wrote: 3.2-stable review patch. If anyone has any

Re: [PATCH] Revert __d_unalias() should refuse to move mountpoints

2012-12-04 Thread Maarten Lankhorst
Op 04-12-12 11:33, Maarten Lankhorst schreef: Hey, Op 29-11-12 21:06, Al Viro schreef: On Tue, Sep 25, 2012 at 04:29:58AM -0700, Eric W. Biederman wrote: Maarten Lankhorst maarten.lankho...@canonical.com writes: Could you try the following patch? This should report what directories cannot

[PATCH -resend] cris: Use int for ssize_t to match size_t

2012-12-04 Thread Geert Uytterhoeven
On cris-linux-gcc, __SIZE_TYPE__ expands to unsigned int, as gcc-4.6.3-nolibc/cris-linux/lib/gcc/cris-linux/4.6.3/plugin/include/config/cris/linux.h has #define SIZE_TYPE unsigned int Hence __kernel_size_t is also unsigned int. But __kernel_ssize_t is long, which has a different base type,

[PATCH 0/2] Android: Add support for a 32bit Android file system in a 64bit kernel

2012-12-04 Thread Serban Constantinescu
Hi all, The following set of patches will provide support for a 32-bit Android file system running on top of 64-bit kernel. We have tested them successfully on 64-bit platforms (Real Time Simulation Model ARMv8) as well as on 32-bit ones (4xA9 Versatile Express). For RTSMv8 we have been using

[PATCH 2/2] Staging: android: ashmem: Add support for 32bit ashmem calls in a 64bit kernel

2012-12-04 Thread Serban Constantinescu
Android's shared memory subsystem, Ashmem, does not support calls from a 32-bit userspace in a 64 bit kernel. This patch adds support for syscalls coming from a 32-bit userspace in a 64-bit kernel. Most of the changes were applied to types that change sizes between 32 and 64 bit world. This will

[PATCH 1/2] Staging: android: binder: Add support for 32bit binder calls in a 64bit kernel

2012-12-04 Thread Serban Constantinescu
Android's IPC, Binder, does not support calls from a 32-bit userspace in a 64 bit kernel. This patch adds support for syscalls coming from a 32-bit userspace in a 64-bit kernel. Most of the changes were applied to types that change sizes between 32 and 64 bit world. This will also fix some of the

Re: [RFC PATCH 0/8][Sorted-buddy] mm: Linux VM Infrastructure to support Memory Power Management

2012-12-04 Thread wujianguo
Hi Srivatsa, I applied this patchset, and run genload(from LTP) test: numactl --membind=1 ./genload -m 100, then got a general protection fault, and system was going to reboot. If I revert [RFC PATCH 7/8], and run this test again, genload will be killed due to OOM, but the system is OK, no

Re: tda8290 regression fix

2012-12-04 Thread Anders Thomson
On 2012-11-15 21:43, Anders Thomson wrote: On 2012-10-01 18:56, Anders Thomson wrote: On 2012-09-23 23:06, Anders Thomson wrote: Awfully sorry about this. After having had the familty sit in and check the differences, I must say that the patch does not fix the issue. This time

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

2012-12-04 Thread Joerg Roedel
On Tue, Dec 04, 2012 at 03:42:03PM +1100, Stephen Rothwell wrote: Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-omap2/clock44xx_data.c between commit 298ea44f211d (ARM: OMAP4: hwmod data: ipu and dsp to use parent clocks instead of leaf clocks) from the iommu

Re: drm_gem_create_mmap_offset / intel_uxa_prepare_access bo problems

2012-12-04 Thread Knut Petersen
Hi everybody! xrestop is functional again in xorg master, so I remembered to have a look at the problem reported two weeks ago. It is caused by qinternet. qinternet is a small utility that is frequently used in opensuse systems to control network connections. It attaches itself to the system

[PATCH] SUNRPC: connect to UNIX sockets synchronously

2012-12-04 Thread Stanislav Kinsbursky
Local tranports uses UNIX sockets and connecting of these sockets is done in context of file system namespace (i.e. task file system root). Currenly, all sockets connect operations are performed by rpciod work queue, which actually means, that any service will be registered in the same rpcbind

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

2012-12-04 Thread Ohad Ben-Cohen
On Tue, Dec 4, 2012 at 1:06 PM, Joerg Roedel j...@8bytes.org wrote: On Tue, Dec 04, 2012 at 03:42:03PM +1100, Stephen Rothwell wrote: Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-omap2/clock44xx_data.c between commit 298ea44f211d (ARM: OMAP4: hwmod data: ipu and

[PATCH net-next 0/3] Multiqueue support for virtio-net

2012-12-04 Thread Jason Wang
Hi all: This series is an update version of multiqueue virtio-net driver based on Krishna Kumar's work to let virtio-net use multiple rx/tx queues to do the packets reception and transmission. Please review and comments. A protype implementation of qemu-kvm support could by found in

[PATCH net-next 1/3] virtio-net: separate fields of sending/receiving queue from virtnet_info

2012-12-04 Thread Jason Wang
To support multiqueue transmitq/receiveq, the first step is to separate queue related structure from virtnet_info. This patch introduce send_queue and receive_queue structure and use the pointer to them as the parameter in functions handling sending/receiving. Signed-off-by: Krishna Kumar

[PATCH net-next 3/3] virtio-net: change the number of queues through ethtool

2012-12-04 Thread Jason Wang
This patch implement the ethtool_{set|get}_channels method of ethool to allow user to change the number of queues dymaically when the device is running. This would let the user to configure it on demand. Signed-off-by: Jason Wang jasow...@redhat.com --- drivers/net/virtio_net.c | 44

[PATCH net-next 2/3] virtio_net: multiqueue support

2012-12-04 Thread Jason Wang
This addes multiqueue support to virtio_net driver. In multiple queue modes, the driver expects the number of queue paris is equal to the number of vcpus. To eliminate the contention bettwen vcpus and virtqueues, per-cpu virtqueue pairs were implemented through: - select the txq based on the smp

[PATCH v2 1/1] Input: STMicroelectronics multi touch capacitive touchscreen ftk

2012-12-04 Thread Li Wu
This is a initial driver for STMicroelectronics multi touch capacitive touchscren FingertipK. It supports maximum 10 fingers, based on I2C interface. STMicroelectronics will maintain and update this driver regularly. Tested on Beagleboard, Android ICS. Suggested by Dmitry, rebase and squash 2

[PATCH] nfsd: make NFSv4 recovery client tracking options per net

2012-12-04 Thread Stanislav Kinsbursky
Pointer to client tracking operations - client_tracking_ops - have to be containerized, because different environment can support different trackers (for example, legacy tracker currently is not suported in container). Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com ---

[PATCH] megaraid: fix use of delayed work

2012-12-04 Thread Xiaotian Feng
megaraid use INIT_WORK to declare a hotplug_work, but cast the hotplug_work from work_struct to delayed_work and schedule_delayed_work on it. This is very dangerous, as other part of delayed_work might be kernel memories allocated by others. With commit 8852aac, schedule_delayed_work() will check

Re: Why a host not ping-able?

2012-12-04 Thread Rob Landley
On 12/04/2012 12:17:25 AM, Woody Wu wrote: Hi, list I am not sure this has something with kernel. It doesn't. But the system I just generated cannot be reached from ping. It can ping outside, but if I ping it from outside, I just get Destination Host Unreachable. Some distributions'

Re: [PATCH] memory: of_memory.c: remove unnecessary initialization

2012-12-04 Thread Santosh Shilimkar
On Tuesday 04 December 2012 04:56 PM, Cong Ding wrote: the initialization of variable ret is unnecessary, we can remove it while save one time or operation. Signed-off-by: Cong Ding ding...@gmail.com --- Looks ok. Acked-by: Santosh Shilimkarsantosh.shilim...@ti.com -- To unsubscribe from this

Re: [PATCH 2/2] Staging: android: ashmem: Add support for 32bit ashmem calls in a 64bit kernel

2012-12-04 Thread Dan Carpenter
I don't understand this, and I'm going to embarrass myself by displaying my ignorance for all to see. Why is this code so different from all the other 32 bit compat code that we have in the kernel? On Tue, Dec 04, 2012 at 10:44:14AM +, Serban Constantinescu wrote: -static int

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Gleb Natapov
On Mon, Dec 03, 2012 at 04:39:05PM -0700, Alex Williamson wrote: Memory slots are currently a fixed resource with a relatively small limit. When using PCI device assignment in a qemu guest it's fairly easy to exhaust the number of available slots. I posted patches exploring growing the

Re: [PATCH v3] i2c-hid: introduce HID over i2c specification implementation

2012-12-04 Thread Benjamin Tissoires
On Tue, Dec 4, 2012 at 11:31 AM, Jiri Kosina jkos...@suse.cz wrote: On Mon, 3 Dec 2012, Benjamin Tissoires wrote: I know that it already have been used by one Nvidia team and by Elan for internal tests. So I don't know if it's possible to change it now (though it's not a big deal). Yes

RE: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-04 Thread Sethi Varun-B16395
-Original Message- From: Wood Scott-B07421 Sent: Monday, December 03, 2012 10:34 PM To: Sethi Varun-B16395 Cc: Joerg Roedel; linux-kernel@vger.kernel.org; iommu@lists.linux- foundation.org; Wood Scott-B07421; linuxppc-...@lists.ozlabs.org; Tabi Timur-B04825 Subject: Re: [PATCH

Re: Regression in 3.7-rc8: block device size

2012-12-04 Thread Jens Axboe
On 2012-12-04 10:40, Meelis Roos wrote: This is on a couple of different Sun sparc64 machines with pata_ali IDE controller. These machines work with no warnings in 3.7-rc7 and the same userspace. On 3.7-rc8, I get warning about trying to access beyond end of device: [ 65.219323] scsi0

[PATCH 3/5] arcmsr: Support MSI and MSI-X

2012-12-04 Thread NickCheng
From: Nick Cheng nick.ch...@areca.com.tw Support MSI or MSI-X for whole series of RAID controllers. Meanwhile correct the register access as iowrite32/ioread32 Signed-off-by: Nick Cheng nick.ch...@areca.com.tw --- patch3 Description: Binary data

[PATCH 5/5] arcmsr: Modify ARC-1214 Inband Messages Behavior

2012-12-04 Thread NickCheng
From: Nick Cheng nick.ch...@areca.com.tw Modify ARC-1214 inband messages behavior to make up for HW seldom malfunction. Signed-off-by: Nick Cheng nick.ch...@areca.com.tw --- patch5 Description: Binary data

Re: perf user tool precise attribute broken in 3.5rc1+

2012-12-04 Thread Hassan Salehe Matar
Andi Kleen andi at firstfloor.org writes: Hmm, the problem disappeared after a make clean. Sorry for the noise. -Andi Andi, I am using your hsw_pmu 3.6 kernel and the perf it comes with. However, I experience the same problem you addressed here. Could you elaborate how you solved the

[PATCH 2/5] arcmsr: Support Hibernation

2012-12-04 Thread NickCheng
From: Nick Cheng nick.ch...@areca.com.tw Support hibernation for whole series of RAID controllers Signed-off-by: Nick Cheng nick.ch...@areca.com.tw --- patch2 Description: Binary data

RE: [PATCH 4/4 v6] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-12-04 Thread Sethi Varun-B16395
-Original Message- From: Tabi Timur-B04825 Sent: Tuesday, December 04, 2012 1:33 AM To: Sethi Varun-B16395 Cc: joerg.roe...@amd.com; io...@lists.linux-foundation.org; linuxppc- d...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Wood Scott-B07421 Subject: Re: [PATCH 4/4 v6]

Re: Regression in 3.7-rc8: block device size

2012-12-04 Thread Meelis Roos
Most likely Linus' shuffle of code in there. For ease of debugging, can you a bisect of fs/ between rc7 and rc8? Just do; Already found the discussion and patch in 3.7-rc8 thread. Linus's patch worked fine for me too. -- Meelis Roos (mr...@linux.ee) -- To unsubscribe from this list: send the

Re: Regression in 3.7-rc8: block device size

2012-12-04 Thread Jens Axboe
On 2012-12-04 13:13, Meelis Roos wrote: Most likely Linus' shuffle of code in there. For ease of debugging, can you a bisect of fs/ between rc7 and rc8? Just do; Already found the discussion and patch in 3.7-rc8 thread. Linus's patch worked fine for me too. Even better! Thanks. -- Jens

[PATCH] SUNRPC: remove redundant linux/nsproxy.h includes

2012-12-04 Thread Stanislav Kinsbursky
This is a cleanup patch. Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- net/sunrpc/rpcb_clnt.c |1 - net/sunrpc/svc.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index a70acae..109a67a

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-12-04 Thread Jianguo Wu
Hi Tang, Thanks for your review and comments, Please see below for my reply. On 2012/12/4 17:13, Tang Chen wrote: Hi Wu, Sorry to make noise here. Please see below. :) On 12/03/2012 10:23 AM, Jianguo Wu wrote: Signed-off-by: Jianguo Wuwujian...@huawei.com Signed-off-by: Jiang

Re: [PATCH 4/4 v6] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-12-04 Thread Tabi Timur-B04825
Sethi Varun-B16395 wrote: This would in any case change with the new LIODN allocation scheme. I intend on introducing the new scheme as a separate patch. At the very least, you should detect when an LIODN is too large and print an error message. -- Timur Tabi Linux kernel developer at

Re: [PATCH 1/1] ARM: ux500: Change IRQ from low-to-high edge triggered to high-to-low

2012-12-04 Thread Linus Walleij
On Tue, Dec 4, 2012 at 10:12 AM, Lee Jones lee.jo...@linaro.org wrote: On Sat, 01 Dec 2012, Linus Walleij wrote: On Fri, Nov 30, 2012 at 4:24 PM, Lee Jones lee.jo...@linaro.org wrote: When the STMPE IRQ is triggered to be active high level-sensitive, the Nomadik GPIO controller it uses

Re: [PATCH 1/3] net: stmmac: change GMAC control register for SGMII

2012-12-04 Thread Giuseppe CAVALLARO
On 11/28/2012 11:57 AM, Byungho An wrote: On 11/26/2012 07:31 PM, Giuseppe CABALLARO wrote: On 11/23/2012 10:04 AM, Byungho An wrote: This patch changes GMAC control register (TC(Transmit Configuration) and PS(Port Selection) bit for SGMII. In case of SGMII, TC bit is '1' and PS bit is 0.

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Heinz Diehl
On 04.12.2012, Daniel Vetter wrote: Yeah, if anyone can somewhat reliably reproduce this Ok, I see. So the beginning would be to reliably reproduce the the hang. I have encountered it in any possbile situasjon, both when watching videos on Youtube and right after booting the machine and doing

Re: [PATCH 5/5] mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()

2012-12-04 Thread Tommi Rantala
2012/10/9 Mel Gorman mgor...@suse.de: commit 00442ad04a5eac08a98255697c510e708f6082e2 upstream. Commit cc9a6c877661 (cpuset: mm: reduce large amounts of memory barrier related damage v3) introduced a potential memory corruption. shmem_alloc_page() uses a pseudo vma and it has one significant

Re: [net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent

2012-12-04 Thread Jason Wang
On Monday, December 03, 2012 08:01:11 AM Stephen Hemminger wrote: On Mon, 03 Dec 2012 14:45:46 +0800 Jason Wang jasow...@redhat.com wrote: On Tuesday, November 27, 2012 08:49:19 AM Stephen Hemminger wrote: On Tue, 27 Nov 2012 14:45:13 +0800 Jason Wang jasow...@redhat.com wrote:

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Daniel Vetter
On Tue, Dec 04, 2012 at 01:35:22PM +0100, Heinz Diehl wrote: On 04.12.2012, Daniel Vetter wrote: Yeah, if anyone can somewhat reliably reproduce this Ok, I see. So the beginning would be to reliably reproduce the the hang. I have encountered it in any possbile situasjon, both when

<    1   2   3   4   5   6   7   8   9   10   >