[PATCH 5/6] ARM: ux500: Match-up compatible stings with associated MFD cell

2012-08-06 Thread Lee Jones
Until now, we've either taken the IRQs listed in the MFD cell defined in the AB8500 driver, or the ones in Device Tree when we probed each AB8500 MFD device independently. However, now we make a logical choice based on whether we're running Device Tree or not. For this to happen we need the

[PATCH 6/6] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

2012-08-06 Thread Lee Jones
If we're booting with Device Tree enabled, we want the IRQ numbers to be taken and translated from the Device Tree binary. If not, they should be taken from the resource allocation defined in the AB8500 MFD core driver. Signed-off-by: Lee Jones --- drivers/input/misc/ab8500-ponkey.c |6

[PATCH 2/6] mfd: Provide the PRCMU with its own IRQ domain

2012-08-06 Thread Lee Jones
The PRCMU has its own USB, Thermal, GPIO, Modem, HSI and RTC drivers, amongst other things. This patch allows those subordinate devices to use it as an interrupt controller as and when they are DT enabled. Signed-off-by: Lee Jones --- drivers/mfd/db8500-prcmu.c | 54

[PATCH 1/6] ARM: ux500: Identify the PRCMU as an interrupt controller

2012-08-06 Thread Lee Jones
We're just about to provide the DB8500-PRCMU with its own IRQ domain, so that its subordinate drivers can use it as an interrupt controller. It's obligatory for all IRQ controllers to reference themselves as such from its own node in Device Tree. This patch does just that. Signed-off-by: Lee

[PATCH 0/6] Device Tree IRQ related enablement patches

2012-08-06 Thread Lee Jones
This patch-set pertains to the addition of a new IRQ domain for the DB8500-PRCMU and providing it with Interrupt Controller status in the eyes of Device Tree. We also ensure that the Power-On-Key driver obtains the correct IRQ when being probed with Device Tree and otherwise.

Re: [Xen-devel] [PATCH 01/24] arm: initial Xen support

2012-08-06 Thread Stefano Stabellini
On Thu, 2 Aug 2012, Konrad Rzeszutek Wilk wrote: > On Thu, Aug 02, 2012 at 08:35:51AM +0100, Ian Campbell wrote: > > On Wed, 2012-08-01 at 19:27 +0100, Rob Herring wrote: > > > On 07/26/2012 10:33 AM, Stefano Stabellini wrote: > > > > - Basic hypervisor.h and interface.h definitions. > > > > -

[PATCH 6/8] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-06 Thread qiang.liu
From: Qiang Liu The use of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used instead. Interrupts will be turned off and context will be saved, there is needless to use irqsave. Change all instances of

[PATCH v6 3/8] fsl-dma: add fsl_dma_free_descriptor() to reduce code duplication

2012-08-06 Thread qiang.liu
From: Qiang Liu There are several places where descriptors are freed using identical code. Put this code into a function to reduce code duplication. Cc: Dan Williams Cc: Dan Williams Cc: Vinod Koul Signed-off-by: Ira W. Snyder --- drivers/dma/fsldma.c | 38

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-06 Thread Avi Kivity
On 08/06/2012 01:38 PM, Avi Kivity wrote: > Regarding the implementation, instead of a linked list, would an array > of counters parallel to the bitmap make it simpler? Or even, replace the bitmap with an array of counters. -- error compiling committee.c: too many arguments to function -- To

[PATCH v6 5/8] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-08-06 Thread qiang.liu
From: Qiang Liu Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release process of dma descriptor, all descriptors will be released whatever is acked or no-acked by async_tx, so there is a potential race condition when dma engine is uesd by

[PATCH v6 2/8] fsl-dma: remove attribute DMA_INTERRUPT of dmaengine

2012-08-06 Thread qiang.liu
From: Qiang Liu Delete attribute DMA_INTERRUPT because fsl-dma doesn't support this function, exception will be thrown if talitos is used to offload xor at the same time. Cc: Dan Williams Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Qiang Liu Acked-by: Ira W. Snyder ---

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-06 Thread Avi Kivity
On 08/06/2012 01:17 PM, Avi Kivity wrote: > >> >> +4.77 KVM_EOIFD >> + >> +Capability: KVM_CAP_EOIFD >> +Architectures: x86 >> +Type: vm ioctl >> +Parameters: struct kvm_eoifd (in) >> +Returns: 0 on success, < 0 on error >> + >> +KVM_EOIFD allows userspace to receive interrupt EOI notification

[PATCH v6 1/8] Talitos: Support for async_tx XOR offload

2012-08-06 Thread qiang.liu
From: Qiang Liu Expose Talitos's XOR functionality to be used for RAID parity calculation via the Async_tx layer. Cc: Herbert Xu Cc: David S. Miller Signed-off-by: Dipen Dudhat Signed-off-by: Maneesh Gupta Signed-off-by: Kim Phillips Signed-off-by: Vishnu Suresh Signed-off-by: Qiang Liu

[PATCH v6 0/8] Raid: enable talitos xor offload for improving performance

2012-08-06 Thread qiang.liu
Hi all, The following 8 patches enabling fsl-dma and talitos offload raid operations for improving raid performance and balancing CPU load. These patches include talitos, fsl-dma and carma module (caram uses some features of fsl-dma). Write performance will be improved by 25-30% tested by

Re: [PATCH 15/24] xen/arm: receive Xen events on ARM

2012-08-06 Thread Stefano Stabellini
On Wed, 1 Aug 2012, Konrad Rzeszutek Wilk wrote: > On Thu, Jul 26, 2012 at 04:33:57PM +0100, Stefano Stabellini wrote: > > Compile events.c on ARM. > > Parse, map and enable the IRQ to get event notifications from the device > > tree (node "/xen"). > > > > On ARM Linux irqs are not enabled by

Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-08-06 Thread Tomasz Stanislawski
Hi Rob, On 07/19/2012 06:23 PM, Rob Clark wrote: > From: Rob Clark > > Add some helpers to iterate through all attachers and get the most > restrictive segment size/count/boundary. > > Signed-off-by: Rob Clark > --- > drivers/base/dma-buf.c | 63 >

Re: [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-06 Thread Andreas Schwab
Len Brown writes: > ...both give the number of chars in the string > without the '\0', as strncmp() wants, > but sizeof() is compile-time. Does this actually change anything? The compiler is able to expand strlen at compile time if the argument is a constant, provided that that builtin strlen

Re: [PATCH 3/3] sound/soc/soc-core.c: drop kfree of devm_kzalloc's data

2012-08-06 Thread Mark Brown
On Sat, Aug 04, 2012 at 02:00:32PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Using kfree to free data allocated with devm_kzalloc causes double frees. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) Might it make more sense to devm_kfree()

Re: [PATCH v2] regmap: Add regmap dummy driver

2012-08-06 Thread Mark Brown
On Sat, Aug 04, 2012 at 01:43:42PM +0100, Dimitris Papastamos wrote: > On Sat, Aug 04, 2012 at 11:05:23AM +0100, Mark Brown wrote: > > Any reason not to put this in the tools directory? > At the moment the repo is very bare bones. I was thinking more of > an automated testing framework written

Re: [linux-pm] [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-06 Thread Pavel Machek
On Thu 2012-07-26 21:39:38, Len Brown wrote: > ...both give the number of chars in the string > without the '\0', as strncmp() wants, > but sizeof() is compile-time. What about introducing something like streq() to do this automatically? This is ugly #define streq(a, b) ... if

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-06 Thread Avi Kivity
On 07/24/2012 11:43 PM, Alex Williamson wrote: > This new ioctl enables an eventfd to be triggered when an EOI is > written for a specified irqchip pin. The first user of this will > be external device assignment through VFIO, using a level irqfd > for asserting a PCI INTx interrupt and this

Re: [BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5

2012-08-06 Thread Felipe Balbi
Hi, On Mon, Aug 06, 2012 at 06:12:05PM +0800, Peiyong Feng wrote: > I got a kernel panic when try hsotg of ok6410 which is based on s3c6410: > > > cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters > Unable to handle kernel NULL pointer dereference at virtual address

[BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5

2012-08-06 Thread Peiyong Feng
I got a kernel panic when try hsotg of ok6410 which is based on s3c6410: cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters Unable to handle kernel NULL pointer dereference at virtual address 0100 pgd = c0004000 [0100] *pgd= Internal error: Oops: 5 [#1]

[PATCH 0/3] perf: Teach perf tool to profile sleep times

2012-08-06 Thread Andrew Vagin
This functionality helps to analize where a task sleeps or waits locks. This feature can help to investigate a scalability problems. The main idea is that we can combine sched_switch and sched_stat_sleep events. sched_switch contains a callchain, when a task starts sleeping. sched_stat_sleep

[PATCH 1/3] perf: teach "perf inject" to work with files

2012-08-06 Thread Andrew Vagin
Before this patch "perf inject" can only handle data from pipe. I want to use "perf inject" for reworking events. Look at my following patch. Signed-off-by: Andrew Vagin --- tools/perf/builtin-inject.c | 33 +++-- 1 files changed, 31 insertions(+), 2 deletions(-)

[PATCH 3/3] perf: mark a dso if it's used

2012-08-06 Thread Andrew Vagin
Otherwise they will be not written in an output file. Signed-off-by: Andrew Vagin --- tools/perf/builtin-inject.c | 11 +-- tools/perf/util/build-id.c |2 +- tools/perf/util/build-id.h |5 + 3 files changed, 15 insertions(+), 3 deletions(-) diff --git

[PATCH 2/3] perf: teach perf inject to merge sched_stat_* and sched_switch events

2012-08-06 Thread Andrew Vagin
You may want to know where and how long a task is sleeping. A callchain may be found in sched_switch and a time slice in stat_iowait, so I add handler in perf inject for merging this events. My code saves sched_switch event for each process and when it meets stat_iowait, it reports the

Re: DT GPIO numbering?

2012-08-06 Thread Johannes Stezenbach
On Mon, Aug 06, 2012 at 08:35:51AM +0200, Linus Walleij wrote: > On Mon, Aug 6, 2012 at 4:18 AM, Stephen Warren wrote: > > > I can't comment on the sysfs-vs-dev interface location, but I don't > > think it addresses Johannes' issue; finding out which GPIO IDs are > > provided by which devices. >

Re: [PATCH] drivers: net: irda: bfin_sir: fix compile error

2012-08-06 Thread Samuel Ortiz
Hi Bob, On Mon, 2012-08-06 at 17:29 +0800, Bob Liu wrote: > Hi Samuel, > > Would you please take a look at this patch? > Since without this patch, regression test for blackfin will fail: > http://kisskb.ellerman.id.au/kisskb/matrix/ > > Thank you! The patch looks fine to me: Acked-by: Samuel

[PATCH v3 3/4] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-08-06 Thread Hideki EIRAKU
Previously the vb2_dma_contig_mmap() function was using a dma_addr_t as a physical address. The two addressses are not necessarily the same. For example, when using the IOMMU funtion on certain platforms, dma_addr_t addresses are not directly mappable physical address. dma_mmap_coherent() maps

[PATCH v3 2/4] ALSA: pcm - Don't define ARCH_HAS_DMA_MMAP_COHERENT privately for ARM

2012-08-06 Thread Hideki EIRAKU
From: Laurent Pinchart The ARM architecture now defines ARCH_HAS_DMA_MMAP_COHERENT, there's no need to define it privately anymore. Signed-off-by: Laurent Pinchart --- sound/core/pcm_native.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git

[PATCH v3 1/4] ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT

2012-08-06 Thread Hideki EIRAKU
ARCH_HAS_DMA_MMAP_COHERENT indicates that there is dma_mmap_coherent() API in this architecture. The name is already defined in PowerPC. Signed-off-by: Hideki EIRAKU --- arch/arm/include/asm/dma-mapping.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH v3 4/4] fbdev: sh_mobile_lcdc: use dma_mmap_coherent if available

2012-08-06 Thread Hideki EIRAKU
fb_mmap() implemented in fbmem.c uses smem_start as the physical address of the frame buffer. In the sh_mobile_lcdc driver, the smem_start is a dma_addr_t that is not a physical address when IOMMU is enabled. dma_mmap_coherent() maps the address correctly. It is available on ARM platforms.

[PATCH v3 0/4] Use dma_mmap_coherent to support IOMMU mapper

2012-08-06 Thread Hideki EIRAKU
There is a dma_mmap_coherent() API in some architectures. This API provides a mmap function for memory allocated by dma_alloc_coherent(). Some drivers mmap a dma_addr_t returned by dma_alloc_coherent() as a physical address. But such drivers do not work correctly when IOMMU mapper is used. v3:

Re: linux-next: build failure after merge of the akpm tree

2012-08-06 Thread Steven Whitehouse
Hi, Thanks for the patch - I'd not realised that I'd used the wrong function there... it is fixed now in the GFS2 -nmw tree, Steve. On Sun, 2012-08-05 at 22:04 -0700, Michel Lespinasse wrote: > gfs2 calls RB_EMPTY_NODE() to check if nodes are not on an rbtree. > The corresponding initialization

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-08-06 Thread Felipe Balbi
On Mon, Aug 06, 2012 at 03:14:42PM +0530, ABRAHAM, KISHON VIJAY wrote: > >> >> +static int omap_usb2_runtime_resume(struct device *dev) > >> >> +{ > >> >> + u32 ret = 0; > >> >> + struct platform_device *pdev = to_platform_device(dev); > >> >> + struct omap_usb *phy =

[PATCH] USB: ftdi_sio: Quiet sparse noise about using plain integer was NULL pointer

2012-08-06 Thread Ying Xue
Pointers should not be compared to plain integers. Quiets the sparse warning: warning: Using plain integer as NULL pointer Signed-off-by: Ying Xue --- drivers/usb/serial/ftdi_sio.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/ftdi_sio.c

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-08-06 Thread ABRAHAM, KISHON VIJAY
Hi Felipe, On Mon, Aug 6, 2012 at 2:19 PM, Felipe Balbi wrote: > Hi, > > On Fri, Aug 03, 2012 at 08:01:44PM +0530, ABRAHAM, KISHON VIJAY wrote: >> >> + return 0; >> >> +} >> >> + >> >> +#ifdef CONFIG_PM_RUNTIME >> >> + >> >> +static int omap_usb2_runtime_suspend(struct device *dev) >> >> +{

Re: [PATCH 1/7] netpoll: use GFP_ATOMIC in slave_enable_netpoll() and __netpoll_setup()

2012-08-06 Thread Eric Dumazet
On Mon, 2012-08-06 at 17:08 +0800, Cong Wang wrote: > On Fri, 2012-08-03 at 12:10 +0200, Eric Dumazet wrote: > > > > I did this , just take it ;) > > Do we have to pass gfp to ->ndo_netpoll_setup() too? It seems no, so far > I don't think we have to do that. > > Thanks. > It is needed.

[PATCH 3/3] backlight: lp855x: remove goto err_dev

2012-08-06 Thread Jingoo Han
This patch removes goto err_dev, which makes code a bit smaller. Cc: Milo(Woogyom) Kim Cc: Richard Purdie Signed-off-by: Jingoo Han --- drivers/video/backlight/lp855x_bl.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/video/backlight/lp855x_bl.c

Re: [PATCH] driver: misc: bmp085: remove "of_match_table" property.

2012-08-06 Thread Felipe Balbi
On Mon, Aug 06, 2012 at 02:58:44PM +0530, Sourav Poddar wrote: > There is an automatic binding done for I2C devices in the of_i2c core > code. So, DT will be able to bind to any I2C device using the > already existing table: MODULE_DEVICE_TABLE(i2c, bmp085_id). > > Tested on omap5430 evm. > >

[PATCH 2/3] backlight: aat2870: remove goto out

2012-08-06 Thread Jingoo Han
This patch removes goto out, which makes code a bit smaller. Cc: Jin Park Cc: Richard Purdie Signed-off-by: Jingoo Han --- drivers/video/backlight/aat2870_bl.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/video/backlight/aat2870_bl.c

[PATCH 1/3] backlight: atmel-pwm-bl: remove goto err_free_mem

2012-08-06 Thread Jingoo Han
This patch removes goto err_free_mem, which makes code a bit smaller. Cc: Hans-Christian Egtvedt Cc: Richard Purdie Signed-off-by: Jingoo Han --- drivers/video/backlight/atmel-pwm-bl.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git

[RFC V3 PATCH 02/25] memory_hotplug: fix missing nodemask management

2012-08-06 Thread Lai Jiangshan
Currently memory_hotplug only manages the node_states[N_HIGH_MEMORY], it forgot to manage node_states[N_NORMAL_MEMORY]. fix it. Signed-off-by: Lai Jiangshan --- Documentation/memory-hotplug.txt |5 ++- include/linux/memory.h |1 + mm/memory_hotplug.c | 94

[RFC V3 PATCH 04/25] node: cleanup node_state_attr

2012-08-06 Thread Lai Jiangshan
Make it more readability and easy to add new state. Signed-off-by: Lai Jiangshan --- drivers/base/node.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/base/node.c b/drivers/base/node.c index af1a177..5d7731e 100644 ---

Re: No 3.5 version on www.kernel.org

2012-08-06 Thread Borislav Petkov
On Mon, Aug 06, 2012 at 08:48:56AM +0200, Tino Keitel wrote: > Hi, > > when looking at http://www.kernel.org/, kernel 3.4.7 is shown as the > latest stable kernel, and 3.6-rc1 as the latest mainline kernel. The > 3.5 version is not mentioned. Why is the latest stable kernel something > older than

Re: [PATCH] drivers: net: irda: bfin_sir: fix compile error

2012-08-06 Thread Bob Liu
Hi Samuel, Would you please take a look at this patch? Since without this patch, regression test for blackfin will fail: http://kisskb.ellerman.id.au/kisskb/matrix/ Thank you! On Mon, Jul 30, 2012 at 2:44 PM, Bob Liu wrote: > From: Sonic Zhang > > Bit IREN is replaced by UMOD_IRDA and

[RFC V3 PATCH 06/25] cpuset: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Hillf Danton ---

[RFC V3 PATCH 03/25] slub, hotplug: ignore unrelated node's hot-adding and hot-removing

2012-08-06 Thread Lai Jiangshan
SLUB only fucus on the nodes which has normal memory, so ignore the other node's hot-adding and hot-removing. Signed-off-by: Lai Jiangshan --- mm/slub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 8c691fa..f8b137a 100644 ---

[RFC V3 PATCH 01/25] page_alloc.c: don't subtract unrelated memmap from zone's present pages

2012-08-06 Thread Lai Jiangshan
A)== Currently, memory-page-map(struct page array) is not defined in struct zone. It is defined in several ways: FLATMEM: global memmap, can be allocated from any zone <= ZONE_NORMAL CONFIG_DISCONTIGMEM: node-specific memmap, can be allocated from any zone <= ZONE_NORMAL

[RFC V3 PATCH 11/25] mempolicy: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan --- mm/mempolicy.c | 12 ++-- 1 files

[PATCH] timer: do not define __mod_timer as inline function

2012-08-06 Thread Yuanhan Liu
__mod_timer() is a bit 'huge' to be defined as inline. $ size kernel/timer*.o textdata bss dec hex filename 1890840348257 3119979df kernel/timer-before.o 1796140348257 30252762c kernel/timer-after.o Cc: Thomas Gleixner Cc: Ingo Molnar

[PATCH] driver: misc: bmp085: remove "of_match_table" property.

2012-08-06 Thread Sourav Poddar
There is an automatic binding done for I2C devices in the of_i2c core code. So, DT will be able to bind to any I2C device using the already existing table: MODULE_DEVICE_TABLE(i2c, bmp085_id). Tested on omap5430 evm. Cc: Benoit Cousson Cc: Felipe Balbi Cc: Santosh Shilimkar Signed-off-by:

[RFC V3 PATCH 07/25] procfs: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Hillf Danton --- fs/proc/kcore.c|

Re: Huge performance degradation for UDP between 2.4.17 and 2.6

2012-08-06 Thread leroy christophe
Le 05/08/2012 10:28, Eric Dumazet a écrit : On Sun, 2012-08-05 at 10:16 +0200, LEROY christophe wrote: Le 02/08/2012 16:13, Eric Dumazet a écrit : On Thu, 2012-08-02 at 14:27 +0200, leroy christophe wrote: Hi I'm having a big issue with UDP. Using a powerpc board (MPC860). With our board

[RFC V3 PATCH 12/25] hugetlb: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Hillf Danton --- drivers/base/node.c |

[RFC V3 PATCH 08/25] memcontrol: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan --- mm/memcontrol.c | 18 +-

[RFC V3 PATCH 14/25] kthread: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan --- kernel/kthread.c |2 +- 1 files changed, 1

[RFC V3 PATCH 09/25] oom: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Hillf Danton --- mm/oom_kill.c |2 +-

[RFC V3 PATCH 10/25] mm,migrate: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Christoph Lameter --- mm/migrate.c |2

[RFC V3 PATCH 13/25] vmstat: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Christoph Lameter --- mm/vmstat.c |4

Re: [PATCH v6 00/11] omap: musb: Add device tree support

2012-08-06 Thread ABRAHAM, KISHON VIJAY
On Mon, Aug 6, 2012 at 2:22 PM, Felipe Balbi wrote: > Hi, > > On Mon, Jul 30, 2012 at 02:39:49PM +0530, Kishon Vijay Abraham I wrote: >> This patch series adds device tree support for MUSB and device >> tree support for all the related modules to get MUSB working in >> OMAP platform. >> >> A new

[RFC V3 PATCH 21/25] x86: get pg_data_t's memory from other node

2012-08-06 Thread Lai Jiangshan
From: Yasuaki Ishimatsu If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So when memblock_alloc_nid() fails, setup_node_data() retries memblock_alloc(). Signed-off-by: Yasuaki

[RFC V3 PATCH 19/25] numa: add CONFIG_MOVABLE_NODE for movable-dedicated node

2012-08-06 Thread Lai Jiangshan
All are prepared, we can actually introduce N_MEMORY. add CONFIG_MOVABLE_NODE make we can use it for movable-dedicated node Signed-off-by: Lai Jiangshan --- drivers/base/node.c |6 ++ include/linux/nodemask.h |4 mm/Kconfig |8 mm/page_alloc.c

[RFC V3 PATCH 20/25] page_alloc: add kernelcore_max_addr

2012-08-06 Thread Lai Jiangshan
Current ZONE_MOVABLE (kernelcore=) setting policy with boot option doesn't meet our requirement. We need something like kernelcore_max_addr=XX boot option to limit the kernelcore upper address. The memory with higher address will be migratable(movable) and they are easier to be offline(always

[RFC V3 PATCH 17/25] page_alloc: use N_MEMORY instead N_HIGH_MEMORY change the node_states initialization

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Since we introduced N_MEMORY, we update the initialization of node_states.

[RFC V3 PATCH 15/25] init: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan --- init/main.c |2 +- 1 files changed, 1

[RFC V3 PATCH 25/25] mm, memory-hotplug: add online_movable and online_kernel

2012-08-06 Thread Lai Jiangshan
When a memoryblock/memorysection is onlined by "online_movable", the kernel will not have directly reference to the page of the memoryblock, thus we can remove that memory any time when needed. It makes things easy when we dynamic hot-add/remove memory, make better utilities of memories, and

[RFC V3 PATCH 23/25] memblock: limit memory address from memblock

2012-08-06 Thread Lai Jiangshan
From: Yasuaki Ishimatsu Setting kernelcore_max_pfn means all memory which is bigger than the boot parameter is allocated as ZONE_MOVABLE. So memory which is allocated by memblock also should be limited by the parameter. The patch limits memory from memblock. Signed-off-by: Yasuaki Ishimatsu

[RFC V3 PATCH 24/25] memblock: compare current_limit with end variable at memblock_find_in_range_node()

2012-08-06 Thread Lai Jiangshan
From: Yasuaki Ishimatsu memblock_find_in_range_node() does not compare memblock.current_limit with end variable. Thus even if memblock.current_limit is smaller than end variable, the function allocates memory address that is bigger than memblock.current_limit. The patch adds the check to

[RFC V3 PATCH 22/25] x86: use memblock_set_current_limit() to set memblock.current_limit

2012-08-06 Thread Lai Jiangshan
From: Yasuaki Ishimatsu memblock.current_limit is set directly though memblock_set_current_limit() is prepared. So fix it. Signed-off-by: Yasuaki Ishimatsu Signed-off-by: Lai Jiangshan --- arch/x86/kernel/setup.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[RFC V3 PATCH 16/25] vmscan: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Hillf Danton --- mm/vmscan.c |4 ++--

[RFC V3 PATCH 18/25] hotplug: update nodemasks management

2012-08-06 Thread Lai Jiangshan
update nodemasks management for N_MEMORY Signed-off-by: Lai Jiangshan --- Documentation/memory-hotplug.txt |5 +++- include/linux/memory.h |1 + mm/memory_hotplug.c | 49 + 3 files changed, 48 insertions(+), 7 deletions(-)

[RFC V3 PATCH 05/25] node_states: introduce N_MEMORY

2012-08-06 Thread Lai Jiangshan
We have N_NORMAL_MEMORY for standing for the nodes that have normal memory with zone_type <= ZONE_NORMAL. And we have N_HIGH_MEMORY for standing for the nodes that have normal or high memory. But we don't have any word to stand for the nodes that have *any* memory. And we have N_CPU but without

[RFC V3 PATCH 00/25] memory,numa: introduce MOVABLE-dedicated node and online_movable for hotplug

2012-08-06 Thread Lai Jiangshan
A) Introduction: This patchset adds MOVABLE-dedicated node and online_movable for memory-management. It is used for anti-fragmentation(hugepage, big-order allocation...), hot-removal-of-memory(virtualization, power-conserve, move memory between systems to make better utilities of

[PATCH RFC] regulator: suppress printk if there is no real info

2012-08-06 Thread Uwe Kleine-König
This prevents the output of just dummy: in the boot log. Signed-off-by: Uwe Kleine-König --- Hello, probably this really only applies to the dummy regulator. If not it might be more sensible to do: if (!buf[0]) buf = "no parameters"; or similar. Other than

Re: [PATCH 1/7] netpoll: use GFP_ATOMIC in slave_enable_netpoll() and __netpoll_setup()

2012-08-06 Thread Cong Wang
On Fri, 2012-08-03 at 12:10 +0200, Eric Dumazet wrote: > > I did this , just take it ;) Do we have to pass gfp to ->ndo_netpoll_setup() too? It seems no, so far I don't think we have to do that. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 5/5] drivers/video/msm/mddi_client_nt35399.c: use devm_ functions

2012-08-06 Thread Dan Carpenter
On Fri, Aug 03, 2012 at 05:40:13PM +0200, Damien Cassou wrote: > @@ -233,7 +234,6 @@ static int mddi_nt35399_remove(struct platform_device > *pdev) > struct panel_info *panel = platform_get_drvdata(pdev); > > setup_vsync(panel, 0); > - kfree(panel); > return 0; > } > -- >

[PATCH 4/7] perf hists: Handle field separator properly

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim When a field separator is given, the output format doesn't need to be fancy like aligning to column length, coloring the percent value and so on. And since there's a slight difference to normal format, fix it not to break backward compatibility. Cc: Stephane Eranian

[PATCH 3/7] perf hists: Introduce hist_period_print functions

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim Current hist print functions are messy. Refactor them using the hpp callbacks. This will make it easy to add new features. Signed-off-by: Namhyung Kim --- tools/perf/builtin-diff.c | 1 + tools/perf/ui/hist.c | 490 +++---

[PATCH 5/7] perf hists: Use hpp_functions->width to calculate the column widths

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim Signed-off-by: Namhyung Kim --- tools/perf/ui/hist.c | 27 +++ tools/perf/util/hist.c | 33 - 2 files changed, 27 insertions(+), 33 deletions(-) diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index

[PATCH 7/7] perf gtk/browser: Use hist_period_print functions

2012-08-06 Thread Namhyung Kim
Now we can support color using pango markup with this change. Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/browser.c | 101 +--- tools/perf/ui/gtk/gtk.h | 2 + tools/perf/ui/gtk/setup.c | 1 + 3 files changed, 88

[PATCH 6/7] perf ui/browser: Use hist_period_print functions

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim Override hpp->color functions for TUI. Because line coloring is done outside of the function, it just sets the percent value and pass it. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 94 --

[PATCH 1/7] perf hists: Separate out hist print functions

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim Separate out those functions into ui/hist.c. This is required for upcoming changes. Signed-off-by: Namhyung Kim --- tools/perf/Makefile| 4 +- tools/perf/ui/hist.c | 648 ++ tools/perf/util/hist.c | 677

[PATCH 2/7] perf hists: Refactor some functions

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim Rename functions for consistency and move callchain print function into hist_entry__fprintf(). Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 4 ++-- tools/perf/ui/hist.c | 51 +++--- tools/perf/util/hist.h

[PATCH 0/7] perf hists: Cleanup hist printing code (v2)

2012-08-06 Thread Namhyung Kim
Hi, This is a cleanup and refactoring patchset for the hist printing code by adding hist_period_print functions and hpp_context. I believe it makes the code easy to maintain and to add new functionalities like upcoming group viewing and callchain accumulation. Any comments are welcome, thanks.

Re: i915 regression on 3.6-rc1: lid blanks screen

2012-08-06 Thread Daniel Vetter
On Mon, Aug 6, 2012 at 6:21 AM, Hugh Dickins wrote: > On Sun, 5 Aug 2012, Takashi Iwai wrote: >> At Sat, 4 Aug 2012 10:01:13 -0700 (PDT), >> Hugh Dickins wrote: >> > >> > Sorry to report that with 3.6-rc1, closing and opening the lid on >> > this ThinkPad T420s leaves the screen blank, and I have

Re: [PATCH v6 00/11] omap: musb: Add device tree support

2012-08-06 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:39:49PM +0530, Kishon Vijay Abraham I wrote: > This patch series adds device tree support for MUSB and device > tree support for all the related modules to get MUSB working in > OMAP platform. > > A new omap-usb2 phy driver has been added (with only dt suppport) >

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-08-06 Thread Felipe Balbi
Hi, On Fri, Aug 03, 2012 at 08:01:44PM +0530, ABRAHAM, KISHON VIJAY wrote: > >> + return 0; > >> +} > >> + > >> +#ifdef CONFIG_PM_RUNTIME > >> + > >> +static int omap_usb2_runtime_suspend(struct device *dev) > >> +{ > >> + struct platform_device *pdev = to_platform_device(dev); > >> +

Re: [PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
> > + vip->video_dev->flags |= V4L2_FL_USES_V4L2_FH | > > V4L2_FL_USE_FH_PRIO; > Been there, done that :-) > > V4L2_FL_USE_FH_PRIO is a bit number, not a bit mask. Use set_bit > instead: > > set_bit(V4L2_FL_USE_FH_PRIO, >video_dev->flags); > > No need to set V4L2_FL_USES_V4L2_FH, BTW.

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-06 Thread Stefan Priebe - Profihost AG
>Am 06.08.2012 10:36, schrieb Avi Kivity: On 08/05/2012 10:00 PM, Stefan Priebe wrote: So here are 3 backtraces from booting the rescue system: http://pastebin.com/raw.php?i=xCy2pEcP To me they all look the same. They are. What version of qemu are you using? latest stable-1.1 branch

Re: Gethering power management/policy hw drivers under drivers/power/? (Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences)

2012-08-06 Thread Pihet-XID, Jean
Hi Anton, Sorry for the late reply. I was away and back now. On Mon, Jul 30, 2012 at 4:40 AM, Anton Vorontsov wrote: > On Mon, Jul 30, 2012 at 10:51:42AM +0900, Alex Courbot wrote: > [...] >> On the other hand I have just noticed that the apparently unrelated >> Adaptive Voltage Scaling driver

Re: [PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Hans Verkuil
On Mon August 6 2012 10:17:39 Federico Vaga wrote: > Signed-off-by: Federico Vaga > Acked-by: Giancarlo Asnaghi > > --- > drivers/media/video/sta2x11_vip.c | 1239 > + > 1 file modificato, 414 inserzioni(+), 825 rimozioni(-) > > diff --git

Re: [PATCH 1/4] arm/dts: omap5-evm: Add I2C support

2012-08-06 Thread Felipe Balbi
Hi, On Fri, Aug 03, 2012 at 09:22:19PM +0400, Sergei Shtylyov wrote: > Hello. > > On 08/03/2012 04:38 PM, Sourav Poddar wrote: > > > Add I2C data node in omap5 device tree file. > > > Tested on omap5430 sdp. > > > Cc: Benoit Cousson > > Cc: Felipe Balbi > > Cc: Santosh Shilimkar > >

[PATCH] sched: using dst_rq instead of this_rq during load balance

2012-08-06 Thread Michael Wang
From: Michael Wang As we already have dst_rq in lb_env, using or changing "this_rq" do not make sense. This patch will replace "this_rq" with dst_rq in load_balance, and we don't need to change "this_rq" while process LBF_SOME_PINNED any more. Signed-off-by: Michael Wang ---

RE: [NEW DRIVER V2 4/7] DA9058 RTC driver

2012-08-06 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Anthony Olech > Sent: Monday, August 06, 2012 2:14 AM > To: Andrew Morton > Cc: Mark Brown; Paul Gortmaker; Samuel Ortiz; Alessandro Zummo; rtc- >

RE: [NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-06 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Anthony Olech > Sent: Monday, August 06, 2012 2:14 AM > To: Samuel Ortiz > Cc: Mark Brown; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; > Michael Krufky; LKML;

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-06 Thread Avi Kivity
On 08/05/2012 10:00 PM, Stefan Priebe wrote: > Am 05.08.2012 17:52, schrieb Stefan Priebe: >> Am 05.08.2012 12:29, schrieb Avi Kivity: >>> On 08/05/2012 01:08 PM, Stefan Priebe wrote: Am 01.08.2012 11:53, schrieb Avi Kivity: > On 08/01/2012 12:42 PM, Stefan Priebe - Profihost AG wrote:

Re: [PATCH 0/8] acpi-cpufreq: Move modern AMD cpufreq support to acpi-cpufreq

2012-08-06 Thread Borislav Petkov
On Sun, Aug 05, 2012 at 04:39:14PM -0700, H. Peter Anvin wrote: > On 08/05/2012 02:20 PM, Rafael J. Wysocki wrote: > >On Thursday, July 26, 2012, Andre Przywara wrote: > >>The programming model for cpufreq on current AMD CPUs is almost identical > >>to the one used on Intel and VIA hardware. This

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
> In that case I need to see your latest version of the source code to > see why it doesn't work. I send it as patch v2 of the previous one -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

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