Re: Linux 3.9-rc1

2013-03-06 Thread Henrik Rydberg
Hi Linus, Peter, I don't know if it's just me, but this merge window had more Uhhuh moments than I'm used to. I stopped merging a couple of times, because we had bugs that looked really scary, but thankfully each time people were on them like paparazzi on Justin Bieber. Special thanks to

[PATCH] buildtar: Add ARCH to the archive name

2013-03-06 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de When dealing with multiple sub-arches (like 32- and 64-bit on x86, for example) generating a bunch of kernel tar archives with the same name but for different sub-arches could get confusing and error-prone. Also, the build process could overwrite otherwise

Re: [PATCH 4/9] usb: gadget: fix omap_udc build errors

2013-03-06 Thread Felipe Balbi
Hi, On Wed, Mar 06, 2013 at 08:44:25AM +0800, Greg Kroah-Hartman wrote: On Wed, Mar 06, 2013 at 12:22:24AM +0200, Felipe Balbi wrote: Hi, On Tue, Mar 05, 2013 at 11:16:44PM +0100, Arnd Bergmann wrote: 1bf0cf6040 usb: gadget: omap_udc: convert to udc_start/udc_stop made some trivial

Re: [PATCH 0/4] Alter steal-time reporting in the guest

2013-03-06 Thread Glauber Costa
On 03/06/2013 05:41 AM, Marcelo Tosatti wrote: On Tue, Mar 05, 2013 at 02:22:08PM -0600, Michael Wolf wrote: Sorry for the delay in the response. I did not see the email right away. On Mon, 2013-02-18 at 22:11 -0300, Marcelo Tosatti wrote: On Mon, Feb 18, 2013 at 05:43:47PM +0100, Frederic

Re: v3.9-rc1 instability on Chromebook Pixel with gmbus irq

2013-03-06 Thread Daniel Vetter
On Wed, Mar 6, 2013 at 3:35 AM, Benson Leung ble...@chromium.org wrote: I'm working on touch devices Chromium OS, and I've noticed a regression between 3.8 and 3.9-rc1, which was posted yesterday. The hardware in question is a Chromebook Pixel. For this device, we have i2c input devices:

Re: [PATCH 05/32] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-03-06 Thread Thomas Petazzoni
Dear Jingoo Han, On Wed, 06 Mar 2013 06:28:08 + (GMT), Jingoo Han wrote: Sorry, I did not know that you submitted the patch. No problem, I'm happy to have one less patch to carry in my PCIe patch set :) Like you, I am developing PCIe Host driver. Just curious, do you already have some

[RESEND PATCH 2/6] acpi: Add missing parameter comment for acpi_get_table_with_size().

2013-03-06 Thread Tang Chen
In the comment of acpi_get_table_with_size(), one parameter tbl_size is missing. And the definitions of i and j begin with space, not tab. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/acpica/tbxface.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[RESEND PATCH 4/6] acpi: Remove the leading spaces of unmap_and_exit label in acpi_tb_install_table().

2013-03-06 Thread Tang Chen
There are 6 leading spaces in front of unmap_and_exit label in acpi_tb_install_table(). Remove them. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/acpica/tbutils.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/acpica/tbutils.c

[RESEND PATCH 0/6] Fix some coding style and comment problems.

2013-03-06 Thread Tang Chen
Fix some coding style and comment problems I saw when I was reading the code. Tang Chen (6): acpi: Remove the leading space of unlock label in acpi_memory_device_notify(). acpi: Add missing parameter comment for acpi_get_table_with_size(). acpi: Remove the leading spaces of

[RESEND PATCH 6/6] doc: Fix a wrong comment in Documentation/hw_random.txt

2013-03-06 Thread Tang Chen
Seeing from the comment, there should be three reasons for removing request_mem_region. Change the comment two to three. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- Documentation/hw_random.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[RESEND PATCH 5/6] acpi: Add the missing parameter comment for acpi_initialize_tables().

2013-03-06 Thread Tang Chen
In the comment of acpi_initialize_tables(), it mistakes allow_resize with allow_realloc. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/acpica/tbxface.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/acpica/tbxface.c

[RESEND PATCH 3/6] acpi: Remove the leading spaces of finish_override label in acpi_tb_table_override().

2013-03-06 Thread Tang Chen
There is 7 leading spaces in front of finish_override label in acpi_tb_table_override(). Remove them. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/acpica/tbinstal.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/acpica/tbinstal.c

[RESEND PATCH 1/6] acpi: Remove the leading space of unlock label in acpi_memory_device_notify().

2013-03-06 Thread Tang Chen
There is a leading space in front of unlock label in acpi_memory_device_notify(). Remove it. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- drivers/acpi/acpi_memhotplug.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/acpi_memhotplug.c

Re: v3.9-rc1 instability on Chromebook Pixel with gmbus irq

2013-03-06 Thread Jani Nikula
On Wed, 06 Mar 2013, Daniel Vetter daniel.vet...@ffwll.ch wrote: On Wed, Mar 6, 2013 at 3:35 AM, Benson Leung ble...@chromium.org wrote: I'm working on touch devices Chromium OS, and I've noticed a regression between 3.8 and 3.9-rc1, which was posted yesterday. The hardware in question is a

Re: [PATCH 1/1 v3] pwm_bl: Add support for backlight enable regulator

2013-03-06 Thread Alex Courbot
On 03/06/2013 04:00 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Mar 06, 2013 at 01:53:27PM +0900, Alex Courbot wrote: On 03/06/2013 11:41 AM, Andrew Chew wrote: struct pwm_bl_data { struct pwm_device *pwm; struct device *dev; +

Re: [PATCH 05/32] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-03-06 Thread Jingoo Han
On Wednesday, March 06, 2013 5:26 PM, Thomas Petazzoni wrote: Dear Jingoo Han, On Wed, 06 Mar 2013 06:28:08 + (GMT), Jingoo Han wrote: Sorry, I did not know that you submitted the patch. No problem, I'm happy to have one less patch to carry in my PCIe patch set :) Thank you :)

Re: [PATCH] iio: adc: exynos5_adc: fix compilation warnings

2013-03-06 Thread Lars-Peter Clausen
On 03/06/2013 05:11 AM, Naveen Krishna Chatradhi wrote: From: Naveen Krishna Ch ch.nav...@samsung.com Fixes the compilation warnings and potential NULL pointer dereferencing pointed out by Dan Carpenter. I'd say that's a rather un-potential NULL pointer dereferencing, but if it makes the

Re: [PATCH v2 1/2] Input: atmel_mxt_ts - add device id for touchpad variant

2013-03-06 Thread Joonyoung Shim
Hi Benson, On 03/06/2013 04:41 PM, Benson Leung wrote: From: Daniel Kurtz djku...@chromium.org This same driver can be used by atmel based touchscreens and touchpads (buttonpads) by instantiating the i2c device as a atmel_mxt_tp. This will cause the driver to perform some touchpad specific

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-06 Thread Hu Tao
On Sun, Mar 03, 2013 at 11:17:38AM +0200, Gleb Natapov wrote: On Thu, Feb 28, 2013 at 08:13:10PM +0800, Hu Tao wrote: This series implements a new interface, kvm pv event, to notify host when some events happen in guest. Right now there is one supported event: guest panic. What other

Re: [RFC/PATCH 0/5] Contiguous Memory Allocator and get_user_pages()

2013-03-06 Thread Minchan Kim
Hello, On Tue, Mar 5, 2013 at 3:57 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, Contiguous Memory Allocator is very sensitive about migration failures of the individual pages. A single page, which causes permanent migration failure can break large conitguous allocations and

Re: [PATCH] perf tools: Fix LIBNUMA build with glibc 2.12 and older.

2013-03-06 Thread Ingo Molnar
* Vinson Lee v...@twitter.com wrote: The tokens MADV_HUGEPAGE and MADV_NOHUGEPAGE are not available with glibc 2.12 and older. Define these tokens if they are not already defined. This patch fixes these build errors with older versions of glibc. CC bench/numa.o bench/numa.c: In

Re: [PATCH 3/5] usb: musb: ux500: add otg notifier support

2013-03-06 Thread Felipe Balbi
Hi, On Wed, Mar 06, 2013 at 09:40:28AM +0800, Fabio Baltieri wrote: Add transceiver notifier event handling to the ux500 driver to set vbus on specific transceiver events. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org

Re: [PATCH v2 8/8] ARM: dts: omap5: add dwc3 core dt data

2013-03-06 Thread kishon
Hi, On Tuesday 05 March 2013 08:09 PM, Felipe Balbi wrote: Hi, On Tue, Mar 05, 2013 at 08:07:03PM +0530, Kishon Vijay Abraham I wrote: Add dwc3 core dt data as a subnode to dwc3 omap glue data in omap5 dt data file. The information for the entered data node is available @

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-06 Thread Hu Tao
Hi, On Mon, Mar 04, 2013 at 11:05:37AM +0100, Paolo Bonzini wrote: Il 03/03/2013 10:17, Gleb Natapov ha scritto: On Thu, Feb 28, 2013 at 08:13:10PM +0800, Hu Tao wrote: This series implements a new interface, kvm pv event, to notify host when some events happen in guest. Right now there is

Re: [PATCH v13 4/8] add a new runstate: RUN_STATE_GUEST_PANICKED

2013-03-06 Thread Hu Tao
On Tue, Mar 05, 2013 at 09:26:18AM +0100, Paolo Bonzini wrote: Il 05/03/2013 04:17, Hu Tao ha scritto: Will if (runstate_check(RUN_STATE_INTERNAL_ERROR) || runstate_check(RUN_STATE_SHUTDOWN) || runstate_check(RUN_STATE_GUEST_PANICKED)) {

[tip:x86/urgent] iommu, x86: Add DMA remap fault reason

2013-03-06 Thread tip-bot for Li, Zhen-Hua
Commit-ID: 4ecccd9edd5eb4dd185486e6e593c671484691bc Gitweb: http://git.kernel.org/tip/4ecccd9edd5eb4dd185486e6e593c671484691bc Author: Li, Zhen-Hua zhen-h...@hp.com AuthorDate: Wed, 6 Mar 2013 10:43:17 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 6 Mar 2013 09:41:51

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-06 Thread Paolo Bonzini
Il 06/03/2013 09:56, Hu Tao ha scritto: Something like this should work (in SeaBIOS's src/acpi-dsdt-isa.dsl): Device(PEVT) { Name(_HID, EisaId(QEMU0001)) OperationRegion(PEOR, SystemIO, 0x505, 0x01) Field(PEOR, ByteAcc, NoLock, Preserve) {

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-06 Thread Ingo Molnar
* Mandeep Singh Baines m...@chromium.org wrote: On Tue, Mar 5, 2013 at 5:16 PM, Tejun Heo t...@kernel.org wrote: On Tue, Mar 05, 2013 at 08:05:07PM -0500, J. Bruce Fields wrote: If it's really just a 2-line patch to try_to_freeze(), could it just be carried out-of-tree by people that are

Re: [PATCH v2 04/20] vmcore: allocate buffer for ELF headers on page-size alignment

2013-03-06 Thread HATAYAMA Daisuke
From: Zhang Yanfei zhangyan...@cn.fujitsu.com Subject: Re: [PATCH v2 04/20] vmcore: allocate buffer for ELF headers on page-size alignment Date: Wed, 6 Mar 2013 14:57:50 +0800 于 2013年03月02日 16:36, HATAYAMA Daisuke 写道: Allocate buffer for ELF headers on page-size aligned boudary to satisfy

Re: Linux 3.9-rc1

2013-03-06 Thread H. Peter Anvin
On 03/06/2013 12:06 AM, Henrik Rydberg wrote: Hi Linus, Peter, I don't know if it's just me, but this merge window had more Uhhuh moments than I'm used to. I stopped merging a couple of times, because we had bugs that looked really scary, but thankfully each time people were on them like

Re: [PATCH RFC 04/12] xen-blkfront: pre-allocate pages for requests

2013-03-06 Thread Roger Pau Monné
On 05/03/13 22:53, Konrad Rzeszutek Wilk wrote: /* No more gnttab callback work. */ gnttab_cancel_free_callback(info-callback); @@ -1088,6 +1120,12 @@ again: goto destroy_blkring; } +/* Allocate memory for grants */ +err =

[PATCH] [RESEND] score: Kconfig: drop nine selects and one entry

2013-03-06 Thread Paul Bolle
The config entries in the System type choice each use the same three select statements. The Kconfig symbol SYS_SUPPORTS_32BIT_KERNEL is only used by mips. The Kconfig symbol CPU_SCORE7 is used once, in an (almost) empty Kconfig entry, and there are no uses of CONFIG_CPU_SCORE7. (This means that

Re: [PATCH v2 8/8] ARM: dts: omap5: add dwc3 core dt data

2013-03-06 Thread Felipe Balbi
Hi, On Wed, Mar 06, 2013 at 02:25:48PM +0530, kishon wrote: Hi, On Tuesday 05 March 2013 08:09 PM, Felipe Balbi wrote: Hi, On Tue, Mar 05, 2013 at 08:07:03PM +0530, Kishon Vijay Abraham I wrote: Add dwc3 core dt data as a subnode to dwc3 omap glue data in omap5 dt data file. The

Re: [PATCH] efivarfs: fix abnormal GUID in variable name by using strcpy to replace null with dash

2013-03-06 Thread Lingzhu Xiang
On 03/06/2013 03:34 PM, joeyli wrote: +static unsigned long variable_name_length(efi_char16_t *variable_name) +{ + unsigned long len; + efi_char16_t c; + + len = 2; + do { + c = variable_name[len / sizeof(c) - 1]; + if (c) + len

Re: [PATCH v2 8/8] ARM: dts: omap5: add dwc3 core dt data

2013-03-06 Thread kishon
On Wednesday 06 March 2013 02:49 PM, Felipe Balbi wrote: Hi, On Wed, Mar 06, 2013 at 02:25:48PM +0530, kishon wrote: Hi, On Tuesday 05 March 2013 08:09 PM, Felipe Balbi wrote: Hi, On Tue, Mar 05, 2013 at 08:07:03PM +0530, Kishon Vijay Abraham I wrote: Add dwc3 core dt data as a subnode to

Re: [PATCH] iio: adc: exynos5_adc: fix compilation warnings

2013-03-06 Thread Dan Carpenter
On Wed, Mar 06, 2013 at 09:44:47AM +0100, Lars-Peter Clausen wrote: On 03/06/2013 05:11 AM, Naveen Krishna Chatradhi wrote: From: Naveen Krishna Ch ch.nav...@samsung.com Fixes the compilation warnings and potential NULL pointer dereferencing pointed out by Dan Carpenter. I'd say

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

2013-03-06 Thread Daniel Lezcano
On 03/05/2013 09:40 PM, Thomas Gleixner wrote: On Sat, 2 Mar 2013, 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,

Re: [RFC/PATCH 3/5] mm: get_user_pages: use NON-MOVABLE pages when FOLL_DURABLE flag is set

2013-03-06 Thread Lin Feng
Hi Marek, On 03/05/2013 02:57 PM, Marek Szyprowski wrote: @@ -2495,7 +2498,7 @@ static inline void cow_user_page(struct page *dst, struct page *src, unsigned lo */ static int do_wp_page(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long address, pte_t

Re: [Qemu-devel] [PATCH v13 0/8] pv event interface between host and guest

2013-03-06 Thread li guang
在 2013-03-06三的 10:07 +0100,Paolo Bonzini写道: Il 06/03/2013 09:56, Hu Tao ha scritto: Something like this should work (in SeaBIOS's src/acpi-dsdt-isa.dsl): Device(PEVT) { Name(_HID, EisaId(QEMU0001)) OperationRegion(PEOR, SystemIO, 0x505, 0x01)

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-06 Thread Ивайло Димитров
Оригинално писмо От: Aaro Koskinen Относно: Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround До: Ивайло Димитров Изпратено на: Събота, 2013, Март 2 01:51:39 EET On Fri, Mar 01, 2013 at 12:09:12PM +0200, Ивайло Димитров wrote: Unfortunately it is

Re: mfd: omap-usb-host: bug fix for 3.9

2013-03-06 Thread Roger Quadros
Hi Samuel, On 02/27/2013 04:02 PM, Roger Quadros wrote: Hi Samuel, One of my patch that I sent for 3.9 introduces a bug that fails to update the port mode hostconfig register. Because of that, the port modes will always be 0 (i.e. EHCI PHY mode) and other modes will not work. PHY mode will

Re: [PATCH] Make snd_BUG_ON() always evaluate and return the conditional expression.

2013-03-06 Thread Takashi Iwai
At Tue, 05 Mar 2013 15:41:06 -0500, Christine Spang wrote: On 03/05/2013 04:05 AM, Takashi Iwai wrote: At Mon, 4 Mar 2013 17:02:59 -0500, Christine Spang wrote: Having snd_BUG_ON() only evaluate its conditional when CONFIG_SND_DEBUG is set leads to frequent bugs, since other similar

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-06 Thread Gleb Natapov
On Wed, Mar 06, 2013 at 04:46:58PM +0800, Hu Tao wrote: On Sun, Mar 03, 2013 at 11:17:38AM +0200, Gleb Natapov wrote: On Thu, Feb 28, 2013 at 08:13:10PM +0800, Hu Tao wrote: This series implements a new interface, kvm pv event, to notify host when some events happen in guest. Right now

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-06 Thread Gleb Natapov
On Wed, Mar 06, 2013 at 10:07:31AM +0100, Paolo Bonzini wrote: Il 06/03/2013 09:56, Hu Tao ha scritto: Something like this should work (in SeaBIOS's src/acpi-dsdt-isa.dsl): Device(PEVT) { Name(_HID, EisaId(QEMU0001)) OperationRegion(PEOR, SystemIO, 0x505,

Re: [RFC PATCH RESEND v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-06 Thread Andrew Murray
On Fri, Mar 01, 2013 at 03:13:34PM +, Rob Herring wrote: On 03/01/2013 06:23 AM, Andrew Murray wrote: This patch factors out common implementations patterns to reduce overall kernel code and provide a means for host bridge drivers to directly obtain struct resources from the DT's

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

2013-03-06 Thread Thomas Gleixner
On Wed, 6 Mar 2013, Daniel Lezcano wrote: On 03/05/2013 09:40 PM, Thomas Gleixner wrote: On Sat, 2 Mar 2013, 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,

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-06 Thread Paolo Bonzini
On Wed, Mar 06, 2013 at 10:07:31AM +0100, Paolo Bonzini wrote: Il 06/03/2013 09:56, Hu Tao ha scritto: Something like this should work (in SeaBIOS's src/acpi-dsdt-isa.dsl): Device(PEVT) { Name(_HID, EisaId(QEMU0001)) OperationRegion(PEOR,

[PATCH] ARM: mach-bcm: drop select GENERIC_TIME

2013-03-06 Thread Paul Bolle
The Kconfig symbol GENERIC_TIME was removed from the kernel in v2.6.36, with commit 592913ecb87a9e06f98ddb55b298f1a66bf94c6b (time: Kill off CONFIG_GENERIC_TIME). Somehow this select statement still popped up recently. It's a nop so we can drop it. Signed-off-by: Paul Bolle pebo...@tiscali.nl ---

Re: [PATCH v3 -next 5/5] Kconfig: Make x86 and arm kernels default to the LZ4-compressed

2013-03-06 Thread Florian Fainelli
On 03/06/2013 12:08 AM, Andrew Morton wrote: On Tue, 05 Mar 2013 13:04:20 +0100 Florian Fainelli flor...@openwrt.org wrote: Hello, On 03/05/2013 12:47 PM, Kyungsik Lee wrote: This patch makes x86 and arm kernels default to the LZ4-compressed to test new LZ4 code in the linux-next. This is

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-03-06 Thread Thomas Gleixner
On Wed, 6 Mar 2013, Simon Horman wrote: On Mon, Feb 18, 2013 at 11:28:34PM +0900, Magnus Damm wrote: The SoCs using this driver are currently mainly used together with regular platform devices so this driver allows configuration via platform data to support things like static interrupt

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-06 Thread Gleb Natapov
On Wed, Mar 06, 2013 at 04:48:17AM -0500, Paolo Bonzini wrote: On Wed, Mar 06, 2013 at 10:07:31AM +0100, Paolo Bonzini wrote: Il 06/03/2013 09:56, Hu Tao ha scritto: Something like this should work (in SeaBIOS's src/acpi-dsdt-isa.dsl): Device(PEVT) {

RE: [PATCH BUGFIX 2/6] pkt_sched: fix the update of eligible-group sets

2013-03-06 Thread David Laight
Between two invocations of make_eligible, the system virtual time may happen to grow enough that, in its binary representation, a bit with higher order than 31 flips. This happens especially with TSO/GSO. Before this fix, the mask used in make_eligible was computed as

Re: [PATCH 1/1 v3] pwm_bl: Add support for backlight enable regulator

2013-03-06 Thread Thierry Reding
On Wed, Mar 06, 2013 at 05:37:42PM +0900, Alex Courbot wrote: On 03/06/2013 04:00 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Mar 06, 2013 at 01:53:27PM +0900, Alex Courbot wrote: On 03/06/2013 11:41 AM, Andrew Chew wrote: struct pwm_bl_data { struct

Re: mmap vs fs cache

2013-03-06 Thread Howard Chu
Howard Chu wrote: Howard Chu wrote: 2 questions: why is there data in the FS cache that isn't owned by (the mmap of) the process that caused it to be paged in in the first place? is there a tunable knob to discourage the page cache from stealing from the process? This Unmapped page

Re: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32

2013-03-06 Thread Ingo Molnar
* Illyas Mansoor illyas.mans...@intel.com wrote: Idle notifier not registered if CONFIG_X86_32 is defined, those callbacks are empty for X86_32 platform. ifdef CONFIG_X86_64 void enter_idle(void); void exit_idle(void); else static inline void enter_idle(void) { } static inline void

Re: [PATCH 2/7] ksm: treat unstable nid like in stable tree

2013-03-06 Thread Ric Mason
Hi Hugh, On 03/06/2013 01:05 PM, Hugh Dickins wrote: On Wed, 6 Mar 2013, Ric Mason wrote: [ I've deleted the context because that was about the unstable tree, and here you have moved to asking about a case in the stable tree. ] I think I can basically understand you, please correct me if

Re: [3.9-rc1 x86] Bug in ioremap code?

2013-03-06 Thread Tetsuo Handa
Dave Hansen wrote: Could you also add the following to your .config: CONFIG_ACPI_DEBUG=y and boot with these on the kernel command-line: acpi.debug_layer=0x acpi.debug_level=0x2 I _think_ that\'ll shed some light on exactly which ACPI table is being parsed when

RE: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32

2013-03-06 Thread Mansoor, Illyas
* Illyas Mansoor illyas.mans...@intel.com wrote: Idle notifier not registered if CONFIG_X86_32 is defined, those callbacks are empty for X86_32 platform. ifdef CONFIG_X86_64 void enter_idle(void); void exit_idle(void); else static inline void enter_idle(void) { } static inline

Re: lockdep: access percpu variable too early

2013-03-06 Thread Ingo Molnar
* Ming Lei ming@canonical.com wrote: Hi, The percpu variables of 'lockdep_stats' and 'cpu_lock_stat' may be accessed before percpu area is brought up in case of CONFIG_DEBUG_LOCKDEP/CONFIG_LOCK_STAT, so these variables in non-boot CPUs will be initialized incorrectly. What's the

Re: mmap vs fs cache

2013-03-06 Thread Howard Chu
Howard Chu wrote: Howard Chu wrote: Howard Chu wrote: 2 questions: why is there data in the FS cache that isn't owned by (the mmap of) the process that caused it to be paged in in the first place? is there a tunable knob to discourage the page cache from stealing from the process?

Re: lockdep: access percpu variable too early

2013-03-06 Thread Ming Lei
On Wed, Mar 6, 2013 at 6:20 PM, Ingo Molnar mi...@kernel.org wrote: What's the practical effect of it? Do we copy the value from the boot CPU and thus the secondary CPUs start with slightly increased stats? Yes, it is the major effect. Also the arch dependent __my_cpu_offset might be

Re: [PATCH] perf: remove include of cgroup.h from perf_event.h

2013-03-06 Thread Ingo Molnar
* Stephane Eranian eran...@google.com wrote: - * This is a per-cpu dynamically allocated data structure. - */ -struct perf_cgroup_info { - u64 time; - u64 timestamp; -}; - -struct perf_cgroup { - struct

v3.9-rc1: swapper/0 [ INFO: possible circular locking dependency detected ]

2013-03-06 Thread Maxime Ripard
Hi, Just noticed this in 3.9-rc1 on an iMX28 (ARM) board with a config based on mxs_defconfig. I'm using the patchset Add tested id switch and vbus connect detect support for Chipidea from Peter Chen in its 10th version [1], rebased on top of 3.9-rc1, but since this doesn't modify the locks

Re: lockdep: access percpu variable too early

2013-03-06 Thread Ingo Molnar
* Ming Lei ming@canonical.com wrote: On Wed, Mar 6, 2013 at 6:20 PM, Ingo Molnar mi...@kernel.org wrote: What's the practical effect of it? Do we copy the value from the boot CPU and thus the secondary CPUs start with slightly increased stats? Yes, it is the major effect.

Re: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32

2013-03-06 Thread Ingo Molnar
* Mansoor, Illyas illyas.mans...@intel.com wrote: * Illyas Mansoor illyas.mans...@intel.com wrote: Idle notifier not registered if CONFIG_X86_32 is defined, those callbacks are empty for X86_32 platform. ifdef CONFIG_X86_64 void enter_idle(void); void exit_idle(void);

Re: [PATCH] gpio: viperboard: Remove duplicate code to set gpio-gpiob_val

2013-03-06 Thread Lars Poeschel
On Tuesday 05 March 2013 at 13:21:56, Axel Lin wrote: Set it once is enough, and it's done in vprbrd_gpiob_set() which is called by vprbrd_gpiob_direction_output(). Signed-off-by: Axel Lin axel@ingics.com Thank you! Tested-and-Acked-by: Lars Poeschel poesc...@lemonage.de ---

[PATCH] ARM: EXYNOS: change HAVE_SAMSUNG_KEYPAD to KEYBOARD_SAMSUNG

2013-03-06 Thread Paul Bolle
Commit 6b5ab4f442e32f248b6fad29aafd1d5153f4dbd3 (ARM: EXYNOS: Add Exynos4 device tree enabled board file) added select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD to the MACH_EXYNOS4_DT Kconfig entry. But there's no Kconfig symbol HAVE_SAMSUNG_KEYPAD. Since this select statement depends on

Re: [RFC/PATCH 0/5] Contiguous Memory Allocator and get_user_pages()

2013-03-06 Thread Marek Szyprowski
Hello, On 3/6/2013 9:47 AM, Minchan Kim wrote: Hello, On Tue, Mar 5, 2013 at 3:57 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, Contiguous Memory Allocator is very sensitive about migration failures of the individual pages. A single page, which causes permanent migration

Re: [RFC/PATCH 3/5] mm: get_user_pages: use NON-MOVABLE pages when FOLL_DURABLE flag is set

2013-03-06 Thread Lin Feng
Hi Marek, On 03/05/2013 02:57 PM, Marek Szyprowski wrote: Ensure that newly allocated pages, which are faulted in in FOLL_DURABLE mode comes from non-movalbe pageblocks, to workaround migration failures with Contiguous Memory Allocator. snip @@ -2495,7 +2498,7 @@ static inline void

[PATCH] ARM: drop select HAVE_SCHED_CLOCK

2013-03-06 Thread Paul Bolle
The Kconfig symbol HAVE_SCHED_CLOCK got removed in v3.4, with commit 6905a65879b51d326396e63dfea40861a30bc17f (ARM: Make the sched_clock framework mandatory). Drop the last two select statements for that symbol too. They're useless now. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Tested with

RE: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32

2013-03-06 Thread Mansoor, Illyas
-Original Message- From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo Molnar Sent: Wednesday, March 06, 2013 4:06 PM To: Mansoor, Illyas; Peter Zijlstra Cc: Linux Kernel; Linux PM; Frederic Weisbecker; Ingo Molnar; X86; Len Brown; Thomas Gleixner; Matthew

[PATCH v2 0/3] pinctrl: exynos: add support for Samsung's Exynos5250

2013-03-06 Thread Thomas Abraham
Changes since v1: - Change the compatible string from samsung,pinctrl-exynos5250 to samsung,exynos5250-pinctrl. - Rebased to v3.9-rc1 This patch series add pinctrl driver support for Samsung's Exynos5250 SoC. The first patch adds the required Exynos5250 SoC specific data which is used by the

[PATCH v2 2/3] gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250

2013-03-06 Thread Thomas Abraham
Skip exynos5250 gpiolib registration if pinctrl support for exynos5250 is enabled. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers/gpio/gpio-samsung.c |1 + 1 files changed, 1

[PATCH v2 3/3] arm: exynos: skip wakeup interrupt registration for exynos5250 if pinctrl is enabled

2013-03-06 Thread Thomas Abraham
Skip the wakeup interrupt registration for Exynos5250 if pinctrl support is enabled for Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/mach-exynos/common.c |1 + 1

[PATCH v2 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2013-03-06 Thread Thomas Abraham
Add Samsung Exynos5250 SoC specific data to enable pinctrl support for all platforms based on Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers/pinctrl/pinctrl-exynos.c |

Re: Should a swapped out page be deleted from swap cache?

2013-03-06 Thread Ric Mason
On 03/06/2013 01:34 PM, Li Haifeng wrote: 2013/2/20 Ric Mason ric.mas...@gmail.com: Hi Hugh, On 02/20/2013 02:56 AM, Hugh Dickins wrote: On Tue, 19 Feb 2013, Ric Mason wrote: There is a call of try_to_free_swap in function swap_writepage, if swap_writepage is call from shrink_page_list

Re: [PATCH 1/1] xen/balloon: Enforce various limits on target

2013-03-06 Thread David Vrabel
On 04/03/13 21:14, Daniel Kiper wrote: This patch enforces on target limit statically defined in Linux Kernel source and limit defined by hypervisor or host. Particularly this patch fixes bug which led to flood of dom0 kernel log with messages similar to: System RAM resource [mem

[PATCH 1/1] Add TI TCA9554 to supported devices table

2013-03-06 Thread Nikolay Balandin
From: Nikolay Balandin nbalan...@dev.rtsoft.ru Signed-off-by: Nikolay Balandin nbalan...@dev.rtsoft.ru --- drivers/gpio/gpio-pcf857x.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-pcf857x.c b/drivers/gpio/gpio-pcf857x.c index a19b745..a965620 100644 ---

Re: Should a swapped out page be deleted from swap cache?

2013-03-06 Thread Ric Mason
On 03/06/2013 07:04 PM, Ric Mason wrote: On 03/06/2013 01:34 PM, Li Haifeng wrote: 2013/2/20 Ric Mason ric.mas...@gmail.com: Hi Hugh, On 02/20/2013 02:56 AM, Hugh Dickins wrote: On Tue, 19 Feb 2013, Ric Mason wrote: There is a call of try_to_free_swap in function swap_writepage, if

Re: [PATCH v3 -next 5/5] Kconfig: Make x86 and arm kernels default to the LZ4-compressed

2013-03-06 Thread Borislav Petkov
On Wed, Mar 06, 2013 at 10:57:52AM +0100, Florian Fainelli wrote: If we want to have more coverage, how about importing the lz4demo utility source code to tools/lz4/ That looks like on overkill to me, besides I don't think that's the purpose of tools/. Maybe everyone who wants to test this,

Re: [3.9-rc1 x86] Bug in ioremap code?

2013-03-06 Thread H. Peter Anvin
On 03/06/2013 02:16 AM, Tetsuo Handa wrote: But I found that this bug occurs only when the system has little RAM. With 892MB RAM where /proc/meminfo would show HighTotal 0, this bug does not occur. HighTotal: 4040 kB LowTotal: 873960 kB With 888MB RAM where

[patch 5/7] tick: Provide a check for a forced broadcast pending

2013-03-06 Thread Thomas Gleixner
On the CPU which gets woken along with the target CPU of the broadcast the following happens: deep_idle() -- spurious wakeup broadcast_exit() set forced bit enable interrupts -- Nothing happens disable interrupts

[patch 6/7] arm: Use tick broadcast expired check

2013-03-06 Thread Thomas Gleixner
Avoid going back into deep idle if the tick broadcast IPI is about to fire. Signed-off-by: Thomas Gleixner t...@linutronix.de --- arch/arm/kernel/process.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) Index: tip/arch/arm/kernel/process.c

[patch 4/7] tick: Handle broadcast wakeup of multiple cpus

2013-03-06 Thread Thomas Gleixner
Some brilliant hardware implementations wake multiple cores when the broadcast timer fires. This leads to the following interesting problem: CPU0CPU1 wakeup from idlewakeup from idle leave broadcast modeleave broadcast mode restart per cpu

Re: [PATCH] efivarfs: fix abnormal GUID in variable name by using strcpy to replace null with dash

2013-03-06 Thread Matt Fleming
On Wed, 2013-03-06 at 15:34 +0800, joeyli wrote: Hi Matt, 於 六,2013-03-02 於 07:41 +0800,joeyli 提到: 於 五,2013-03-01 於 16:31 +,Matt Fleming 提到: On Fri, 2013-03-01 at 15:17 +, Matt Fleming wrote: On Fri, 2013-03-01 at 11:20 +0800, Lee, Chun-Yi wrote: From: Michael Schroeder

Re: lockdep trace from kill_fasync (tty) vs account (random)

2013-03-06 Thread Peter Hurley
On Tue, 2013-03-05 at 22:06 -0500, Dave Jones wrote: Came home to this on my box that I left fuzz-testing. [56194.899379] == [56194.899529] [ INFO: possible circular locking dependency detected ] [56194.899679] 3.9.0-rc1+ #67 Not tainted

[patch 0/7] tick: Optimize broadcast handling and prevent expiry ping pong

2013-03-06 Thread Thomas Gleixner
Jason decoded a problem related to the broadcast timer mode. The reprogramming of the cpu local timer causes a huge number of retries. Also there is a situation where the CPU which does not handle the broadcast timer interrupt exits and reenters broadcast mode before the broadcast interrupt got

[patch 1/7] tick: Call tick_init late

2013-03-06 Thread Thomas Gleixner
To convert the clockevents code to cpumask_var_t we need to move the init call after the allocator setup. Clockevents are earliest registered from time_init() as they need interrupts being set up, so this is safe. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Rusty Russell

[patch 2/7] tick: Convert broadcast cpu bitmaps to cpumask_var_t

2013-03-06 Thread Thomas Gleixner
Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Rusty Russell ru...@rustcorp.com.au --- kernel/time/tick-broadcast.c | 86 +-- kernel/time/tick-common.c|1 kernel/time/tick-internal.h |3 + 3 files changed, 46 insertions(+), 44

[patch 7/7] x86: Use tick broadcast expired check

2013-03-06 Thread Thomas Gleixner
Avoid going back into deep idle if the tick broadcast IPI is about to fire. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: x...@kernel.org --- arch/x86/kernel/process.c | 12 1 file changed, 12 insertions(+) Index: tip/arch/x86/kernel/process.c

Re: [PATCH] perf: remove include of cgroup.h from perf_event.h

2013-03-06 Thread Stephane Eranian
On Wed, Mar 6, 2013 at 11:31 AM, Ingo Molnar mi...@kernel.org wrote: * Stephane Eranian eran...@google.com wrote: - * This is a per-cpu dynamically allocated data structure. - */ -struct perf_cgroup_info { - u64 time; - u64

[patch 3/7] tick: Avoid programming the local cpu timer if broadcast pending

2013-03-06 Thread Thomas Gleixner
If the local cpu timer stops in deep idle, we arm the broadcast device and get woken by an IPI. Now when we return from deep idle we reenable the local cpu timer unconditionally before handling the IPI. But that's a pointless exercise: the timer is already expired and the IPI is on the way. And

[PATCH RFC 0/1] AHCI: Optimize interrupt processing

2013-03-06 Thread Alexander Gordeev
Hi Jeff, As I am not sure about my reading of the statistics and the trade-off I identified (below), this patch a RFC. The numbers are taken by running 'if=/dev/sd{a,b,c} of=/dev/null' All time values is in us. Before this update host lock average holdtime was 3.266532061 and average waittime

Re: [PATCH] efivarfs: fix abnormal GUID in variable name by using strcpy to replace null with dash

2013-03-06 Thread Matt Fleming
On Wed, 2013-03-06 at 17:20 +0800, Lingzhu Xiang wrote: On 03/06/2013 03:34 PM, joeyli wrote: +static unsigned long variable_name_length(efi_char16_t *variable_name) +{ + unsigned long len; + efi_char16_t c; + + len = 2; + do { + c = variable_name[len / sizeof(c)

[PATCH RFC 1/1] AHCI: Optimize interrupt processing

2013-03-06 Thread Alexander Gordeev
Split interrupt service routine into hardware context handler and threaded context handler. That allows to protect ports with individual locks rather than with a single host-wide lock, which results in better parallelism. Signed-off-by: Alexander Gordeev agord...@redhat.com ---

Re: [PATCH 5/9] ARM: omap1: add back missing includes

2013-03-06 Thread Arnd Bergmann
On Wednesday 06 March 2013, Tony Lindgren wrote: * Arnd Bergmann a...@arndb.de [130305 14:31]: On Tuesday 05 March 2013, Arnd Bergmann wrote: The recent reorganization of OMAP header files caused a couple of files that used to be implicitly included now missing from OMAP1. This adds

Re: [PATCH V3 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-03-06 Thread Lin Feng
Hi Yasuaki, On 03/06/2013 03:48 PM, Yasuaki Ishimatsu wrote: Hi Lin, IMHO, current implementation depends on luck. So even if system has many non movable memory, get_user_pages_non_movable() may not allocate non movable memory. Sorry, I'm not quite understand here, since the to be pinned

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-03-06 Thread Simon Horman
On Wed, Mar 06, 2013 at 11:01:14AM +0100, Thomas Gleixner wrote: On Wed, 6 Mar 2013, Simon Horman wrote: On Mon, Feb 18, 2013 at 11:28:34PM +0900, Magnus Damm wrote: The SoCs using this driver are currently mainly used together with regular platform devices so this driver allows

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-03-06 Thread anish singh
On Tue, Feb 19, 2013 at 2:18 AM, Don Zickus dzic...@redhat.com wrote: On Sat, Feb 16, 2013 at 05:44:09PM +0530, anish kumar wrote: From: anish kumar anish198519851...@gmail.com This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is multifold. Uses are: 1. Check if

Re: RFC: Zynq Clock Controller

2013-03-06 Thread Jan Lübbe
Hi Sören, On Tue, 2013-03-05 at 12:04 -0800, Sören Brinkmann wrote: For this reasons, I'd like to propose moving Zynq into the same direction. I.e. adding a clock controller with the following DT description (details may change but the general idea should become clear): clkc: clkc {

  1   2   3   4   5   6   7   8   9   10   >