Re: [PATCH] mm: fix balloon_page_movable() page->flags check

2012-11-27 Thread Andrew Morton
On Tue, 27 Nov 2012 21:31:10 -0200 Rafael Aquini wrote: > This patch fixes the following crash by fixing and enhancing the way > page->flags are tested to identify a ballooned page. > > ---8<--- > BUG: unable to handle kernel NULL pointer dereference at 0194 > IP: [] isolate_migrate

Re: [PATCH v3 1/4] ACPI: Support system notify handler via .sys_notify

2012-11-27 Thread Rafael J. Wysocki
On Monday, November 26, 2012 02:09:54 PM Toshi Kani wrote: > On Mon, 2012-11-26 at 21:44 +0100, Rafael J. Wysocki wrote: > > On Monday, November 26, 2012 12:06:39 PM Toshi Kani wrote: > > > On Sat, 2012-11-24 at 23:37 +0100, Rafael J. Wysocki wrote: > > > > On Saturday, November 24, 2012 11:01:56 P

Re: [PATCH v3 1/4] ACPI: Support system notify handler via .sys_notify

2012-11-27 Thread Rafael J. Wysocki
On Monday, November 26, 2012 02:24:09 PM Toshi Kani wrote: > On Mon, 2012-11-26 at 14:09 -0700, Toshi Kani wrote: > > On Mon, 2012-11-26 at 21:44 +0100, Rafael J. Wysocki wrote: > > > On Monday, November 26, 2012 12:06:39 PM Toshi Kani wrote: > > > > On Sat, 2012-11-24 at 23:37 +0100, Rafael J. Wys

Re: linux-next: unusual update of the security tree

2012-11-27 Thread Stephen Rothwell
On Tue, 27 Nov 2012 15:30:31 -0800 Linus Torvalds wrote: > > On Tue, Nov 27, 2012 at 3:28 PM, Stephen Rothwell > wrote: > > > > If that is what happened, it may be worth always using the --no-ff flag > > to git merge/pull to make sure that the top commit on your tree always > > has you as the c

Re: [PATCH v2 1/1] staging: fwserial: Add TTY-over-Firewire serial driver

2012-11-27 Thread Stefan Richter
On Nov 27 Peter Hurley wrote: > > > Currently, firewire-net sets an arbitrary address handler length of > > > 4096. This works because the largest AR packet size the current > > > firewire-ohci driver handles is 4096 (value of MAX_ASYNC_PAYLOAD) + > > > header/trailer. Note that firewire-ohci does

Re: linux-next: unusual update of the security tree

2012-11-27 Thread Stephen Rothwell
Hi Casey, On Tue, 27 Nov 2012 15:45:17 -0800 Casey Schaufler wrote: > > On 11/27/2012 3:16 PM, Stephen Rothwell wrote: > > > The security tree > > (git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git#next) > > looks a bit strange today ... It appears to have been created by

Re: [PATCH] bonding: rlb mode of bond should not alter ARP originating via bridge

2012-11-27 Thread Jay Vosburgh
zheng.li wrote: >After i applied my prior patch to the latest kernel and tested ,i change >the patch as this. The prior patch is running ok on 2.6.32,but after >2.6.32 it runs no effect ,it still cause domu(which arp through bridge >via bonding) network intermittently unreachable. I found the rea

Re: [PATCH] drivers/uio/uio_pdrv_genirq.c: Fix memory leak & confusing labels

2012-11-27 Thread Cong Ding
On Wed, Nov 28, 2012 at 12:07 AM, Hans J. Koch wrote: > On Tue, Nov 27, 2012 at 07:29:32PM +0200, Vitalii Demianets wrote: >> Memory leak was caused by jumping to the wrong exit label. So, it is good >> time >> to improve misleading label names too. > > I agree that bad0, bad1, and bad2 are not t

[PATCH] sd: Don't incorrectly "promote" DIF type0 into DIF type1 disks.

2012-11-27 Thread Darrick J. Wong
If I run the following command: # modprobe scsi_debug dev_size_mb=64 ato=1 dix=1 dif=0 then I see the following in the dmesg log: [ 25.859145] scsi_debug: host protection DIX0 Ok, DIX0, which means "no integrity extensions at all", and no DIF support at all. I'm not sure why you'd advertise D

Re: [PATCH 1/1] f2fs: remove unneeded version.h header file from f2fs.h

2012-11-27 Thread Jaegeuk Kim
Add CC: linux-f2fs-de...@lists.sourceforge.net Thanks for contributing. 2012-11-27 (화), 16:02 +0530, Sachin Kamat: > Including is not necessary. > > Signed-off-by: Sachin Kamat > --- > fs/f2fs/f2fs.h |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/fs/f2fs/f2fs.

Re: [PATCH v3 1/4] ACPI: Support system notify handler via .sys_notify

2012-11-27 Thread Rafael J. Wysocki
On Monday, November 26, 2012 10:44:08 AM Toshi Kani wrote: > Hi Rafael, > > Thanks for reviewing! My comments are in-line. > > On Sat, 2012-11-24 at 23:01 +0100, Rafael J. Wysocki wrote: > > On Thursday, November 08, 2012 01:23:44 PM Toshi Kani wrote: > > > Added a new .sys_notify interface, whi

[PATCH] tty: Correct tty buffer flushing.

2012-11-27 Thread Ilya Zykov
CANCEL - [PATCH] tty: hold lock across tty buffer finding and buffer filling. commit f8f72f047b96c6c8b13f6e3ba53fa6feb4266813 The commit above very dirty, has many degradation on SMP systems, because take spinlock on long time, and not resolve problem with tty_prepare_string*()(Jiri Slaby). We lo

Re: [PATCH] mm: fix balloon_page_movable() page->flags check

2012-11-27 Thread Rafael Aquini
On Tue, Nov 27, 2012 at 03:52:01PM -0800, Andrew Morton wrote: > On Tue, 27 Nov 2012 21:31:10 -0200 > Rafael Aquini wrote: > > > This patch fixes the following crash by fixing and enhancing the way > > page->flags are tested to identify a ballooned page. > > > > ---8<--- > > BUG: unable to hand

[PULL REQUEST] one bugfix for md in 3.7-rc

2012-11-27 Thread NeilBrown
Hi Linus, another md bugfix ... and it isn't even Friday! Thanks, NeilBrown The following changes since commit 884162df2aadd7414bef4935e1a54976fd4e3988: md/raid10: decrement correct pending counter when writing to replacement. (2012-11-22 15:12:42 +1100) are available in the git repositor

Re: [PATCH] drivers/uio/uio_pdrv_genirq.c: Fix memory leak & confusing labels

2012-11-27 Thread Hans J. Koch
On Wed, Nov 28, 2012 at 01:07:26AM +0100, Cong Ding wrote: > On Wed, Nov 28, 2012 at 12:07 AM, Hans J. Koch wrote: > > On Tue, Nov 27, 2012 at 07:29:32PM +0200, Vitalii Demianets wrote: > >> Memory leak was caused by jumping to the wrong exit label. So, it is good > >> time > >> to improve mislea

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

2012-11-27 Thread Greg KH
On Tue, Nov 27, 2012 at 03:16:08PM -0700, Dave Jiang wrote: > The existing code set a value in the PCI_CHANERRMSK_INT register > 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. > > Signed

Re: [Patch v4 00/12] memory-hotplug: hot-remove physical memory

2012-11-27 Thread Yasuaki Ishimatsu
Hi Andrew, 2012/11/28 4:27, Andrew Morton wrote: On Tue, 27 Nov 2012 18:00:10 +0800 Wen Congyang wrote: The patch-set was divided from following thread's patch-set. https://lkml.org/lkml/2012/9/5/201 The last version of this patchset: https://lkml.org/lkml/2012/11/1/93 As we're n

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-27 Thread David Woodhouse
On Tue, 2012-11-27 at 10:23 -0500, chas williams - CONTRACTOR wrote: > yes, but dont call it 8/7 since that doesnt make sense. It made enough sense when it was a single patch appended to a thread of 7 other patches from Krzysztof. But now it's all got a little more complex, so I've tried to collec

[PATCH 1/2] thermal: exynos: Check the range of temperature code

2012-11-27 Thread Jonghwan Choi
The temperature code should range between 46 and 146. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c | 21 ++--- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index 6dd29e4.

[PATCH 2/2] thermal: exynos: Add error handling for temperature code

2012-11-27 Thread Jonghwan Choi
If temperature code is invalid, it should be handled. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index dc2ad6c..78c5c08 10064

Re: [PATCH 0/5] Alter steal time reporting in KVM

2012-11-27 Thread Marcelo Tosatti
On Tue, Nov 27, 2012 at 09:24:42PM -0200, Marcelo Tosatti wrote: > On Mon, Nov 26, 2012 at 02:36:24PM -0600, Michael Wolf wrote: > > In the case of where you have a system that is running in a > > capped or overcommitted environment the user may see steal time > > being reported in accounting tools

RE: [PATCH] watchdog: optimizing the hrtimer interval for power saving

2012-11-27 Thread Liu, Chuansheng
> -Original Message- > From: Don Zickus [mailto:dzic...@redhat.com] > Sent: Tuesday, November 27, 2012 4:09 AM > To: Liu, Chuansheng > Cc: a...@linux-foundation.org; mi...@kernel.org; r...@sisk.pl; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] watchdog: optimizing the hrtimer inter

Re: [PATCH 2/3] cputime: Rename thread_group_times to thread_group_cputime_adjusted

2012-11-27 Thread Steven Rostedt
On Wed, 2012-11-28 at 00:51 +0100, Frederic Weisbecker wrote: > To fix this we apply the above monotonicity fixup. Thanks for the explanation, although I kind of figured it out already ;-) > > I can add these explanations on comments in a new patch. Comments are always good. -- Steve -- To

Re: linux-next: Tree for Nov 27 (media/v4l2-core/videobuf2-dma-contig.c)

2012-11-27 Thread Kyungmin Park
Hi, It's fixed already and you will check it at Nov 28 tree http://www.spinics.net/lists/linux-media/msg56830.html Thank you, Kyungmin Park On 11/28/12, Stephen Rothwell wrote: > [Just adding some cc's] > > On Tue, 27 Nov 2012 10:32:15 -0800 Randy Dunlap > wrote: >> >> On 11/26/2012 10:25 PM,

Re: [PATCH] br2684: don't send frames on not-ready vcc

2012-11-27 Thread David Woodhouse
On Wed, 2012-11-28 at 00:51 +0100, Krzysztof Mazur wrote: > If you do this actually it's better to don't use patch 1/7 because > it introduces race condition that you found earlier. Right. I've omitted that from the git tree I just pushed out. > With this patch you have still theoretical race tha

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

2012-11-27 Thread Peter Hurley
On Tue, 2012-11-27 at 10:42 -0800, Randy Dunlap wrote: > On 11/26/2012 11:11 PM, Peter Hurley wrote: > > > Use WARN() as intended. > > > > Signed-off-by: Peter Hurley > > > Reported-by: Randy Dunlap > Acked-by: Randy Dunlap > > Thanks. Hi Randy, I blew this, sorry. First, I mistakenly se

Re: [PATCH 11/42] ARM: shmobile: Register PFC platform device

2012-11-27 Thread Simon Horman
On Tue, Nov 27, 2012 at 12:19:20PM +0100, Laurent Pinchart wrote: > Hi Simon, > > On Tuesday 27 November 2012 11:26:28 Simon Horman wrote: > > On Mon, Nov 26, 2012 at 11:34:36AM +0100, Laurent Pinchart wrote: > > > On Monday 26 November 2012 10:02:05 Simon Horman wrote: > > > > On Wed, Nov 21, 201

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-27 Thread Paul E. McKenney
On Tue, Nov 27, 2012 at 07:33:25PM +0100, Frederic Weisbecker wrote: > Create a new subsystem that probes on kernel boundaries > to keep track of the transitions between level contexts > with two basic initial contexts: user or kernel. > > This is an abstraction of some RCU code that use such trac

Re: [PATCH v2 1/1] staging: fwserial: Add TTY-over-Firewire serial driver

2012-11-27 Thread Peter Hurley
On Wed, 2012-11-28 at 00:58 +0100, Stefan Richter wrote: > On Nov 27 Peter Hurley wrote: > > > > Currently, firewire-net sets an arbitrary address handler length of > > > > 4096. This works because the largest AR packet size the current > > > > firewire-ohci driver handles is 4096 (value of MAX_ASY

Re: [PATCH 17/19] drivers: convert shrinkers to new count/scan API

2012-11-27 Thread Chris Wilson
On Wed, 28 Nov 2012 10:14:44 +1100, Dave Chinner wrote: > +/* > + * XXX: (dchinner) This is one of the worst cases of shrinker abuse I've > seen. > + * > + * i915_gem_purge() expects a byte count to be passed, and the minimum object > + * size is PAGE_SIZE. No, purge() expects a count of pages t

Re: [PATCH] mm: fix balloon_page_movable() page->flags check

2012-11-27 Thread Andrew Morton
On Tue, 27 Nov 2012 22:34:10 -0200 Rafael Aquini wrote: > Do you want me to resubmit this patch with the changes you suggested? oh, I think I can reach that far. How's this look? From: Andrew Morton Subject: mm-introduce-a-common-interface-for-balloon-pages-mobility-mm-fix-balloon_page_movab

Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-27 Thread Marcelo Tosatti
Don't understand the reasoning behind why 3 is a good choice. On Mon, Nov 26, 2012 at 05:38:04PM +0530, Raghavendra K T wrote: > From: Raghavendra K T > > yield_to returns -ESRCH, When source and target of yield_to > run queue length is one. When we see three successive failures of > yield_to w

Re: 3.6.8: dmar: DRHD: handling fault status reg 602

2012-11-27 Thread Robert Hancock
On 11/27/2012 09:16 AM, Justin Piszcz wrote: Hello, Any idea why this is happening (e.g. why is PTE Read Access not set?) [ 13.204560] dmar: DRHD: handling fault status reg 602 [ 13.208078] dmar: DMAR:[DMA Read] Request device [04:00.0] fault addr 0 [ 13.208078] DMAR:[fault reason 06] PTE

[PATCH] module: Remove a extra null character at the top of module->strtab.

2012-11-27 Thread sat
From: Satoru Takeuchi There is a extra null character('\0') at the top of module->strtab for each module. Commit 59ef28b introduced this bug and this patch fixes it. Live dump log of the current linus git kernel(HEAD is 2844a4870):

Re: [PATCH] mm: fix balloon_page_movable() page->flags check

2012-11-27 Thread Rafael Aquini
On Tue, Nov 27, 2012 at 05:15:44PM -0800, Andrew Morton wrote: > On Tue, 27 Nov 2012 22:34:10 -0200 Rafael Aquini wrote: > > > Do you want me to resubmit this patch with the changes you suggested? > > oh, I think I can reach that far. How's this look? > It looks great to me. Just a small nitp

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-27 Thread Steven Rostedt
On Tue, 2012-11-27 at 16:59 -0800, Paul E. McKenney wrote: > On Tue, Nov 27, 2012 at 07:33:25PM +0100, Frederic Weisbecker wrote: > > Create a new subsystem that probes on kernel boundaries > > to keep track of the transitions between level contexts > > with two basic initial contexts: user or kern

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-27 Thread Paul E. McKenney
On Tue, Nov 27, 2012 at 08:50:38PM -0500, Steven Rostedt wrote: > On Tue, 2012-11-27 at 16:59 -0800, Paul E. McKenney wrote: > > On Tue, Nov 27, 2012 at 07:33:25PM +0100, Frederic Weisbecker wrote: > > > Create a new subsystem that probes on kernel boundaries > > > to keep track of the transitions

[PATCH v2 6/7] mfd: max8925: support dt for backlight

2012-11-27 Thread Qing Xu
From: Qing Xu Signed-off-by: Qing Xu --- drivers/video/backlight/max8925_bl.c | 31 ++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight/max8925_bl.c b/drivers/video/backlight/max8925_bl.c index f72ba54..1682d00 100644 --- a/

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

2012-11-27 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 a/arch/

Re: [PATCH 6/7] mfd: max8925: support dt for backlight

2012-11-27 Thread Qing Xu
On 11/23/2012 05:08 PM, Haojian Zhuang wrote: On Tue, Nov 6, 2012 at 3:47 PM, Qing Xu wrote: From: Qing Xu Signed-off-by: Qing Xu --- drivers/video/backlight/max8925_bl.c | 31 ++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/drivers/video/

Re: [PATCH V3 3/3] mfd: stmpe: Update DT support in stmpe driver

2012-11-27 Thread Viresh Kumar
On 28 November 2012 01:25, Rabin Vincent wrote: > 2012/11/27 Viresh Kumar : >> On 27 November 2012 14:10, Lee Jones wrote: >> I haven't seen this in any of SPEAr boards i have worked on. Maybe Rabin >> would have, that's why he added that part of code :) >> >> @Rabin/Linus: Do you remember why ha

[PATCH RFT] regulator: pcf50633: Use linear_min_sel and regulator_[map|list]_voltage_linear

2012-11-27 Thread Axel Lin
This driver can be converted to use linear_min_sel and regulator_[map|list]_voltage_linear. Below shows the equations from datasheet: For AUTOOUT: VO(prog) = 0.625 + auto_out × 0.025 V; e.g. ( to 00101110: reserved) 0010: 1.8 V (min) 01010011: 2.7 V

Re: [PATCH 6/6 v6] cpufreq, highbank: add support for highbank cpufreq

2012-11-27 Thread Shawn Guo
On Tue, Nov 27, 2012 at 02:04:32PM -0600, Mark Langsdorf wrote: > Highbank processors depend on the external ECME to perform voltage > management based on a requested frequency. Communication between the > A9 cores and the ECME happens over the pl320 IPC channel. ... > +static int hb_voltage_chan

[PATCH V2] watchdog: optimizing the hrtimer interval for power saving

2012-11-27 Thread Chuansheng Liu
By default, the watchdog threshold is 10, it means every 4s every CPU will receive one hrtimer interrupt, for low power device, it will cause 4-5mV power impact when device is deep sleep. So here want to optimize it as below: 4s + 4s + 4s + 4s + 4s == > 1s + 9s + 9s ... Or 1s + 1s..+ 9s + 9s

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

2012-11-27 Thread Minchan Kim
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 reset because reset doesn't reset to zero par

[PATCH 3/3] zram: get rid of lockdep warning

2012-11-27 Thread Minchan Kim
Lockdep complains about recursive deadlock of zram->init_lock. [1] made it false positive because we can't request IO to zram before setting disksize. Anyway, we should shut lockdep up to avoid many reporting from user. This patch allocates zram's metadata out of lock so we can fix it. In addition

[PATCH 2/3] zram: give up lazy initialization of zram metadata

2012-11-27 Thread Minchan Kim
1) User of zram normally do mkfs.xxx or mkswap before using the zram block device(ex, normally, do it at booting time) It ends up allocating such metadata of zram before real usage so benefit of lazy initialzation would be mitigated. 2) Some user want to use zram when memory pressure is h

[PATCH -next 0/3] staging/fwserial: teardown cleanup

2012-11-27 Thread Peter Hurley
Hi Greg, This patch series fixes up staging/fwserial to meet the new requirements in Jiri Slaby's series "TTY: memory leaks patchset" (in tty-next). Strictly speaking, only PATCH 1/3 implements the necessary cleanup. PATCHES 2/3 & 3/3 are additional cleanups in the same area. Peter Hurley (3):

[PATCH -next 1/3] staging/fwserial: Destruct embedded tty_port on teardown

2012-11-27 Thread Peter Hurley
For TTY drivers that manage the port lifetime, the tty_port should to be specifically destructed when the port lifetime ends. Now that a method has been added to do this, use it. Signed-off-by: Peter Hurley Cc: Jiri Slaby Cc: Alan Cox --- drivers/staging/fwserial/fwserial.c | 5 - 1 file c

[PATCH -next 2/3] staging/fwserial: Use WARN_ONCE when port table is corrupted

2012-11-27 Thread Peter Hurley
Signed-off-by: Peter Hurley --- drivers/staging/fwserial/fwserial.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c index 99a2d2d..0681967 100644 --- a/drivers/staging/fwserial/fwserial.c +

[PATCH -next 3/3] staging/fwserial: Remove superfluous free

2012-11-27 Thread Peter Hurley
Now that the dma fifo is allocated on activate and freed on shutdown, this extra free is harmless but unnecessary. Signed-off-by: Peter Hurley --- drivers/staging/fwserial/fwserial.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwseria

[PATCH RFT RESEND] regulator: pcf50633: Use linear_min_sel and regulator_[map|list]_voltage_linear

2012-11-27 Thread Axel Lin
This driver can be converted to use linear_min_sel and regulator_[map|list]_voltage_linear. Below shows the equation (from Datasheet) for each LDOs. For AUTOOUT: VO(prog) = 0.625 + auto_out x 0.025 V; e.g. ( to 00101110: reserved) 0010: 1.8 V (min) 0101

[ANNOUNCE] 3.4.20-rt31

2012-11-27 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.20-rt31 stable release. This release is just an update to the new stable 3.4.20 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

[ANNOUNCE] 3.0.53-rt77

2012-11-27 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.0.53-rt77 stable release. This release is just an update to the new stable 3.0.53 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

Re: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-27 Thread Christopher Heiny
On 11/27/2012 01:29 AM, Dmitry Torokhov wrote: On Mon, Nov 26, 2012 at 02:31:27PM -0800, Christopher Heiny wrote: >On 11/26/2012 01:40 AM, Dmitry Torokhov wrote: > >Hi Christopher, > > > >On Fri, Nov 16, 2012 at 07:58:53PM -0800, Christopher Heiny wrote: > >>RMI Function 01 implements basic de

Re: [PATCH v4] drivers: staging: remove last usage of NIPQUAD and NIP6 in gdm72xx

2012-11-27 Thread Shan Wei
Greg KH said, at 2012/11/28 1:19: > On Tue, Nov 27, 2012 at 10:37:46AM +0800, Shan Wei wrote: >> From: Shan Wei >> >> commit cf4ca4874fc45 removed the definition of NIPQUAD and NIPQUAD_FMT, >> and NIP6 also is out of date. >> >> Because DEBUG_SDU is not defined in gdm_wimax.h, no error message whe

A question about proc file system

2012-11-27 Thread Yangbin (Robin)
Hi all: I write a kernel module which make a dir and create a file in proc file system. I use proc_mkdir() and create_proc_entry() in init and use remove_proc_entry() in exit. Now I got a problem during my test: 1. open terminal A, insmod and cd into the dir the module created in proc 2

linux-next: build failure after merge of the powerpc tree

2012-11-27 Thread Stephen Rothwell
Hi all, After merging the powerpc tree, next-20121115's build (powerpc allmodconfig) failed like this: ERROR: ".of_reconfig_notifier_register" [drivers/crypto/nx/nx-compress.ko] undefined! ERROR: ".of_reconfig_notifier_unregister" [drivers/crypto/nx/nx-compress.ko] undefined! Caused by commit

3.7-rc7: BUG: MAX_STACK_TRACE_ENTRIES too low!

2012-11-27 Thread Christian Kujau
Hi, the same thing[0] happened again in 3.7-rc7, after ~20h uptime: [40007.339487] [sched_delayed] sched: RT throttling activated [69731.388717] BUG: MAX_STACK_TRACE_ENTRIES too low! [69731.390371] turning off the locking correctness validator. [69731.391942] Call Trace: [69731.393525] [c9a61c10]

Re: [PATCH v6 5/6] PM / Runtime: force memory allocation with no I/O during Runtime PM callbcack

2012-11-27 Thread Ming Lei
On Wed, Nov 28, 2012 at 5:24 AM, Rafael J. Wysocki wrote: > > Please don't duplicate code this way. > > You can move that whole thing to rpm_callback(). Yes, you'll probably need to > check dev->power.memalloc_noio twice in there, but that's OK. Good idea, I will update it in v7. Thanks, -- Min

Re: [PATCH 2/3] KVM: x86: let reexecute_instruction work for tdp

2012-11-27 Thread Xiao Guangrong
On 11/28/2012 07:32 AM, Marcelo Tosatti wrote: > On Tue, Nov 27, 2012 at 11:13:11AM +0800, Xiao Guangrong wrote: +static bool reexecute_instruction(struct kvm_vcpu *vcpu, unsigned long cr2) { - gpa_t gpa; + gpa_t gpa = cr2; pfn_t pfn; - if (tdp_enable

Re: [RFC] [PATCH] fix infinite loop; increase robustness of debugfs_remove_recursive

2012-11-27 Thread Steven Rostedt
On Fri, 2012-11-23 at 18:15 +0100, Lars Ellenberg wrote: > When toying around with debugfs, intentionally trying to break things, > I managed to get it into a reproducible endless loop when cleaning up. > > debugfs_remove_recursive() completely ignores that entries found > on ->d_subdirs may alrea

Re: [PATCH 17/19] drivers: convert shrinkers to new count/scan API

2012-11-27 Thread Dave Chinner
On Wed, Nov 28, 2012 at 01:13:11AM +, Chris Wilson wrote: > On Wed, 28 Nov 2012 10:14:44 +1100, Dave Chinner wrote: > > +/* > > + * XXX: (dchinner) This is one of the worst cases of shrinker abuse I've > > seen. > > + * > > + * i915_gem_purge() expects a byte count to be passed, and the minim

linux-next: manual merge of the mfd tree with Linus' tree

2012-11-27 Thread Stephen Rothwell
Hi Samuel, Today's linux-next merge of the mfd tree got a conflict in drivers/mfd/twl-core.c between commit 78a3c5ab1749 ("mfd: twl-core: Fix chip ID for the twl6030-pwm module") from Linus' tree and commit afc45898f62c ("mfd: twl-core: Support for proper PWM drivers") from the mfd tree. I fixed

Re: 3.7-rc7: BUG: MAX_STACK_TRACE_ENTRIES too low!

2012-11-27 Thread Christian Kujau
On Tue, 27 Nov 2012 at 19:06, Christian Kujau wrote: > the same thing[0] happened again in 3.7-rc7, after ~20h uptime: I found the following on patchwork, but this seems to deal with powerpc64 only, while this PowerBook G4 of mine is powerpc32: http://patchwork.ozlabs.org/patch/193414/ It loo

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

2012-11-27 Thread Bob Liu
On Tue, Nov 27, 2012 at 8:49 PM, Tang Chen wrote: > On 11/27/2012 08:09 PM, Bob Liu wrote: >> >> On Tue, Nov 27, 2012 at 4:29 PM, Tang Chen >> wrote: >>> >>> Hi Liu, >>> >>> >>> This feature is used in memory hotplug. >>> >>> In order to implement a whole node hotplug, we need to make sure the >>>

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

2012-11-27 Thread Stephen Rothwell
Hi, On Tue, 27 Nov 2012 11:08:36 +0530 Viresh Kumar wrote: > > 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 dat

Re: [PATCH 3/3] KVM: x86: improve reexecute_instruction

2012-11-27 Thread Xiao Guangrong
On 11/28/2012 07:42 AM, Marcelo Tosatti wrote: > On Tue, Nov 27, 2012 at 11:30:24AM +0800, Xiao Guangrong wrote: >> On 11/27/2012 06:41 AM, Marcelo Tosatti wrote: >> - return false; +again: + page_fault_count = ACCESS_ONCE(vcpu->kvm->arch.page_fault_count); + + /* >

Re: How about a gpio_get(device *, char *) function?

2012-11-27 Thread Alex Courbot
On Monday 26 November 2012 19:14:31 Grant Likely wrote: > I don't have any problem with a gpio_get function, but I do agree that > making it return an opaque handle is how it should be written with a new > set of accessors. The handle should probably be simply the pointer to > the &gpio_desc[number

switcheroo registration vs switching race...

2012-11-27 Thread Daniel J Blueman
Hi Seth, Dave, Takashi, If I power down the unused discrete GPU before lightdm starts by fiddling with the sysfs file [1] in the upstart script, I see a race manifesting as the discrete GPU's HDA controller timing out to commands [2]. Adding some debug, I see that the registered audio devices are

Re: [PATCH]sched/rt.c: Add reschedule to switched_from_rt()

2012-11-27 Thread Steven Rostedt
On Fri, 2012-11-23 at 00:02 +0400, Kirill Tkhai wrote: > Reschedule rq->curr if the first RT task has just been > pulled to the rq. > > Signed-off-by: Kirill V Tkhai > CC: Steven Rostedt > CC: Ingo Molnar > CC: Peter Zijlstra > --- > kernel/sched/rt.c |7 +-- > 1 file changed, 5 inser

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

2012-11-27 Thread Tang Chen
On 11/27/2012 11:10 AM, wujianguo wrote: Hi Tang, DMA address can't be set as movable, if some one boot kernel with movablecore_map=4G@0xa0 or other memory region that contains DMA address, system maybe boot failed. Should this case be handled or mentioned in the change log and kerne

Re: [PATCH v6 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-27 Thread Ming Lei
On Wed, Nov 28, 2012 at 5:19 AM, Rafael J. Wysocki wrote: > On Saturday, November 24, 2012 08:59:14 PM Ming Lei wrote: >> The patch introduces the flag of memalloc_noio in 'struct dev_pm_info' >> to help PM core to teach mm not allocating memory with GFP_KERNEL >> flag for avoiding probable deadlo

Re: Recent kernel "mount" slow

2012-11-27 Thread Mikulas Patocka
On Tue, 27 Nov 2012, Jens Axboe wrote: > On 2012-11-27 11:06, Jeff Chua wrote: > > On Tue, Nov 27, 2012 at 3:38 PM, 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 Patock

linux-next: build failure after merge of the pm tree

2012-11-27 Thread Stephen Rothwell
ndefined! Caused by commit 206c30cfeb7c ("PM / devfreq: Add suspend and resume apis"). I have used the pm tree from next-20121127 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp5TjT00uQya.pgp Description: PGP signature

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

2012-11-27 Thread Jiang Liu
On 2012-11-28 11:47, Tang Chen wrote: > On 11/27/2012 11:10 AM, wujianguo wrote: >> >> Hi Tang, >> DMA address can't be set as movable, if some one boot kernel with >> movablecore_map=4G@0xa0 or other memory region that contains DMA address, >> system maybe boot failed. Should this case be

[PATCH] target: Make spc_get_write_same_sectors return sector_t

2012-11-27 Thread Nicholas A. Bellinger
From: Nicholas Bellinger We already expect TFO->get_blocks() to return sector_t for zero value case when doing WRITE_SAME to the end of the backend device, so go ahead and return sector_t from spc_get_write_same_sectors() to handle this case properly. Also, update the single iblock_execute_write

[PATCH 2/2] block_dev: don't take the write lock if block size doesn't change

2012-11-27 Thread Mikulas Patocka
block_dev: don't take the write lock if block size doesn't change Taking the write lock has a big performance impact on the whole system (because of synchronize_sched_expedited). This patch avoids taking the write lock if the block size doesn't change (i.e. when mounting filesystem with block size

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

2012-11-27 Thread Jiang Liu
On 2012-11-28 11:24, Bob Liu wrote: > On Tue, Nov 27, 2012 at 8:49 PM, Tang Chen wrote: >> On 11/27/2012 08:09 PM, Bob Liu wrote: >>> >>> On Tue, Nov 27, 2012 at 4:29 PM, Tang Chen >>> wrote: Hi Liu, This feature is used in memory hotplug. In order to implement a

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

2012-11-27 Thread Minchan Kim
On Mon, Nov 26, 2012 at 09:04:47PM -0800, Nitin Gupta wrote: > 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 > >zra

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

2012-11-27 Thread Minchan Kim
On Mon, Nov 26, 2012 at 09:13:24PM -0800, Nitin Gupta wrote: > 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

Re: [PATCH 1/3] i2c: exynos5: add High Speed I2C controller driver

2012-11-27 Thread Naveen Krishna Ch
Hello Felipe, Thomas, Thanks for your time and valuable comments, I will post the next version with you comments addressed. On 27 November 2012 19:04, Thomas Abraham wrote: > > On 27 November 2012 18:30, Naveen Krishna Chatradhi > wrote: > > Adds support for High Speed I2C driver found in Exyno

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

2012-11-27 Thread Minchan Kim
On Tue, Nov 27, 2012 at 04:45:54PM +0100, Jerome Marchand wrote: > On 11/27/2012 06:13 AM, Nitin Gupta wrote: > > 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 > >>

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

2012-11-27 Thread Benjamin Herrenschmidt
On Wed, 2012-11-28 at 14:03 +1100, Stephen Rothwell wrote: > Hi all, > > After merging the powerpc tree, next-20121115's build (powerpc > allmodconfig) failed like this: > > ERROR: ".of_reconfig_notifier_register" [drivers/crypto/nx/nx-compress.ko] > undefined! > ERROR: ".of_reconfig_notifier_un

Re: [PATCH v6 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-27 Thread Ming Lei
On Wed, Nov 28, 2012 at 5:19 AM, Rafael J. Wysocki wrote: > > Please use counters instead of walking the whole path every time. Ie. in > addition to the flag add a counter to store the number of the device's > children having that flag set. Even though counter is added, walking the whole path ca

[PATCH 1/2] percpu-rwsem: use synchronize_sched_expedited

2012-11-27 Thread Mikulas Patocka
On Tue, 27 Nov 2012, Jeff Chua wrote: > On Tue, Nov 27, 2012 at 3:38 PM, 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

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

2012-11-27 Thread Jianguo Wu
On 2012/11/28 11:47, Tang Chen wrote: > On 11/27/2012 11:10 AM, wujianguo wrote: >> >> Hi Tang, >> DMA address can't be set as movable, if some one boot kernel with >> movablecore_map=4G@0xa0 or other memory region that contains DMA address, >> system maybe boot failed. Should this case be

linux-next: manual merge of the staging tree with the tty tree

2012-11-27 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/dgrp/dgrp_tty.c between commit 3ba89e96610b ("staging: dgrp: dgrp_tty.c: Remove the TIOCSSOFTCAR ioctl handler from dgrp driver") from the tty tree and commit 8fdefcb0ab74 ("staging: dgrp: remove TIOCGSOFTCAR a

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

2012-11-27 Thread Minchan Kim
Hi Nitin, On Mon, Nov 26, 2012 at 11:26:07PM -0800, Nitin Gupta wrote: > The commit c8f2f0db1 ("zram: Fix handling of incompressible pages") > introduced a bug which caused a kunmap()'ed buffer to be used in case I got confused by the descripton. :( The descripton is not right. The problem is to

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

2012-11-27 Thread Wen Congyang
At 11/28/2012 12:01 PM, Jiang Liu Wrote: > On 2012-11-28 11:47, Tang Chen wrote: >> On 11/27/2012 11:10 AM, wujianguo wrote: >>> >>> Hi Tang, >>> DMA address can't be set as movable, if some one boot kernel with >>> movablecore_map=4G@0xa0 or other memory region that contains DMA >>> addre

Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-27 Thread Raghavendra K T
On 11/28/2012 06:42 AM, Marcelo Tosatti wrote: Don't understand the reasoning behind why 3 is a good choice. Here is where I came from. (explaining from scratch for completeness, forgive me :)) In moderate overcommits, we can falsely exit from ple handler even when we have preempted task of

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

2012-11-27 Thread Jiang Liu
On 2012-11-28 13:21, Wen Congyang wrote: > At 11/28/2012 12:01 PM, Jiang Liu Wrote: >> On 2012-11-28 11:47, Tang Chen wrote: >>> On 11/27/2012 11:10 AM, wujianguo wrote: Hi Tang, DMA address can't be set as movable, if some one boot kernel with movablecore_map=4G@0xa0 or

Re: Lockdep complain for zram

2012-11-27 Thread Minchan Kim
On Fri, Nov 23, 2012 at 03:46:31PM +0100, Jerome Marchand wrote: > On 11/23/2012 12:34 AM, Minchan Kim wrote: > > On Thu, Nov 22, 2012 at 12:13:24PM +0100, Jerome Marchand wrote: > >> On 11/21/2012 09:37 AM, Minchan Kim wrote: > >>> Hi alls, > >>> > >>> Today, I saw below complain of lockdep. > >>>

RE: [PATCH] ARM: EXYNOS: Avoid early use of of_machine_is_compatible()

2012-11-27 Thread Kukjin Kim
Olof Johansson wrote: > > On Tue, Nov 27, 2012 at 2:27 PM, Kukjin Kim wrote: > > On 11/28/12 07:11, Olof Johansson wrote: > >> > >> On Tue, Nov 27, 2012 at 11:53 AM, Doug Anderson > >> wrote: > >>> > >>> The recent commit "ARM: EXYNOS: add support for EXYNOS5440 SoC" broke > >>> support for exyno

Re: [PATCH] KVM: MMU: lazily drop large spte

2012-11-27 Thread Xiao Guangrong
On 11/18/2012 11:00 AM, Marcelo Tosatti wrote: map gfn 4? See corrected step 7 above. >> >> Ah, this is a real bug, and unfortunately, it exists in current >> code. I will make a separate patchset to fix it. Thank you, Marcelo! > > Is it? Hum.. > > Anyway, it would be great if you can write a te

[PATCH 2/2] Input: RMI4 - F11 - remove relreport attribute

2012-11-27 Thread Dmitry Torokhov
This data item does not seem to be used anywhere. Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_f11.c | 37 - include/linux/rmi.h | 1 - 2 files changed, 38 deletions(-) diff --git a/drivers/input/rmi4/rmi_f11.c b/drivers/input/rmi4/rmi_

[PATCH 1/2] Input: RMI4 - rework F11 sysfs and debugfs attributes

2012-11-27 Thread Dmitry Torokhov
Avoid rolling our own debugfs operations and use the standar ones instead. Also switch to using attribute groups to create sysfs attributes. The max_x and max_y can be retrieced via EVIOGABS and so attributes moved over to debugfs. Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_f11.c

Re: BUG: scheduling while atomic: ifup-bonding/3711/0x00000002 -- V3.6.7

2012-11-27 Thread Cong Wang
Cc netdev... On Wed, Nov 28, 2012 at 4:37 AM, Linda Walsh wrote: > > > Is this a known problem / bug, or should I file a bug on it? It doesn't > cause a complete failure, and it happens multiple times (~28 times > in 2.5 days?... so maybe 10x/day?) about 8 start with ifup, and the rest > start

Re: [PATCH] ARM: EXYNOS: Avoid early use of of_machine_is_compatible()

2012-11-27 Thread Olof Johansson
On Wed, Nov 28, 2012 at 02:23:09PM +0900, Kukjin Kim wrote: > Olof Johansson wrote: > > > > On Tue, Nov 27, 2012 at 2:27 PM, Kukjin Kim wrote: > > > On 11/28/12 07:11, Olof Johansson wrote: > > >> > > >> On Tue, Nov 27, 2012 at 11:53 AM, Doug Anderson > > >> wrote: > > >>> > > >>> The recent comm

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

2012-11-27 Thread Stephen Rothwell
Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/mach-ux500/cpu-db8500.c between commit e13316d60658 ("ARM: ux500: Rename dbx500 cpufreq code to be more generic") from the arm-soc tree and commit 50545e1d237b ("ARM: ux500: Remove cpufreq platform device") from the clk t

<    1   2   3   4   5   6   7   >