Re: [PATCH] zram: Prevent use of unmapped buffer

2012-11-26 Thread Tomas M
Good work. The patch fixes a serious bug on 3.6.5, 3.6.6, 3.6.7 and 3.6.8 I hope it gets mainlined ASAP Tomas M slax.org On Tue, Nov 27, 2012 at 8:26 AM, Nitin Gupta wrote: > The commit c8f2f0db1 ("zram: Fix handling of incompressible pages") > introduced a bug which caused a kunmap()'ed

[PATCH 3/3] tools/hv: Fix permissions of created directory and files

2012-11-26 Thread Tomas Hozza
From: Ben Hutchings It's silly to create directories without execute permission, or to give permissions to 'other' but not the group-owner. Write the permissions in octal and 'ls -l' format since these are much easier to read than the named macros. Signed-off-by: Ben Hutchings Signed-off-by:

[PATCH 2/3] tools/hv: Fix /var subdirectory

2012-11-26 Thread Tomas Hozza
Initial patch by Ben Hutchings We will install this in /usr, so it must use /var/lib for its state. Only programs installed under /opt should use /var/opt. Signed-off-by: Tomas Hozza --- tools/hv/hv_kvp_daemon.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 1/3] tools/hv: Fix for long file names from readdir

2012-11-26 Thread Tomas Hozza
kvp_get_if_name and kvp_mac_to_if_name copy strings into statically sized buffers which could be too small to store really long names. Buffer sizes have been changed to PATH_MAX, include "limits.h" where PATH_MAX is defined was added and length checks ware added via snprintf. Signed-off-by:

Re: [PATCH v2 00/14] fuse: An attempt to implement a write-back cache policy

2012-11-26 Thread Maxim V. Patlasov
Hi Feng, 11/27/2012 05:04 AM, Feng Shuo пишет: Hi Maxim, I'm new to fuse but have some experience with NFS. From my understanding after reviewing your patchset, it seems only work with local file system or a distributed file system whose file is never modified (could be grown but no or very

Re: [PATCH 2/4 v2] irqdomain: augment add_simple() to allocate descs

2012-11-26 Thread Linus Walleij
On Tue, Nov 27, 2012 at 1:24 AM, Rob Herring wrote: > My objection was removing completely (which a pr_debug effectively > does). I think Grant is saying just make the warning more informative > about why it failed which is fine with me. nr_irqs is already printed > out, so that provides some

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Marek Szyprowski
Hello, On 11/27/2012 8:39 AM, Prabhakar Lad wrote: Hi Marek, On Tue, Nov 27, 2012 at 12:53 PM, Marek Szyprowski wrote: > Hello, > > > On 11/27/2012 6:59 AM, Prabhakar Lad wrote: >> >> From: Lad, Prabhakar >> >> from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds >> a check

Re: Recent kernel "mount" slow

2012-11-26 Thread Jens Axboe
On 2012-11-27 08:38, Jens Axboe wrote: > On 2012-11-27 06:57, Jeff Chua wrote: >> On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua wrote: >>> On Sun, Nov 25, 2012 at 5:09 AM, Mikulas Patocka >>> wrote: So it's better to slow down mount. >>> >>> I am quite proud of the linux boot time pitting

Re: [PATCH 1/7] mfd: max8925: add irqdomain for dt

2012-11-26 Thread Qing Xu
On 11/23/2012 05:05 PM, Haojian Zhuang wrote: On Tue, Nov 6, 2012 at 3:37 PM, Qing Xu wrote: From: Qing Xu Add irqdomains for max8925's main irq, and touch irq. Wrap irq register operations into irqdomain's map func. it is necessary for dt support. Also, add dt support for max8925 driver.

Re: [PATCH] ARM: eukrea_mbimx27-baseboard - use stock get_pendown_state() in ads7846

2012-11-26 Thread Sascha Hauer
On Sat, Nov 24, 2012 at 12:25:30AM -0800, Dmitry Torokhov wrote: > The default implementation matches exactly our custom one so we can switch > to using the default one. As a bonus the driver will take care of setting > GPIO line for us. > > Signed-off-by: Dmitry Torokhov > --- > > Not tested -

[PATCH v2 7/7] mfd: max8925: add dts

2012-11-26 Thread Qing Xu
From: Qing Xu add max8925 dts support into mmp2 brownstone platform Signed-off-by: Qing Xu --- arch/arm/boot/dts/mmp2-brownstone.dts | 158 + arch/arm/boot/dts/mmp2.dtsi |4 +- 2 files changed, 161 insertions(+), 1 deletions(-) diff --git

Re: Recent kernel "mount" slow

2012-11-26 Thread Jens Axboe
On 2012-11-27 06:57, Jeff Chua wrote: > On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua wrote: >> On Sun, Nov 25, 2012 at 5:09 AM, Mikulas Patocka wrote: >>> So it's better to slow down mount. >> >> I am quite proud of the linux boot time pitting against other OS. Even >> with 10 partitions. Linux

Re: [PATCH] acer-wmi: add Aspire 5741G touchpad toggle key

2012-11-26 Thread Sergey Senozhatsky
On (11/27/12 14:31), joeyli wrote: > 於 一,2012-11-26 於 21:35 +0300,Sergey Senozhatsky 提到: > > Add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap, preventing > > "acer_wmi: Unknown key number - 0x85" error. > > > > > > Signed-off-by: Sergey Senozhatsky > > Signed-off-by: Lee, Chun-Yi > >

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
Hi Marek, On Tue, Nov 27, 2012 at 12:53 PM, Marek Szyprowski wrote: > Hello, > > > On 11/27/2012 6:59 AM, Prabhakar Lad wrote: >> >> From: Lad, Prabhakar >> >> from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds >> a check HAVE_GENERIC_DMA_COHERENT for dma ops, the check was

Re: linux-next: Tree for Nov 26 (staging/fwserial)

2012-11-26 Thread Peter Hurley
On Mon, 2012-11-26 at 15:20 -0800, Andrew Morton wrote: > On Mon, 26 Nov 2012 12:56:07 -0800 > Randy Dunlap wrote: > > > On 11/26/2012 06:17 AM, Stephen Rothwell wrote: > > > > > Hi all, > > > > > > Changes since 20121115: > > > > > > > > > on i386: > > > >

[PATCH v2 1/7] mfd: max8925: add irqdomain for dt

2012-11-26 Thread Qing Xu
From: Qing Xu Add irqdomains for max8925's main irq, wrap irq register operations into irqdomain's map func. it is necessary for dt support. Also, add dt support for max8925 driver. Signed-off-by: Qing Xu --- drivers/mfd/max8925-core.c | 69 ++-

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Dave Airlie
> > Third would be having a firewall in 2D driver checking the stream and > ensuring all registers that accept addresses are written by values > derived from dmabufs. I haven't tried implementing this, but it'd > involve a lookup table in kernel and CPU reading through the command > stream.

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
Hi, On Tue, Nov 27, 2012 at 12:47 PM, Kyungmin Park wrote: > Hi, > > Does it right to use CONFIG_HAVE_GENERIC_DMA_COHERENT? > it defined at init/Kconfig > > config HAVE_GENERIC_DMA_COHERENT > bool > default n > and use at C file or header file as CONFIG_ prefix? > e.g.,

[PATCH 2/2] zram: reduce metadata overhead

2012-11-26 Thread Nitin Gupta
For every allocated object, zram maintains the the handle, size, flags and count fields. Of these, only the handle is required since zsmalloc now provides the object size given the handle. The flags field was needed only to mark a given page as zero-filled. Instead of this field, we now use an

[PATCH 1/2] zsmalloc: add function to query object size

2012-11-26 Thread Nitin Gupta
Adds zs_get_object_size(handle) which provides the size of the given object. This is useful since the user (zram etc.) now do not have to maintain object sizes separately, saving on some metadata size (4b per page). The object handle encodes pair which currently points to the start of the

[PATCH] zram: Prevent use of unmapped buffer

2012-11-26 Thread Nitin Gupta
The commit c8f2f0db1 ("zram: Fix handling of incompressible pages") introduced a bug which caused a kunmap()'ed buffer to be used in case of partial writes where the data was found to be incompressible. This fixes bug 50081: https://bugzilla.kernel.org/show_bug.cgi?id=50081 Signed-off-by: Nitin

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Marek Szyprowski
Hello, On 11/27/2012 6:59 AM, Prabhakar Lad wrote: From: Lad, Prabhakar from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds a check HAVE_GENERIC_DMA_COHERENT for dma ops, the check was wrongly made it should have been HAVE_GENERIC_DMA_COHERENT but it was

Re: Re: Re: [GIT PULL] extcon for Linux 3.8

2012-11-26 Thread MyungJoo Ham
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > On Tue, Nov 27, 2012 at 12:54:30AM +, MyungJoo Ham wrote: > > > On Thu, Nov 22, 2012 at 01:51:10PM +0900, MyungJoo Ham wrote: > > > > Please pull extcon patches for Linux 3.8. > > > > > > This is not a signed-tag pull request, which I thought

Re: linux-next: Tree for Nov 26 (staging/fwserial)

2012-11-26 Thread Peter Hurley
On Mon, 2012-11-26 at 12:56 -0800, Randy Dunlap wrote: > On 11/26/2012 06:17 AM, Stephen Rothwell wrote: > > > Hi all, > > > > Changes since 20121115: > > > > > on i386: > > drivers/staging/fwserial/dma_fifo.c: In function 'dma_fifo_in': > drivers/staging/fwserial/dma_fifo.c:174:2: error:

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Kyungmin Park
Hi, Does it right to use CONFIG_HAVE_GENERIC_DMA_COHERENT? it defined at init/Kconfig config HAVE_GENERIC_DMA_COHERENT bool default n and use at C file or header file as CONFIG_ prefix? e.g., include/asm-generic/dma-coherent.h:#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT Thank you,

[PATCH] mfd: tps65090: MFD_TPS65090 needs to select REGMAP_IRQ

2012-11-26 Thread Axel Lin
This fixes below build error: drivers/built-in.o: In function `tps65090_i2c_probe': drivers/mfd/tps65090.c:180: undefined reference to `regmap_add_irq_chip' drivers/mfd/tps65090.c:190: undefined reference to `regmap_irq_chip_get_base' drivers/mfd/tps65090.c:203: undefined reference to

Re: [PATCH] extcon: arizona: Only set GPIO if it has been requested

2012-11-26 Thread Chanwoo Choi
On 11/27/2012 03:35 PM, Mark Brown wrote: > On Tue, Nov 27, 2012 at 08:26:35AM +0900, Chanwoo Choi wrote: >> On 11/26/2012 08:28 PM, Mark Brown wrote: > >>> + if (arizona->pdata.micd_pol_gpio > 0) >>> + gpio_set_value_cansleep(arizona->pdata.micd_pol_gpio, >>> +

RE: [PATCH RESEND 0/7] MFD: ti_am335x_tscadc: DT support and TSC features addition

2012-11-26 Thread Patil, Rachna
Hi Samuel, On Wed, Nov 21, 2012 at 22:30:21, Samuel Ortiz wrote: > Hi Rachna, > > On Fri, Nov 16, 2012 at 10:33:00AM +, Patil, Rachna wrote: > > Hi, > > > > This is just a gentle reminder of the patch set I had posted earlier viz. > > "[PATCH RESEND 0/7] MFD: ti_am335x_tscadc: DT support

Re: [PATCH v3 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-26 Thread Jianguo Wu
On 2012/11/27 14:49, Wen Congyang wrote: > At 11/27/2012 01:47 PM, Jianguo Wu Wrote: >> On 2012/11/1 17:44, Wen Congyang wrote: >> >>> From: Yasuaki Ishimatsu >>> >>> All pages of virtual mapping in removed memory cannot be freed, since some >>> pages >>> used as PGD/PUD includes not only

RE: [PATCH RESEND 6/7] input: ti_am335x_tsc: Add DT support

2012-11-26 Thread Patil, Rachna
Hi Dmitry, On Thu, Nov 22, 2012 at 00:02:23, Dmitry Torokhov wrote: > Hi Rachna, > > On Wed, Nov 07, 2012 at 12:22:03PM +0530, Patil, Rachna wrote: > > Add DT support for client touchscreen driver > > > > Signed-off-by: Patil, Rachna > > --- > > drivers/input/touchscreen/ti_am335x_tsc.c |

[PATCH -next] staging/fwserial: Fix build breakage when !CONFIG_BUG

2012-11-26 Thread Peter Hurley
Use WARN() as intended. Signed-off-by: Peter Hurley --- drivers/staging/fwserial/dma_fifo.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/fwserial/dma_fifo.c b/drivers/staging/fwserial/dma_fifo.c index 72aa053..5e84634 100644 ---

Re: Hang in md-raid1 with 3.7-rcX

2012-11-26 Thread Torsten Kaiser
On Tue, Nov 27, 2012 at 2:05 AM, NeilBrown wrote: > On Sat, 24 Nov 2012 10:18:44 +0100 Torsten Kaiser > wrote: > >> After my system got stuck with 3.7.0-rc2 as reported in >> http://marc.info/?l=linux-kernel=135142236520624 LOCKDEP seem to >> blame XFS, because it found 2 possible deadlocks. But

RE: [PATCH RESEND 3/7] input: ti_am335x_tsc: Add variance filter

2012-11-26 Thread Patil, Rachna
On Thu, Nov 22, 2012 at 00:03:50, Dmitry Torokhov wrote: > Hi Rachna, Hi Dmitry, > > On Wed, Nov 07, 2012 at 12:22:00PM +0530, Patil, Rachna wrote: > > Only fine tuning variance parameter present in tslib utility does not > > help in removing all the ADC noise. > > This logic of filtering is

Re: [PATCH v3 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-26 Thread Wen Congyang
At 11/27/2012 01:47 PM, Jianguo Wu Wrote: > On 2012/11/1 17:44, Wen Congyang wrote: > >> From: Yasuaki Ishimatsu >> >> All pages of virtual mapping in removed memory cannot be freed, since some >> pages >> used as PGD/PUD includes not only removed memory but also other memory. So >> the >>

Re: [PATCH v3 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-26 Thread Wen Congyang
At 11/27/2012 01:47 PM, Jianguo Wu Wrote: > On 2012/11/1 17:44, Wen Congyang wrote: > >> From: Yasuaki Ishimatsu >> >> All pages of virtual mapping in removed memory cannot be freed, since some >> pages >> used as PGD/PUD includes not only removed memory but also other memory. So >> the >>

[PATCH 2/2] ARM: tegra: moving stuff away from mach/clk.h

2012-11-26 Thread Sivaram Nair
This patch moves some stuff away from mach/clk.h to other mach-tegra files. This is part of the efforts to get rid of mach/clk.h which in turn will help to enable single zImage. Signed-off-by: Sivaram Nair --- arch/arm/mach-tegra/clock.c|1 + arch/arm/mach-tegra/clock.h

[PATCH 1/2] ARM: tegra: remove unused functions in mach/clk.h

2012-11-26 Thread Sivaram Nair
This is a cleaning up patch that removes couple of functions in mach/clk.h that are no longer used and does not have any body. Signed-off-by: Sivaram Nair --- arch/arm/mach-tegra/include/mach/clk.h |5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-tegra/include/mach/clk.h

[PATCH 1/1] ARM: tegra: replace long if statement group

2012-11-26 Thread Sivaram Nair
The long list of if statements are replaced with corresponding switch cases. Signed-off-by: Sivaram Nair --- arch/arm/mach-tegra/tegra30_clocks.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-tegra/tegra30_clocks.c

[PATCH 1/1] memory: tegra30: Fix warning w/o PM_SLEEP

2012-11-26 Thread Hiroshi Doyu
Fix build warning w/o PM_SLEEP. Signed-off-by: Hiroshi Doyu Reviewed-by: Stephen Warren --- drivers/memory/tegra30-mc.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c index 802b9ea..cf10b77 100644 ---

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Terje Bergström
On 27.11.2012 00:15, Dave Airlie wrote: >> static int tegra_drm_open(struct drm_device *drm, struct drm_file *filp) >> { >> - return 0; >> + struct tegra_drm_fpriv *fpriv; >> + int err = 0; >> + >> + fpriv = kzalloc(sizeof(*fpriv), GFP_KERNEL); >> + if (!fpriv) >> +

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-26 Thread Jianguo Wu
On 2012/11/27 13:43, Tang Chen wrote: > On 11/27/2012 11:10 AM, wujianguo wrote: >> On 2012-11-23 18:44, Tang Chen wrote: >>> [What we are doing] >>> This patchset provide a boot option for user to specify ZONE_MOVABLE memory >>> map for each node in the system. >>> >>>

Re: [RFC PATCH 0/5] enable runnable load avg in load balance

2012-11-26 Thread Preeti U Murthy
Hi, On 11/27/2012 11:44 AM, Alex Shi wrote: > On 11/27/2012 11:08 AM, Preeti U Murthy wrote: >> Hi everyone, >> >> On 11/27/2012 12:33 AM, Benjamin Segall wrote: >>> So, I've been trying out using the runnable averages for load balance in >>> a few ways, but haven't actually gotten any improvement

Re: linux-next: manual merge of the net-next tree with the infiniband tree

2012-11-26 Thread Or Gerlitz
On 27/11/2012 02:47, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/mellanox/mlx4/en_rx.c between commit 08ff32352d6f ("mlx4: 64-byte CQE/EQE support") from the infiniband tree and commit f1d29a3fa68b ("mlx4_en: Remove

Re: [Qemu-devel] [PATCH 0/4] AER-KVM: Error containment of PCI pass-thru devices assigned to KVM guests

2012-11-26 Thread Gleb Natapov
On Mon, Nov 26, 2012 at 09:46:12PM -0200, Marcelo Tosatti wrote: > On Tue, Nov 20, 2012 at 02:09:46PM +, Pandarathil, Vijaymohan R wrote: > > > > > > > -Original Message- > > > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > > > Sent: Tuesday, November 20, 2012 5:41 AM > > > To:

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

2012-11-26 Thread Jason Wang
On 11/27/2012 01:37 AM, Stephen Hemminger wrote: On Mon, 26 Nov 2012 15:56:52 +0800 Jason Wang wrote: Some deivces do not free the old tx skbs immediately after it has been sent (usually in tx interrupt). One such example is virtio-net which optimizes for virt and only free the possible old

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

2012-11-26 Thread Daniel J Blueman
Use appropriate types for northbridge IDs and memory ranges. v7: Refactor patches grouping changes Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/amd_nb.h |2 +- drivers/edac/amd64_edac.c | 20 ++-- drivers/edac/amd64_edac.h |6 +++--- 3 files

Re: [PATCH] extcon: arizona: Only set GPIO if it has been requested

2012-11-26 Thread Mark Brown
On Tue, Nov 27, 2012 at 08:26:35AM +0900, Chanwoo Choi wrote: > On 11/26/2012 08:28 PM, Mark Brown wrote: > > + if (arizona->pdata.micd_pol_gpio > 0) > > + gpio_set_value_cansleep(arizona->pdata.micd_pol_gpio, > > + info->micd_modes[mode].gpio); >

[PATCH 3/4 v7] AMD64 EDAC: Fix PCI function lookup

2012-11-26 Thread Daniel J Blueman
Fix locating sibling memory controller PCI functions by using the correct PCI domain. v7: Refactor patches grouping changes Signed-off-by: Daniel J Blueman --- drivers/edac/amd64_edac.c | 40 +--- 1 file changed, 21 insertions(+), 19 deletions(-) diff

[PATCH 2/4 v7] AMD64 EDAC: Consistently use u16 for northbridge IDs in amd_get_nb_id

2012-11-26 Thread Daniel J Blueman
Change amd_get_nb_id to return u16 to support >255 memory controllers, and related consistency fixes. v7: Refactor patches grouping changes Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/processor.h |2 +- arch/x86/kernel/cpu/amd.c|4 ++-- drivers/edac/amd64_edac.c

[PATCH 1/4 v7] AMD64 EDAC: Add multi-domain support

2012-11-26 Thread Daniel J Blueman
Fix get_node_id to match northbridge IDs from the array of detected ones, allowing multi-server support such as with Numascale's NumaConnect, renaming to 'amd_get_node_id' for consistency. v7: Refactor patches grouping changes Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/amd_nb.h |

Re: [PATCH] acer-wmi: add Aspire 5741G touchpad toggle key

2012-11-26 Thread joeyli
於 一,2012-11-26 於 21:35 +0300,Sergey Senozhatsky 提到: > Add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap, preventing > "acer_wmi: Unknown key number - 0x85" error. > > > Signed-off-by: Sergey Senozhatsky Signed-off-by: Lee, Chun-Yi Thanks for you resend your patch. Joey Lee > > --- > >

Re: [RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Terje Bergström
On 27.11.2012 01:39, Stephen Warren wrote: > Clock names shouldn't be passed in platform data; instead, clk_get() > should be passed the device object and device-relative (i.e. not global) > clock name. I expect if the driver is fixed to make this change, the > changes to tegra*_clocks_data.c

linux-next: Tree for Nov 27

2012-11-26 Thread Stephen Rothwell
Hi all, Changes since 20121126: New tree: f2fs The powerpc tree still had its build failure for which I applied a patch. The v4l-dvb tree lost its build failure. The net-next tree gained a conflict against the infiniband tree. The modules tree still had its build failure so I used

RE: [PATCH v3 03/10] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2012-11-26 Thread Philip, Avinash
On Mon, Nov 26, 2012 at 16:37:36, Bedia, Vaibhav wrote: > Hi Benoit, > > On Mon, Nov 26, 2012 at 14:32:59, Cousson, Benoit wrote: > > Hi Vaibhav, > > > > On 11/26/2012 06:19 AM, Bedia, Vaibhav wrote: > > > On Fri, Nov 23, 2012 at 16:36:06, Philip, Avinash wrote: > > >> On Tue, Nov 20, 2012 at

Re: [PATCH V2 Resend 0/4] Create sched_select_cpu() and use it for workqueues and timers

2012-11-26 Thread Viresh Kumar
Hi Steven, Thanks for sharing your opinion. :) As, this went out to be a long thread of discussion (thanks Paul), i will try to answer everything here. On 26 November 2012 22:10, Steven Rostedt wrote: > This is a really bad time of year to post new patches :-/ > A lot of people are trying to

Re: [PATCH] ioat: remove chanerr mask setting for IOAT v3.x

2012-11-26 Thread Jiang, Dave
On Nov 26, 2012, at 9:56 PM, "Dan Williams" wrote: > On Fri, Nov 16, 2012 at 3:26 PM, Dave Jiang wrote: >> The CHANERRMSK_INT register should be 0. The existing code set a value >> for a workaround to address a pre-silicon bug on the Intel 5520 IO hub that >> has been fixed when the hardware

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-26 Thread H. Peter Anvin
On 11/26/2012 09:43 PM, Tang Chen wrote: And about how to fix it, as you said, we can handle the situation if user specified DMA address as movable. But how to handle "too little memory for kernel to start" case ? Is there any info about how much at least memory kernel needs ? Not really,

Re: [RFC PATCH 0/5] enable runnable load avg in load balance

2012-11-26 Thread Alex Shi
On 11/27/2012 11:08 AM, Preeti U Murthy wrote: > Hi everyone, > > On 11/27/2012 12:33 AM, Benjamin Segall wrote: >> So, I've been trying out using the runnable averages for load balance in >> a few ways, but haven't actually gotten any improvement on the >> benchmarks I've run. I'll post my

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-26 Thread Len Brown
>> drivers/idle/intel_idle.c | 14 +- Acked-by: Len Brown thanks! -Len -- 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

[PATCH v4] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-26 Thread Ilya Zykov
Sorry. More correct. Regression 'tty: fix "IRQ45: nobody cared"' Regression commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 Function reset_buffer_flags() also invoked during the ioctl(...,TCFLSH,..). At the time of request we can have full buffers and throttled driver too. If we don't

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-26 Thread Len Brown
On 11/15/2012 04:04 AM, Preeti Murthy wrote: > Hi all, > > The code looks correct and inviting to me as it has led to good cleanups. > I dont think passing 0 as the argument to the function > sched_clock_idle_wakeup_event() > should lead to problems,as it does not do anything useful with the >

[PATCH 3/3] power: bq2415x_charger: Use devm_kzalloc()

2012-11-26 Thread Sachin Kamat
devm_kzalloc is device managed and makes error handling and code cleanup a bit simpler. Signed-off-by: Sachin Kamat --- drivers/power/bq2415x_charger.c | 15 ++- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/power/bq2415x_charger.c

[PATCH 2/3] power: bq2415x_charger: Use module_i2c_driver

2012-11-26 Thread Sachin Kamat
module_i2c_driver() makes the code simpler by eliminating module_init and module_exit calls. Signed-off-by: Sachin Kamat --- drivers/power/bq2415x_charger.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/power/bq2415x_charger.c

[PATCH 1/3] power: bq2415x_charger: Remove unneeded version.h inclusion

2012-11-26 Thread Sachin Kamat
is not required here. Signed-off-by: Sachin Kamat --- drivers/power/bq2415x_charger.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c index ee842b3..2d1b568 100644 --- a/drivers/power/bq2415x_charger.c

[PATCH 0/3] power: bq2415x_charger: Some cleanup

2012-11-26 Thread Sachin Kamat
This series is build tested againt the linux-next tree (20121126) Sachin Kamat (3): power: bq2415x_charger: Remove unneeded version.h inclusion power: bq2415x_charger: Use module_i2c_driver power: bq2415x_charger: Use devm_kzalloc() drivers/power/bq2415x_charger.c | 28

[PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
From: Lad, Prabhakar from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds a check HAVE_GENERIC_DMA_COHERENT for dma ops, the check was wrongly made it should have been HAVE_GENERIC_DMA_COHERENT but it was CONFIG_HAVE_GENERIC_DMA_COHERENT. This patch fixes the typo, which was causing

[PATCH rcu] use new nesting value for rcu_dyntick trace in rcu_eqs_enter_common

2012-11-26 Thread Li Zhong
This patch uses the real new value of dynticks_nesting instead of 0 in rcu_eqs_enter_common(). Signed-off-by: Li Zhong --- kernel/rcutree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 7733eb5..6b7e314 100644 ---

Re: Recent kernel "mount" slow

2012-11-26 Thread Jeff Chua
On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua wrote: > On Sun, Nov 25, 2012 at 5:09 AM, Mikulas Patocka wrote: >> So it's better to slow down mount. > > I am quite proud of the linux boot time pitting against other OS. Even > with 10 partitions. Linux can boot up in just a few seconds, but now >

Re: [PATCH 1/2] ASoC: davinci-mcasp: Add pinctrl support

2012-11-26 Thread Peter Korsgaard
> "Mark" == Mark Brown writes: Hi, Mark> On Thu, Nov 22, 2012 at 09:34:58AM +0530, Hebbar, Gururaja wrote: >> + pinctrl = devm_pinctrl_get_select_default(>dev); >> + if (IS_ERR(pinctrl)) >> + dev_warn(>dev, >> + "pins are not configured from the

Re: [PATCH v3 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-26 Thread Jianguo Wu
On 2012/11/1 17:44, Wen Congyang wrote: > From: Yasuaki Ishimatsu > > All pages of virtual mapping in removed memory cannot be freed, since some > pages > used as PGD/PUD includes not only removed memory but also other memory. So the > patch checks whether page can be freed or not. > > How to

Re: [PATCH] vhost: fix length for cross region descriptor

2012-11-26 Thread Jason Wang
On 11/26/2012 11:57 PM, Michael S. Tsirkin wrote: If a single descriptor crosses a region, the second chunk length should be decremented by size translated so far, instead it includes the full descriptor length. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.c | 2 +- 1 file

linux-next: manual merge of the drop-experimental tree with the net-next tree

2012-11-26 Thread Stephen Rothwell
Hi Kees, Today's linux-next merge of the drop-experimental tree got a conflict in net/dsa/Kconfig between commit b3422a314c27 ("dsa: Hide core config options; make drivers select what they need") from the net-next tree and commit b8e8d99e4ee8 ("net/dsa: remove depends on CONFIG_EXPERIMENTAL")

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-26 Thread Tang Chen
On 11/27/2012 11:10 AM, wujianguo wrote: On 2012-11-23 18:44, Tang Chen wrote: [What we are doing] This patchset provide a boot option for user to specify ZONE_MOVABLE memory map for each node in the system. movablecore_map=nn[KMG]@ss[KMG] Hi Tang, DMA address can't be set as

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

2012-11-26 Thread Viresh Kumar
On 27 November 2012 10:14, Stephen Rothwell wrote: > Today's linux-next merge of the arm-soc tree got a conflict in > arch/arm/mach-spear13xx/spear1310.c between commit b47394911c26 ("ARM: > SPEAr13xx: Pass DW DMAC platform data from DT") from the slave-dma tree > and commit 300a6856324a ("ARM:

Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map

2012-11-26 Thread H. Peter Anvin
On 11/26/2012 07:15 PM, Wen Congyang wrote: Hi, hpa The problem is that: node1 address rang: [18G, 34G), and the user specifies movable map is [8G, 24G). We don't know node1's address range before numa init. So we can't prevent allocating boot memory in the range [24G, 34G). The movable

Re: [PATCH] watchdog: da9052: Fix invalid free of devm_ allocated data

2012-11-26 Thread Tushar Behera
On 11/26/2012 06:31 PM, Shubhrajyoti Datta wrote: > On Thu, Nov 22, 2012 at 10:13 AM, Tushar Behera > wrote: >> It is not required to free devm_ allocated data. Since kref_put >> needs a valid release function, da9052_wdt_release_resources() >> is not deleted. >> >> Fixes following warning. >>

RE: [PATCH 2/2] platform / ACPI: Attach/detach ACPI PM during probe/remove/shutdown

2012-11-26 Thread Zheng, Lv
It looks cleanest unless more abstractions are introduced for other power management providers. Best regards/Lv Zheng > -Original Message- > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > Sent: Sunday, November 25, 2012 10:58 PM > To: LKML > Cc: Greg Kroah-Hartman; Linux PM list; ACPI

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2012-11-26 Thread Viresh Kumar
Hi Tejun, On 26 November 2012 22:45, Tejun Heo wrote: > On Tue, Nov 06, 2012 at 04:08:45PM +0530, Viresh Kumar wrote: > I'm pretty skeptical about this. queue_work() w/o explicit CPU > assignment has always guaranteed that the work item will be executed > on the same CPU. I don't think there

[PATCH] serial:ifx6x60:Delete SPI timer when shut down port

2012-11-26 Thread chao bi
When shut down SPI port, it's possible that MRDY has been asserted and a SPI timer was activated waiting for SRDY assert, in the case, it needs to delete this timer. Signed-off-by: Chen Jun Signed-off-by: channing --- drivers/tty/serial/ifx6x60.c |1 + 1 files changed, 1 insertions(+), 0

[RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-26 Thread Li Zhong
I noticed some warnings complaining about dynticks_nesting value, like [ 267.545032] [ cut here ] [ 267.545032] WARNING: at kernel/rcutree.c:382 rcu_eqs_enter+0xab/0xc0() [ 267.545032] Hardware name: Bochs [ 267.545032] Modules linked in: [ 267.545032] Pid: 0, comm:

Re: [PATCH 2/2] zram: allocate metadata when disksize is set up

2012-11-26 Thread Nitin Gupta
On 11/22/2012 06:42 PM, Minchan Kim wrote: Lockdep complains about recursive deadlock of zram->init_lock. Because zram_init_device could be called in reclaim context and it requires a page with GFP_KERNEL. We can fix it via replacing GFP_KERNEL with GFP_NOIO. But more big problem is vzalloc in

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread David Gibson
On Tue, Nov 27, 2012 at 03:58:14PM +1100, Alexey Kardashevskiy wrote: > On 27/11/12 15:29, Alex Williamson wrote: > >On Tue, 2012-11-27 at 15:06 +1100, Alexey Kardashevskiy wrote: > >>On 27/11/12 05:20, Alex Williamson wrote: > >>>On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: >

Re:digital duplicator machine

2012-11-26 Thread Shibakawa ink
Riso ink,Ricoh ink, Gestetner ink, Duplo ink-all models. Duplicator ink and master, copier toner and printer cartridge, spare parts and used machineone package service If you need, call me pls then we talk details. (*^__^*). Skype: luckyme991 Yahoo! Messenger:

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread Alex Williamson
On Tue, 2012-11-27 at 15:58 +1100, Alexey Kardashevskiy wrote: > On 27/11/12 15:29, Alex Williamson wrote: > > On Tue, 2012-11-27 at 15:06 +1100, Alexey Kardashevskiy wrote: > >> On 27/11/12 05:20, Alex Williamson wrote: > >>> On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: >

Re: [PATCH 1/2] zram: force disksize setting before using zram

2012-11-26 Thread Nitin Gupta
On 11/22/2012 06:42 PM, Minchan Kim wrote: Now zram document syas "set disksize is optional" but partly it's wrong. When you try to use zram firstly after booting, you must set disksize, otherwise zram can't work because zram gendisk's size is 0. But once you do it, you can use zram freely after

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread Alex Williamson
On Tue, 2012-11-27 at 15:06 +1100, Alexey Kardashevskiy wrote: > On 27/11/12 05:20, Alex Williamson wrote: > > On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: > >> VFIO implements platform independent stuff such as > >> a PCI driver, BAR access (via read/write on a file descriptor >

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread Alexey Kardashevskiy
On 27/11/12 15:29, Alex Williamson wrote: On Tue, 2012-11-27 at 15:06 +1100, Alexey Kardashevskiy wrote: On 27/11/12 05:20, Alex Williamson wrote: On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: VFIO implements platform independent stuff such as a PCI driver, BAR access (via

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

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/usb/host/ehci-orion.c between commit 41ac7b3ab7fe ("usb: remove use of __devinit") from the usb tree and commit 77dae54ab385 ("ARM: Kirkwood: ehci-orion: Add device tree binding") from the arm-soc tree. I fixed it

Re: [PATCH 2/2] uprobes/powerpc: Make use of generic routines to enable single step

2012-11-26 Thread Suzuki K. Poulose
On 11/26/2012 10:31 PM, Oleg Nesterov wrote: On 11/26, Suzuki K. Poulose wrote: @@ -121,8 +125,11 @@ int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs) * to be executed. */ regs->nip = utask->vaddr + MAX_UINSN_BYTES; + regs->msr =

Re: [PATCH] ioat: remove chanerr mask setting for IOAT v3.x

2012-11-26 Thread Dan Williams
On Fri, Nov 16, 2012 at 3:26 PM, Dave Jiang wrote: > The CHANERRMSK_INT register should be 0. The existing code set a value > for a workaround to address a pre-silicon bug on the Intel 5520 IO hub that > has been fixed when the hardware was released. There is no need for this > code. > >

Re: [PATCH 0/3] fix missing rb_subtree_gap updates on vma insert/erase

2012-11-26 Thread Michel Lespinasse
0036] PGD 31739067 PUD 4fbc4067 PMD 1c936067 PTE 0 > [ 1556.480036] Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC > [ 1556.480036] Dumping ftrace buffer: > [ 1556.480036](ftrace buffer empty) > [ 1556.480036] CPU 0 > [ 1556.480036] Pid: 10274, comm: trinity-child29 Tainted: G

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

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/power/Kconfig between commit bd9e8ab2d58d ("ab8500: Add devicetree support for btemp") from the battery tree and commit 96ff0f5c7efd ("power: Add simple poweroff-gpio driver") from the arm-soc tree. I fixed it up (see

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

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-spear13xx/spear13xx.c between commit b47394911c26 ("ARM: SPEAr13xx: Pass DW DMAC platform data from DT") from the slave-dma tree and commit 3e270ba6e915 ("ARM: SPEAr13xx: Remove fields not required for ssp

linux-next: manual merge of the arm-soc tree with the slave-dma tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-spear13xx/spear1310.c between commit b47394911c26 ("ARM: SPEAr13xx: Pass DW DMAC platform data from DT") from the slave-dma tree and commit 300a6856324a ("ARM: SPEAr1310: Fix AUXDATA for compact flash

RE: [patch] Add IVB model 3e support to /drivers/idle/intel_idle.c

2012-11-26 Thread Brown, Len
> diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index > e872617..b0f6b4c 100644 > --- a/drivers/idle/intel_idle.c > +++ b/drivers/idle/intel_idle.c > @@ -413,6 +413,7 @@ static const struct x86_cpu_id intel_idle_ids[] = { > ICPU(0x2a, idle_cpu_snb), >

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

2012-11-26 Thread Alex Williamson
On Fri, 2012-11-23 at 20:03 +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 driver (PCI pass through). > > It

[patch] Add IVB model 3e support to /drivers/idle/intel_idle.c

2012-11-26 Thread Ethan Zhao
Hi, Len Please help to review and apply the patch if it is OK. I didn't go through all the related code, simply add the model 3e to the id list, I have tested it with stable branch kernel 3.6.7 on my Server with Intel ES0 installed. Thanks, Ethan commit

linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/spear13xx.dtsi between commit 6d7b42a447f9 ("mtd: fsmc_nand: pass the ale and cmd resource via resource") from the l2-mtd tree and commit f631b984ee10 ("ARM: SPEAr: DT: Fix existing DT support") from the

linux-next: manual merge of the arm-soc tree with the slave-dma tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/spear1340.dtsi between commit b47394911c26 ("ARM: SPEAr13xx: Pass DW DMAC platform data from DT") from the slave-dma tree and commit 8113ba917dfa ("ARM: SPEAr: DT: Update device nodes") from the arm-soc tree.

Re: Re: [GIT PULL] extcon for Linux 3.8

2012-11-26 Thread Greg KH
On Tue, Nov 27, 2012 at 12:54:30AM +, MyungJoo Ham wrote: > > On Thu, Nov 22, 2012 at 01:51:10PM +0900, MyungJoo Ham wrote: > > > Please pull extcon patches for Linux 3.8. > > > > This is not a signed-tag pull request, which I thought I asked for > > previously. > > > > Please create that,

  1   2   3   4   5   6   7   8   9   10   >