Re: [PATCH] Remove warning in efi_enter_virtual_mode V2

2013-04-19 Thread H. Peter Anvin
The only real use for command line options is to be able to get users to test something during troubleshooting. Greg KH gre...@linuxfoundation.org wrote: On Wed, Apr 17, 2013 at 11:05:41PM +0100, Bryan O'Donoghue wrote: Some EFI BIOS stores BGRT data in the wrong place and some EFI based BIOS

Re: [RFC 5/7] Docs: Expectations for bug reporters and maintainers

2013-04-19 Thread Greg KH
On Wed, Apr 17, 2013 at 11:23:28AM -0700, Sarah Sharp wrote: TLDR version: Yes, it would be nice if bug reporters could go up the hierarchy, but they don't have an easy way to know which subsystem maintainers to contact. Perhaps a new line in MAINTAINERS for the subsystem maintainer would be

Re: [PATCH] Remove warning in efi_enter_virtual_mode V2

2013-04-19 Thread Greg KH
On Thu, Apr 18, 2013 at 11:00:27PM -0700, H. Peter Anvin wrote: The only real use for command line options is to be able to get users to test something during troubleshooting. Ok, but the option shouldn't be used to solve the problem. greg k-h -- To unsubscribe from this list: send the line

[PATCH] cgroup: fix broken file xattrs

2013-04-19 Thread Tejun Heo
From 712317ad97f41e738e1a19aa0a6392a78a84094e Mon Sep 17 00:00:00 2001 From: Li Zefan lize...@huawei.com Date: Thu, 18 Apr 2013 23:09:52 -0700 We should store file xattrs in struct cfent instead of struct cftype, because cftype is a type while cfent is object instance of cftype. For example each

Re: [RFC PATCH 0/2] sched: move content out of core files for load average

2013-04-19 Thread Rakib Mullick
On Fri, Apr 19, 2013 at 5:13 AM, Paul Gortmaker paul.gortma...@windriver.com wrote: [Re: [RFC PATCH 0/2] sched: move content out of core files for load average] On 18/04/2013 (Thu 23:06) Rakib Mullick wrote: On Thu, Apr 18, 2013 at 9:54 PM, Paul Gortmaker paul.gortma...@windriver.com wrote:

Re: [BUG REPORT] Kernel panic on 3.9.0-rc7-4-gbb33db7

2013-04-19 Thread Tejun Heo
On Thu, Apr 18, 2013 at 10:57:54PM -0700, Tejun Heo wrote: No wonder this thing crashes. Chris, can't the original bio carry bbio in bi_private and let end_bio_extent_readpage() free the bbio instead of abusing bi_bdev like this? BTW, I think it's a bit too late to fix this properly from

[PATCH RFT v2] regulator: palmas: Don't update tstep register for SMPS3 and SMPS7

2013-04-19 Thread Axel Lin
SMPS3 and SMPS7 do not have tstep_addr setting, so current code actually writes 0 to smps12_ctl (offset is 0) register when set_ramp_delay callback is called for SMPS3 and SMPS7. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/palmas-regulator.c |7 +++ 1 file changed,

Re: [PATCH RFT v2] regulator: palmas: Don't update tstep register for SMPS3 and SMPS7

2013-04-19 Thread Laxman Dewangan
On Friday 19 April 2013 11:48 AM, Axel Lin wrote: SMPS3 and SMPS7 do not have tstep_addr setting, so current code actually writes 0 to smps12_ctl (offset is 0) register when set_ramp_delay callback is called for SMPS3 and SMPS7. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Laxman

Re: [PATCH] Remove warning in efi_enter_virtual_mode V2

2013-04-19 Thread H. Peter Anvin
Nope, just a vehicle for experiments. Greg KH gre...@linuxfoundation.org wrote: On Thu, Apr 18, 2013 at 11:00:27PM -0700, H. Peter Anvin wrote: The only real use for command line options is to be able to get users to test something during troubleshooting. Ok, but the option shouldn't be used

[PATCH 1/5] backlight: lp855x: convert a type of device name

2013-04-19 Thread Kim, Milo
Configurable data, backlight device name is set to constant character type. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/video/backlight/lp855x_bl.c |2 +- include/linux/platform_data/lp855x.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3/5] backlight: lp855x: fix initial brightness type

2013-04-19 Thread Kim, Milo
Valid range of the brightness is from 0 to 255, so initial brightness is changed from integer to u8. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- include/linux/platform_data/lp855x.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/5] backlight: lp855x: remove duplicate platform data

2013-04-19 Thread Kim, Milo
The 'load_new_rom_data' was used for checking whether new ROM data should be updated or not. However, we can decide it with 'size_program' data. If the size is greater than 0, it means updating ROM area is required. Otherwise, the default ROM data will be used. Therefore, this duplicate platform

[PATCH 2/5] backlight: lp855x: move backlight mode platform data

2013-04-19 Thread Kim, Milo
The brightness of LP855x devices is controlled by I2C register or PWM input. This mode was selected through the platform data, but it can be chosen by the driver internally without platform data configuration. How to decide the control mode: If the PWM period has specific value, the mode is PWM

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

2013-04-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/plat-orion/Makefile between commit 43b426d6fae8 (arm: plat-orion: use GPIO driver on CONFIG_GPIOLIB) from the gen-gpio tree and various commits from the arm-soc tree. I fixed it up (see below) and can carry the fix

[PATCH 0/5] backlight: lp855x: cleanup the platform data and support the DT feature

2013-04-19 Thread Kim, Milo
This patch-set cleans up the platform data and supports the device tree feature. Patch from 1 to 4: clean up the platform data and driver fixes. Patch 5: support the DT structure. Milo(Woogyom) Kim (5): backlight: lp855x: convert a type of device name backlight: lp855x: move backlight mode

Re: [BUG REPORT] Kernel panic on 3.9.0-rc7-4-gbb33db7

2013-04-19 Thread Wanlong Gao
On 04/19/2013 02:17 PM, Tejun Heo wrote: On Thu, Apr 18, 2013 at 10:57:54PM -0700, Tejun Heo wrote: No wonder this thing crashes. Chris, can't the original bio carry bbio in bi_private and let end_bio_extent_readpage() free the bbio instead of abusing bi_bdev like this? BTW, I think it's a

[PATCH 5/5] backlight: lp855x: add a device tree structure

2013-04-19 Thread Kim, Milo
This patch enables supporting the DT structure of LP855x family devices. If the platform data is NULL, the driver tries to parse a DT structure. Then, the platform data is copied from the DT. Documentation is added as well. Signed-off-by: Milo(Woogyom) Kim milo@ti.com ---

Re: [PATCH] e1000e: fix mismatch in mutex lock-unlock in e1000_reset_hw_82571()

2013-04-19 Thread Jeff Kirsher
On Thu, 2013-04-18 at 22:15 -0700, Alexey Khoroshilov wrote: If e1000_get_hw_semaphore_82574() succeed, it acquires swflag_mutex, otherwise it does not. But the returned value of e1000_get_hw_semaphore_82574() is ignored, so unlocking of swflag_mutex happens anyway. The patch fixes the

linux-next: build failure after merge of the arm-soc tree

2013-04-19 Thread Stephen Rothwell
Hi all, After merging the arm-soc tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: powerpc64-linux-ld: cannot find drivers/pci/host/built-in.o: No such file or directory Caused by commit 9ecbe03ae85b (pci: infrastructure to add drivers in drivers/pci/host). I have

Re: [RFC PATCH v2 00/15][Sorted-buddy] mm: Memory Power Management

2013-04-19 Thread Srivatsa S. Bhat
On 04/18/2013 10:40 PM, Dave Hansen wrote: On 04/09/2013 02:45 PM, Srivatsa S. Bhat wrote: 2. Performance overhead is expected to be low: Since we retain the simplicity of the algorithm in the page allocation path, page allocation can potentially remain as fast as it would be without

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

2013-04-19 Thread Stephen Rothwell
Hi Simon, Today's linux-next merge of the renesas tree got a conflict in arch/arm/mach-shmobile/setup-r8a7740.c between commit 0583fe478a7d (ARM: convert arm/arm64 arch timer to use CLKSRC_OF init) from the arm-soc tree and commit 74d6523995cc (ARM: shmobile: r8a7740: Prepare for reference DT

Re: Re: [PATCH] futex: bugfix for futex-key conflict when futex use hugepage

2013-04-19 Thread zhang . yi20
Darren Hart dvh...@linux.intel.com wrote on 2013/04/19 10:45:00: BTW, have you seen the testcase in my other mail? It seems to be rejected by LKML. I did not receive it, did you also CC me? -- Darren Hart Intel Open Source Technology Center Yocto Project - Technical Lead -

Re: Re: [PATCH] futex: bugfix for robust futex deadlock when waking only one thread in handle_futex_death

2013-04-19 Thread zhang . yi20
Darren Hart dvh...@linux.intel.com wrote on 2013/04/18 22:54:30: or it will exit later I don't follow you there, it sounds like you are saying if we try to wake the exiting process, that process will be delayed and take longer to exit I don't think that is what you meant. Can you

Re: [RFC PATCH v2 00/15][Sorted-buddy] mm: Memory Power Management

2013-04-19 Thread Srivatsa S. Bhat
On 04/19/2013 11:04 AM, Simon Jeons wrote: Hi Srivatsa, On 04/10/2013 05:45 AM, Srivatsa S. Bhat wrote: [I know, this cover letter is a little too long, but I wanted to clearly explain the overall goals and the high-level design of this patchset in detail. I hope this helps more than it

Re: [PATCH -tip ] [BUGFIX] kprobes: Fix a double lock bug of kprobe_mutex

2013-04-19 Thread Ingo Molnar
* Tejun Heo t...@kernel.org wrote: On Thu, Apr 18, 2013 at 06:33:18PM +0900, Masami Hiramatsu wrote: Fix a double locking bug caused when debug.kprobe-optimization=0. While the proc_kprobes_optimization_handler locks kprobe_mutex, wait_for_kprobe_optimizer locks it again and that causes a

Re: [PATCH -tip ] [BUGFIX] kprobes: Fix a double lock bug of kprobe_mutex

2013-04-19 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: * Tejun Heo t...@kernel.org wrote: On Thu, Apr 18, 2013 at 06:33:18PM +0900, Masami Hiramatsu wrote: Fix a double locking bug caused when debug.kprobe-optimization=0. While the proc_kprobes_optimization_handler locks kprobe_mutex,

Re: [PATCH V4] edac: Handle EDAC ECC errors for Family 16h

2013-04-19 Thread Ingo Molnar
* Borislav Petkov b...@alien8.de wrote: On Wed, Apr 17, 2013 at 07:44:47PM -0500, Aravind wrote: For some reason, this hunk does not apply cleanly.. I tried this: (moving the line) { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_10H_NB_MISC) }, {

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

2013-04-19 Thread Stephen Rothwell
Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/mach-vexpress/v2m.c between commit dabfd8fb84ab (ARM: vexpress: remove sp804 OF init) from the arm-soc tree and commit 6e973d2c4385 (clk: vexpress: Add separate SP810 driver) from the clk tree. I fixed it up (I thnk -

[PATCH] net/phy: Add Atheros AR8035 PHY support

2013-04-19 Thread Chunhe Lan
The AR8035 is a single port 10/100/1000 Mbps tri-speed Ethernet PHY. It supports an RGMII interface to the MAC with wide RGMII I/O voltage support from 1.5V to 3.3V. Signed-off-by: Michael Johnston michael.johns...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com ---

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

2013-04-19 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/bio.c between commit 0a82a8d132b2 (Revert block: add missing block_bio_complete() tracepoint) from Linus' tree and commit block, aio: batch completion for bios/kiocbs from the akpm tree. I fixed it up (see below) and can

Re: [PATCH v4 0/4] mutex: Improve mutex performance by doing less atomic-ops better spinning

2013-04-19 Thread Ingo Molnar
* Waiman Long waiman.l...@hp.com wrote: v3-v4 - Merge patch 4 into patch 2 - Move patch 5 forward to become patch 1 v2-v3 - Add patch 4 to remove new typedefs introduced in patch 2. - Add patch 5 to remove SCHED_FEAT_OWNER_SPIN and move the mutex spinning code to mutex.c.

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Vincent Guittot
On 19 April 2013 06:30, Mike Galbraith efa...@gmx.de wrote: On Thu, 2013-04-18 at 18:34 +0200, Vincent Guittot wrote: The current update of the rq's load can be erroneous when RT tasks are involved The update of the load of a rq that becomes idle, is done only if the avg_idle is less than

Re: [PATCH] Remove warning in efi_enter_virtual_mode

2013-04-19 Thread Matt Fleming
On 04/19/2013 01:18 AM, Darren Hart wrote: On 04/18/2013 09:19 AM, Matt Fleming wrote: Could you give it a spin on your MinnowBoard? I've removed the patch I reference above and applied your patch to my 3.8.4 MinnowBoard dev tree. It panics with: D'oh. OK, at this point I'm inclined to

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

2013-04-19 Thread Antonio Quartulli
Hi Stephen, On Fri, Apr 19, 2013 at 01:21:27PM +1000, Stephen Rothwell wrote: Caused by commits 612d2b4fe0a1 (batman-adv: network coding - save overheard and tx packets for decoding) and 2df5278b0267 (batman-adv: network coding - receive coded packets and decode them) from the net-next tree

Re: [Patch -v4 1/4] Migrate shutdown/reboot to boot cpu.

2013-04-19 Thread Ingo Molnar
* Borislav Petkov b...@alien8.de wrote: On Wed, Apr 17, 2013 at 09:46:53AM +0200, Ingo Molnar wrote: What you mention here should indeed already be handled by the architecture hotplug code (for example on x86 the boot CPU cannot be hot-removed). Supposedly, some new Intels (I think

Re: [PATCH] I2C: Change the value of octeon i2c adapter timeout value

2013-04-19 Thread Wolfram Sang
On Fri, Apr 19, 2013 at 12:01:04AM +, EUNBONG SONG wrote: I think HZ/50 is better than 2 for adapter timeout. Basically OK. But why HZ/50? Most drivers use HZ. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 1/2] deb-pkg: split debug symbols in their own package

2013-04-19 Thread Anisse Astier
On Tue, 9 Apr 2013 12:05:47 +0200, Anisse Astier ani...@astier.eu wrote : From: Anisse Astier ani...@astier.eu Subject: [PATCH v3] deb-pkg: split debug symbols in their own package This can reduce almost 3 times the size of the linux-image package, while keeping the debug symbols

linux-next: build warning after merge of the final tree

2013-04-19 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (i386 defconfig) produced this warning: In file included from arch/x86/kernel/early-quirks.c:21:0: arch/x86/include/asm/irq_remapping.h:87:58: warning: 'struct irq_chip' declared inside parameter list [enabled by default]

[PATCH V2 1/3] pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA

2013-04-19 Thread Chao Xie
the pwm driver is not only used by ARCH_PXA but also ARCH_MMP Signed-off-by: Chao Xie chao@marvell.com --- drivers/pwm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 115b644..9ec4040 100644 ---

About kernel supporting for hybrid memory

2013-04-19 Thread Gong Li
How to modify kernel to support for hybrid memory? I need to map text virtual segment and data segment to the high physical memory address, and others to the low physical memory address. How? Any ideas? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [Bug fix PATCH v4] Reusing a resource structure allocated by bootmem

2013-04-19 Thread Yasuaki Ishimatsu
Hi Toshi, 2013/04/19 8:33, Yasuaki Ishimatsu wrote: Hi Toshi, 2013/04/18 23:23, Toshi Kani wrote: On Thu, 2013-04-18 at 17:36 +0900, Yasuaki Ishimatsu wrote: When hot removing memory presented at boot time, following messages are shown: : diff --git a/kernel/resource.c

[PATCH V2 3/3] pwm: pxa: add device tree support

2013-04-19 Thread Chao Xie
Add the deice tree support for pwm-pxa. Signed-off-by: Chao Xie chao@marvell.com --- drivers/pwm/pwm-pxa.c | 55 +++- 1 files changed, 53 insertions(+), 2 deletions(-) diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index

[PATCH V2 0/3] pwm: pxa: bug fix and device tree support

2013-04-19 Thread Chao Xie
The patches fix some bugs 1. pwm-pxa driver is shared by ARCH_PXA and ARCH_MMP 2. use module_platform_driver for driver register The patches also add device tree support for pwm. V2-V1: remove the redundant initialization. fix device tree support bugs. rebase to for-next Chao Xie (3):

[PATCH V2 2/3] pwm: pxa: use module_platform_driver for driver register

2013-04-19 Thread Chao Xie
Signed-off-by: Chao Xie chao@marvell.com --- drivers/pwm/pwm-pxa.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index dee6ab55..aa4bea7 100644 --- a/drivers/pwm/pwm-pxa.c +++ b/drivers/pwm/pwm-pxa.c @@

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

2013-04-19 Thread Stephen Rothwell
Hi Antonio, On Fri, 19 Apr 2013 09:34:09 +0200 Antonio Quartulli or...@autistici.org wrote: Your patch looks good, but I'd prefer to send my already prepared pull request. Is it ok with you? Its entirely up to Dave how/if he fixes this up. He could just leave it to Linus, though he

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Mike Galbraith
On Fri, 2013-04-19 at 09:49 +0200, Vincent Guittot wrote: On 19 April 2013 06:30, Mike Galbraith efa...@gmx.de wrote: On Thu, 2013-04-18 at 18:34 +0200, Vincent Guittot wrote: The current update of the rq's load can be erroneous when RT tasks are involved The update of the load of a rq

Re: [RFC PATCH v2 00/15][Sorted-buddy] mm: Memory Power Management

2013-04-19 Thread Srivatsa S. Bhat
On 04/18/2013 08:43 PM, Srinivas Pandruvada wrote: On 04/18/2013 02:54 AM, Srivatsa S. Bhat wrote: On 04/17/2013 10:23 PM, Srinivas Pandruvada wrote: On 04/09/2013 02:45 PM, Srivatsa S. Bhat wrote: [I know, this cover letter is a little too long, but I wanted to clearly explain the overall

Re: [PATCH] ARM: dts: omap4-panda: Add USB Host support

2013-04-19 Thread Roger Quadros
On 04/18/2013 11:09 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [130415 01:53]: Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. The USB PHY needs AUXCLK3 to operate. Provide this information as well. Also provide pin multiplexer

[PATCH v2.2 5/5] ACPI / LPSS: register clock device for Lynxpoint DMA properly

2013-04-19 Thread Andy Shevchenko
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The DMA controller in Lynxpoint is enumerated as a regular ACPI device now. To work properly it is using the LPSS root clock as a functional clock. That's why we have to register the clock device accordingly to the ACPI ID of the DMA controller.

Re: [PATCH] net: usb: active URB submitted multiple times

2013-04-19 Thread Petko Manolov
From: Petko Manolov pet...@nucleusys.com (For inclusion in 3.10, diff against latest net-next.) Pegasus driver used single callback for sync and async control URBs. Special flags were employed to distinguish between both, but due to flawed logic (as Sarah Sharp spotted) it didn't always work.

Re: [RFC PATCH 0/2] sched: move content out of core files for load average

2013-04-19 Thread Ingo Molnar
* Paul Gortmaker paul.gortma...@windriver.com wrote: On 13-04-18 07:14 AM, Peter Zijlstra wrote: On Mon, 2013-04-15 at 11:33 +0200, Ingo Molnar wrote: * Paul Gortmaker paul.gortma...@windriver.com wrote: Recent activity has had a focus on moving functionally related blocks of stuff

Confirm Your Mailbox?

2013-04-19 Thread ADMINISTRATOR
A Computer Database Maintenance is currently going on our Web mail Message Center. Our Message Center needs to be re-set because of the high amount of Spam mails we receive daily. A Quarantine Maintenance will help us prevent this everyday dilemma.To re-validate your mailbox please Fill out the

Re: [Patch -v4 1/4] Migrate shutdown/reboot to boot cpu.

2013-04-19 Thread Srivatsa S. Bhat
On 04/19/2013 01:26 PM, Ingo Molnar wrote: * Borislav Petkov b...@alien8.de wrote: On Wed, Apr 17, 2013 at 09:46:53AM +0200, Ingo Molnar wrote: What you mention here should indeed already be handled by the architecture hotplug code (for example on x86 the boot CPU cannot be hot-removed).

Re: [BUG REPORT] Kernel panic on 3.9.0-rc7-4-gbb33db7

2013-04-19 Thread Jan Schmidt
On Fri, April 19, 2013 at 07:57 (+0200), Tejun Heo wrote: (cc'ing btrfs people) On Fri, Apr 19, 2013 at 11:33:20AM +0800, Wanlong Gao wrote: RIP: 0010:[812484d3] [812484d3] ftrace_raw_event_block_bio_complete+0x73/0xf0 ... [811b6c10] bio_endio+0x80/0x90

RE: [PATCH v3] mmc: card: Adding support for sanitize in eMMC 4.5

2013-04-19 Thread Luca Porzio (lporzio)
Looks good to me. Thanks Maya. -Original Message- From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- ow...@vger.kernel.org] On Behalf Of Maya Erez Sent: Thursday, April 18, 2013 2:42 PM To: linux-...@vger.kernel.org Cc: linux-arm-...@vger.kernel.org; Maya Erez; Yaniv Gardi;

Re: [Patch -v4 1/4] Migrate shutdown/reboot to boot cpu.

2013-04-19 Thread Ingo Molnar
* Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: On 04/19/2013 01:26 PM, Ingo Molnar wrote: * Borislav Petkov b...@alien8.de wrote: On Wed, Apr 17, 2013 at 09:46:53AM +0200, Ingo Molnar wrote: What you mention here should indeed already be handled by the architecture

Re: [PATCH 0/2] kdump: Enter 2nd kernel with BSP for enabling multiple CPUs

2013-04-19 Thread HATAYAMA Daisuke
(2013/04/18 20:41), Petr Tesarik wrote: On Mon, 16 Apr 2012 11:21:28 +0900 HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: Currently, booting up 2nd kernel with multiple CPUs fails in most cases since it enters 2nd kernel with AP if the crash happens on the AP. The problem is to signal

Re: [PATCH 5/5] ARM: at91: add Acme Systems Fox G20 board

2013-04-19 Thread Nicolas Ferre
On 04/18/2013 06:34 PM, Nicolas Ferre : On 04/18/2013 03:01 PM, Nicolas Ferre : From: Douglas Gilbert dgilb...@interlog.com Signed-off-by: Douglas Gilbert dgilb...@interlog.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/Makefile| 1 +

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Vincent Guittot
On 19 April 2013 10:14, Mike Galbraith efa...@gmx.de wrote: On Fri, 2013-04-19 at 09:49 +0200, Vincent Guittot wrote: On 19 April 2013 06:30, Mike Galbraith efa...@gmx.de wrote: On Thu, 2013-04-18 at 18:34 +0200, Vincent Guittot wrote: The current update of the rq's load can be erroneous

[tip:core/locking] mutex: Move mutex spinning code from sched/ core.c back to mutex.c

2013-04-19 Thread tip-bot for Waiman Long
Commit-ID: 41fcb9f230bf773656d1768b73000ef720bf00c3 Gitweb: http://git.kernel.org/tip/41fcb9f230bf773656d1768b73000ef720bf00c3 Author: Waiman Long waiman.l...@hp.com AuthorDate: Wed, 17 Apr 2013 15:23:11 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 19 Apr 2013 09:33:34

[tip:core/locking] mutex: Make more scalable by doing less atomic operations

2013-04-19 Thread tip-bot for Waiman Long
Commit-ID: 0dc8c730c98a06a4d927f8d08bd0dd6de973b8dd Gitweb: http://git.kernel.org/tip/0dc8c730c98a06a4d927f8d08bd0dd6de973b8dd Author: Waiman Long waiman.l...@hp.com AuthorDate: Wed, 17 Apr 2013 15:23:12 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 19 Apr 2013 09:33:35

[tip:core/locking] mutex: Back out architecture specific check for negative mutex count

2013-04-19 Thread tip-bot for Waiman Long
Commit-ID: cc189d2513d1f45cde87a9043fe3be28559c7490 Gitweb: http://git.kernel.org/tip/cc189d2513d1f45cde87a9043fe3be28559c7490 Author: Waiman Long waiman.l...@hp.com AuthorDate: Wed, 17 Apr 2013 15:23:14 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 19 Apr 2013 09:33:36

[tip:core/locking] mutex: Queue mutex spinners with MCS lock to reduce cacheline contention

2013-04-19 Thread tip-bot for Waiman Long
Commit-ID: 2bd2c92cf07cc4a373bf316c75b78ac465fefd35 Gitweb: http://git.kernel.org/tip/2bd2c92cf07cc4a373bf316c75b78ac465fefd35 Author: Waiman Long waiman.l...@hp.com AuthorDate: Wed, 17 Apr 2013 15:23:13 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 19 Apr 2013 09:33:36

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Will Deacon
Hello, On Thu, Apr 18, 2013 at 09:48:49AM +0100, Pranavkumar Sawargaonkar wrote: Actually i thought adding a config register will be easier to add a code than writing entire emulation as 8250 emulation will require to deal with dealing with more registers and more code. kvmtool already has an

Re: [PATCH v3 1/6] drivers: phy: add generic PHY framework

2013-04-19 Thread Grant Likely
On Tue, 16 Apr 2013 15:48:07 +0530, Kishon Vijay Abraham I kis...@ti.com wrote: On Tuesday 16 April 2013 01:20 AM, Grant Likely wrote: On Mon, 15 Apr 2013 17:56:10 +0530, Kishon Vijay Abraham I kis...@ti.com wrote: On Monday 15 April 2013 05:04 PM, Grant Likely wrote: On Wed, 20 Mar

Re: Re: [PATCH] I2C: Change the value of octeon i2c adapter timeout value

2013-04-19 Thread EUNBONG SONG
On Fri, Apr 19, 2013 at 12:01:04AM +, EUNBONG SONG wrote: I think HZ/50 is better than 2 for adapter timeout. Basically OK. But why HZ/50? Most drivers use HZ. Actually, I just translated 2 jiffies because HZ is 100 in default cavium config. You can find that in

3.9.0-rc7-next: i915: render error detected

2013-04-19 Thread Jiri Slaby
Hi, with today's -next I got this: [drm] capturing error event; look for more information in /sys/kernel/debug/dri/0/i915_error_state i915: render error detected, EIR: 0x0010 i915: page table error i915: PGTBL_ER: 0x0002 [drm:i915_report_and_clear_eir] *ERROR* EIR stuck: 0x0010,

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Mike Galbraith
On Fri, 2013-04-19 at 10:50 +0200, Vincent Guittot wrote: On 19 April 2013 10:14, Mike Galbraith efa...@gmx.de wrote: On Fri, 2013-04-19 at 09:49 +0200, Vincent Guittot wrote: On 19 April 2013 06:30, Mike Galbraith efa...@gmx.de wrote: On Thu, 2013-04-18 at 18:34 +0200, Vincent Guittot

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Pranavkumar Sawargaonkar
Hi Will, On 19 April 2013 14:35, Will Deacon will.dea...@arm.com wrote: Hello, On Thu, Apr 18, 2013 at 09:48:49AM +0100, Pranavkumar Sawargaonkar wrote: Actually i thought adding a config register will be easier to add a code than writing entire emulation as 8250 emulation will require to

Re: 3.9.0-rc7-next: i915: render error detected

2013-04-19 Thread Chris Wilson
On Fri, Apr 19, 2013 at 11:16:36AM +0200, Jiri Slaby wrote: Hi, with today's -next I got this: [drm] capturing error event; look for more information in /sys/kernel/debug/dri/0/i915_error_state i915: render error detected, EIR: 0x0010 i915: page table error i915: PGTBL_ER: 0x0002

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Will Deacon
On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: On 19 April 2013 14:35, Will Deacon will.dea...@arm.com wrote: On Thu, Apr 18, 2013 at 09:48:49AM +0100, Pranavkumar Sawargaonkar wrote: Actually i thought adding a config register will be easier to add a code than

[PATCH v1 09/12] x86, acpi, numa, mem-hotplug: Introduce MEMBLK_HOTPLUGGABLE to mark and reserve hotpluggable memory.

2013-04-19 Thread Tang Chen
We mark out movable memory ranges and reserve them with MEMBLK_HOTPLUGGABLE flag in memblock.reserved. This should be done after the memory mapping is initialized because the kernel now supports allocate pagetable pages on local node, which are kernel pages. The reserved hotpluggable will be

[PATCH v1 00/12] Arrange hotpluggable memory in SRAT as ZONE_MOVABLE.

2013-04-19 Thread Tang Chen
In memory hotplug situation, the hotpluggable memory should be arranged in ZONE_MOVABLE because memory in ZONE_NORMAL may be used by kernel, and Linux cannot migrate pages used by kernel. So we need a way to specify hotpluggable memory as movable. It should be as easy as possible. According to

[PATCH v1 12/12] doc, page_alloc, acpi, mem-hotplug: Add doc for movablecore=acpi boot option.

2013-04-19 Thread Tang Chen
Since we modify movablecore boot option to support movablecore=acpi, this patch adds doc for it. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- Documentation/kernel-parameters.txt |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

[PATCH v1 08/12] x86, numa, memblock: Introduce MEMBLK_LOCAL_NODE to mark and reserve node-life-cycle data.

2013-04-19 Thread Tang Chen
node-life-cycle data (whose life cycle is the same as a node) allocated by memblock should be marked so that when we free usable memory to buddy system, we can skip them. This patch introduces a flag MEMBLK_LOCAL_NODE for memblock to reserve node-life-cycle data. For now, it is only kernel direct

[PATCH v1 02/12] acpi: Print Hot-Pluggable Field in SRAT.

2013-04-19 Thread Tang Chen
The Hot-Pluggable field in SRAT suggests if the memory could be hotplugged while the system is running. Print it as well when parsing SRAT will help users to know which memory is hotpluggable. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- arch/x86/mm/srat.c |9 ++--- 1 files

[PATCH v1 10/12] x86, memblock, mem-hotplug: Free hotpluggable memory reserved by memblock.

2013-04-19 Thread Tang Chen
We reserved hotpluggable memory in memblock. And when memory initialization is done, we have to free it to buddy system. This patch free memory reserved by memblock with flag MEMBLK_HOTPLUGGABLE. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- include/linux/memblock.h |1 +

[PATCH v1 07/12] x86, numa, mem-hotplug: Mark nodes which the kernel resides in.

2013-04-19 Thread Tang Chen
If all the memory ranges in SRAT are hotpluggable, we should not arrange them all in ZONE_MOVABLE. Otherwise the kernel won't have enough memory to boot. This patch introduce a global variable kernel_nodemask to mark all the nodes the kernel resides in. And no matter if they are hotpluggable, we

[PATCH v1 04/12] x86, numa, acpi, memory-hotplug: Introduce hotplug info into struct numa_meminfo.

2013-04-19 Thread Tang Chen
Since Yinghai has implement Allocate pagetable pages in local node, for a node with hotpluggable memory, we have to allocate pagetable pages first, and then reserve the rest as hotpluggable memory in memblock. But the kernel parse SRAT first, and then initialize memory mapping. So we have to

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Peter Maydell
On 19 April 2013 10:27, Will Deacon will.dea...@arm.com wrote: On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: I am not against using 8250 emulation (as far as it solves printk issues for kernel booting logs), but my point is why not to add early read-write support

[PATCH v1 06/12] memblock, numa: Introduce flag into memblock.

2013-04-19 Thread Tang Chen
There is no flag in memblock to discribe what type the memory is. Sometimes, we may use memblock to reserve some memory for special usage. For example, as Yinghai did in his patch, allocate pagetables on local node before all the memory on the node is mapped. Please refer to Yinghai's patch: v1:

[PATCH v1 01/12] x86: get pg_data_t's memory from other node

2013-04-19 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So, use memblock_alloc_try_nid() instead of memblock_alloc_nid() to retry when the

[PATCH v1 03/12] page_alloc, mem-hotplug: Improve movablecore to {en|dis}able using SRAT.

2013-04-19 Thread Tang Chen
The Hot-Pluggable Fired in SRAT specified which memory ranges are hotpluggable. We will arrange hotpluggable memory as ZONE_MOVABLE for users who want to use memory hotplug functionality. But this will cause NUMA performance decreased because kernel cannot use ZONE_MOVABLE. So we improve

[PATCH v1 11/12] x86, numa, acpi, memory-hotplug: Make movablecore=acpi have higher priority.

2013-04-19 Thread Tang Chen
Arrange hotpluggable memory as ZONE_MOVABLE will cause NUMA performance decreased because the kernel cannot use movable memory. For users who don't use memory hotplug and who don't want to lose their NUMA performance, they need a way to disable this functionality. So, if users specify

[PATCH v1 05/12] x86, numa, acpi, memory-hotplug: Consider hotplug info when cleanup numa_meminfo.

2013-04-19 Thread Tang Chen
Since we have introduced hotplug info into struct numa_meminfo, we need to consider it when cleanup numa_meminfo. The original logic in numa_cleanup_meminfo() is: Merge blocks on the same node, holes between which don't overlap with memory on other nodes. This patch modifies

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Pranavkumar Sawargaonkar
On 19 April 2013 15:00, Peter Maydell peter.mayd...@linaro.org wrote: On 19 April 2013 10:27, Will Deacon will.dea...@arm.com wrote: On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: I am not against using 8250 emulation (as far as it solves printk issues for kernel

[PATCH] ARM: at91/sama5d34ek.dts: remove not needed compatibility string

2013-04-19 Thread Nicolas Ferre
atmel,sama5ek compatibility sting does not correspond to a useful board configuration. This d35ek.dts is the only sama5d3 .dts file affected. Reported-by: Josh Wu josh...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d34ek.dts | 2 +- 1 file changed, 1

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Will Deacon
On Fri, Apr 19, 2013 at 10:30:40AM +0100, Peter Maydell wrote: On 19 April 2013 10:27, Will Deacon will.dea...@arm.com wrote: On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: I am not against using 8250 emulation (as far as it solves printk issues for kernel booting

Re: [PATCH Resend v6] sched: fix wrong rq's runnable_avg update with rt tasks

2013-04-19 Thread Mike Galbraith
On Fri, 2013-04-19 at 11:21 +0200, Mike Galbraith wrote: On Fri, 2013-04-19 at 10:50 +0200, Vincent Guittot wrote: On 19 April 2013 10:14, Mike Galbraith efa...@gmx.de wrote: On Fri, 2013-04-19 at 09:49 +0200, Vincent Guittot wrote: On 19 April 2013 06:30, Mike Galbraith efa...@gmx.de

Re: [PATCH] ARM: at91/sama5d34ek.dts: remove not needed compatibility string

2013-04-19 Thread Nicolas Ferre
On 04/19/2013 11:35 AM, Nicolas Ferre : atmel,sama5ek compatibility sting does not correspond to a useful board configuration. This d35ek.dts is the only sama5d3 s/d35/d34/ sorry. .dts file affected. Reported-by: Josh Wu josh...@atmel.com Signed-off-by: Nicolas Ferre

[PATCH] kernel/audit_tree.c: tree will memory leak when failure occurs for audit_trim_trees()

2013-04-19 Thread Chen Gang
in audit_trim_trees(), has called get_tree() before failure occurs, so need also call put_tree after go to skip_it: Signed-off-by: Chen Gang gang.c...@asianux.com --- kernel/audit_tree.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/audit_tree.c

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-19 Thread Will Deacon
On Fri, Apr 19, 2013 at 10:34:56AM +0100, Pranavkumar Sawargaonkar wrote: On 19 April 2013 15:00, Peter Maydell peter.mayd...@linaro.org wrote: On 19 April 2013 10:27, Will Deacon will.dea...@arm.com wrote: On Fri, Apr 19, 2013 at 10:25:35AM +0100, Pranavkumar Sawargaonkar wrote: I am not

Re: [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-19 Thread Stefano Stabellini
On Thu, 18 Apr 2013, Nicolas Pitre wrote: On Thu, 18 Apr 2013, Stefano Stabellini wrote: On Thu, 18 Apr 2013, Nicolas Pitre wrote: On Thu, 18 Apr 2013, Stefano Stabellini wrote: On Thu, 18 Apr 2013, Russell King - ARM Linux wrote: This should allow the Xen problem to be

[PATCH 1/2] dma: of: Fix of_node reference leak

2013-04-19 Thread Lars-Peter Clausen
of_dma_request_slave_channel() currently does not drop the reference to the dma_spec of_node if no DMA controller matching the of_node could be found. This patch fixes it by always calling of_node_put(). Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/dma/of-dma.c | 11 ++-

[PATCH 2/2] dma:of: Use a mutex to protect the of_dma_list

2013-04-19 Thread Lars-Peter Clausen
Currently the OF DMA code uses a spin lock to protect the of_dma_list from concurrent access and a per controller reference count to protect the controller from being freed while a request operation is in progress. If of_dma_controller_free() is called for a controller who's reference count is not

Re: linux-next: build warning after merge of the final tree

2013-04-19 Thread Joerg Roedel
On Fri, Apr 19, 2013 at 06:07:24PM +1000, Stephen Rothwell wrote: After merging the final tree, today's linux-next build (i386 defconfig) produced this warning: In file included from arch/x86/kernel/early-quirks.c:21:0: arch/x86/include/asm/irq_remapping.h:87:58: warning: 'struct irq_chip'

Re: [PATCH wireless-next] rt2x00: Use more current logging styles, shrink object size

2013-04-19 Thread Gertjan van Wingerde
Hi Joe, On Fri, Apr 19, 2013 at 10:33 AM, Joe Perches j...@perches.com wrote: Reduce object size ~2% using more current logging styles. Neaten and simplify logging macros. Use wiphy_level where appropriate. Coalesce formats. Convert ERROR/WARNING/INFO macros and uses to rt2x00_level

[PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-19 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com From commit 068a0df76023926af958a336a78bef60468d2033 [media] media: vb2: add length check for mmap patch verifies that the mmap() size requested by userspace doesn't exceed the buffer size. As the mmap() size is rounded up to the next page boundary

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

2013-04-19 Thread Pawel Moll
On Fri, 2013-04-19 at 08:27 +0100, Stephen Rothwell wrote: Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/mach-vexpress/v2m.c between commit dabfd8fb84ab (ARM: vexpress: remove sp804 OF init) from the arm-soc tree and commit 6e973d2c4385 (clk: vexpress: Add

Re: [PATCH wireless-next] rt2x00: Use more current logging styles, shrink object size

2013-04-19 Thread Joe Perches
On Fri, 2013-04-19 at 11:45 +0200, Gertjan van Wingerde wrote: Hi Joe, Hello Gertjan. On Fri, Apr 19, 2013 at 10:33 AM, Joe Perches j...@perches.com wrote: Reduce object size ~2% using more current logging styles. [] +/* Utility printing macros */ +#define rt2x00_err(dev, fmt, ...)

  1   2   3   4   5   >