Re: [GIT PULL 1/2] Btrfs fixes

2012-08-21 Thread Chris Mason
On Mon, Aug 20, 2012 at 07:55:59PM -0600, Linus Torvalds wrote: > On Mon, Aug 20, 2012 at 6:53 PM, Chris Samuel wrote: > > > > This pull request with a whole heap of btrfs fixes (46 commits) appears > > not to have been merged yet, does anyone know if it was rejected or just > > missed ? > >

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread Boaz Harrosh
On 08/21/2012 03:59 PM, Pavel Emelyanov wrote: > On 08/21/2012 04:51 PM, Boaz Harrosh wrote: >> On 08/21/2012 03:29 PM, J. Bruce Fields wrote: >> <> > > Strictly speaking -- no we don't. Migration should to work across kernel > versions (from older to newer). Why kernel version matters in this

Re: [PATCH v2 14/31] arm64: DMA mapping API

2012-08-21 Thread Catalin Marinas
On Wed, Aug 15, 2012 at 01:40:06AM +0100, Olof Johansson wrote: > On Tue, Aug 14, 2012 at 06:52:15PM +0100, Catalin Marinas wrote: > > +static inline struct dma_map_ops *get_dma_ops(struct device *dev) > > +{ > > + if (unlikely(!dev) || !dev->archdata.dma_ops) > > + return dma_ops; > >

Re: [PATCH v2 00/13] OMAP Serial patches

2012-08-21 Thread Felipe Balbi
Hi, On Tue, Aug 21, 2012 at 03:15:58PM +0300, Felipe Balbi wrote: > Hi guys, > > here's a series of cleanup patches to the OMAP serial > driver. A later series could be made re-implementing > DMA using the DMA Engine API. Note that for RX DMA > we could be using RX Timeout IRQ as a hint that we

[PATCH] task_work: add a scheduling point in task_work_run()

2012-08-21 Thread Eric Dumazet
From: Eric Dumazet It seems commit 4a9d4b02 (switch fput to task_work_add) reintroduced the problem addressed in commit 944be0b2 (close_files(): add scheduling point) If a server process with a lot of files (say 2 million tcp sockets) is killed, we can spend a lot of time in task_work_run() and

Re: [PATCH 3/3] writeback: add dirty_ratio_time per bdi variable (NFS write performance)

2012-08-21 Thread Fengguang Wu
On Tue, Aug 21, 2012 at 03:00:13PM +0900, Namjae Jeon wrote: > 2012/8/20, Fengguang Wu : > > On Mon, Aug 20, 2012 at 09:48:42AM +0900, Namjae Jeon wrote: > >> 2012/8/19, Fengguang Wu : > >> > On Sat, Aug 18, 2012 at 05:50:02AM -0400, Namjae Jeon wrote: > >> >> From: Namjae Jeon > >> >> > >> >>

Re: [PATCH] gpio: bt8xx: Fix build error due to missing include file

2012-08-21 Thread Linus Walleij
On Tue, Aug 21, 2012 at 1:23 PM, Mauro Carvalho Chehab wrote: > Hi Axel, > > Em 21-08-2012 06:37, Axel Lin escreveu: >> This patch fixes below build error: >> >> CC [M] drivers/gpio/gpio-bt8xx.o >> drivers/gpio/gpio-bt8xx.c:53:40: fatal error: ../media/video/bt8xx/bt848.h: >> No such file or

Re: [PATCH v2 14/31] arm64: DMA mapping API

2012-08-21 Thread Catalin Marinas
On Wed, Aug 15, 2012 at 05:16:00PM +0100, Arnd Bergmann wrote: > On Tuesday 14 August 2012, Catalin Marinas wrote: > > +static struct dma_map_ops arm64_swiotlb_dma_ops = { > > + .alloc = arm64_swiotlb_alloc_coherent, > > + .free = arm64_swiotlb_free_coherent, > > + .map_page =

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread Pavel Emelyanov
On 08/21/2012 04:51 PM, Boaz Harrosh wrote: > On 08/21/2012 03:29 PM, J. Bruce Fields wrote: > <> > >> OK. So if you don't mind the fact that there are filesystems with >> inotify support but not filehandle support, then I think generating a >> filehandle early as you describe would work. I

Re: [PATCHv6 2/2] ARM: dma-mapping: remove custom consistent dma region

2012-08-21 Thread Hiroshi Doyu
Russell King - ARM Linux wrote @ Tue, 21 Aug 2012 14:34:51 +0200: > On Tue, Aug 21, 2012 at 02:22:35PM +0300, Hiroshi Doyu wrote: > > The following "__get_vm_area_node()" can take gfp_mask, it means that > > this function is expected to be called from atomic context, but why > > it's _NOT_

Re: [PATCH 1/1] ASoC: codecs: Enable AB8500 CODEC for Device Tree

2012-08-21 Thread Lee Jones
On Tue, Aug 21, 2012 at 01:39:51PM +0100, Mark Brown wrote: > On Tue, Aug 21, 2012 at 12:51:24PM +0100, Lee Jones wrote: > > On Mon, Aug 20, 2012 at 03:36:53PM +0100, Mark Brown wrote: > > > > > From: Lee Jones > > > > Date: Fri, 27 Jul 2012 08:50:05 +0100 > > > > Please resend this series with

Re: [PATCH 3/3] writeback: add dirty_ratio_time per bdi variable (NFS write performance)

2012-08-21 Thread Fengguang Wu
On Tue, Aug 21, 2012 at 02:48:35PM +0900, Namjae Jeon wrote: > 2012/8/21, J. Bruce Fields : > > On Mon, Aug 20, 2012 at 12:00:04PM +1000, Dave Chinner wrote: > >> On Sun, Aug 19, 2012 at 10:57:24AM +0800, Fengguang Wu wrote: > >> > On Sat, Aug 18, 2012 at 05:50:02AM -0400, Namjae Jeon wrote: > >>

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-08-21 Thread Pekka Enberg
On Tue, Aug 21, 2012 at 12:08 PM, Yan, Zheng wrote: > From: "Yan, Zheng" > > Initializing uncore PMU on virtualized CPU may hang the kernel. > This is because kvm does not emulate the entire hardware. Thers > are lots of uncore related MSRs, making kvm enumerate them all > is a non-trival task.

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread Boaz Harrosh
On 08/21/2012 03:29 PM, J. Bruce Fields wrote: <> > OK. So if you don't mind the fact that there are filesystems with > inotify support but not filehandle support, then I think generating a > filehandle early as you describe would work. I guess it's a little more > memory per watched inode. >

[PATCH] memory-hotplug: add build zonelists when offline pages

2012-08-21 Thread qiuxishi
From: Xishi Qiu online_pages() does build_all_zonelists() and zone_pcp_update(), I think offline_pages() should do it too. The node has no memory to allocate, so remove this node's zones form other nodes' zonelists. Signed-off-by: Xishi Qiu --- mm/memory_hotplug.c |6 +- 1 files

[PATCH v8 3/5] virtio_balloon: introduce migration primitives to balloon pages

2012-08-21 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. Besides

[PATCH v8 2/5] mm: introduce compaction and migration for ballooned pages

2012-08-21 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This

[PATCH v8 4/5] mm: introduce putback_movable_pages()

2012-08-21 Thread Rafael Aquini
The PATCH "mm: introduce compaction and migration for virtio ballooned pages" hacks around putback_lru_pages() in order to allow ballooned pages to be re-inserted on balloon page list as if a ballooned page was like a LRU page. As ballooned pages are not legitimate LRU pages, this patch

[PATCH v8 5/5] mm: add vm event counters for balloon pages compaction

2012-08-21 Thread Rafael Aquini
This patch introduces a new set of vm event counters to keep track of ballooned pages compaction activity. Signed-off-by: Rafael Aquini --- drivers/virtio/virtio_balloon.c | 2 ++ include/linux/vm_event_item.h | 8 +++- mm/balloon_compaction.c | 6 -- mm/migrate.c

[PATCH v8 1/5] mm: introduce a common interface for balloon pages mobility

2012-08-21 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This

[PATCH v8 0/5] make balloon pages movable by compaction

2012-08-21 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This

Re: [PATCH 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-08-21 Thread Felipe Balbi
On Tue, Aug 21, 2012 at 01:41:46PM +0100, Mark Brown wrote: > > + regmap_read(smsc->regmap, SMSC_DEV_ID, ); > > + dev_dbg(>dev, "SMSC Device ID: %d\n", ret); > > I'd make these log messages dev_info() or something. dev_info() ? It'lll just make boot noisier for no good reason. Which user

Re: [PATCH 1/4] mfd: smsc: Add support for smsc gpio io/keypad driver

2012-08-21 Thread Mark Brown
On Tue, Aug 21, 2012 at 04:15:37PM +0530, Sourav Poddar wrote: > +config MFD_SMSC > + bool "Support for the SMSC ECE1099 series chips" > + depends on I2C=y && MFD_CORE && REGMAP_I2C This needs to select REGMAP_I2C not depend on it. REGMAP_I2C will only be enabled by being selected.

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread Pavel Emelyanov
Al, Bruce, Aneesh, What if we calculate the handle at the time we do have struct path at hands (i.e. when we create the inotify) and store it on the inotify structure purely to be shown later in proc. Would that be acceptable? >>> >>> Was it the lack of a

Re: [PATCH 1/1] ASoC: codecs: Enable AB8500 CODEC for Device Tree

2012-08-21 Thread Mark Brown
On Tue, Aug 21, 2012 at 12:51:24PM +0100, Lee Jones wrote: > On Mon, Aug 20, 2012 at 03:36:53PM +0100, Mark Brown wrote: > > > From: Lee Jones > > > Date: Fri, 27 Jul 2012 08:50:05 +0100 > > Please resend this series with all the acks you've got rather than > > mixing incremental updates in

Re: [PATCHv6 2/2] ARM: dma-mapping: remove custom consistent dma region

2012-08-21 Thread Russell King - ARM Linux
On Tue, Aug 21, 2012 at 02:22:35PM +0300, Hiroshi Doyu wrote: > The following "__get_vm_area_node()" can take gfp_mask, it means that > this function is expected to be called from atomic context, but why > it's _NOT_ allowed _ONLY_ from interrupt context? One reason is it takes read/write locks

Re: Re: [PATCH V2 0/6] virtio-trace: Support virtio-trace

2012-08-21 Thread Masami Hiramatsu
(2012/08/21 14:16), Amit Shah wrote: > On (Thu) 09 Aug 2012 [21:30:29], Yoshihiro YUNOMAE wrote: >> Hi All, >> >> The following patch set provides a low-overhead system for collecting kernel >> tracing data of guests by a host in a virtualization environment. > > ACK this series. Thank you! > I

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread J. Bruce Fields
On Tue, Aug 21, 2012 at 04:22:31PM +0400, Pavel Emelyanov wrote: > On 08/21/2012 04:11 PM, J. Bruce Fields wrote: > > On Tue, Aug 21, 2012 at 03:09:05PM +0400, Pavel Emelyanov wrote: > >> On 08/21/2012 02:54 PM, Cyrill Gorcunov wrote: > >>> On Tue, Aug 21, 2012 at 02:49:47PM +0400, Pavel Emelyanov

Re: [RFC/PATCH 4/4] gpio: smscece: Add support for gpio IO expander feature

2012-08-21 Thread Felipe Balbi
On Tue, Aug 21, 2012 at 05:50:28PM +0530, Poddar, Sourav wrote: > Hi, > > On Tue, Aug 21, 2012 at 5:30 PM, Felipe Balbi wrote: > > Hi, > > > > On Tue, Aug 21, 2012 at 05:17:37PM +0530, Poddar, Sourav wrote: > >> >> + if (type & IRQ_TYPE_LEVEL_HIGH) > >> >> + sg->int_lvl[bank] |=

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread Pavel Emelyanov
On 08/21/2012 04:09 PM, J. Bruce Fields wrote: > On Tue, Aug 21, 2012 at 02:49:47PM +0400, Pavel Emelyanov wrote: >> On 08/21/2012 02:42 PM, Aneesh Kumar K.V wrote: >>> Pavel Emelyanov writes: >>> On 08/20/2012 11:32 PM, J. Bruce Fields wrote: > On Mon, Aug 20, 2012 at 11:06:06PM +0400,

Re: [PATCH v3] SUNRPC: protect service sockets lists during per-net shutdown

2012-08-21 Thread J. Bruce Fields
On Tue, Aug 21, 2012 at 01:28:00PM +0400, Stanislav Kinsbursky wrote: > 20.08.2012 20:58, J. Bruce Fields пишет: > >On Mon, Aug 20, 2012 at 07:11:00PM +0400, Stanislav Kinsbursky wrote: > >>Currently, when you call kthread_create(), you add new job to > >>kthreadd queue. Kthreadd is unique, starts

[PATCH v2 01/13] serial: omap: define and use to_uart_omap_port()

2012-08-21 Thread Felipe Balbi
current code only works because struct uart_port is the first member on the uart_omap_port structure. If, for whatever reason, someone puts another member as the first of the structure, that cast won't work anymore. In order to be safe, let's use a container_of() which, for now, gets optimized

[PATCH v2 03/13] serial: omap: don't access the platform_device

2012-08-21 Thread Felipe Balbi
The driver doesn't need to know about its platform_device. Everything the driver needs can be done through the struct device pointer. In case we need to use the OMAP-specific PM function pointers, those can make sure to find the device's platform_device pointer so they can find the struct

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread Pavel Emelyanov
On 08/21/2012 04:11 PM, J. Bruce Fields wrote: > On Tue, Aug 21, 2012 at 03:09:05PM +0400, Pavel Emelyanov wrote: >> On 08/21/2012 02:54 PM, Cyrill Gorcunov wrote: >>> On Tue, Aug 21, 2012 at 02:49:47PM +0400, Pavel Emelyanov wrote: >> >> However, if you have some better ideas on what

[PATCH v2 04/13] serial: omap: drop DMA support

2012-08-21 Thread Felipe Balbi
The current support is known to be broken and a later patch will come re-adding it using dma engine API. Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 330 ++- 1 file changed, 12 insertions(+), 318

Re: [RFC/PATCH 4/4] gpio: smscece: Add support for gpio IO expander feature

2012-08-21 Thread Poddar, Sourav
Hi, On Tue, Aug 21, 2012 at 5:30 PM, Felipe Balbi wrote: > Hi, > > On Tue, Aug 21, 2012 at 05:17:37PM +0530, Poddar, Sourav wrote: >> >> + if (type & IRQ_TYPE_LEVEL_HIGH) >> >> + sg->int_lvl[bank] |= bit; >> >> + else if (type & IRQ_TYPE_LEVEL_LOW) >> >> +

[PATCH v2 08/13] serial: omap: move THRE check to transmit_chars()

2012-08-21 Thread Felipe Balbi
since all other IRQ types now do all necessary checks inside their handlers, transmit_chars() was the only one left expecting serial_omap_irq() to check THRE for it. We can move THRE check to transmit_chars() in order to make serial_omap_irq() more uniform. Acked-by: Santosh Shilimkar

[PATCH v2 07/13] serial: omap: refactor receive_chars() into rdi/rlsi handlers

2012-08-21 Thread Felipe Balbi
receive_chars() was getting too big and too difficult to follow. By splitting it into separate RDI and RSLI handlers, we have smaller functions which are easy to understand and only touch the pieces which they need to touch. Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi ---

[PATCH v2 09/13] serial: omap: stick to put_autosuspend

2012-08-21 Thread Felipe Balbi
Everytime we're done using our TTY, we want the pm timer to be reinitilized. By sticking to pm_runtime_pm_autosuspend() we make sure that this will always be the case. The idea behind this patch is to make sure we will always reinitialize the pm timer so that we don't fall into a situation where

[PATCH v2 10/13] serial: omap: set dev->drvdata before enabling pm_runtime

2012-08-21 Thread Felipe Balbi
by the time we call our first pm_runtme_get_sync() after enable pm_runtime, our resume method might be called. To avoid problems, we must make sure that our dev->drvdata is set correctly before our resume method gets called. Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi ---

[PATCH v2 11/13] serial: omap: drop unnecessary check from remove

2012-08-21 Thread Felipe Balbi
if platform_get_drvdata() returns NULL, that's quite a nasty bug on the driver which we want to catch ASAP. Otherwise, that check is hugely unneeded. Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 9 +++-- 1 file changed, 3 insertions(+), 6

[PATCH v2 12/13] serial: omap: make sure to suspend device before remove

2012-08-21 Thread Felipe Balbi
before removing the driver, let's make sure to force device into a suspended state in order to conserve power. Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/omap-serial.c

[PATCH v2 13/13] serial: omap: don't save IRQ flags on hardirq

2012-08-21 Thread Felipe Balbi
When we're running our hardirq handler, there's not need to disable IRQs with spin_lock_irqsave() because IRQs are already disabled. It also makes no difference if we save or not IRQ flags. Switch over to simple spin_lock/spin_unlock and drop the "flags" variable. Signed-off-by: Felipe Balbi

[PATCH v2 06/13] serial: omap: simplify IRQ handling

2012-08-21 Thread Felipe Balbi
quite a few changes here, though they are pretty obvious. In summary we're making sure to detect which interrupt type we need to handle before calling the underlying interrupt handling procedure. Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 48

[PATCH v2 05/13] serial: add OMAP-specific defines

2012-08-21 Thread Felipe Balbi
OMAP has some extra Interrupt types which can be really useful for SW. Let's define them so we can later use those in OMAP's serial driver. Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi --- include/linux/serial_reg.h | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 02/13] serial: omap: define helpers for pdata function pointers

2012-08-21 Thread Felipe Balbi
this patch is in preparation to a few other changes which will align on the prototype for function pointers passed through pdata. It also helps cleaning up the driver a little by agregating checks for pdata in a single location. Acked-by: Santosh Shilimkar Signed-off-by: Felipe Balbi ---

[PATCH v2 00/13] OMAP Serial patches

2012-08-21 Thread Felipe Balbi
Hi guys, here's a series of cleanup patches to the OMAP serial driver. A later series could be made re-implementing DMA using the DMA Engine API. Note that for RX DMA we could be using RX Timeout IRQ as a hint that we better use PIO instead ;-) All patches were tested on my pandaboard, but I'd

[PATCH 3/3] Add support to M54xx DMA FEC Driver

2012-08-21 Thread Stany MARCEL
Signed-off-by: Stany MARCEL --- This driver is an adaption of the one given by freescale for kernel 2.6.25. Tested with kernel 3.4.8 with arch/m68k backported from linux-m68k head 2 FEC configured with shared phy drivers/net/ethernet/freescale/Kconfig | 27 +-

[PATCH 1/3] Add support to broadcom 5222 PHY

2012-08-21 Thread Stany MARCEL
Signed-off-by: Stany MARCEL --- This driver is an adaption of the one given by freescale for kernel 2.6.25. Tested with kernel 3.4.8 with arch/m68k backported from linux-m68k head 2 FEC configured with shared phy drivers/net/phy/Kconfig|7 +- drivers/net/phy/Makefile |

Re: [PATCH] fbcon: fix race condition between console lock and cursor timer

2012-08-21 Thread Peter Zijlstra
On Tue, 2012-08-21 at 10:15 +0100, Alan Cox wrote: > > So after much tracing with direct netconsole writes (printks > > under console_lock not so useful), I think I found the race. > > Direct netconsole write would be a useful patch to have mainline I think > 8) could we make that use the

Re: [PATCHv6 2/2] ARM: dma-mapping: remove custom consistent dma region

2012-08-21 Thread Hiroshi Doyu
Hiroshi Doyu wrote @ Tue, 21 Aug 2012 13:22:35 +0200: > Hi, > > On Mon, 30 Jul 2012 10:28:19 +0200 > Marek Szyprowski wrote: > > > This patch changes dma-mapping subsystem to use generic vmalloc areas > > for all consistent dma allocations. This increases the total size limit > > of the

Re: [PATCH] fbcon: fix race condition between console lock and cursor timer

2012-08-21 Thread Peter Zijlstra
On Tue, 2012-08-21 at 16:40 +1000, Dave Airlie wrote: > So after much tracing with direct netconsole writes (printks > under console_lock not so useful) I always use earlyprintk on serial.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 1/1] xhci: Unconditionally switch ports to xHCI on powerup

2012-08-21 Thread Andiry Xu
On Tue, Aug 21, 2012 at 12:06 PM, wrote: > From: Manoj Iyer > > USB 3.0 devices show up as high-speed devices on powerup, after an > s3 cycle they are correctly recognized as SuperSpeed. At powerup > unconditionally switch the port to xHCI like we do when we resume > from suspend. > > BugLink:

[PATCH] memory-hotplug: fix a drain pcp bug when offline pages

2012-08-21 Thread qiuxishi
From: Xishi Qiu When offline a section, we move all the free pages and pcp into MIGRATE_ISOLATE list first. start_isolate_page_range() set_migratetype_isolate() drain_all_pages(), Here is a problem, it is not sure that pcp will be moved into MIGRATE_ISOLATE list. They

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread J. Bruce Fields
On Tue, Aug 21, 2012 at 03:09:05PM +0400, Pavel Emelyanov wrote: > On 08/21/2012 02:54 PM, Cyrill Gorcunov wrote: > > On Tue, Aug 21, 2012 at 02:49:47PM +0400, Pavel Emelyanov wrote: > > However, if you have some better ideas on what information about inode > should be exported >

Re: ext4 write performance regression in 3.6-rc1 on RAID0/5

2012-08-21 Thread Fengguang Wu
On Tue, Aug 21, 2012 at 05:42:21PM +0800, Fengguang Wu wrote: > On Sat, Aug 18, 2012 at 06:44:57AM +1000, NeilBrown wrote: > > On Fri, 17 Aug 2012 22:25:26 +0800 Fengguang Wu > > wrote: > > > > > [CC md list] > > > > > > On Fri, Aug 17, 2012 at 09:40:39AM -0400, Theodore Ts'o wrote: > > > > On

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread J. Bruce Fields
On Tue, Aug 21, 2012 at 02:49:47PM +0400, Pavel Emelyanov wrote: > On 08/21/2012 02:42 PM, Aneesh Kumar K.V wrote: > > Pavel Emelyanov writes: > > > >> On 08/20/2012 11:32 PM, J. Bruce Fields wrote: > >>> On Mon, Aug 20, 2012 at 11:06:06PM +0400, Cyrill Gorcunov wrote: > On Mon, Aug 20,

Re: [PATCH v2] perf/x86: fix SNB-EP CBOX and PCU uncore PMU filter management

2012-08-21 Thread Peter Zijlstra
On Tue, 2012-08-21 at 13:59 +0200, Stephane Eranian wrote: > The existing code had a bug whereby it would refuse to > measure two events in a group for either CBO or PCU PMUs, > if one of the events was using a filter. This was due to > the fact that the kernel assumed all CBO and PCU events >

Re: [PATCH v2 3/4] gpio: exynos4: skip gpiolib registration if pinctrl driver is used

2012-08-21 Thread Linus Walleij
On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham wrote: > Pinctrl driver, when enabled, registers all the gpio pins and hence the > registration of gpio pins by this driver can be skipped. > > Acked-by: Grant Likely > Acked-by: Linus Walleij > Signed-off-by: Thomas Abraham > +#ifdef CONFIG_OF

Re: [RFC/PATCH 4/4] gpio: smscece: Add support for gpio IO expander feature

2012-08-21 Thread Felipe Balbi
Hi, On Tue, Aug 21, 2012 at 05:17:37PM +0530, Poddar, Sourav wrote: > >> + if (type & IRQ_TYPE_LEVEL_HIGH) > >> + sg->int_lvl[bank] |= bit; > >> + else if (type & IRQ_TYPE_LEVEL_LOW) > >> + sg->int_lvl[bank] &= ~bit; > >> + else > >> + return

Re: [PATCH v2 4/4] ARM: EXYNOS: skip wakeup interrupt setup if pinctrl driver is used

2012-08-21 Thread Linus Walleij
On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham wrote: > Pinctrl driver includes support for configuring the external wakeup > interrupts. On exynos platforms that use pinctrl driver, the setup > of wakeup interrupts in the exynos platform code can be skipped. > > Cc: Kukjin Kim >

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-21 Thread Lee Jones
On Tue, Aug 21, 2012 at 12:03:29PM +0100, Mark Brown wrote: > On Tue, Aug 21, 2012 at 11:54:14AM +0100, Lee Jones wrote: > > On Tue, Aug 21, 2012 at 10:50:27AM +0100, Mark Brown wrote: > > > > What makes you say this? This is just a convenience for finding a > > > domain, irqdomains are

Re: [PATCH v2 2/4] pinctrl: add exynos4210 specific extensions for samsung pinctrl driver

2012-08-21 Thread Linus Walleij
On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham wrote: > Add information about the Exynos4210 pin banks and driver data which is > used by the Samsung pinctrl driver. In addition to this, the support for > external gpio and wakeup interrupt support is included and hooked up with > the Samsung

Re: [RFC/PATCH 02/13] serial: omap: always return IRQ_HANDLED

2012-08-21 Thread Felipe Balbi
On Tue, Aug 21, 2012 at 12:50:05PM +0100, Alan Cox wrote: > On Tue, 21 Aug 2012 12:15:44 +0300 > Felipe Balbi wrote: > > > Even if we enter our IRQ handler just to notice > > that the our device didn't generate the IRQ, > > that still means "handling" and IRQ, so let's > > return IRQ_HANDLED. >

[PATCH v2] perf/x86: fix SNB-EP CBOX and PCU uncore PMU filter management

2012-08-21 Thread Stephane Eranian
The existing code had a bug whereby it would refuse to measure two events in a group for either CBO or PCU PMUs, if one of the events was using a filter. This was due to the fact that the kernel assumed all CBO and PCU events were using filters, and thus would detect false positive conflicts

Re: inux-next: Tree for Aug 21 (call-trace when suspending: PM?)

2012-08-21 Thread Daniel Vetter
>>>> reverted 3 commits from the signal tree at the request of the arm >>>> maintainer. >>>> >>>> >>>> >>> >>> Hi, >>> >>> I

Re: [PATCH 1/1] ASoC: codecs: Enable AB8500 CODEC for Device Tree

2012-08-21 Thread Lee Jones
On Mon, Aug 20, 2012 at 03:36:53PM +0100, Mark Brown wrote: > On Mon, Aug 20, 2012 at 12:34:31PM +0100, Lee Jones wrote: > > From: Lee Jones > > Date: Fri, 27 Jul 2012 08:50:05 +0100 > > Subject: [PATCH 1/1] ASoC: codecs: Enable AB8500 CODEC for Device Tree > > > > We continue to allow the

[PATCH] unicore32: select generic atomic64_t support

2012-08-21 Thread Fengguang Wu
It's required for the core fs/namespace.c and many other basic features. CC: "Eric W. Biederman" Signed-off-by: Guan Xuetao Signed-off-by: Fengguang Wu --- arch/unicore32/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux.orig/arch/unicore32/Kconfig 2012-08-17 11:13:49.184134240

Re: [RFC/PATCH 4/4] gpio: smscece: Add support for gpio IO expander feature

2012-08-21 Thread Poddar, Sourav
Hi, On Tue, Aug 21, 2012 at 4:23 PM, Felipe Balbi wrote: > Hi, > > On Tue, Aug 21, 2012 at 04:15:40PM +0530, Sourav Poddar wrote: >> smsc can be used as an gpio io expander device also. So adding >> support for configuring smsc pins as a gpio. >> >> Cc: Benoit Cousson >> Cc: Felipe Balbi >>

[PATCH] score: select generic atomic64_t support

2012-08-21 Thread Fengguang Wu
It's required for the core fs/namespace.c and many other basic features. Acked-by: Lennox Wu Signed-off-by: Fengguang Wu --- arch/score/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux.orig/arch/score/Kconfig 2012-08-17 11:13:49.184134240 +0800 +++ linux/arch/score/Kconfig

Re: [PATCH] perf/x86: fix SNB-EP CBO and PCU uncore PMU filter management

2012-08-21 Thread Stephane Eranian
On Tue, Aug 21, 2012 at 12:46 PM, Peter Zijlstra wrote: > On Mon, 2012-08-20 at 18:22 +0200, Stephane Eranian wrote: >> .constraints= snbep_uncore_cbox_constraints, >> .ops= _uncore_msr_ops, >> .format_group =

[PATCH v2 2/2] [powerpc] Export memory limit via device tree

2012-08-21 Thread Suzuki K. Poulose
The powerpc kernel doesn't export the memory limit enforced by 'mem=' kernel parameter. This is required for building the ELF header in kexec-tools to limit the vmcore to capture only the used memory. On powerpc the kexec-tools depends on the device-tree for memory related information, unlike

[PATCH v2 1/2] [powerpc] Change memory_limit from phys_addr_t to unsigned long long

2012-08-21 Thread Suzuki K. Poulose
There are some device-tree nodes, whose values are of type phys_addr_t. The phys_addr_t is variable sized based on the CONFIG_PHSY_T_64BIT. Change these to a fixed unsigned long long for consistency. This patch does the change only for memory_limit. The following is a list of such variables

[PATCH v2 0/2][powerpc] Export memory_limit via device tree

2012-08-21 Thread Suzuki K. Poulose
The following series exports the linux memory_limit set by the mem= parameter via device-tree, so that kexec-tools can limit the crash regions to the actual memory used by the kernel. Change since V1: * Added a patch to change the type of memory_limit to a fixed size(unsigned long long) from

RE: [RFC PATCH][RESEND] Fusion MPT: disable pci device when mpt map resoures failed

2012-08-21 Thread Nandigama, Nagalakshmi
This patch seem to be fine. Please consider this patch as Acked-by: "Nandigama, Nagalakshmi" Regards, Nagalakshmi -Original Message- From: Hanjun Guo [mailto:guohan...@huawei.com] Sent: Saturday, August 11, 2012 8:29 AM To: Moore, Eric Cc: Yinghai Lu; Yijing Wang;

[PATCH] rtc: Kconfig: remove unnecessary dependencies.

2012-08-21 Thread Venu Byravarasu
removed "depends on RTC_CLASS = y" for multiple Kconfig definitions, as all of them were placed under "if RTC_CLASS". Signed-off-by: Venu Byravarasu --- drivers/rtc/Kconfig | 26 -- 1 files changed, 8 insertions(+), 18 deletions(-) diff --git a/drivers/rtc/Kconfig

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-21 Thread Matthew Garrett
On Tue, Aug 21, 2012 at 11:42:04AM +0200, Ingo Molnar wrote: > * Matthew Garrett wrote: > > [...] Putting this kind of policy in the kernel is an awful > > idea. [...] > > A modern kernel better know what state the system is in: on > battery or on AC power. That's a fundamentally

Re: [RFC/PATCH 02/13] serial: omap: always return IRQ_HANDLED

2012-08-21 Thread Alan Cox
On Tue, 21 Aug 2012 12:15:44 +0300 Felipe Balbi wrote: > Even if we enter our IRQ handler just to notice > that the our device didn't generate the IRQ, > that still means "handling" and IRQ, so let's > return IRQ_HANDLED. That looks wrong - you'll defeat the stuck IRQ protection. If we didn't

Re: [PATCH 2/4] Input: keypad: Add smsc ece1099 keypad driver

2012-08-21 Thread Poddar, Sourav
Hi, On Tue, Aug 21, 2012 at 4:16 PM, Felipe Balbi wrote: > Hi, > > On Tue, Aug 21, 2012 at 04:15:38PM +0530, Sourav Poddar wrote: >> +static struct platform_driver smsc_driver = { >> + .driver = { >> + .name = "smsc-keypad", >> + .of_match_table =

Re: [PATCH 2/4] Input: keypad: Add smsc ece1099 keypad driver

2012-08-21 Thread Poddar, Sourav
Hi, On Tue, Aug 21, 2012 at 4:15 PM, Felipe Balbi wrote: > On Tue, Aug 21, 2012 at 04:15:38PM +0530, Sourav Poddar wrote: >> From: G, Manjunath Kondaiah >> >> SMSC ECE1099 is a keyboard scan or GPIO expansion device.The device >> supports a keypad scan matrix of 23*8.This driver uses this >>

Re: [PATCH v2 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-21 Thread Linus Walleij
On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham wrote: > Add a new device tree enabled pinctrl and gpiolib driver for Samsung > SoC's. Thanks for doing this Thomas, great work! > +++ b/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt I don't understand the rules around bindings

Re: [PATCH v3 2/2] powerpc: Uprobes port to powerpc

2012-08-21 Thread Ananth N Mavinakayanahalli
On Fri, Aug 17, 2012 at 05:00:31PM +0200, Oleg Nesterov wrote: > On 08/17, Ananth N Mavinakayanahalli wrote: > > > > On Thu, Aug 16, 2012 at 05:21:12PM +0200, Oleg Nesterov wrote: > > > > > Hmm, I am not sure. is_swbp_insn(insn), as it is used in the arch agnostic > > > code, should only return

Re: [PATCH] gpio: bt8xx: Fix build error due to missing include file

2012-08-21 Thread Mauro Carvalho Chehab
Hi Axel, Em 21-08-2012 06:37, Axel Lin escreveu: > This patch fixes below build error: > > CC [M] drivers/gpio/gpio-bt8xx.o > drivers/gpio/gpio-bt8xx.c:53:40: fatal error: ../media/video/bt8xx/bt848.h: > No such file or directory > compilation terminated. > make[2]: ***

[PATCH] staging: octeon: Add prevent NAPI from scheduling IN-REPLY-TO:

2012-08-21 Thread Marina Makienko
Please ignore previous message. -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCHv6 2/2] ARM: dma-mapping: remove custom consistent dma region

2012-08-21 Thread Hiroshi Doyu
Hi, On Mon, 30 Jul 2012 10:28:19 +0200 Marek Szyprowski wrote: > This patch changes dma-mapping subsystem to use generic vmalloc areas > for all consistent dma allocations. This increases the total size limit > of the consistent allocations and removes platform hacks and a lot of > duplicated

Re: [PATCH 1/1] xhci: Unconditionally switch ports to xHCI on powerup

2012-08-21 Thread Sergei Shtylyov
Hello. On 21-08-2012 8:06, manoj.i...@canonical.com wrote: From: Manoj Iyer USB 3.0 devices show up as high-speed devices on powerup, after an s3 cycle they are correctly recognized as SuperSpeed. At powerup unconditionally switch the port to xHCI like we do when we resume from suspend.

Re: [PATCH 3/4] arm/dts: omap5-evm: Add keypad support

2012-08-21 Thread Poddar, Sourav
Hi, On Tue, Aug 21, 2012 at 4:17 PM, Felipe Balbi wrote: > On Tue, Aug 21, 2012 at 04:15:39PM +0530, Sourav Poddar wrote: >> Add keypad data node in omap5-evm. >> >> Based on I2C support patch for omap5, which has been >> already posted as a different series. >> >> Cc: Benoit Cousson >> Cc:

Re: inux-next: Tree for Aug 21 (call-trace when suspending: PM?)

2012-08-21 Thread Sedat Dilek
has its build failure so I used the version >>> from next-20120817. >>> >>> The signal tree gained a conflict against Linus' tree. I have still >>> reverted 3 commits from the signal tree at the request of the arm >>> maintainer. >>> >&g

Re: [RFC/PATCH 10/13] serial: omap: stick to put_autosuspend

2012-08-21 Thread Felipe Balbi
Hi, On Tue, Aug 21, 2012 at 02:02:46PM +0300, Felipe Balbi wrote: > On Tue, Aug 21, 2012 at 04:35:26PM +0530, Shilimkar, Santosh wrote: > > On Tue, Aug 21, 2012 at 4:27 PM, Felipe Balbi wrote: > > > On Tue, Aug 21, 2012 at 04:12:11PM +0530, Shilimkar, Santosh wrote: > > >> On Tue, Aug 21, 2012

[PATCH 3/3] staging/vme: Use pr_ printks in vme_pio2_core.c

2012-08-21 Thread Toshiaki Yamane
The below checkpatch warnings was fixed, -WARNING: Prefer pr_err(... to printk(KERN_ERR, ... and added pr_fmt. Signed-off-by: Toshiaki Yamane --- drivers/staging/vme/devices/vme_pio2_core.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 2/3] staging/vme: Use pr_ printks in vme_user.c

2012-08-21 Thread Toshiaki Yamane
The below checkpatch warnings was fixed, -WARNING: Prefer pr_info(... to printk(KERN_INFO, ... -WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ... -WARNING: Prefer pr_warn(... to printk(KERN_WARNING, ... -WARNING: Prefer pr_err(... to printk(KERN_ERR, ... and added pr_fmt. Signed-off-by:

[PATCH 1/3] Staging: vme: Fix a white space issue

2012-08-21 Thread Toshiaki Yamane
The below checkpatch error was fixed. -ERROR: trailing whitespace Signed-off-by: Toshiaki Yamane --- drivers/staging/vme/devices/vme_user.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c

Re: [PATCH 2/5] staging/vme: fix checkpatch warning

2012-08-21 Thread Toshiaki Yamane
On Fri, Aug 17, 2012 at 11:30 PM, Toshiaki Yamane wrote: > On Fri, Aug 17, 2012 at 10:19 PM, Greg Kroah-Hartman > wrote: >> On Fri, Aug 17, 2012 at 05:27:53PM +0900, Toshiaki Yamane wrote: >>> On Fri, Aug 17, 2012 at 4:46 PM, Dan Carpenter >>> wrote: >>> > You've got the same subject repeated

Re: [PATCH 0/5] X86/XEN: Merge x86_init.paging.pagetable_setup_start and x86_init.paging.pagetable_setup_done PVOPS and document the semantic

2012-08-21 Thread Stefano Stabellini
On Tue, 21 Aug 2012, Attilio Rao wrote: > Currently the definition of x86_init.paging.pagetable_setup_start and > x86_init.paging.pagetable_setup_done is twisted and not really well > defined (in terms of prototypes desired). More specifically: > pagetable_setup_start: > * it is a nop on x86_32 >

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread Pavel Emelyanov
On 08/21/2012 02:54 PM, Cyrill Gorcunov wrote: > On Tue, Aug 21, 2012 at 02:49:47PM +0400, Pavel Emelyanov wrote: However, if you have some better ideas on what information about inode should be exported to the userspace please share. >>> >>> Why not use

Re: [RFC/PATCH 10/13] serial: omap: stick to put_autosuspend

2012-08-21 Thread Felipe Balbi
On Tue, Aug 21, 2012 at 04:35:26PM +0530, Shilimkar, Santosh wrote: > On Tue, Aug 21, 2012 at 4:27 PM, Felipe Balbi wrote: > > On Tue, Aug 21, 2012 at 04:12:11PM +0530, Shilimkar, Santosh wrote: > >> On Tue, Aug 21, 2012 at 2:45 PM, Felipe Balbi wrote: > >> > Everytime we're done using our TTY,

Re: [RFC/PATCH 10/13] serial: omap: stick to put_autosuspend

2012-08-21 Thread Shilimkar, Santosh
On Tue, Aug 21, 2012 at 4:27 PM, Felipe Balbi wrote: > On Tue, Aug 21, 2012 at 04:12:11PM +0530, Shilimkar, Santosh wrote: >> On Tue, Aug 21, 2012 at 2:45 PM, Felipe Balbi wrote: >> > Everytime we're done using our TTY, we want >> > the pm timer to be reinitilized. By sticking >> > to

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-21 Thread Vincent Guittot
On 21 August 2012 02:58, Alex Shi wrote: > On 08/20/2012 11:36 PM, Vincent Guittot wrote: > >>> > What you want it to keep track of a per-cpu utilization level (inverse >>> > of idle-time) and using PJTs per-task runnable avg see if placing the >>> > new task on will exceed the utilization limit.

Re: inux-next: Tree for Aug 21 (call-trace when suspending: PM?)

2012-08-21 Thread Sedat Dilek
gained a conflict against Linus' tree. I have still >> reverted 3 commits from the signal tree at the request of the arm >> maintainer. >> >> ---- >> > > Hi, > > I have compiled linux-next

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-21 Thread Mark Brown
On Tue, Aug 21, 2012 at 11:54:14AM +0100, Lee Jones wrote: > On Tue, Aug 21, 2012 at 10:50:27AM +0100, Mark Brown wrote: > > What makes you say this? This is just a convenience for finding a > > domain, irqdomains are *completely* indepentant of device tree. > How can you say that? I think you

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