Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Lai Jiangshan
On 02/27/2013 01:11 PM, Yinghai Lu wrote: > On Tue, Feb 26, 2013 at 8:43 PM, Yasuaki Ishimatsu > wrote: >> 2013/02/27 13:04, Yinghai Lu wrote: >>> >>> On Tue, Feb 26, 2013 at 7:38 PM, Yasuaki Ishimatsu >>> wrote: 2013/02/27 11:30, Yinghai Lu wrote: > > Do you mean you can not

Re: [ 79/86] USB: ehci-omap: Dont free gpios that we didnt request

2013-02-26 Thread Roger Quadros
Hi Greg, On 02/27/2013 02:08 AM, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Roger Quadros > > commit 428525f97153505e83983460a8d08a3210aa6b8a upstream. > > This driver does not request any gpios so

Re: [PATCH v2 0/4] gpiolib: some fixup patches

2013-02-26 Thread Grant Likely
On Wed, Feb 27, 2013 at 1:22 AM, Alexandre Courbot wrote: > On Wed, Feb 27, 2013 at 2:53 AM, Grant Likely > wrote: >> On Fri, 22 Feb 2013 11:19:44 +0900, Alexandre Courbot >> wrote: >>> Grant, will you be able to include these for 3.9? They fix code that >>> you merged recently, so I'd be

Re: [PATCH 1/5] metag: Provide dma_get_sgtable()

2013-02-26 Thread James Hogan
On 27/02/13 07:09, Marek Szyprowski wrote: > Hello, > > On 2/26/2013 12:03 PM, James Hogan wrote: >> metag/allmodconfig: >> >> drivers/media/v4l2-core/videobuf2-dma-contig.c: In function >> 'vb2_dc_get_base_sgt': >> drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit >>

Re: [PATCH 02/16] virtio_ring: virtqueue_add_sgs, to add multiple sgs.

2013-02-26 Thread Michael S. Tsirkin
On Wed, Feb 27, 2013 at 05:58:37PM +1030, Rusty Russell wrote: > Paolo Bonzini writes: > > Il 24/02/2013 23:12, Michael S. Tsirkin ha scritto: > >> On Tue, Feb 19, 2013 at 06:26:20PM +1030, Rusty Russell wrote: > >>> virtio_scsi can really use this, to avoid the current hack of copying > >>> the

Re: [PATCH v2] slub: correctly bootstrap boot caches

2013-02-26 Thread Pekka Enberg
On Fri, Feb 22, 2013 at 7:23 PM, Christoph Lameter wrote: > On Fri, 22 Feb 2013, Glauber Costa wrote: > >> On 02/22/2013 09:01 PM, Christoph Lameter wrote: >> > Argh. This one was the final version: >> > >> > https://patchwork.kernel.org/patch/2009521/ >> > >> >> It seems it would work. It is all

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Tang Chen
On 02/27/2013 03:25 PM, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 11:11 PM, Tang Chen wrote: On 02/27/2013 02:54 PM, Yinghai Lu wrote: Those patches are tangled together. No, they are not. The following commits supports "movablemem_map=nn[KMG]@ss[KMG]". commit

Re: [PATCH 8/9] memory-hotplug: enable memory hotplug to handle hugepage

2013-02-26 Thread Chen Gong
On Thu, Feb 21, 2013 at 02:41:47PM -0500, Naoya Horiguchi wrote: > Date: Thu, 21 Feb 2013 14:41:47 -0500 > From: Naoya Horiguchi > To: linux...@kvack.org > Cc: Andrew Morton , Mel Gorman , > Hugh Dickins , KOSAKI Motohiro > , Andi Kleen , > linux-kernel@vger.kernel.org > Subject: [PATCH 8/9]

Re: [RFC PATCH v2 0/4] Add support for LZ4-compressed kernel

2013-02-26 Thread Kyungsik Lee
On Tue, Feb 26, 2013 at 09:33:22PM +0100, Markus F.X.J. Oberhumer wrote: > On 2013-02-26 07:24, Kyungsik Lee wrote: > > Hi, > > > > [...] > > > > Through the benchmark, it was found that -Os Compiler flag for > > decompress.o brought better decompression performance in most of cases > > (ex,

Re: [PATCH 02/16] virtio_ring: virtqueue_add_sgs, to add multiple sgs.

2013-02-26 Thread Rusty Russell
Paolo Bonzini writes: > Il 24/02/2013 23:12, Michael S. Tsirkin ha scritto: >> On Tue, Feb 19, 2013 at 06:26:20PM +1030, Rusty Russell wrote: >>> virtio_scsi can really use this, to avoid the current hack of copying >>> the whole sg array. Some other things get slightly neater, too. >>> >>>

Re: [PATCH 3/9] soft-offline: use migrate_pages() instead of migrate_huge_page()

2013-02-26 Thread Chen Gong
On Thu, Feb 21, 2013 at 02:41:42PM -0500, Naoya Horiguchi wrote: > Date: Thu, 21 Feb 2013 14:41:42 -0500 > From: Naoya Horiguchi > To: linux...@kvack.org > Cc: Andrew Morton , Mel Gorman , > Hugh Dickins , KOSAKI Motohiro > , Andi Kleen , > linux-kernel@vger.kernel.org > Subject: [PATCH 3/9]

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yinghai Lu
On Tue, Feb 26, 2013 at 11:11 PM, Tang Chen wrote: > On 02/27/2013 02:54 PM, Yinghai Lu wrote: >> >> Those patches are tangled together. > > > No, they are not. > > The following commits supports "movablemem_map=nn[KMG]@ss[KMG]". > > commit fb06bc8e5f42f38c011de0e59481f464a82380f6 >

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Tang Chen
On 02/27/2013 02:54 PM, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 9:49 PM, Yasuaki Ishimatsu wrote: 2013/02/27 14:11, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 8:43 PM, Yasuaki Ishimatsu wrote: 2013/02/27 13:04, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 7:38 PM, Yasuaki Ishimatsu

RE: [PATCH v4 0/3] ASoC davinci/tlv320aic3x updates, fixes & DT support

2013-02-26 Thread Hebbar, Gururaja
Mark, On Thu, Jan 31, 2013 at 18:23:03, Hebbar, Gururaja wrote: > 1. Convert tlv320aic3x mic bias to a supply widget and related machine driver > 2. Add DT support for Davinci machine platform > 3. Remove __dev* attributes > > This patch-set is tested on Davinci platform (DA850 EVM). This series

Re: [PATCH 1/5] metag: Provide dma_get_sgtable()

2013-02-26 Thread Marek Szyprowski
Hello, On 2/26/2013 12:03 PM, James Hogan wrote: metag/allmodconfig: drivers/media/v4l2-core/videobuf2-dma-contig.c: In function 'vb2_dc_get_base_sgt': drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit declaration of function 'dma_get_sgtable' For architectures using

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yinghai Lu
On Tue, Feb 26, 2013 at 9:49 PM, Yasuaki Ishimatsu wrote: > 2013/02/27 14:11, Yinghai Lu wrote: >> >> On Tue, Feb 26, 2013 at 8:43 PM, Yasuaki Ishimatsu >> wrote: >>> >>> 2013/02/27 13:04, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 7:38 PM, Yasuaki Ishimatsu wrote: >

Re: [REPOST PATCH 1/2] clk: add table lookup to mux

2013-02-26 Thread Hiroshi Doyu
On Fri, 22 Feb 2013 16:02:28 +0100 Peter De Schrijver wrote: > Add a table lookup feature to the mux clock. Also allow arbitrary masks > instead of the width. This will be used by some clocks on Tegra114. > > Signed-off-by: Peter De Schrijver > @@ -42,7 +43,17 @@ static u8

Re: [PATCH v7 4/9] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-02-26 Thread Sam Ravnborg
On Tue, Feb 26, 2013 at 10:06:48PM -0800, Andrey Smirnov wrote: > This patch adds all necessary header files and Kbuild plumbing for the > core driver for Silicon Laboratories Si476x series of AM/FM tuner > chips. > > The driver as a whole is implemented as an MFD device and this patch > adds a

[PATCH v7 2/9] mfd: Add the main bulk of core driver for SI476x code

2013-02-26 Thread Andrey Smirnov
This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 878 ++ 1 file changed, 878 insertions(+) create mode 100644

[PATCH v7 3/9] mfd: Add chip properties handling code for SI476X MFD

2013-02-26 Thread Andrey Smirnov
This patch adds code related to manipulation of the properties of SI476X chips. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 234 + 1 file changed, 234 insertions(+) create mode 100644

[PATCH v7 5/9] v4l2: Fix the type of V4L2_CID_TUNE_PREEMPHASIS in the documentation

2013-02-26 Thread Andrey Smirnov
Change the type of V4L2_CID_TUNE_PREEMPHASIS from 'integer' to 'enum v4l2_preemphasis' Acked-by: Hans Verkuil Singed-off-by: Andrey Smirnov --- Documentation/DocBook/media/v4l/controls.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v7 6/9] v4l2: Add standard controls for FM receivers

2013-02-26 Thread Andrey Smirnov
This commit introduces new class of standard controls V4L2_CTRL_CLASS_FM_RX. This class is intended to all controls pertaining to FM receiver chips. Also, two controls belonging to said class are added as a part of this commit: V4L2_CID_TUNE_DEEMPHASIS and V4L2_CID_RDS_RECEPTION. This patch is

[PATCH v7 4/9] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-02-26 Thread Andrey Smirnov
This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary functionality to the two

[PATCH v7 1/9] mfd: Add commands abstraction layer for SI476X MFD

2013-02-26 Thread Andrey Smirnov
This patch adds all the functions used for exchanging commands with the chip. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1553 ++ 1 file changed, 1553 insertions(+) create mode 100644 drivers/mfd/si476x-cmd.c

[PATCH 4/5] staging: android: logger: Allow a UID to read it's own log entries

2013-02-26 Thread John Stultz
From: Nick Kralevich Modify the kernel logger to record the UID associated with the log entries. Always allow the same UID which generated a log message to read the log message. Allow anyone in the logs group, or anyone with CAP_SYSLOG, to read all log entries. In addition, allow the client to

[PATCH 0/5] staging: Updates from the Android tree (for 3.10)

2013-02-26 Thread John Stultz
Hey Greg, I was looking over the current Android tree and noticed there were a few updates that should be pushed into staging so upstream stays in sync with what Android is using. I've already checked with the folks at Google (cc'ed) and they had no objections to sending these to you. Let

[PATCH 5/5] staging: android: logger: enforce GID and CAP check on log flush

2013-02-26 Thread John Stultz
From: Charndeep Grewal Restrict log flushing to those in the logs group, or anyone with CAP_SYSLOG. Cc: Android Kernel Team Cc: Charndeep Grewal Cc: Greg Kroah-Hartman Signed-off-by: Charndeep Grewal Signed-off-by: John Stultz --- drivers/staging/android/logger.c |5 + 1 file

[PATCH 3/5] staging: android: lowmemorykiller: Change default debug_level to 1

2013-02-26 Thread John Stultz
From: Arve Hjønnevåg The select...to kill messages are not very useful when not debugging the lowmemorykiller itself. After the change to check TIF_MEMDIE instead of using a task notifer this message can also get very noisy. Cc: Android Kernel Team Cc: Arve Hjønnevåg Cc: Greg Kroah-Hartman

[PATCH 1/5] staging: android: lowmemorykiller: Add config option to support oom_adj values

2013-02-26 Thread John Stultz
From: Arve Hjønnevåg The conversion to use oom_score_adj instead of the deprecated oom_adj values breaks existing user-space code. Add a config option to convert oom_adj values written to oom_score_adj values if they appear to be valid oom_adj values. Cc: Android Kernel Team Cc: Arve Hjønnevåg

[PATCH 2/5] staging: android: lowmemorykiller: Don't count reserved free memory

2013-02-26 Thread John Stultz
From: Arve Hjønnevåg The amount of reserved memory varies between devices. Subtract it here to reduce the amount of devices specific tuning needed for the minfree values. Cc: Android Kernel Team Cc: Arve Hjønnevåg Cc: Greg Kroah-Hartman Signed-off-by: Arve Hjønnevåg Signed-off-by: John

[PATCH v7 7/9] v4l2: Add documentation for the FM RX controls

2013-02-26 Thread Andrey Smirnov
Add appropriate documentation for all the newly added standard controls. Based on the patch by Manjunatha Halli [1] [1] http://lists-archives.com/linux-kernel/27641303-media-update-docs-for-v4l2-fm-new-features.html Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov ---

[PATCH v7 8/9] v4l2: Add private controls base for SI476X

2013-02-26 Thread Andrey Smirnov
Add a base to be used for allocation of all the SI476X specific controls in the corresponding driver. Acked-by: Hans Verkuil Signed-off-by: Andrey Smirnov --- include/uapi/linux/v4l2-controls.h |4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h

[PATCH v7 0/9] Driver for Si476x series of chips

2013-02-26 Thread Andrey Smirnov
This is a fourth version of the patchset originaly posted here: https://lkml.org/lkml/2012/9/13/590 Second version of the patch was posted here: https://lkml.org/lkml/2012/10/5/598 Third version of the patch was posted here: https://lkml.org/lkml/2012/10/23/510 Fourth version of the patch was

Re: [PATCH] md/raid456: remove depends on CONFIG_EXPERIMENTAL

2013-02-26 Thread Kees Cook
On Tue, Feb 26, 2013 at 5:27 PM, Dan Williams wrote: > On Fri, Feb 22, 2013 at 11:40 PM, Kees Cook wrote: >> The CONFIG_EXPERIMENTAL 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 from

[PATCH 2/3] convert timeconst.pl to mktimeconst.c

2013-02-26 Thread Rob Landley
From: Rob Landley Replace perl header file generator with smaller/faster/simpler C version. Hasn't changed in several years, see: Message-ID: <4d35fef3.4070...@parallels.com> Subject: Re: [PATCH] Use sed instead of perl to generate x86/kernel/cpu/capflags.c. Note, the version I submitted 2

Re: [PATCH 0/4] time: dynamic irq affinity

2013-02-26 Thread Santosh Shilimkar
On Wednesday 27 February 2013 03:47 AM, Daniel Lezcano wrote: When a cpu goes to a deep idle state where its local timer is shutdown, it notifies the time framework to use the broadcast timer instead. Unfortunately, the broadcast device could wake up any CPU, including an idle one which is not

[PATCH 5/5] rtc: max77686: use dev_info()/dev_emerg() instead of pr_info()/pr_emerg()

2013-02-26 Thread Jingoo Han
dev_info()/dev_emerg() are more preferred than pr_info()/pr_emerg(). Signed-off-by: Jingoo Han --- drivers/rtc/rtc-max77686.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index 9de93e7..df66bab

[PATCH 4/5] rtc: max77686: fix indentation of bit definitions

2013-02-26 Thread Jingoo Han
This patch fixes indentation of bit definitions to enhance the readability. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-max77686.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index 36b1f5c..9de93e7

[PATCH 3/5] rtc: max77686: use devm_kzalloc()

2013-02-26 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths more simple. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-max77686.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index 4da2a55..36b1f5c 100644 ---

[PATCH 1/3] convert mkcapflags.pl to mkcapflags.sh

2013-02-26 Thread Rob Landley
From: Rob Landley Generate asm-x86/cpufeature.h with posix-2008 commands instead of perl. Signed-off-by: Rob Landley --- arch/x86/kernel/cpu/Makefile |4 +- arch/x86/kernel/cpu/mkcapflags.pl | 48 arch/x86/kernel/cpu/mkcapflags.sh | 41

[PATCH 3/3] convert headers_install.pl to headers_install.sh

2013-02-26 Thread Rob Landley
From: Rob Landley Remove perl from make headers_install by replacing a perl script (doing a simple regex search and replace) with a smaller, faster, simpler, POSIX-2008 shell script implementation. The new shell script is a single for loop calling sed and piping its output through unifdef to

[PATCH 2/5] rtc: max77686: add missing module author name

2013-02-26 Thread Jingoo Han
This patch adds missing module author name to MODULE_AUTHOR macro. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-max77686.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index a8e31fc..4da2a55 100644 ---

[PATCH 0/3] build linux-next without perl

2013-02-26 Thread Rob Landley
Before 2.6.25 building Linux never required perl. This patch series removes the requirement from basic kernel builds (tested on i686, x86_64, arm, mips, powerpc, sparc, sh4, and m68k). Now updated to 3.8-rc1. Note, this removes perl from the _build_ environment, not from the _development_

[PATCH 1/5] rtc: max77686: use module_platform_driver()

2013-02-26 Thread Jingoo Han
This patch uses module_platform_driver() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-max77686.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index

[PATCH] drivers/misc: beautify code: chip->lux_calib is u16 which will never more than APDS_RANGE

2013-02-26 Thread Chen Gang
APDS_RANGE is 65535, chip->lux_calib is u16 (never more than APDS_RANGE). Signed-off-by: Chen Gang --- drivers/misc/apds990x.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c index 0e67f82..1efb6a4 100644 ---

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yasuaki Ishimatsu
2013/02/27 14:11, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 8:43 PM, Yasuaki Ishimatsu wrote: 2013/02/27 13:04, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 7:38 PM, Yasuaki Ishimatsu wrote: 2013/02/27 11:30, Yinghai Lu wrote: Do you mean you can not boot one socket system with 1G ram ?

orderly_poweroff() is no longer safe in atomic context

2013-02-26 Thread David Gibson
Commit 6c0c0d4d1080840eabb3d055d2fd8191c5fd "poweroff: fix bug in orderly_poweroff()" apparently fixes one bug in orderly_poweroff(), but introduces another. The comments on orderly_poweroff() claim it can be called from any context - and indeed we call it from interrupt context in

Re: [PATCH 15/15] staging: omap-thermal: update clock prepare count

2013-02-26 Thread Mike Turquette
Quoting Eduardo Valentin (2013-02-26 14:53:38) > This patch changes the clock management code to also update > the clock prepare counter, this way we won't skip the enable/disable > operation due to prepare dependencies. > > Signed-off-by: Eduardo Valentin Hi Eduardo, I didn't look through the

Re: [PATCH 2/4] time : set broadcast irq affinity

2013-02-26 Thread Santosh Shilimkar
On Wednesday 27 February 2013 03:47 AM, Daniel Lezcano wrote: When a cpu goes to a deep idle state where its local timer is shutdown, it notifies the time frame work to use the broadcast timer instead. Unfortunately, the broadcast device could wake up any CPU, including an idle one which is not

Re: crypto: omap-sham, omap-aes and dma_request_slave_channel_compat()

2013-02-26 Thread Vinod Koul
On Tue, Feb 26, 2013 at 03:52:05PM -0700, Mark A. Greer wrote: > [CC'ing more people & lists.] > > On Tue, Feb 26, 2013 at 11:36:46AM -0700, Tim Gardner wrote: > > Whats up with commits 0e87e73f4abe1ada69cf780fe2550c6361a1b53b and > > b4b87a934c30fb91cbdd18ae028acdc361e1cf0f. As far as I can

btrfs crash when low on memory.

2013-02-26 Thread Dave Jones
Something I've yet to repeat managed to leak a whole bunch of memory while I was travelling, and locked up my workstation. When I got home, this was the last thing printed out before it locked up (it did make it into the logs thankfully) after a bunch of instances of the oom-killers handywork.

Re: [PATCH v6 0/6] Add ChromeOS Embedded Controller support

2013-02-26 Thread Simon Glass
Hi Samuel, On Mon, Feb 25, 2013 at 2:08 PM, Simon Glass wrote: > The ChromeOS Embedded Controller (EC) is an Open Source EC implementation > used on ARM and Intel Chromebooks. Current implementations use a Cortex-M3 > connected on a bus (such as I2C, SPI, LPC) to the AP. A separate interrupt >

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yinghai Lu
On Tue, Feb 26, 2013 at 8:43 PM, Yasuaki Ishimatsu wrote: > 2013/02/27 13:04, Yinghai Lu wrote: >> >> On Tue, Feb 26, 2013 at 7:38 PM, Yasuaki Ishimatsu >> wrote: >>> >>> 2013/02/27 11:30, Yinghai Lu wrote: Do you mean you can not boot one socket system with 1G ram ? Assume socket

Re: [PATCH 1/4] time : pass broadcast parameter

2013-02-26 Thread Santosh Shilimkar
On Wednesday 27 February 2013 03:47 AM, Daniel Lezcano wrote: The broadcast timer could be passed as parameter to the function instead of using again tick_broadcast_device.evtdev which was previously used in the caller function. Signed-off-by: Daniel Lezcano --- The change doesn't buy us as

Re: [PATCH 4/4] ARM: timer-sp: Set dynamic irq affinity

2013-02-26 Thread Santosh Shilimkar
On Wednesday 27 February 2013 10:29 AM, Viresh Kumar wrote: On 27 February 2013 10:26, Santosh Shilimkar wrote: On Wednesday 27 February 2013 03:47 AM, Daniel Lezcano wrote: From: Viresh Kumar When a cpu goes to a deep idle state where its local timer is shutdown, it notifies the time

Re: [PATCH 4/4] ARM: timer-sp: Set dynamic irq affinity

2013-02-26 Thread Viresh Kumar
On 27 February 2013 10:26, Santosh Shilimkar wrote: > On Wednesday 27 February 2013 03:47 AM, Daniel Lezcano wrote: >> >> From: Viresh Kumar >> >> When a cpu goes to a deep idle state where its local timer is shutdown, it >> notifies the time frame work to use the broadcast timer instead. >> >>

Re: [PATCH 4/4] ARM: timer-sp: Set dynamic irq affinity

2013-02-26 Thread Santosh Shilimkar
On Wednesday 27 February 2013 03:47 AM, Daniel Lezcano wrote: From: Viresh Kumar When a cpu goes to a deep idle state where its local timer is shutdown, it notifies the time frame work to use the broadcast timer instead. Unfortunately, the broadcast device could wake up any CPU, including an

[GIT PULL] Ceph updates for 3.9-rc1

2013-02-26 Thread Sage Weil
Hi Linus, Please pull the following Ceph updates from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus A few groups of patches here. Alex has been hard at work improving the RBD code, layout groundwork for understanding the new formats and doing layering. Most

[PATCH] drivers/block/xen-blkback: preq.dev is used without initialized

2013-02-26 Thread Chen Gang
if call xen_vbd_translate failed, the preq.dev will be not initialized. so use blkif->vbd.pdevice instead (still better to print relative info). Signed-off-by: Chen Gang --- drivers/block/xen-blkback/blkback.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yasuaki Ishimatsu
2013/02/27 13:04, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 7:38 PM, Yasuaki Ishimatsu wrote: 2013/02/27 11:30, Yinghai Lu wrote: Do you mean you can not boot one socket system with 1G ram ? Assume socket 0 does not support hotplug, other 31 sockets support hot plug. So we could boot system

Re: [RFC PATCH v2 1/4] decompressor: Add LZ4 decompressor module

2013-02-26 Thread Kyungsik Lee
On Tue, Feb 26, 2013 at 02:12:06PM +0100, David Sterba wrote: > On Tue, Feb 26, 2013 at 03:24:27PM +0900, Kyungsik Lee wrote: > > This patch adds support for LZ4 decompression in the Linux Kernel. > > LZ4 Decompression APIs for kernel are based on LZ4 implementation > > by Yann Collet. > > > >

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Tang Chen
On 02/27/2013 10:24 AM, Yinghai Lu wrote: After looked at the code more, thought that theory that does not let kernel use ram on hotplug area is not right. after that commit, following range can not use movable ram: 1. real_mode code well..funny, legacy cpu0 [0,1M) could be hot-removed? 2.

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yinghai Lu
On Tue, Feb 26, 2013 at 7:38 PM, Yasuaki Ishimatsu wrote: > 2013/02/27 11:30, Yinghai Lu wrote: >> Do you mean you can not boot one socket system with 1G ram ? >> Assume socket 0 does not support hotplug, other 31 sockets support hot >> plug. >> >> So we could boot system only with socket0, and

Re: resume fails to light display on Macbook Pro Retina on 3.8-rc1

2013-02-26 Thread Greg KH
On Tue, Feb 26, 2013 at 09:35:14AM -0800, Greg KH wrote: > On Mon, Feb 25, 2013 at 07:45:45PM -0800, Greg KH wrote: > > On Mon, Feb 25, 2013 at 02:32:43PM -0800, Greg KH wrote: > > > On Mon, Feb 25, 2013 at 04:06:02PM +1000, Dave Airlie wrote: > > > > On Mon, Feb 25, 2013 at 3:52 PM, Greg KH > >

[PATCH] arch/x86/kernel: beautify code, delete unused local variable

2013-02-26 Thread Chen Gang
local variable c is not used, so deleted. Signed-off-by: Chen Gang --- arch/x86/kernel/smpboot.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index a6ceaed..7bc998a 100644 --- a/arch/x86/kernel/smpboot.c +++

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yasuaki Ishimatsu
2013/02/27 11:30, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 4:52 PM, Yasuaki Ishimatsu wrote: 2013/02/27 7:44, Yinghai Lu wrote: that commit is totally broken, and it should be reverted. 1. numa_init is called several times, NOT just for srat. so those nodes_clear(numa_nodes_parsed)

Re: [git pull] drm merge for 3.9-rc1

2013-02-26 Thread Linus Torvalds
On Tue, Feb 26, 2013 at 7:30 PM, Dave Airlie wrote: > > If you want to just bump it so Ironlake isn't affected, (patch attached). It works fine 95% of the time and isn't a hard failure when it doesn't, so this isn't critical. I can wait for it to be fixed a while. > Is this external DP monitor

Re: [git pull] drm merge for 3.9-rc1

2013-02-26 Thread Dave Airlie
On Wed, Feb 27, 2013 at 11:39 AM, Linus Torvalds wrote: > On Mon, Feb 25, 2013 at 4:05 PM, Dave Airlie wrote: >> >> Highlights: >> >> i915: all over the map, haswell power well enhancements, valleyview macro >> horrors cleaned up, killing lots of legacy GTT >> code, > > Lowlight: > > There's

[git pull] vfs pile 1

2013-02-26 Thread Al Viro
Assorted stuff - cleaning namei.c up a bit, fixing ->d_name/->d_parent locking violations, etc. The most visible changes here are death of FS_REVAL_DOT (replaced with "has ->d_weak_revalidate()") and a new helper getting from struct file to inode. Some bits of preparation to xattr method

[v3][PATCH 2/6] powerpc/book3e: store critical/machine/debug exception thread info

2013-02-26 Thread Tiejun Chen
We need to store thread info to these exception thread info like something we already did for PPC32. Signed-off-by: Tiejun Chen --- arch/powerpc/kernel/exceptions-64e.S | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/powerpc/kernel/exceptions-64e.S

[v3][PATCH 4/6] powerpc/book3e: support kgdb for kernel space

2013-02-26 Thread Tiejun Chen
Currently we need to skip this for supporting KGDB. Signed-off-by: Tiejun Chen --- arch/powerpc/kernel/exceptions-64e.S |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/exceptions-64e.S b/arch/powerpc/kernel/exceptions-64e.S index 7df9a1f..800e2a3

[v3][PATCH 1/6] powerpc/book3e: load critical/machine/debug exception stack

2013-02-26 Thread Tiejun Chen
We always alloc critical/machine/debug check exceptions. This is different from the normal exception. So we should load these exception stack properly like we did for booke. Signed-off-by: Tiejun Chen --- arch/powerpc/kernel/exceptions-64e.S | 49 +++--- 1 file

[v3][PATCH 5/6] kgdb/kgdbts: support ppc64

2013-02-26 Thread Tiejun Chen
We can't look up the address of the entry point of the function simply via that function symbol for all architectures. For PPC64 ABI, actually there is a function descriptors structure. A function descriptor is a three doubleword data structure that contains the following values: * The

[v3][PATCH 3/6] book3e/kgdb: update thread's dbcr0

2013-02-26 Thread Tiejun Chen
gdb always need to generate a single step properly to invoke a kgdb state. But with lazy interrupt, book3e can't always trigger a debug exception with a single step since the current is blocked for handling those pending exception, then we miss that expected dbcr configuration at last to generate

[v3][PATCH 6/6] powerpc/kgdb: remove copying the thread_info

2013-02-26 Thread Tiejun Chen
Currently BookE and Book3E always copy the thread_info from the kernel stack when we enter the debug exception, so we can remove these action here to avoid copying again. Signed-off-by: Tiejun Chen --- arch/powerpc/kernel/kgdb.c | 28 1 file changed, 28

[v3][PATCH 0/6] powerpc/book3e: make kgdb to work well

2013-02-26 Thread Tiejun Chen
This patchset is used to support kgdb/gdb on book3e. Validated on p4080ds and p5040ds with test single step and breakpoint v3: * make work when enable CONFIG_RELOCATABLE * fix one typo in patch, "powerpc/book3e: store critical/machine/debug exception thread info": ld

Re: [PATCH v4 00/32] ldisc patchset

2013-02-26 Thread Peter Hurley
On Sat, 2013-02-23 at 11:42 -0500, Sasha Levin wrote: > Hi Peter, > > I've also got this one for the first time: > [ 484.450139] INFO: task init:1 blocked for more than 120 seconds. > [ 484.451130] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 484.452013] init

Re: [PATCH 2/3] dtc: import latest upstream dtc

2013-02-26 Thread Rob Landley
On 02/26/2013 07:36:14 PM, Kim Phillips wrote: This updates scripts/dtc to upstream dtc commit 27cdc1b There's an upstream for dts? "Added license header to dtc/libfdt/fdt.h and libfdt_env.h" from git://git.jdl.com/software/dtc.git. That git repository has a Documentation directory with

[PATCH] Consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECKS

2013-02-26 Thread Stephen Boyd
The help text for this config is duplicated across the x86, parisc, and s390 Kconfig.debug files. Arnd Bergman noted that the help text was slightly misleading and should be fixed to state that enabling this option isn't a problem when using pre 4.4 gcc. To simplify the rewording, consolidate the

Re: [ 03/53] timeconst.pl: Eliminate Perl warning

2013-02-26 Thread Rob Landley
On 02/26/2013 05:57:32 PM, Greg Kroah-Hartman wrote: 3.0-stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit 63a3f603413ffe82ad775f2d62a5afff87fd94a0 upstream. defined(@array) is deprecated in Perl and gives off a

Re: [PATCH] powerpc: kernel/kgdb.c: fix memory leakage

2013-02-26 Thread tiejun.chen
On 02/08/2013 10:41 AM, Benjamin Herrenschmidt wrote: On Thu, 2013-01-31 at 20:04 -0600, Jason Wessel wrote: diff --git a/arch/powerpc/kernel/kgdb.c b/arch/powerpc/kernel/kgdb.c index 8747447..5ca82cd 100644 --- a/arch/powerpc/kernel/kgdb.c +++ b/arch/powerpc/kernel/kgdb.c @@ -154,12 +154,12

linux-next: Tree for Feb 27

2013-02-26 Thread Stephen Rothwell
Hi all, Please do not add any work destined for v3.10 to your -next included branches until after Linus has release v3.9-rc1. Changes since 20130226: The drm tree lost its build failure. The renesas tree gained a conflict against Linus' tree. The akpm tree gained a conflict against the vfs

Re: [PATCH V2] ARM: dts: omap3-devkit8000: Enable audio support

2013-02-26 Thread Anil Kumar
Hi, On Mon, Feb 18, 2013 at 4:50 PM, Peter Ujfalusi wrote: > On 02/16/2013 08:33 AM, Anil Kumar wrote: >> Add the needed sections to enable audio support on >> Devkit8000 when booted with DT blob. >> >> Signed-off-by: Anil Kumar > > Looks good: > Acked-by: Peter Ujfalusi Gentle Ping. As there

Re: FW: [PATCH V4] ARM: dts: add minimal DT support for DevKit8000.

2013-02-26 Thread Anil Kumar
Hi, > > DevKit8000 is a beagle board clone from Timll, sold by > armkits.com. The DevKit8000 has RS232 serial port, LCD, DVI-D, > S-Video, Ethernet, SD/MMC, keyboard, camera, SPI, I2C, USB and > JTAG interface. > > This patch adds the basic DT support for devkit8000. At this time, Information > of

Re: [PATCH 1/2] perf annotate: Fix build with NO_NEWT=1

2013-02-26 Thread Namhyung Kim
Hi li guang, On Wed, 27 Feb 2013 09:14:28 +0800, li guang wrote: > 在 2013-02-26二的 18:02 +0900,Namhyung Kim写道: >> Hi Michael, >> >> On Tue, 26 Feb 2013 16:02:02 +1100, Michael Ellerman wrote: >> > Commit 18c9e5c "Make it to be able to skip unannotatable symbols" broke >> > the build with

Re: [PATCH v5] lib/scatterlist: use page iterator in the mapping iterator

2013-02-26 Thread Stephen Warren
On 02/24/2013 04:05 AM, Imre Deak wrote: > For better code reuse use the newly added page iterator to iterate through > the pages. The offset, length within the page is still calculated by the > mapping iterator as well as the actual mapping. Idea from Tejun Heo. Just for completeness, this

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yinghai Lu
On Tue, Feb 26, 2013 at 4:52 PM, Yasuaki Ishimatsu wrote: > 2013/02/27 7:44, Yinghai Lu wrote: that commit is totally broken, and it should be reverted. 1. numa_init is called several times, NOT just for srat. so those nodes_clear(numa_nodes_parsed)

Re: [git pull] drm merge for 3.9-rc1

2013-02-26 Thread Linus Torvalds
On Tue, Feb 26, 2013 at 5:39 PM, Linus Torvalds wrote: > > Lowlight: > > [5.710827] [drm:intel_dp_aux_wait_done] *ERROR* dp aux hw did not > signal timeout (has irq: 1)! Oh, forgot to mention - this is my trusty old Westmere chip (aka "Core i5-670", aka Clarkdale, aka

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Yinghai Lu
On Tue, Feb 26, 2013 at 6:14 PM, Tang Chen wrote: > Hi Yinghai, > > Please see below. :) > > > On 02/27/2013 06:44 AM, Yinghai Lu wrote: that commit is totally broken, and it should be reverted. 1. numa_init is called several times, NOT just for srat. so those

Re: [GIT PULL] ACPI and power management fixes for v3.9-rc1

2013-02-26 Thread Aaron Lu
On 02/27/2013 12:28 AM, Linus Torvalds wrote: > Ugh. Forgot to actually add the ODD people to the list... > > Linus > > On Tue, Feb 26, 2013 at 8:27 AM, Linus Torvalds > wrote: >> On Tue, Feb 26, 2013 at 8:10 AM, Nishanth Menon wrote: >>> On 16:55-

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-26 Thread Tang Chen
Hi Yinghai, Please see below. :) On 02/27/2013 06:44 AM, Yinghai Lu wrote: that commit is totally broken, and it should be reverted. 1. numa_init is called several times, NOT just for srat. so those nodes_clear(numa_nodes_parsed) memset(_meminfo, 0, sizeof(numa_meminfo)) can not be

Re: [PATCH V2] rtc: add devm_rtc_device_{register,unregister}()

2013-02-26 Thread Jingoo Han
On Wednesday, February 27, 2013 7:33 AM, Dmitry Torokhov wrote: > > On Tue, Feb 26, 2013 at 10:21:06AM +0900, Jingoo Han wrote: > > +/** > > + * devm_rtc_device_unregister - resource managed > > devm_rtc_device_unregister() > > + * @dev: the device to unregister > > + * @rtc: the RTC class

Re: [PATCH 2/3 v2] Optimize CRC32C calculation with PCLMULQDQ instruction

2013-02-26 Thread Herbert Xu
On Tue, Feb 26, 2013 at 08:57:41AM -0800, Tim Chen wrote: > > BTW, Herbert, I've also sent you a patch a few days ago to update the > link to the whitepaper on the CRC32C algorithm in the code. Wonder if > you have received it. Thanks. Tim it's in my queue. Cheers, -- Email: Herbert Xu Home

linux-next: manual merge of the akpm-current tree with the vfs tree

2013-02-26 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in fs/proc/inode.c between commit d3d009cb965e ("saner proc_get_inode() calling conventions") from the vfs tree and commit "fs/proc: clean up printks" from the akpm-current tree. I fixed it up (see below) and can carry

Re: [PATCH] virtio-blk: emit udev event when device is resized

2013-02-26 Thread Rusty Russell
Milos Vyletel writes: > When virtio-blk device is resized from host (using block_resize from QEMU) > emit > KOBJ_CHANGE uevent to notify guest about such change. This allows user to have > custom udev rules which would take whatever action if such event occurs. As a > proof of concept I've

Re: [PATCH] virtio-blk: emit udev event when device is resized

2013-02-26 Thread Rusty Russell
Milos Vyletel writes: > On Feb 25, 2013, at 5:12 PM, Greg KH wrote: > >> On Fri, Feb 22, 2013 at 10:14:49AM +1030, Rusty Russell wrote: >>> Milos Vyletel writes: >>> When virtio-blk device is resized from host (using block_resize from QEMU) emit KOBJ_CHANGE uevent to notify

Re: [PATCH 2/2] f2fs: introduce readahead mode of node pages

2013-02-26 Thread Namjae Jeon
2013/2/27, Jaegeuk Kim : > 2013-02-26 (화), 20:52 +0900, Namjae Jeon: >> > @@ -434,7 +434,7 @@ int get_dnode_of_data(struct dnode_of_data *dn, >> > pgoff_t >> > index, int ro) >> >alloc_nid_done(sbi, nids[i]); >> >mutex_unlock_op(sbi, NODE_NEW); >> >

Re: [RFC PATCH v2 0/4] Add support for LZ4-compressed kernel

2013-02-26 Thread Joe Perches
On Tue, 2013-02-26 at 22:10 +, Russell King - ARM Linux wrote: > So... for a selected kernel version of a particular size, can we please > have a comparison between the new LZO code and this LZ4 code, so that > we can see whether it's worth updating the LZO code or replacing the > LZO code

[PATCH 3/3] ARM: zImage: sparse fixes

2013-02-26 Thread Kim Phillips
arch/arm/boot/compressed/atags_to_fdt.c:107:34: warning: cast to restricted __be32 arch/arm/boot/compressed/atags_to_fdt.c:107:34: warning: cast to restricted __be32 arch/arm/boot/compressed/atags_to_fdt.c:107:34: warning: cast to restricted __be32

[PATCH 1/3] libfdt: add fdt type definitions in libfdt_env.h

2013-02-26 Thread Kim Phillips
in preparation for the forthcoming dtc update which adds fdt specific types: fdt{16,32,64}_t. Signed-off-by: Kim Phillips --- arch/arm/boot/compressed/libfdt_env.h | 4 include/linux/libfdt_env.h| 6 ++ 2 files changed, 10 insertions(+) diff --git

  1   2   3   4   5   6   7   8   9   10   >