[PATCH V2 2/7] perf, x86: Basic Haswell LBR call stack support

2012-10-23 Thread Yan, Zheng
From: "Yan, Zheng" The new HSW call stack feature provides a facility such that unfiltered call data will be collected as normal, but as return instructions are executed the last captured branch record is popped from the LBR stack. Thus, branch information relative to leaf functions will not be

[PATCH V2 7/7] perf, x86: Discard zero length call entries in LBR call stack

2012-10-23 Thread Yan, Zheng
From: "Yan, Zheng" Zero length calls may confuse the hardware and make the recorded call stack incorrect. Try fixing the call stack by discarding zero length call entries. Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event_intel_lbr.c | 13 +++-- 1 file changed, 11

RE: [PATCH v2 net-next 1/2] r8169: enable ALDPS for power saving

2012-10-23 Thread hayeswang
Francois Romieu [mailto:rom...@fr.zoreil.com] [...] > > +static void r810x_aldps_disable(struct rtl8169_private *tp) > > +{ > > + rtl_writephy(tp, 0x1f, 0x); > > + rtl_writephy(tp, 0x18, 0x0310); > > + msleep(100); > > +} > > rtl8402_hw_phy_config used a msleep(20). Meguesses it won't

RE: [PATCH net-next 1/2] r8169: enable ALDPS for power saving

2012-10-23 Thread hayeswang
Francois Romieu [mailto:rom...@fr.zoreil.com] [...] > It would be nice to state these things in the commit message, namely: > - ALDPS should never be enabled for the RTL8105e > - none of the firmware-free chipsets support ALDPS > - neither do the RTL8168d/8111d Excuse me. I don't understand why

Re: [PATCH V3] PWM: Add SPEAr PWM chip driver support

2012-10-23 Thread Thierry Reding
On Mon, Oct 22, 2012 at 02:20:26PM +0200, Lars-Peter Clausen wrote: > On 10/22/2012 09:55 AM, Thierry Reding wrote: > > On Mon, Oct 22, 2012 at 11:51:11AM +0530, Viresh Kumar wrote: > >> On 22 October 2012 11:36, Shiraz Hashim wrote: > >>> On Mon, Oct 22, 2012 at 09:39:21AM +0530, viresh kumar

[RESEND PATCH] module: Fix kallsyms to show the last symbol properly

2012-10-23 Thread Masaki Kimura
This patch fixes a bug that the last symbol in the .symtab section of kernel modules is not displayed with /proc/kallsyms. This happens because the first symbol is processed twice before and inside the loop without incrementing "src". This bug exists since the following commit was introduced.

Re: [PATCH V4] PWM: Add SPEAr PWM chip driver support

2012-10-23 Thread Thierry Reding
On Mon, Oct 22, 2012 at 04:36:41PM +0530, Shiraz Hashim wrote: [...] > +struct spear_pwm_chip { > + void __iomem *mmio_base; > + struct clk *clk; > + struct pwm_chip chip; My editor shows a tab between pwm_chip and chip. This should really be a space. > + ret =

Re: [PATCH v5] posix timers: allocate timer id per process

2012-10-23 Thread Ingo Molnar
* Eric Dumazet wrote: > On Wed, 2012-10-24 at 00:33 +0200, Thomas Gleixner wrote: > > On Tue, 23 Oct 2012, Eric Dumazet wrote: > > > > > On Tue, 2012-10-23 at 23:47 +0200, Thomas Gleixner wrote: > > > > > > > Not so good to me. > > > > > > > > > Signed-off-by: Eric Dumazet > > > > > > > >

Re: [PATCH] Replace the type check code with typecheck() in kfifo_in

2012-10-23 Thread Stefani Seibold
Am Mittwoch, den 24.10.2012, 11:41 +0800 schrieb Wei Yang: > In kfifo_in marco, one piece of code which is arounded by if(0) will check the > type of __tmp->ptr_const and __buf. If they are different type, there will > output a warning during compiling. This piece of code is not self explaining >

Re: [PATCH V4] PWM: Add SPEAr PWM chip driver support

2012-10-23 Thread Thierry Reding
On Mon, Oct 22, 2012 at 07:25:45PM +0530, Viresh Kumar wrote: > On 22 October 2012 16:36, Shiraz Hashim wrote: > > Add support for PWM chips present on SPEAr platforms. These PWM > > chips support 4 channel output with programmable duty cycle and > > frequency. > > > > More details on these PWM

Re: [PATCH 2/2] firmware loader: introduce kernel parameter to customize fw search path

2012-10-23 Thread Greg Kroah-Hartman
On Wed, Oct 24, 2012 at 11:31:16AM +0800, Ming Lei wrote: > On Wed, Oct 24, 2012 at 11:18 AM, Greg Kroah-Hartman > wrote: > > > > Ick, no, not another kernel boot parameter. I would prefer the /proc/ > > file solution instead, just like /proc/sys/kernel/hotplug is. > > OK, got it, but we could

Re: [PATCH v3] pwm: vt8500: Update vt8500 PWM driver support

2012-10-23 Thread Thierry Reding
On Wed, Oct 24, 2012 at 04:46:58PM +1300, Tony Prisk wrote: > This patch updates pwm-vt8500.c to support devicetree probing and > make use of the common clock subsystem. > > A binding document describing the PWM controller found on > arch-vt8500 is also included. > > Signed-off-by: Tony Prisk >

Re: [RFC PATCH] gpiolib: add gpio get direction support

2012-10-23 Thread Linus Walleij
On Tue, Oct 23, 2012 at 1:06 PM, Mathias Nyman wrote: > [Me] >> Anyway, if the callback is only called internally in the GPIOlib >> why are you making the function public to the entire >> kernel > > Thought I'd do it the same was as gpio_direction_output() and > gpio_direction_input(), but if

Re: [PATCH] pidns: limit the nesting depth of pid namespaces

2012-10-23 Thread Andrey Wagin
2012/10/24 Andrew Morton : > On Fri, 12 Oct 2012 16:30:42 +0400 > Andrew Vagin wrote: > >> 'struct pid' is a "variable sized struct" - a header with an array >> of upids at the end. >> >> A size of the array depends on a level (depth) of pid namespaces. Now >> a level of pidns is not limited, so

Re: [PATCH 1/3] staging/sbe-2t3e3: Use netdev_ printks in main.c

2012-10-23 Thread Toshiaki Yamane
On Wed, Oct 24, 2012 at 1:15 PM, Greg Kroah-Hartman wrote: > On Wed, Oct 24, 2012 at 12:05:28PM +0900, YAMANE Toshiaki wrote: >> fixed below checkpatch warning. >> - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then >> pr_err(... to printk(KERN_ERR ... >> >> Signed-off-by:

RE: [PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-23 Thread Jaegeuk Kim
> On Wed, Oct 24, 2012 at 08:18:36AM +0900, Jaegeuk Kim wrote: > > > On Tue, Oct 23, 2012 at 11:26:59AM -0700, Greg KH wrote: > > > > On Tue, Oct 23, 2012 at 11:21:53AM +0900, Jaegeuk Kim wrote: > > > > > mkfs.f2fs > > > > > = > > > > > > > > > > The file system formatting tool,

RE: [PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-23 Thread Jaegeuk Kim
> -Original Message- > From: 'Greg KH' [mailto:gre...@linuxfoundation.org] > Sent: Wednesday, October 24, 2012 12:01 PM > To: Jaegeuk Kim > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > v...@zeniv.linux.org.uk; > a...@arndb.de; ty...@mit.edu; chur@samsung.com;

Re: [Request for review] Revised delete_module(2) manual page

2012-10-23 Thread Lucas De Marchi
Hi Michael, On Sun, Oct 21, 2012 at 5:36 AM, Michael Kerrisk (man-pages) wrote: > Ping! > > Rusty (et al.) I'm pretty sure the new page text is okay, but I would > like someone knowledgeable to confirm. One more thing: > .SH "SEE ALSO" > .BR create_module (2), > .BR init_module (2), > .BR

Re: Apparent serious progressive ext4 data corruption bug in 3.6.3 (and other stable branches?)

2012-10-23 Thread Theodore Ts'o
On Tue, Oct 23, 2012 at 11:27:09PM -0500, Eric Sandeen wrote: > > Ok, fair enough. If the BBU is working, nobarrier is ok; I don't trust > journal_async_commit, but that doesn't mean this isn't a regression. Note that Toralf has reported almost exactly the same set of symptoms, but he's using

[PATCH v2] staging/comedi: Use dev_ printks in drivers/vmk80xx.c

2012-10-23 Thread YAMANE Toshiaki
fixed below checkpatch warning. - Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/comedi/drivers/vmk80xx.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git

[PATCH] ARM: dma-mapping: fix build warning in __dma_alloc()

2012-10-23 Thread Jingoo Han
Fix build warning in __dma_alloc() as below: arch/arm/mm/dma-mapping.c: In function '__dma_alloc': arch/arm/mm/dma-mapping.c:653:29: warning: 'page' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Jingoo Han --- arch/arm/mm/dma-mapping.c |2 +- 1 files changed,

Re: [PATCH v2 1/4] DMA: PL330: Free memory allocated for peripheral channels

2012-10-23 Thread Vinod Koul
On Fri, 2012-10-05 at 15:47 +0530, Inderpal Singh wrote: > The allocated memory for peripheral channels is not being freed upon > failure in probe and in module's remove funtion. It will lead to memory > leakage. Hence free the allocated memory. > > Signed-off-by: Inderpal Singh > --- >

Re: [PATCH 5/5] Thermal: Add ST-Ericsson db8500 thermal dirver.

2012-10-23 Thread Hongbo Zhang
On 23 October 2012 02:51, Francesco Lavra wrote: > On 10/22/2012 02:02 PM, Hongbo Zhang wrote: > [...] +static irqreturn_t prcmu_low_irq_handler(int irq, void *irq_data) +{ + struct db8500_thermal_zone *pzone = irq_data; + struct db8500_thsens_platform_data *ptrips;

Re: [PATCH v2 4/4] DMA: PL330: unregister dma_device in module's remove function

2012-10-23 Thread Vinod Koul
On Fri, 2012-10-05 at 15:47 +0530, Inderpal Singh wrote: > unregister dma_device in module's remove function. > > Signed-off-by: Inderpal Singh > --- > drivers/dma/pl330.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c > index

Re: Process Hang in __read_seqcount_begin

2012-10-23 Thread Eric Dumazet
On Tue, 2012-10-23 at 17:15 -0700, Peter LaDow wrote: > (Sorry for the subject change, but I wanted to try and pull in those > who work on RT issues, and the subject didn't make that obvious. > Please search for the same subject without the RT Linux trailing > text.) > > Well, more information.

Re: [PATCH v2 3/4] DMA: PL330: Balance module remove function with probe

2012-10-23 Thread Vinod Koul
On Fri, 2012-10-05 at 15:47 +0530, Inderpal Singh wrote: > Since peripheral channel resources are not being allocated at probe, > no need to flush the channels and free the resources in remove function. > In case, the channel is in use by some client, return EBUSY. > > Signed-off-by: Inderpal

Re: Apparent serious progressive ext4 data corruption bug in 3.6.3 (and other stable branches?)

2012-10-23 Thread Eric Sandeen
On 10/23/12 11:15 PM, Nix wrote: > On 24 Oct 2012, Eric Sandeen uttered the following: > >> On 10/23/12 3:57 PM, Nix wrote: >>> The only unusual thing about the filesystems on this machine are that >>> they have hardware RAID-5 (using the Areca driver), so I'm mounting with >>> 'nobarrier': >>

Re: [PATCH v2 2/4] DMA: PL330: Change allocation method to properly free DMA descriptors

2012-10-23 Thread Vinod Koul
On Fri, 2012-10-05 at 15:47 +0530, Inderpal Singh wrote: > In probe, memory for multiple DMA descriptors were being allocated at once > and then it was being split and added into DMA pool one by one. The address > of this memory allocation is not being saved anywhere. To free this memory, > the

linux-next: Tree for Oct 24

2012-10-23 Thread Stephen Rothwell
Hi all, Changes since 201201023: The wireless-next tree lost its conflicts. The pm tree gained a build failure for which I applied a patch. The tty tree gained a build failure for which I disabled a staging driver. The usb tree lost its build failure. The akpm tree still has its 2 build

Re: Apparent serious progressive ext4 data corruption bug in 3.6.3 (and other stable branches?)

2012-10-23 Thread Nix
On 24 Oct 2012, Eric Sandeen uttered the following: > On 10/23/12 3:57 PM, Nix wrote: >> The only unusual thing about the filesystems on this machine are that >> they have hardware RAID-5 (using the Areca driver), so I'm mounting with >> 'nobarrier': > > I should have read more. :( More

Re: [PATCH 1/3] staging/sbe-2t3e3: Use netdev_ printks in main.c

2012-10-23 Thread Greg Kroah-Hartman
On Wed, Oct 24, 2012 at 12:05:28PM +0900, YAMANE Toshiaki wrote: > fixed below checkpatch warning. > - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then > pr_err(... to printk(KERN_ERR ... > > Signed-off-by: YAMANE Toshiaki I never got the 3/3 patch in this series :( greg k-h

Re: [PATCH] Staging: android: binder: Fixed multi-line strings

2012-10-23 Thread Greg KH
On Tue, Oct 23, 2012 at 03:13:38PM +0530, Anmol Sarma wrote: > >From 949ecac6fcd58ffa6d02f6761058dbcfb1c2ba42 Mon Sep 17 00:00:00 2001 > From: Anmol Sarma > Date: Tue, 23 Oct 2012 13:47:14 +0530 > Subject: [PATCH] Staging: android: binder: Strings cleanup > > Changed all user visible multi-line

RE: linux-next: build failure after merge of the final tree (pm tree related)

2012-10-23 Thread Song, Youquan
Yes. We already do the patch to fix the warning yesterday after get the information from Fengguang's "0-DAY kernel build testing". But do not refresh linux-next so quickly. Thanks for the information and patch, Stephen! -Youquan -Original Message- From: Stephen Rothwell

Re: [PATCH v3] pwm: vt8500: Update vt8500 PWM driver support

2012-10-23 Thread Tony Prisk
On Wed, 2012-10-24 at 00:14 +0200, Thierry Reding wrote: > On Tue, Oct 23, 2012 at 07:10:24AM +1300, Tony Prisk wrote: > [...] > > @@ -87,6 +98,11 @@ static int vt8500_pwm_enable(struct pwm_chip *chip, > > struct pwm_device *pwm) > > { > > struct vt8500_chip *vt8500 = to_vt8500_chip(chip); >

[PATCH v3] pwm: vt8500: Update vt8500 PWM driver support

2012-10-23 Thread Tony Prisk
This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. A binding document describing the PWM controller found on arch-vt8500 is also included. Signed-off-by: Tony Prisk --- v2/v3: Fix errors/coding style as pointed out by Thierry Reding.

Re: process hangs on do_exit when oom happens

2012-10-23 Thread Qiang Gao
On Wed, Oct 24, 2012 at 1:43 AM, Balbir Singh wrote: > On Tue, Oct 23, 2012 at 3:45 PM, Michal Hocko wrote: >> On Tue 23-10-12 18:10:33, Qiang Gao wrote: >>> On Tue, Oct 23, 2012 at 5:50 PM, Michal Hocko wrote: >>> > On Tue 23-10-12 15:18:48, Qiang Gao wrote: >>> >> This process was moved to

linux-next: build failure after merge of the final tree (pm tree related)

2012-10-23 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allnoconfig) failed like this: In file included from arch/powerpc/kernel/idle.c:27:0: include/linux/tick.h: In function 'menu_hrtimer_cancel': include/linux/tick.h:148:48: error: 'return' with a value, in function returning

Re: [PATCH 2/5] ARM: tegra: dts: add slink controller dt entry

2012-10-23 Thread Vinod Koul
On Fri, 2012-10-19 at 09:56 -0600, Stephen Warren wrote: > On 10/19/2012 03:10 AM, Laxman Dewangan wrote: > > On Friday 19 October 2012 04:11 AM, Stephen Warren wrote: > >> On 10/18/2012 04:56 AM, Laxman Dewangan wrote: > >>> Add slink controller details in the dts file of > >>> Tegra20 and

[PATCH] Replace the type check code with typecheck() in kfifo_in

2012-10-23 Thread Wei Yang
In kfifo_in marco, one piece of code which is arounded by if(0) will check the type of __tmp->ptr_const and __buf. If they are different type, there will output a warning during compiling. This piece of code is not self explaining and a little bit hard to understand. Based on Andrew Morton's

Re: [PATCH] dmaengine: imx-dma: fix missing unlock on error in imxdma_xfer_desc()

2012-10-23 Thread Vinod Koul
On Sun, 2012-10-21 at 19:58 +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing unlock on the error handling path in function > imxdma_xfer_desc(). > > Signed-off-by: Wei Yongjun > --- > drivers/dma/imx-dma.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff

Re: [PATCH 2/2] firmware loader: introduce kernel parameter to customize fw search path

2012-10-23 Thread Ming Lei
On Wed, Oct 24, 2012 at 11:18 AM, Greg Kroah-Hartman wrote: > > Ick, no, not another kernel boot parameter. I would prefer the /proc/ > file solution instead, just like /proc/sys/kernel/hotplug is. OK, got it, but we could use the module parameter(firmware_class.path via kernel command) to

Re: [PATCH 041/193] drivers/dma: remove CONFIG_EXPERIMENTAL

2012-10-23 Thread Vinod Koul
On Tue, 2012-10-23 at 13:01 -0700, Kees Cook wrote: > This config item has not carried much meaning for a while now and is > almost always enabled by default. As agreed during the Linux kernel > summit, remove it. > > CC: Vinod Koul > CC: Dan Williams > Signed-off-by: Kees Cook > --- >

Re: [RFC PATCH 1/3] dmaengine: add dma_get_channel_caps()

2012-10-23 Thread Vinod Koul
On Tue, 2012-10-23 at 23:49 +0100, Grant Likely wrote: > > +enum dmaengine_apis { > > + DMAENGINE_MEMCPY= 0x0001, > > + DMAENGINE_XOR = 0x0002, > > + DMAENGINE_XOR_VAL = 0x0004, > > + DMAENGINE_PQ= 0x0008, > > + DMAENGINE_PQ_VAL

Re: [RFC PATCH 1/3] dmaengine: add dma_get_channel_caps()

2012-10-23 Thread Vinod Koul
On Tue, 2012-10-23 at 15:54 -0700, Dan Williams wrote: > > +struct dmaengine_chan_caps { > > + enum dmaengine_apis ops; > > + int seg_nr; > > + int seg_len; > > +}; > > This makes sense for the potentially dynamic capability properties > that get set after configuration, but why

Re: [PATCH 2/2] firmware loader: introduce kernel parameter to customize fw search path

2012-10-23 Thread Greg Kroah-Hartman
On Wed, Oct 24, 2012 at 10:49:53AM +0800, Ming Lei wrote: > This patch introduces one kernel parameter of 'fw_path' to support > customizing firmware image search path, so that people can use its > own firmware path if the default built-in paths can't meet their demand[1]. > > [1],

Re: [PATCH] staging/comedi: Use dev_ printks in drivers/vmk80xx.c

2012-10-23 Thread Toshiaki Yamane
On Tue, Oct 23, 2012 at 4:45 AM, Greg Kroah-Hartman wrote: > Note, when you resend please enumerate what version of the patch this > is, otherwise I can get very confused. Sorry, I am going to watch out for it from the next. -- Regards, YAMANE Toshiaki -- To unsubscribe from this list: send

Re: [PATCH 1/2] brw_mutex: big read-write mutex

2012-10-23 Thread Dave Chinner
On Fri, Oct 19, 2012 at 06:54:41PM -0400, Mikulas Patocka wrote: > > > On Fri, 19 Oct 2012, Peter Zijlstra wrote: > > > > Yes, I tried this approach - it involves doing LOCK instruction on read > > > lock, remembering the cpu and doing another LOCK instruction on read > > > unlock (which will

Re: OOPS after deleting file on ext4 filesystem

2012-10-23 Thread Theodore Ts'o
On Tue, Oct 23, 2012 at 08:50:22PM -0400, Nick Bowler wrote: > Hi folks, > > I just saw an ext4 oops on one of my machines after a couple months of > uptime, on Linux 3.5.2. I doubt I will be able to reproduce the problem > easily so I'm just posting this in case anyone can tell what's going on.

[PATCH 1/3] staging/sbe-2t3e3: Use netdev_ printks in main.c

2012-10-23 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: YAMANE Toshiaki --- drivers/staging/sbe-2t3e3/main.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v5] posix timers: allocate timer id per process

2012-10-23 Thread Eric Dumazet
On Wed, 2012-10-24 at 00:33 +0200, Thomas Gleixner wrote: > On Tue, 23 Oct 2012, Eric Dumazet wrote: > > > On Tue, 2012-10-23 at 23:47 +0200, Thomas Gleixner wrote: > > > > > Not so good to me. > > > > > > > Signed-off-by: Eric Dumazet > > > > > > And that should be either an Acked-by or a

Re: [PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-23 Thread 'Greg KH'
On Wed, Oct 24, 2012 at 08:18:36AM +0900, Jaegeuk Kim wrote: > > On Tue, Oct 23, 2012 at 11:26:59AM -0700, Greg KH wrote: > > > On Tue, Oct 23, 2012 at 11:21:53AM +0900, Jaegeuk Kim wrote: > > > > mkfs.f2fs > > > > = > > > > > > > > The file system formatting tool, "mkfs.f2fs", is

Re: [PATCH 00/16 v2] f2fs: introduce flash-friendly file system

2012-10-23 Thread 'Greg KH'
On Wed, Oct 24, 2012 at 08:14:44AM +0900, Jaegeuk Kim wrote: > > On Tue, Oct 23, 2012 at 11:21:53AM +0900, Jaegeuk Kim wrote: > > > mkfs.f2fs > > > = > > > > > > The file system formatting tool, "mkfs.f2fs", is available from the > > > following > > > download page:

Re: usbview 2.0 release

2012-10-23 Thread Greg KH
On Tue, Oct 23, 2012 at 10:17:22AM +0530, Anil Nair wrote: > Hello Greg, > > > No, debugfs needs to be mounted at /sys/kernel/debug/ Is it not mounted > > that way for you? Perhaps it is mounted with root-only access (default > > for 3.7-rc1 and newer kernels)? > > Yes you are right i verified

[PATCH 2/3] staging/sbe-2t3e3: Use netdev_ or dev_ or pr_ printks in module.c

2012-10-23 Thread YAMANE Toshiaki
fixed below checkpatch warning. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_warn(netdev, ... then dev_warn(dev, ... then pr_warn(... to printk(KERN_WARNING ... and add pr_fmt. Signed-off-by: YAMANE Toshiaki

Re: Re: [Pv-drivers] 3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-23 Thread Jongman Heo
Hi, --- Original Message --- Sender : Eric Dumazet Date : 2012-10-24 04:39 (GMT+09:00) Title : Re: [Pv-drivers] 3.7-rc2 regression : file copied to CIFS-mounted directory corrupted On Tue, 2012-10-23 at 15:50 +0200, Eric Dumazet wrote: > Only the skb head is handled in the code you

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

2012-10-23 Thread Greg KH
On Wed, Oct 24, 2012 at 01:28:27PM +1100, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/staging/dgrp/dgrp_net_ops.c: In function 'dgrp_input': > drivers/staging/dgrp/dgrp_net_ops.c:216:27: error:

[PATCH 2/2] firmware loader: introduce kernel parameter to customize fw search path

2012-10-23 Thread Ming Lei
This patch introduces one kernel parameter of 'fw_path' to support customizing firmware image search path, so that people can use its own firmware path if the default built-in paths can't meet their demand[1]. [1], https://lkml.org/lkml/2012/10/11/337 Cc: Linus Torvalds Signed-off-by: Ming Lei

[PATCH 1/2] firmware loader: document kernel direct loading

2012-10-23 Thread Ming Lei
This patch adds description on recently introduced direct firmware loading by Linus. Cc: Linus Torvalds Signed-off-by: Ming Lei --- Documentation/firmware_class/README | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git

Re: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-23 Thread Dave Chinner
On Wed, Oct 17, 2012 at 12:50:11PM +, Arnd Bergmann wrote: > On Tuesday 16 October 2012, Jaegeuk Kim wrote: > > > IIRC, fs2fs uses 4k inodes, so IMO per-inode xattr tress with > > > internal storage before spilling to an external block is probably > > > the best approach to take... > > > >

linux-next: build warning in Linus' tree

2012-10-23 Thread Stephen Rothwell
Hi Mauro, After merging the origin tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/media/usb/dvb-usb-v2/dvb_usb_core.c: In function 'dvb_usb_ctrl_feed': drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:291:12: warning: 'ret' may be used uninitialized in this

Re: [GIT PULL v2] extcon fixes for Linux 3.7

2012-10-23 Thread Greg KH
On Tue, Oct 23, 2012 at 05:18:20PM +0900, MyungJoo Ham wrote: > > > Hello Greg, > > Please pull: > The following changes since commit 6f0c0580b70c89094b3422ba81118c7b959c7556: > > Linux 3.7-rc2 (2012-10-20 12:11:32 -0700) > > are available in the git repository at: >

Re: [PATCH 1/5] Thermal: do bind operation after thermal zone or cooling device register returns.

2012-10-23 Thread Hongbo Zhang
On 24 October 2012 06:13, Francesco Lavra wrote: > Hi, > On 10/23/2012 10:23 AM, Hongbo Zhang wrote: >> Hi Francesco, >> I found out more points about this issue. >> >> [1] >> cdev should be ready when get_max_state callback be called, otherwise >> parameter cdev is useless, imagine there may be

Re: [RFC PATCH 04/10] sched: Introduce priority-based task migration filter

2012-10-23 Thread li guang
在 2012-10-09二的 17:40 +0100,Morten Rasmussen写道: > On Thu, Oct 04, 2012 at 07:27:00AM +0100, Viresh Kumar wrote: > > On 22 September 2012 00:02, wrote: > > > > > +config SCHED_HMP_PRIO_FILTER > > > + bool "(EXPERIMENTAL) Filter HMP migrations by task priority" > > > + depends on

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

2012-10-23 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/staging/dgrp/dgrp_net_ops.c: In function 'dgrp_input': drivers/staging/dgrp/dgrp_net_ops.c:216:27: error: 'struct tty_struct' has no member named 'real_raw'

Re: [PATCH v2 2/4] zynq: move static peripheral mappings

2012-10-23 Thread Nick Bowler
On 2012-10-23 15:53 -0500, Josh Cartwright wrote: > On Tue, Oct 23, 2012 at 03:09:23PM -0500, Rob Herring wrote: > > On 10/23/2012 09:50 AM, Arnd Bergmann wrote: > > > On Monday 22 October 2012, Josh Cartwright wrote: > > >> -#define SCU_PERIPH_PHYS 0xF8F0 > > >> -#define

Re: [PATCH v2 2/4] zynq: move static peripheral mappings

2012-10-23 Thread Nick Bowler
On 2012-10-23 11:26 -0500, Josh Cartwright wrote: > On Tue, Oct 23, 2012 at 02:50:11PM +, Arnd Bergmann wrote: > > On Monday 22 October 2012, Josh Cartwright wrote: > > > Shifting them up into the vmalloc region prevents the following warning, > > > when booting a zynq qemu target with more

OOPS after deleting file on ext4 filesystem

2012-10-23 Thread Nick Bowler
Hi folks, I just saw an ext4 oops on one of my machines after a couple months of uptime, on Linux 3.5.2. I doubt I will be able to reproduce the problem easily so I'm just posting this in case anyone can tell what's going on. Going by the timing, and the call trace, it is presumably related to

Re: [GIT PULL] regmap for for v3.7

2012-10-23 Thread Linus Torvalds
On Tue, Oct 23, 2012 at 11:58 AM, Mark Brown wrote: > > Hrm, appears nobody else ever actually checks these things... it's a > new subkey on my existing key, I've pushed it up to subkeys.pgp.net and > also attach a copy. Sorry about that. NP. Looks good now, Linus -- To

Re: [PATCH] tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE

2012-10-23 Thread Linus Torvalds
On Wed, Oct 24, 2012 at 4:56 AM, Al Viro wrote: > > How about git commit --allow-empty, with > "belated ACK for Don't bother. It's not that important, and it's just distracting. It's not like this is vital information. If you pushed it out without the ack, it's out without the ack. Big deal.

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-23 Thread Tang Chen
Hi Luck, Borislav, OK, since you all think it is not necessary, I think I will drop patch1. And thanks for your comments. :) So, how about patch2 ? If you need more detail, please tell me. Thanks. :) On 10/24/2012 12:16 AM, Luck, Tony wrote: First of all, I do think I was answering your

Re: [ANNOUNCE] 3.6.3-rt6

2012-10-23 Thread Paul Gortmaker
On Tue, Oct 23, 2012 at 5:06 PM, Thomas Gleixner wrote: > Dear RT Folks, > > I'm pleased to announce the 3.6.3-rt6 release. rt6 is just an update > to 3.6.3. The not announced 3.6.2-rt5 is an intermediate release with > a single change. > > Changes since 3.6.2-rt4: > > * Make the early

RE: [PATCH] tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE

2012-10-23 Thread Marc Gauthier
Jeff King wrote: > On Tue, Oct 23, 2012 at 11:25:06PM +0200, Thomas Gleixner wrote: > > > The resulting notes are stored in a separate > > > revision-controlled branch > > > > Which branch(es) is/are that ? What are the semantics of that? [...] Nice feature. Can a later commit be eventually be

Re: [PATCH] tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE

2012-10-23 Thread Al Viro
On Wed, Oct 24, 2012 at 04:02:49AM +0300, Linus Torvalds wrote: > On Wed, Oct 24, 2012 at 12:25 AM, Thomas Gleixner wrote: > >> > >> It is spelled: > >> > >> git notes add -m SHA1 > > > > Cool! > > Don't use them for anything global. > > Use them for local codeflow, but don't expect them to

[patch for-3.7] mm, numa: avoid setting zone_reclaim_mode unless a node is sufficiently distant

2012-10-23 Thread David Rientjes
Commit 957f822a0ab9 ("mm, numa: reclaim from all nodes within reclaim distance") caused zone_reclaim_mode to be set for all systems where two nodes are within RECLAIM_DISTANCE of each other. This is the opposite of what we actually want: zone_reclaim_mode should be set if two nodes are

Re: [PATCH 4/6] xen/pvh: bootup and setup related changes.

2012-10-23 Thread Mukesh Rathor
On Tue, 23 Oct 2012 14:07:06 +0100 Stefano Stabellini wrote: > On Mon, 22 Oct 2012, Konrad Rzeszutek Wilk wrote: > > On Mon, Oct 22, 2012 at 02:34:44PM +0100, Stefano Stabellini wrote: > > > On Sat, 20 Oct 2012, Konrad Rzeszutek Wilk wrote: > > > > From: Mukesh Rathor > > > > > > > >

Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable

2012-10-23 Thread Hein Tibosch
Hi Andrew, On 10/24/2012 7:12 AM, Andrew Morton wrote: > On Sun, 14 Oct 2012 15:54:13 +0800 > Hein Tibosch wrote: > >> The dw_dmac was originally developed for avr32 to be used with the Synopsys >> DesignWare AHB DMA controller. Starting from 2.6.38, access to the device's >> i/o >> memory was

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-23 Thread YingHang Zhu
Hi Chen, On Wed, Oct 24, 2012 at 9:02 AM, Ni zhan Chen wrote: > On 10/23/2012 09:41 PM, YingHang Zhu wrote: >> >> Sorry for the annoying, I forgot ccs in the previous mail. >> Thanks, >> Ying Zhu >> Hi Chen, >> >> On Tue, Oct 23, 2012 at 9:21 PM, Ni zhan Chen >> wrote: >>> >>> On

Re: [next:akpm 155/157] drivers/char/random.c:827:3: warning: format '%zd' expects argument of type 'signed size_t', but argument 7 has type 'size_t'

2012-10-23 Thread Fengguang Wu
[add CC to mn10300/cris arch lists] On Wed, Oct 24, 2012 at 08:56:12AM +0800, Fengguang Wu wrote: > On Tue, Oct 23, 2012 at 02:53:58PM -0700, Andrew Morton wrote: > > On Tue, 23 Oct 2012 18:16:58 +0800 > > Fengguang Wu wrote: > > > > > Hi Jiri, > > > > > > FYI, there are new compile warnings

Re: [PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-10-23 Thread Shaohua Li
On Tue, Oct 23, 2012 at 09:41:00AM -0400, Rik van Riel wrote: > On 10/23/2012 01:51 AM, Shaohua Li wrote: > > >I have no strong point against the global state method. But I'd agree making > >the > >heuristic simple is preferred currently. I'm happy about the patch if the > >'+1' > >is removed.

Re: Apparent serious progressive ext4 data corruption bug in 3.6.3 (and other stable branches?)

2012-10-23 Thread Eric Sandeen
On 10/23/12 3:57 PM, Nix wrote: > (I'd provide more sample errors, but this bug has been eating > newly-written logs in /var all day, so not much has survived.) > > I rebooted into 3.6.1 rescue mode and fscked everything: lots of > orphans, block group corruption and cross-linked files. The

Re: EXT4-fs error w/ external USB drive

2012-10-23 Thread Theodore Ts'o
Toralf, Are you using any kind of special mount options on your usb stick? Thanks, - Ted -- 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

Re: [PATCH 004/193] Documentation/laptops: remove CONFIG_EXPERIMENTAL

2012-10-23 Thread Kumar Appaiah
On Tue, Oct 23, 2012 at 01:01:17PM -0700, Kees Cook wrote: > This config item has not carried much meaning for a while now and is > almost always enabled by default. As agreed during the Linux kernel > summit, remove it. I am not really involved in this, other than the fact that I made some small

Re: [PATCH 098/193] drivers/net/usb: remove CONFIG_EXPERIMENTAL

2012-10-23 Thread David Miller
From: Kees Cook Date: Tue, 23 Oct 2012 15:53:27 -0700 > On Tue, Oct 23, 2012 at 1:15 PM, Greg Kroah-Hartman > wrote: >> On Tue, Oct 23, 2012 at 01:02:51PM -0700, Kees Cook wrote: >>> This config item has not carried much meaning for a while now and is >>> almost always enabled by default. As

Re: [PATCH] tile: support GENERIC_KERNEL_THREAD and GENERIC_KERNEL_EXECVE

2012-10-23 Thread Linus Torvalds
On Wed, Oct 24, 2012 at 12:25 AM, Thomas Gleixner wrote: >> >> It is spelled: >> >> git notes add -m SHA1 > > Cool! Don't use them for anything global. Use them for local codeflow, but don't expect them to be distributed. It's a separate "flow", and while it *can* be distributed, it's not

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-23 Thread Ni zhan Chen
On 10/23/2012 09:41 PM, YingHang Zhu wrote: Sorry for the annoying, I forgot ccs in the previous mail. Thanks, Ying Zhu Hi Chen, On Tue, Oct 23, 2012 at 9:21 PM, Ni zhan Chen wrote: On 10/23/2012 08:46 PM, Ying Zhu wrote: Hi, Recently we ran into the bug that an opened file's

Re: [PATCH v2] epoll: Support for disabling items, and a self-test app.

2012-10-23 Thread Paton J. Lewis
On 10/23/12 6:26 AM, Michael Kerrisk (man-pages) wrote: On 10/23/12 10:23 AM, Paton J. Lewis wrote: [Re-sending without HTML formatting; all vger.kernel.org destination addresses bounced my original response.] On 10/16/12 8:12 AM, Michael Kerrisk (man-pages) wrote: [CC += linux-api@] Thank

Re: Apparent serious progressive ext4 data corruption bug in 3.6.3 (and other stable branches?)

2012-10-23 Thread Eric Sandeen
On 10/23/12 5:19 PM, Theodore Ts'o wrote: > On Tue, Oct 23, 2012 at 09:57:08PM +0100, Nix wrote: >> >> It is now quite clear that this is a bug introduced by one or more of >> the post-3.6.1 ext4 patches (which have all been backported at least to >> 3.5, so the problem is probably there too). >>

[PATCH] arm: l2cc: doc: fix device tree example typo

2012-10-23 Thread Josh Cartwright
The list of attributes above details the use of the 'filter-ranges' property, but the example improperly used 'filter-latency'. Make these consistent by fixing up the example. Signed-off-by: Josh Cartwright --- Documentation/devicetree/bindings/arm/l2cc.txt | 2 +- 1 file changed, 1

Re: [PATCH 17/23] cx23885: Replace memcpy with struct assignment

2012-10-23 Thread Ezequiel Garcia
(CCed Steven Toth and Devin Heitmueller) On Tue, Oct 23, 2012 at 7:16 PM, Andy Walls wrote: > On Tue, 2012-10-23 at 16:57 -0300, Ezequiel Garcia wrote: >> This kind of memcpy() is error-prone. Its replacement with a struct >> assignment is prefered because it's type-safe and much easier to read.

Re: [PATCH 04/23] sn9c102: Replace memcpy with struct assignment

2012-10-23 Thread Ezequiel Garcia
On Tue, Oct 23, 2012 at 4:57 PM, Ezequiel Garcia wrote: > This kind of memcpy() is error-prone. Its replacement with a struct > assignment is prefered because it's type-safe and much easier to read. > > Found by coccinelle. Hand patched and reviewed. > Tested by compilation only. > > A simplified

Re: [RFC] Energy/power monitoring within the kernel

2012-10-23 Thread Thomas Renninger
Hi, On Tuesday, October 23, 2012 06:30:49 PM Pawel Moll wrote: > Greetings All, > > More and more of people are getting interested in the subject of power > (energy) consumption monitoring. We have some external tools like > "battery simulators", energy probes etc., but some targets can measure

Re: [RFC] Energy/power monitoring within the kernel

2012-10-23 Thread Thomas Renninger
Hi, On Tuesday, October 23, 2012 06:30:49 PM Pawel Moll wrote: > Greetings All, > > More and more of people are getting interested in the subject of power > (energy) consumption monitoring. We have some external tools like > "battery simulators", energy probes etc., but some targets can measure

Re: [PATCH 173/193] net/mac80211: remove CONFIG_EXPERIMENTAL

2012-10-23 Thread Stephen Rothwell
Hi All, On Tue, 23 Oct 2012 13:22:23 -0700 Kees Cook wrote: > > On Tue, Oct 23, 2012 at 1:16 PM, David Miller wrote: > > From: Johannes Berg > > Date: Tue, 23 Oct 2012 22:15:50 +0200 > > > >> On Tue, 2012-10-23 at 13:04 -0700, Kees Cook wrote: > >>> This config item has not carried much

Re: drm i915 hangs on heavy io load

2012-10-23 Thread Norbert Preining
Hi Dave, hi Chris, thanks for your answers. On Di, 23 Okt 2012, Dave Airlie wrote: > Does booting with i915.i915_enable_rc6=0 help? No,booted with that, it happened again on a completely idle system (well, I believe completely idle, I was doing the dishes ;-) [12437.995026]

[PATCH v3 5/5] zynq: move static peripheral mappings

2012-10-23 Thread Josh Cartwright
Shifting them up into the vmalloc region prevents the following warning, when booting a zynq qemu target with more than 512mb of RAM: BUG: mapping for 0xe000 at 0xe000 out of vmalloc space In addition, it allows for reuse of these mappings when the proper drivers issue requests via

[PATCH v3 4/5] ARM: annotate VMALLOC_END definition with _AC

2012-10-23 Thread Josh Cartwright
This makes the definition of VMALLOC_END suitable for use within assembly code. This is necessary to allow the use of VMALLOC_END in defining where the early uart is mapped for use with DEBUG_LL. Signed-off-by: Josh Cartwright --- arch/arm/include/asm/pgtable.h | 2 +- 1 file changed, 1

[PATCH v3 3/5] zynq: remove use of CLKDEV_LOOKUP

2012-10-23 Thread Josh Cartwright
The Zynq support in mainline does not (yet) make use of any of the generic clk or clk lookup functionality. Remove what is upstream for now, until the out-of-tree implementation is in suitable form for merging. An important side effect of this patch is that it allows the building of a Zynq

[PATCH v3 2/5] zynq: use pl310 device tree bindings

2012-10-23 Thread Josh Cartwright
The Zynq has a PL310 L2 cache controller. Convert in-tree uses to using the device tree. Signed-off-by: Josh Cartwright Cc: John Linn --- arch/arm/boot/dts/zynq-ep107.dts | 9 + arch/arm/mach-zynq/common.c| 9 +

[PATCH v3 1/5] zynq: use GIC device tree bindings

2012-10-23 Thread Josh Cartwright
The Zynq uses the cortex-a9-gic. This eliminates the need to hardcode register addresses. Signed-off-by: Josh Cartwright Cc: John Linn --- arch/arm/boot/dts/zynq-ep107.dts | 8 +--- arch/arm/mach-zynq/common.c| 7 ++-

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-23 Thread Christopher Heiny
On 10/23/2012 05:11 PM, Dmitry Torokhov wrote: On Tuesday, October 23, 2012 04:46:28 PM Christopher Heiny wrote: On 10/11/2012 01:13 AM, Dmitry Torokhov wrote: On Thu, Oct 11, 2012 at 04:15:56AM +, Christopher Heiny wrote: On Thursday, October 11, 2012 02:21:53 AM you wrote: On Sat, Oct

  1   2   3   4   5   6   7   8   9   10   >