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?

[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 Signed-off-by: Fabio Baltieri --- drivers/clocksource/nomadik-mtu.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/clocksource/nomadik-mtu.c

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

[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 Signed-off-by: Fabio Baltieri ---

[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,

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 Rientjes CC: Jiang Liu CC: Len Brown CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: Christoph Lameter Cc: Minchan Kim CC: Andrew

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 Rientjes CC: Jiang Liu

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 Ishimatsu 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 __remove_zone() to do this. CC:

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 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. Gr{oetje,eeting}s,

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 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 wrote: Subject: Re: [RFT PATCH v2 4/5] mm: provide more

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

2012-12-04 Thread Ulf Hansson
On 3 December 2012 10:49, 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 with the

[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 --- arch/x86/Kconfig

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,);

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: i915 freakout with latest 3.7 git

2012-12-04 Thread Daniel Vetter
On Tue, Dec 4, 2012 at 10:27 AM, Dave Airlie wrote: > On Tue, Dec 4, 2012 at 6:36 PM, Heinz Diehl 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"

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

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 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 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 Ishimatsu 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 __remove_section(). CC: David

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 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 v5 7/8] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-12-04 Thread OGAWA Hirofumi
Namjae Jeon writes: > 2012/12/3, OGAWA Hirofumi : >> Namjae Jeon writes: >> >>> From: Namjae Jeon >>> >>> This patch enables rebuilding of directory inodes which are not present >>> in the cache.This is done by traversing the disk clusters to find the >>> directory entry of the parent

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. >

next: ext4 build failure

2012-12-04 Thread Jiri Slaby
Hi, commit a7b0168d4a9bb78535827ddaf9c055963f5bd7aa Author: Tao Ma 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. Care to fix that?

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

2012-12-04 Thread OGAWA Hirofumi
Namjae Jeon 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 fat_fid

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: [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(>rq,

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 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 https://bugs.freedesktop.org/show_bug.cgi?id=55984

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

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 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 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 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 Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc: Minchan Kim CC: Andrew

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

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 Ishimatsu 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. unlock memory hotplug All

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] 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

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 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 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: [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: >>

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

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 Wu Signed-off-by: Jiang Liu --- include/linux/mm.h |1 + mm/sparse-vmemmap.c | 231 +++ mm/sparse.c |3 +-

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 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 will stand the

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 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 triggering to

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

[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

[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 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 10/10] cpu: No more __stop_machine() in _cpu_down()

2012-12-04 Thread Srivatsa S. Bhat
From: Paul E. McKenney 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 __stop_machine() in order to improve

[RFC PATCH 09/10] KVM: VMX: fix unsyc vmcs status when cpu is going down

2012-12-04 Thread Srivatsa S. Bhat
From: Xiao Guangrong When vcpu is scheduled to the different cpu, it should sent IPI to the cpu which the vcpu ran to clear the vcpu->vmcs It is safe since cpu-offline path can not concurrently run with other cpu. After implementing stop_machine()-free, smp_call_function_sing will return -ENXIO

[RFC PATCH 08/10] KVM: VMX: fix memory order between loading vmcs and clearing vmcs

2012-12-04 Thread Srivatsa S. Bhat
From: Xiao Guangrong vmcs->cpu indicates whether it exists on the target cpu, -1 means the vmcs does not exist on any vcpu If vcpu load vmcs with vmcs.cpu = -1, it can be directly added to cpu's percpu list. The list can be corrupted if the cpu prefetch the vmcs's list before reading vmcs->cpu.

[RFC PATCH 07/10] KVM: VMX: fix invalid cpu passed to smp_call_function_single

2012-12-04 Thread Srivatsa S. Bhat
From: Xiao Guangrong In loaded_vmcs_clear, loaded_vmcs->cpu is the fist parameter passed to smp_call_function_single, if the target cpu is downing (doing cpu hot remove), loaded_vmcs->cpu can become -1 then -1 is passed to smp_call_function_single It can be triggered when vcpu is being

Re: [PATCH 1/2] ab8500: remove explicit handling of battery type

2012-12-04 Thread Lee Jones
> From: "Rajanikanth H.V" > > dt property, 'battery-type' shall be one of supported technology type > instead blank. > refer:Documentation/devicetree/bindings/power_supply/ab8500/fg.txt > for the list of supported types > > thanks to Francesco Lavra for highlighting missing

[RFC PATCH 03/10] smp, cpu hotplug: Fix on_each_cpu_*() to prevent CPU offline properly

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. Signed-off-by: Srivatsa S. Bhat ---

[RFC PATCH 02/10] smp, cpu hotplug: Fix smp_call_function_*() to prevent CPU offline properly

2012-12-04 Thread Srivatsa S. Bhat
From: Michael Wang 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. [ Michael:

[RFC PATCH 01/10] CPU hotplug: Introduce "stable" cpu online mask, for atomic hotplug readers

2012-12-04 Thread Srivatsa S. Bhat
From: Michael Wang There are places where preempt_disable() is used to prevent any CPU from going offline during the critical section. Let us call them as "atomic hotplug readers" (atomic because they run in atomic contexts). Often, these atomic hotplug readers have a simple need : they want

Re: kswapd craziness in 3.7

2012-12-04 Thread Jiri Slaby
On 12/03/2012 02:14 PM, Jiri Slaby wrote: > On 11/27/2012 09:48 PM, Johannes Weiner wrote: >> I hope I included everybody that participated in the various threads >> on kswapd getting stuck / exhibiting high CPU usage. We were looking >> at at least three root causes as far as I can see, so it's

Re: [PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-12-04 Thread Philipp Zabel
Hi, On Fri, 2012-11-23 at 15:24 +0100, Philipp Zabel wrote: > These patches add support to configure on-chip SRAM via device-tree > node or platform data and to obtain the resulting genalloc pool from > the physical address or a phandle pointing at the device tree node. > This allows drivers to

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

2012-12-04 Thread Alan Cox
On Tue, 4 Dec 2012 02:07:36 -0500 Peter Hurley wrote: > This patch series addresses the causes of flush_to_ldisc accessing > the tty after freeing. Looks good to me. Would be nice to keep a copy of the test that shows it up in the comments of the patches somewhere. -- To unsubscribe from this

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

2012-12-04 Thread Alan Cox
> 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 a while to get to, I wanted to

Re: Why a host not ping-able?

2012-12-04 Thread Alan Cox
On Tue, 4 Dec 2012 06:17:25 + (UTC) Woody Wu wrote: > Hi, list > > I am not sure this has something with kernel. 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". > > I think

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Heinz Diehl
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 either.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC PATCH 2/8] mm: Initialize node memory regions during boot

2012-12-04 Thread wujianguo
Hi Srivatsa, I got following compile waring: WARNING: vmlinux.o(.text+0x10b320): Section mismatch in reference from the function init_zone_memory_regions() to the function .meminit.text:__absent_pages_in_range() The function init_zone_memory_regions() references the function __meminit

Re: [RFC v2 PATCH 0/2] sched: Integrating Per-entity-load-tracking with the core scheduler

2012-12-04 Thread Preeti U Murthy
Hi everyone I conducted a few experiments with a workload to compare the following parameters with this patchset and without this patchset: 1.The performance of the workload 2.The sum of the waitime to run of the processes queued on each cpu-the cumulative latency. 3.The number of migrations of

Re: [PATCHv2 3/5] serial: 8250_dw: Map IO memory

2012-12-04 Thread Heikki Krogerus
Hi Jamie, On Mon, Dec 03, 2012 at 03:40:14PM +, Jamie Iles wrote: > > + uart.port.membase = ioremap(regs->start, regs->end - regs->start); > > Doesn't this have an off-by-one error? True. > + uart.port.membase = ioremap(regs->start, resource_size(regs)); > > instead? Yes, I'll fix

[PATCH] mmc: debugfs: Fix incorrect size of string allocation

2012-12-04 Thread Kyungsik Lee
It is usually accepted that code should explain itself. The max size of string is 1025(512*2 + 1) bytes so there is no point to add one more byte for string allocation. This patch is intended to fix incorrect size for string allocation and make code more readable. Signed-off-by: Kyungsik Lee

Re: [PATCH 1/2] vfio powerpc: enabled on powernv platform

2012-12-04 Thread Alexey Kardashevskiy
On 04/12/12 04:35, Alex Williamson wrote: On Mon, 2012-12-03 at 13:52 +1100, Alexey Kardashevskiy wrote: This patch initializes IOMMU groups based on the IOMMU configuration discovered during the PCI scan on POWERNV (POWER non virtualized) platform. The IOMMU groups are to be used later by VFIO

Re: [PATCH v2 1/3] leds: leds-pwm: Convert to use devm_get_pwm

2012-12-04 Thread Peter Ujfalusi
Hi Bryan, On 12/03/2012 07:32 PM, Bryan Wu wrote: > On Mon, Dec 3, 2012 at 6:13 AM, Peter Ujfalusi wrote: > Actually, I'm waiting for some feedback from DT maintainers about this > new binding. But it looks find to me. Would it be possible to have the first (or even better the first two) patch

RE: [PATCH 01/11] watchdog/at91sam9_wdt: remove the file_operations struct

2012-12-04 Thread Yang, Wenyou
Hi Ludovic, > -Original Message- > From: Desroches, Ludovic > Sent: 2012年12月4日 15:59 > To: Yang, Wenyou > Cc: Jean-Christophe PLAGNIOL-VILLARD; linux-watch...@vger.kernel.org; Lin, JM; > Ferre, Nicolas; linux-kernel@vger.kernel.org; w...@iguana.be; > linux-arm-ker...@lists.infradead.org;

[v2 PATCH 02/14] of_spi: add generic binding support to specify cs gpio

2012-12-04 Thread Wenyou Yang
From: Jean-Christophe PLAGNIOL-VILLARD This will allow to use gpio for chip select with no modification in the driver binding When use the cs-gpios, the gpio number will be passed via the cs_gpio field and the number of chip select will automatically increased. Signed-off-by: Jean-Christophe

[v2 PATCH 03/14] spi/atmel_spi: add physical base address

2012-12-04 Thread Wenyou Yang
From: Nicolas Ferre Needed for future use with dmaengine enabled driver. Signed-off-by: Nicolas Ferre Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spi-atmel.c

[v2 PATCH 12/14] ARM: at91: add clocks for spi DT entries

2012-12-04 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [ Cc: li...@arm.linux.org.uk Cc: plagn...@jcrosoft.com Cc: li...@maxim.org.za --- arch/arm/mach-at91/at91sam9260.c |2 ++ arch/arm/mach-at91/at91sam9g45.c |2 ++ arch/arm/mach-at91/at91sam9n12.c |2 ++

[v2 PATCH 13/14] ARM: dts: add spi nodes for atmel SoC

2012-12-04 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: add spi nodes for other atmel SOC] Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk --- arch/arm/boot/dts/at91sam9260.dtsi | 30 ++ arch/arm/boot/dts/at91sam9263.dtsi | 30

[v2 PATCH 14/14] ARM: dts: add spi nodes for atmel boards

2012-12-04 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: added spi nodes for other atmel boards] [wenyou.y...@atmel.com: remove the cs-gpios property for sam9x5ek boards] Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk --- arch/arm/boot/dts/at91sam9263ek.dts |

[v2 PATCH 11/14] spi/atmel_spi: correct 16 bits transfer with DMA

2012-12-04 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c

[v2 PATCH 11/14] spi/atmel_spi: correct 16 bits transfer with DMA

2012-12-04 Thread Wenyou Yang
From: Richard Genoud richard.gen...@gmail.com Signed-off-by: Richard Genoud richard.gen...@gmail.com Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git

[v2 PATCH 14/14] ARM: dts: add spi nodes for atmel boards

2012-12-04 Thread Wenyou Yang
From: Richard Genoud richard.gen...@gmail.com Signed-off-by: Richard Genoud richard.gen...@gmail.com [wenyou.y...@atmel.com: added spi nodes for other atmel boards] [wenyou.y...@atmel.com: remove the cs-gpios property for sam9x5ek boards] Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Cc:

[v2 PATCH 13/14] ARM: dts: add spi nodes for atmel SoC

2012-12-04 Thread Wenyou Yang
From: Richard Genoud richard.gen...@gmail.com Signed-off-by: Richard Genoud richard.gen...@gmail.com [wenyou.y...@atmel.com: add spi nodes for other atmel SOC] Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Cc: li...@arm.linux.org.uk --- arch/arm/boot/dts/at91sam9260.dtsi | 30

[v2 PATCH 12/14] ARM: at91: add clocks for spi DT entries

2012-12-04 Thread Wenyou Yang
From: Richard Genoud richard.gen...@gmail.com Signed-off-by: Richard Genoud richard.gen...@gmail.com [wenyou.y...@atmel.com: declare the spi clocks for other at91 SoC] Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Cc: li...@arm.linux.org.uk Cc: plagn...@jcrosoft.com Cc: li...@maxim.org.za ---

[v2 PATCH 03/14] spi/atmel_spi: add physical base address

2012-12-04 Thread Wenyou Yang
From: Nicolas Ferre nicolas.fe...@atmel.com Needed for future use with dmaengine enabled driver. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c |2 ++ 1 file changed, 2 insertions(+)

[v2 PATCH 02/14] of_spi: add generic binding support to specify cs gpio

2012-12-04 Thread Wenyou Yang
From: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com This will allow to use gpio for chip select with no modification in the driver binding When use the cs-gpios, the gpio number will be passed via the cs_gpio field and the number of chip select will automatically increased.

RE: [PATCH 01/11] watchdog/at91sam9_wdt: remove the file_operations struct

2012-12-04 Thread Yang, Wenyou
Hi Ludovic, -Original Message- From: Desroches, Ludovic Sent: 2012年12月4日 15:59 To: Yang, Wenyou Cc: Jean-Christophe PLAGNIOL-VILLARD; linux-watch...@vger.kernel.org; Lin, JM; Ferre, Nicolas; linux-kernel@vger.kernel.org; w...@iguana.be; linux-arm-ker...@lists.infradead.org;

Re: [PATCH v2 1/3] leds: leds-pwm: Convert to use devm_get_pwm

2012-12-04 Thread Peter Ujfalusi
Hi Bryan, On 12/03/2012 07:32 PM, Bryan Wu wrote: On Mon, Dec 3, 2012 at 6:13 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: Actually, I'm waiting for some feedback from DT maintainers about this new binding. But it looks find to me. Would it be possible to have the first (or even better the

Re: [PATCH 1/2] vfio powerpc: enabled on powernv platform

2012-12-04 Thread Alexey Kardashevskiy
On 04/12/12 04:35, Alex Williamson wrote: On Mon, 2012-12-03 at 13:52 +1100, Alexey Kardashevskiy wrote: This patch initializes IOMMU groups based on the IOMMU configuration discovered during the PCI scan on POWERNV (POWER non virtualized) platform. The IOMMU groups are to be used later by VFIO

[PATCH] mmc: debugfs: Fix incorrect size of string allocation

2012-12-04 Thread Kyungsik Lee
It is usually accepted that code should explain itself. The max size of string is 1025(512*2 + 1) bytes so there is no point to add one more byte for string allocation. This patch is intended to fix incorrect size for string allocation and make code more readable. Signed-off-by: Kyungsik Lee

Re: [PATCHv2 3/5] serial: 8250_dw: Map IO memory

2012-12-04 Thread Heikki Krogerus
Hi Jamie, On Mon, Dec 03, 2012 at 03:40:14PM +, Jamie Iles wrote: + uart.port.membase = ioremap(regs-start, regs-end - regs-start); Doesn't this have an off-by-one error? True. + uart.port.membase = ioremap(regs-start, resource_size(regs)); instead? Yes, I'll fix this.

Re: [RFC v2 PATCH 0/2] sched: Integrating Per-entity-load-tracking with the core scheduler

2012-12-04 Thread Preeti U Murthy
Hi everyone I conducted a few experiments with a workload to compare the following parameters with this patchset and without this patchset: 1.The performance of the workload 2.The sum of the waitime to run of the processes queued on each cpu-the cumulative latency. 3.The number of migrations of

Re: [RFC PATCH 2/8] mm: Initialize node memory regions during boot

2012-12-04 Thread wujianguo
Hi Srivatsa, I got following compile waring: WARNING: vmlinux.o(.text+0x10b320): Section mismatch in reference from the function init_zone_memory_regions() to the function .meminit.text:__absent_pages_in_range() The function init_zone_memory_regions() references the function __meminit

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Heinz Diehl
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 either.. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: Why a host not ping-able?

2012-12-04 Thread Alan Cox
On Tue, 4 Dec 2012 06:17:25 + (UTC) Woody Wu narkewo...@gmail.com wrote: Hi, list I am not sure this has something with kernel. 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.

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

2012-12-04 Thread Alan Cox
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 a while to get to, I wanted to sit and

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

2012-12-04 Thread Alan Cox
On Tue, 4 Dec 2012 02:07:36 -0500 Peter Hurley pe...@hurleysoftware.com wrote: This patch series addresses the causes of flush_to_ldisc accessing the tty after freeing. Looks good to me. Would be nice to keep a copy of the test that shows it up in the comments of the patches somewhere. -- To

Re: [PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-12-04 Thread Philipp Zabel
Hi, On Fri, 2012-11-23 at 15:24 +0100, Philipp Zabel wrote: These patches add support to configure on-chip SRAM via device-tree node or platform data and to obtain the resulting genalloc pool from the physical address or a phandle pointing at the device tree node. This allows drivers to

Re: kswapd craziness in 3.7

2012-12-04 Thread Jiri Slaby
On 12/03/2012 02:14 PM, Jiri Slaby wrote: On 11/27/2012 09:48 PM, Johannes Weiner wrote: I hope I included everybody that participated in the various threads on kswapd getting stuck / exhibiting high CPU usage. We were looking at at least three root causes as far as I can see, so it's not

[RFC PATCH 01/10] CPU hotplug: Introduce stable cpu online mask, for atomic hotplug readers

2012-12-04 Thread Srivatsa S. Bhat
From: Michael Wang wang...@linux.vnet.ibm.com There are places where preempt_disable() is used to prevent any CPU from going offline during the critical section. Let us call them as atomic hotplug readers (atomic because they run in atomic contexts). Often, these atomic hotplug readers have a

[RFC PATCH 02/10] smp, cpu hotplug: Fix smp_call_function_*() to prevent CPU offline properly

2012-12-04 Thread Srivatsa S. Bhat
From: Michael Wang wang...@linux.vnet.ibm.com 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

[RFC PATCH 03/10] smp, cpu hotplug: Fix on_each_cpu_*() to prevent CPU offline properly

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. Signed-off-by: Srivatsa S. Bhat

Re: [PATCH 1/2] ab8500: remove explicit handling of battery type

2012-12-04 Thread Lee Jones
From: Rajanikanth H.V rajanikanth...@stericsson.com dt property, 'battery-type' shall be one of supported technology type instead blank. refer:Documentation/devicetree/bindings/power_supply/ab8500/fg.txt for the list of supported types thanks to Francesco Lavra for highlighting

[RFC PATCH 07/10] KVM: VMX: fix invalid cpu passed to smp_call_function_single

2012-12-04 Thread Srivatsa S. Bhat
From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com In loaded_vmcs_clear, loaded_vmcs-cpu is the fist parameter passed to smp_call_function_single, if the target cpu is downing (doing cpu hot remove), loaded_vmcs-cpu can become -1 then -1 is passed to smp_call_function_single It can be

[RFC PATCH 08/10] KVM: VMX: fix memory order between loading vmcs and clearing vmcs

2012-12-04 Thread Srivatsa S. Bhat
From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com vmcs-cpu indicates whether it exists on the target cpu, -1 means the vmcs does not exist on any vcpu If vcpu load vmcs with vmcs.cpu = -1, it can be directly added to cpu's percpu list. The list can be corrupted if the cpu prefetch the vmcs's

[RFC PATCH 09/10] KVM: VMX: fix unsyc vmcs status when cpu is going down

2012-12-04 Thread Srivatsa S. Bhat
From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com When vcpu is scheduled to the different cpu, it should sent IPI to the cpu which the vcpu ran to clear the vcpu-vmcs It is safe since cpu-offline path can not concurrently run with other cpu. After implementing stop_machine()-free,

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