Re: [PATCH 0/1] hopefully fix null pointer dereference on i915 load

2012-08-14 Thread Jani Nikula
On Mon, 13 Aug 2012, Mihai Moldovan io...@ionic.de wrote: Had another look at the code and would like to apologize for the confusion... No worries Mihai, thanks for testing! BR, Jani. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: thermal patches in linux-next

2012-08-14 Thread Amit Kachhap
On 10 August 2012 11:21, Zhang Rui rui.zh...@intel.com wrote: On 五, 2012-08-10 at 10:37 +0530, Amit Kachhap wrote: On 10 August 2012 08:14, Zhang Rui rui.zh...@intel.com wrote: On 五, 2012-08-10 at 12:23 +1000, Stephen Rothwell wrote: Hi Rui, On Fri, 10 Aug 2012 09:41:06 +0800 Zhang Rui

Re: [PATCH 0/7] zram/zsmalloc promotion

2012-08-14 Thread Minchan Kim
Hi Nitin, On Mon, Aug 13, 2012 at 10:36:47PM -0700, Nitin Gupta wrote: On 08/13/2012 07:35 PM, Greg Kroah-Hartman wrote: On Wed, Aug 08, 2012 at 03:12:13PM +0900, Minchan Kim wrote: This patchset promotes zram/zsmalloc from staging. Both are very clean and zram is used by many embedded

Re: [PATCH 0/7] zram/zsmalloc promotion

2012-08-14 Thread Minchan Kim
Hi Greg, On Mon, Aug 13, 2012 at 07:35:30PM -0700, Greg Kroah-Hartman wrote: On Wed, Aug 08, 2012 at 03:12:13PM +0900, Minchan Kim wrote: This patchset promotes zram/zsmalloc from staging. Both are very clean and zram is used by many embedded product for a long time. [1-3] are patches

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-14 Thread Julia Lawall
Well, I've massively applied hundreds of patches today, but not much on this driver. Maybe it is better for you to wait for a couple of days for these to be at -next, or use, instead, our tree as the basis for it: git://linuxtv.org/media_tree.git staging/for_v3.7 I cloned this, but it

Re: [PATCH 0/7] HID: picoLCD updates

2012-08-14 Thread Bruno Prémont
Hello Tejun, [Tejun: sorry for duplicate, did hit reply instead of reply to all] On Mon, 13 Aug 2012 16:27:08 Tejun Heo t...@kernel.org wrote: On Thu, Aug 09, 2012 at 08:09:47PM +0200, Bruno Prémont wrote: As you are working on workqueues and related code, could you have a look at my usage

[PATCH 5/5] drivers/usb/host/ehci-platform.c: fix error return code

2012-08-14 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Convert a possibly 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression

[PATCH 4/5] drivers/usb/host/ohci-platform.c: fix error return code

2012-08-14 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Convert a possibly 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression

[PATCH 1/5] drivers/usb/gadget/s3c-hsotg.c: fix error return code

2012-08-14 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e,e1,e2,e3,e4,x;

[PATCH 2/5] drivers/tty/moxa.c: fix error return code

2012-08-14 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e,e1,e2,e3,e4,x;

[PATCH 3/5] drivers/usb/wusbcore/wa-hc.c: fix error return code

2012-08-14 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Convert a 0 error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier ret; expression e,e1,e2,e3,e4,x;

[PATCH 0/5] fix error return code

2012-08-14 Thread Julia Lawall
These patches fix cases where the return code appears to be unintentially 0. The complete semantic match that finds the problem is as follows: (http://coccinelle.lip6.fr/) // smpl @r@ identifier f; expression ret,e; constant C; @@ f(...) { +... ( return -C; | ret = -C ... when != ret = e return

[PATCH] x86/fixup_irq: using the cpu_online_mask instead of cpu_all_mask

2012-08-14 Thread Liu, Chuansheng
From: liu chuansheng chuansheng@intel.com Subject: [PATCH] x86/fixup_irq: using the cpu_online_mask instead of cpu_all_mask When one CPU is going down, and this CPU is the last one in irq affinity, current code is setting cpu_all_mask as the new affinity for that irq. But for some system

[PATCH v3] mmc: card: Skip secure option for MoviNAND.

2012-08-14 Thread IAN CHEN
For several MoviNAND, there are some known issue with secure option. For these specific MoviNAND device, we skip secure option. You could refer this discussion in XDA developers. http://forum.xda-developers.com/showthread.php?t=1644364

[PATCH RESEND] video/udlfb: fix line counting in fb_write

2012-08-14 Thread Alexander Holler
Line 0 and 1 were both written to line 0 (on the display) and all subsequent lines had an offset of -1. The result was that the last line on the display was never overwritten by writes to /dev/fbN. Cc: sta...@vger.kernel.org Signed-off-by: Alexander Holler hol...@ahsoftware.de ---

Re: [tip:smp/hotplug] watchdog: Use hotplug thread infrastructure

2012-08-14 Thread viresh kumar
On Mon, Aug 13, 2012 at 8:43 PM, tip-bot for Thomas Gleixner t...@linutronix.de wrote: Commit-ID: bcd951cf10f24e341defcd002c15a1f4eea13ddb Gitweb: http://git.kernel.org/tip/bcd951cf10f24e341defcd002c15a1f4eea13ddb Author: Thomas Gleixner t...@linutronix.de AuthorDate: Mon, 16 Jul 2012

Re: [PATCH v3] mmc: card: Skip secure option for MoviNAND.

2012-08-14 Thread Namjae Jeon
2012/8/14, IAN CHEN ian.cy.c...@samsung.com: For several MoviNAND, there are some known issue with secure option. For these specific MoviNAND device, we skip secure option. You could refer this discussion in XDA developers. http://forum.xda-developers.com/showthread.php?t=1644364

Re: [patch net-next 03/16] vlan: add link to upper device

2012-08-14 Thread Jiri Pirko
Mon, Aug 13, 2012 at 09:04:21PM CEST, f...@redhat.com wrote: On Mon, 13 Aug 2012 17:27:02 +0200 Jiri Pirko j...@resnulli.us wrote: Signed-off-by: Jiri Pirko j...@resnulli.us --- net/8021q/vlan.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] [NETFILTER] bridge: rcu_deref outside read-lock section

2012-08-14 Thread Denis
On 14.08.2012 3:36, Stephen Hemminger wrote: Why not just move the rcu_read_lock() in br_dev_xmit earlier? I don't know the semantics of this code, so it's difficult for me to choose the appropriate place. I thought that the callers of br_nf_pre_routing_finish_bridge_slow function are limited

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-14 Thread Alex Shi
On 08/13/2012 08:21 PM, Alex Shi wrote: Since there is no power saving consideration in scheduler CFS, I has a very rough idea for enabling a new power saving schema in CFS. It bases on the following assumption: 1, If there are many task crowd in system, just let few domain cpus running

[PATCH 1/1] [RFC] uartclk from serial_core exposed to sysfs

2012-08-14 Thread Tomas Hlavacek
Support for read/modify of uartclk via sysfs added. It may prove useful with some no-name cards that has different oscillator speeds and no distinguishing PCI IDs to allow autodetection. It allows better integration with udev and/or init scripts. Signed-off-by: Tomas Hlavacek tmshl...@gmail.com

Re: [Qemu-devel] [PATCH v8] kvm: notify host when the guest is panicked

2012-08-14 Thread Gleb Natapov
On Mon, Aug 13, 2012 at 05:24:52PM -0300, Marcelo Tosatti wrote: On Mon, Aug 13, 2012 at 01:48:39PM -0600, Eric Blake wrote: On 08/13/2012 12:21 PM, Marcelo Tosatti wrote: On Wed, Aug 08, 2012 at 10:43:01AM +0800, Wen Congyang wrote: We can know the guest is panicked when the guest runs

Re: [PATCH] m68k: select CONFIG_GENERIC_ATOMIC64 for all m68k CPU types

2012-08-14 Thread Geert Uytterhoeven
On Tue, Aug 14, 2012 at 6:45 AM, g...@snapgear.com wrote: There is no specific atomic64 support code for any m68k CPUs, so we should select CONFIG_GENERIC_ATOMC64 for all. Remove the existing per CPU selection of this and select it for all m68k. Signed-off-by: Greg Ungerer g...@uclinux.org

Re: [PATCH v2] media: davinci: fix section mismatch warnings

2012-08-14 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Tuesday 14 August 2012 10:53:09 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com This patch fixes section mismatch warnings for davinci video drivers. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli

Re: Infinite looping in omap2430.c USB driver

2012-08-14 Thread Felipe Balbi
On Tue, Aug 14, 2012 at 07:46:59AM +1000, NeilBrown wrote: On Mon, 13 Aug 2012 17:32:34 +0300 Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Aug 13, 2012 at 12:34:53PM +1000, NeilBrown wrote: On Thu, 9 Aug 2012 14:15:51 +0300 Felipe Balbi ba...@ti.com wrote: hehe, that's

Re: [PATCH] mmc: card: Skip secure option for MoviNAND.

2012-08-14 Thread Linus Walleij
On Tue, Aug 14, 2012 at 5:51 AM, Namjae Jeon linkinj...@gmail.com wrote: So Would you change flag name to be neutral ? MMC_QUIRK_SEC_ERASE_TRIM_BROKEN It appears that mmc_blk_issue_secdiscard_rq() always use both erase and trim (given helpers like mmc_can_secure_erase_trim()) so if either is

Re: [PATCH v3] mmc: card: Skip secure option for MoviNAND.

2012-08-14 Thread Linus Walleij
On Tue, Aug 14, 2012 at 9:06 AM, IAN CHEN ian.cy.c...@samsung.com wrote: +#define MMC_QUIRK_SECURE_MODE_BROKEN (110) /* Skip secure for erase/trim */ OK this will work and sorry for being picky, but we are working with RPMB support and that's some other secure mode so to avoid any

[PATCH v2] bridge: rcu_deref outside read-lock section

2012-08-14 Thread Denis Efremov
As it noted in the comment before the br_handle_frame_finish function, this function should be called under rcu_read_lock. The problem callgraph: br_dev_xmit - br_nf_pre_routing_finish_bridge_slow - - br_handle_frame_finish - br_port_get_rcu - rcu_dereference And in this case there is no

Re: FW: bisected regression: v3.6-rc1: resume from s2ram does not restore ata_piix (v3.5 worked)

2012-08-14 Thread Aaron Lu
[Re-send due to the last email is not plain text.] Hi Sergei, The only problem I can see is the offending commit didn't do a gtm for IDE channel during init. It was used to be done in ata_acpi_associate_ide_port. So can you please test if the following code fix your problem? Thanks. diff --git

[PATCH] net: Checking usb_register() return value

2012-08-14 Thread Marina Makienko
ath6kl_usb_init() does not check usb_register() return value. As a result it may incorrectly report success of driver initialization. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko makie...@ispras.ru --- drivers/net/wireless/ath/ath6kl/usb.c |6

Re: [PATCH 1/8] of/irq: Create stub for of_irq_find_parent when !CONFIG_OF

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: of_irq_find_parent is a handy function to use outside the confines of the Open Firmware subsystem. One such use-case is when the IRQ Domain wishes to find an IRQ domain for a given device node. Currently it can not take any

Re: [PATCH 2/8] irqdomain: Take interrupt-parent property into account if specified

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: irq_find_host() currently ignores the 'interrupt-parent' property even if it's specified in the Device Tree. Meaning that a node can match to a domain in its hierarchy even if it doesn't belong to it. By searching for the

Re: [PATCH 3/8] ARM: ux500: Identify the PRCMU as an interrupt controller

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: We're just about to provide the DB8500-PRCMU with its own IRQ domain, so that its subordinate drivers can use it as an interrupt controller. It's obligatory for all IRQ controllers to reference themselves as such from its

Re: [PATCH 4/8] ARM: ux500: Force AB8500 to use the GIC as its interrupt controller

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: It's understood that the AB8500 should be subordinate to the DB8500; however, the AB8500 uses the GIC as it's interrupt controller. If we do not specify which IRQ controller to use the default is to use the next encountered

Re: [PATCH 6/8] mfd: Use interrupt-parent as IRQ controller if specified in DT

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: Without this patch the default behaviour is to climb the Device Tree and use the first encountered interrupt controller. This does not take into account if a device node has specified to use a particular IRQ controller

[PATCH] TTY: synclink_cs, fix build

2012-08-14 Thread Jiri Slaby
Commit TTY: synclink_cs, use dynamic tty devices added a call to tty_port_register_device with a proper device as the last argument. But it was not correct and it causes build failures: synclink_cs.c: In function ‘mgslpc_add_device’: synclink_cs.c:2735:16: error: request for member ‘dev’ in

Re: [PATCH 7/8] mfd: Use the AB8500's IRQ domain to convert hwirq to virq

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: Before the AB8500 had its own IRQ domain, the IRQ handler would take the fired local IRQ (hwirq) and add it to the irq_base to convert it to an IRQ number which Linux would understand (virq). However, the IRQ base is not

Re: [PATCH] preempt/hardirq.h: Fix comment about PREEMPT_ACTIVE bit location

2012-08-14 Thread Srivatsa S. Bhat
On 07/31/2012 09:19 AM, Steven Rostedt wrote: On Sat, 2012-07-21 at 00:54 +0530, Srivatsa S. Bhat wrote: PREEMPT_ACTIVE flag is bit 27, not 28. Fix the comment. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com --- include/linux/hardirq.h |2 +- 1 files changed, 1

[PATCH] preempt/hardirq.h: Clarify PREEMPT_ACTIVE bit location

2012-08-14 Thread Srivatsa S. Bhat
By default, the PREEMPT_ACTIVE flag is bit 27, but different architectures can override that. Update the comment to reflect this fact. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com --- include/linux/hardirq.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-)

Re: [PATCH v2 2/5] x86/uprobes: implement x86 specific arch_uprobe_*_step

2012-08-14 Thread Sebastian Andrzej Siewior
On 08/13/2012 03:24 PM, Oleg Nesterov wrote: On 08/09, Sebastian Andrzej Siewior wrote: v1..v2: re-use auprobe-fixups for fixups Yes, but @@ -46,6 +46,8 @@ struct arch_uprobe_task { #ifdef CONFIG_X86_64 unsigned long saved_scratch_register; #endif +#define

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: +static struct irq_domain *db8500_irq_domain; So this is a good idea. +int db8500_irq_get_virq(int irq); And I'm sceptic about this business. Why isn't this physical-to virtual mapping business confined to the core MFD

Re: [PATCH 8/8] input: ab8500-ponkey: Rely on MFD core to convert IRQs to virtual

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: There was a plan to place ab8500_irq_get_virq() calls in each AB8500 child device prior to requesting an IRQ, but as we're no longer using Device Tree to collect our IRQ numbers, it's actually better to allow the core to do

Re: [rtc-linux] [PATCH 1/1] drivers/rtc/rtc-ab8500.c: Revoke Device Tree enablement

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:57 PM, Lee Jones lee.jo...@linaro.org wrote: All AB8500 devices are now registered via MFD core, so Device Tree capability is no longer required for probing. Here we pull the DT match table to ensure we're no longer probed during Device Tree start-up. CC: Alessandro

Re: [PATCHSET] timer: clean up initializers and implement irqsafe timers

2012-08-14 Thread Thomas Gleixner
On Mon, 13 Aug 2012, Tejun Heo wrote: Hello, On Wed, Aug 08, 2012 at 11:10:24AM -0700, Tejun Heo wrote: Timer internals are protected by irqsafe lock but the lock is naturally dropped and irq enabled while a timer is executed. This makes dequeueing timer for execution and the actual

Re: [PATCH 1/1] ARM: ux500: Match Power-On-Key MFD and DTS compatible strings

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:57 PM, Lee Jones lee.jo...@linaro.org wrote: The compatible string found in the Power-On-Key's MFD cell matches the device name provided in the driver. Keeping this naming convention seems like a good idea, so we're changing the one found in the DTS file to match.

Re: [PATCH v7 2/4] virtio_balloon: introduce migration primitives to balloon pages

2012-08-14 Thread Michael S. Tsirkin
On Tue, Aug 14, 2012 at 09:29:49AM +0930, Rusty Russell wrote: On Mon, 13 Aug 2012 11:41:23 +0300, Michael S. Tsirkin m...@redhat.com wrote: On Fri, Aug 10, 2012 at 02:55:15PM -0300, Rafael Aquini wrote: +/* + * Populate balloon_mapping-a_ops-freepage method to help compaction on + *

Re: [PATCH repost] kvm: drop parameter validation

2012-08-14 Thread Michael S. Tsirkin
On Tue, Aug 14, 2012 at 07:06:08AM +0300, Gleb Natapov wrote: On Mon, Aug 13, 2012 at 05:59:32PM -0300, Marcelo Tosatti wrote: On Mon, Aug 13, 2012 at 05:30:53PM +0300, Gleb Natapov wrote: On Mon, Aug 13, 2012 at 01:43:58PM +0300, Michael S. Tsirkin wrote: We validate irq pin number when

Re: [PATCH 1/1] ARM: ux500: Remove unused snowball_of_platform_devs struct

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:57 PM, Lee Jones lee.jo...@linaro.org wrote: This was left over during a recent clean-up which removed Device Tree helper structs. There is no longer a requirement for it, so we can just remove it. Signed-off-by: Lee Jones lee.jo...@linaro.org Acked-by: Linus

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-14 Thread Michael S. Tsirkin
On Mon, Aug 13, 2012 at 09:09:43PM -0600, Alex Williamson wrote: On Tue, 2012-08-14 at 02:00 +0300, Michael S. Tsirkin wrote: On Mon, Aug 13, 2012 at 04:41:05PM -0600, Alex Williamson wrote: On Tue, 2012-08-14 at 01:06 +0300, Michael S. Tsirkin wrote: On Mon, Aug 13, 2012 at 03:34:01PM

Re: [PATCH 13/21] userns: Teach inet_diag to work with user namespaces

2012-08-14 Thread Pavel Emelyanov
On 08/14/2012 12:18 AM, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Compute the user namespace of the socket that we are replying to and translate the kuids of reported sockets into that user namespace. Cc: Andrew Vagin ava...@openvz.org Cc: Pavel Emelyanov

Re: [PATCH V2 0/5] x86: Create direct mappings for E820_RAM only

2012-08-14 Thread Dave Young
On 08/14/2012 05:46 AM, Jacob Shin wrote: Currently kernel direct mappings are created for all pfns between [ 0 to max_low_pfn ) and [ 4GB to max_pfn ). When we introduce memory holes, we end up mapping memory ranges that are not backed by physical DRAM. This is fine for lower memory

Re: [PATCH 01/22] ARM: ux500: Fix merge error, no matching driver name for 'snd_soc_u8500'

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: The platform attempts to register platform device 'snd_soc_u8500' which doesn't actually exist. Here we change the reference to the correct one 'snd_soc_mop500'. Signed-off-by: Lee Jones lee.jo...@linaro.org Applied to

Re: bisected regression: v3.6-rc1: resume from s2ram does not restore ata_piix (v3.5 worked)

2012-08-14 Thread Sergei Trofimovich
On Tue, 14 Aug 2012 16:09:52 +0800 Aaron Lu ziqian...@intel.com wrote: [Re-send due to the last email is not plain text.] Hi Sergei, The only problem I can see is the offending commit didn't do a gtm for IDE channel during init. It was used to be done in ata_acpi_associate_ide_port.

regulator: Enable supply regulator if child rail is enabled broken?

2012-08-14 Thread Rabin Vincent
It appears that this patch causes incorrect reference counting on supply regulators if the child regulator is enabled with for example boot_on=true: commit b2296bd43e781976743354c668a356b0df98e1da Author: Laxman Dewangan ldewan...@nvidia.com Date: Mon Jan 2 13:08:45 2012 +0530 regulator:

Re: [PATCH 02/22] ARM: ux500: Ensure probing of Audio devices when Device Tree is enabled

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: Previous attempts to add platform probing of the Audio related devices only call from non-DT initialisation functions. This patch extends that functionality to the Device Tree related ones too. Signed-off-by: Lee Jones

Re: [PATCH 03/22] ASoC: ab8500: Inform SoC Core that we have our own I/O arrangements

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: If codec-control_data is not populated SoC Core assumes we want to use regmap, which fails catastrophically, as we don't have one: Unable to handle kernel NULL pointer dereference at virtual address 0080 pgd = c0004000

Re: [tip:smp/hotplug] watchdog: Use hotplug thread infrastructure

2012-08-14 Thread Thomas Gleixner
On Tue, 14 Aug 2012, viresh kumar wrote: On Mon, Aug 13, 2012 at 8:43 PM, tip-bot for Thomas Gleixner t...@linutronix.de wrote: Commit-ID: bcd951cf10f24e341defcd002c15a1f4eea13ddb Gitweb: http://git.kernel.org/tip/bcd951cf10f24e341defcd002c15a1f4eea13ddb Author: Thomas

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-14 Thread Stanislav Kinsbursky
13.08.2012 22:24, J. Bruce Fields пишет: On Mon, Aug 13, 2012 at 09:39:53PM +0400, Stanislav Kinsbursky wrote: 13.08.2012 20:47, J. Bruce Fields пишет: On Sat, Aug 11, 2012 at 03:15:24PM +0400, Stanislav Kinsbursky wrote: 11.08.2012 10:23, Pavel Emelyanov пишет: On 08/11/2012 03:09 AM, H.

Re: [PATCH 5/5] x86: Move enabling of PSE and PGE out of init_memory_mapping

2012-08-14 Thread Borislav Petkov
On Mon, Aug 13, 2012 at 04:20:40PM -0700, Tejun Heo wrote: I meant the patch should come before the patch making multiple calls to init_memory_mapping(). Ah, this makes sense. Also, there seem to be other stuff which need to be moved out. Which are those pls? Rebuilding pgtable on

Re: [PATCH 04/22] ASoC: Ux500: Move MSP pinctrl setup into the MSP driver

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: In the initial submission of the MSP driver msp1 and msp3's associated pinctrl mechanism was passed back to platform code using a plat_init() call-back routine, but it has no place in platform code. The MSP driver should

Re: [PATCH 05/22] ASoC: Ux500: Enable MOP500 driver for Device Tree

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: Here we ensure that the MOP500 audio driver will be probed during a Device Tree boot. We also parse the sound node to link together the codec, dma and the CPU-side Digital Audio Interface. CC: alsa-de...@alsa-project.org

[RFC 0/2] Reduce alloc_contig_range latency

2012-08-14 Thread Minchan Kim
Hi All, I played with CMA's core function alloc_contig_range and found it's very very slow so I suspect we can use it in real practice. I tested it with a bit tweak for working CMA in x86 on qemu. Test environment is following as. 1. x86_64 machince, 2G RAM, 4 core, movable zone 40M with try

[RFC 2/2] cma: support MIGRATE_DISCARD

2012-08-14 Thread Minchan Kim
This patch introudes MIGRATE_DISCARD mode in migration. It drop clean cache pages instead of migration so that migration latency could be reduced. Of course, it could evict code pages but latency of big contiguous memory is more important than some background application's slow down in mobile

[RFC 1/2] cma: remove __reclaim_pages

2012-08-14 Thread Minchan Kim
Now cma reclaims too many pages by __reclaim_pages which says following as * Reclaim enough pages to make sure that contiguous allocation * will not starve the system. Starve? What does it starve the system? The function which allocate free page for migration target would wake up

Re: [PATCH 06/22] ASoC: Ux500: Enable ux500 MSP driver for Device Tree

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: Register both parts of the MSP driver from Device Tree so that they are probed when Device Tree is enabled. Also, as there is platform data involved, we ensure that there is allocated memory to place the configuration into

Re: [PATCH v8] kvm: notify host when the guest is panicked

2012-08-14 Thread Daniel P. Berrange
On Mon, Aug 13, 2012 at 03:21:32PM -0300, Marcelo Tosatti wrote: On Wed, Aug 08, 2012 at 10:43:01AM +0800, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for

[PATCH] pinctrl/nomadik: add kp_b_2 keyboard function group list

2012-08-14 Thread Linus Walleij
From: Patrice Chotard patrice.chot...@stericsson.com There is yet another way to mux the keyboard, so fix up that group. Signed-off-by: Patrice Chotard patrice.chot...@stericsson.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/pinctrl/pinctrl-nomadik-db8500.c | 5 - 1

Re: [PATCH 1/2 v2] staging: comedi: new adl_pci7x3x driver

2012-08-14 Thread Ian Abbott
On 2012-08-14 02:36, H Hartley Sweeten wrote: On Monday, August 13, 2012 6:30 PM, Greg KH wrote: On Fri, Aug 03, 2012 at 10:28:18AM -0700, H Hartley Sweeten wrote: Currently the ADLink PCI-7230 and PCI-7432 Isolated Digital I/O Boards are supported using two drivers (adl_pci7230 and

Re: [patch net-next 01/16] net: introduce upper device lists

2012-08-14 Thread Cong Wang
On 08/13/2012 11:27 PM, Jiri Pirko wrote: This lists are supposed to serve for storing pointers to all upper devices. Eventually it will replace dev-master pointer which is used for bonding, bridge, team but it cannot be used for vlan, macvlan where there might be multiple masters present. New

Re: [PATCH v3 3/6] floppy: avoid leaking extra reference to queue on do_floppy_init error handling

2012-08-14 Thread Stanislaw Gruszka
On Tue, Aug 14, 2012 at 04:20:39AM +0100, Ben Hutchings wrote: On Mon, 2012-08-13 at 15:16 -0300, Herton Ronaldo Krzesinski wrote: After commit 3f9a5aa (floppy: Cleanup disk-queue before caling put_disk() if add_disk() was never called), if something fails in the add_disk loop, we

RE: [PATCH v7 0/8] Raid: enable talitos xor offload for improving performance

2012-08-14 Thread Liu Qiang-B32616
Hi Vinod, Would you like to apply this series from patch 2/8 to 7/8) in your tree? The link as below, http://patchwork.ozlabs.org/patch/176023/ http://patchwork.ozlabs.org/patch/176024/ http://patchwork.ozlabs.org/patch/176025/ http://patchwork.ozlabs.org/patch/176026/

Re: regulator: Enable supply regulator if child rail is enabled broken?

2012-08-14 Thread Laxman Dewangan
On Tuesday 14 August 2012 02:08 PM, Rabin Vincent wrote: It appears that this patch causes incorrect reference counting on supply regulators if the child regulator is enabled with for example boot_on=true: commit b2296bd43e781976743354c668a356b0df98e1da Author: Laxman

Re: [PATCH V2 0/5] x86: Create direct mappings for E820_RAM only

2012-08-14 Thread Dave Young
On 08/14/2012 04:34 PM, Dave Young wrote: On 08/14/2012 05:46 AM, Jacob Shin wrote: Currently kernel direct mappings are created for all pfns between [ 0 to max_low_pfn ) and [ 4GB to max_pfn ). When we introduce memory holes, we end up mapping memory ranges that are not backed by physical

Re: [PATCH v2]staging vme Fix typos.

2012-08-14 Thread Martyn Welch
On 13/08/12 18:28, Justin P. Mattock wrote: From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- Note:resend with minor adjustments. The below patch fixes typos found while reading through staging vme

Re: bisected regression: v3.6-rc1: resume from s2ram does not restore ata_piix (v3.5 worked)

2012-08-14 Thread Aaron Lu
On Tue, Aug 14, 2012 at 11:44:20AM +0300, Sergei Trofimovich wrote: The only problem I can see is the offending commit didn't do a gtm for IDE channel during init. It was used to be done in ata_acpi_associate_ide_port. So can you please test if the following code fix your problem?

Re: [PATCH] kvm: disable stealtime via reboot notifier to avoid mem corruption

2012-08-14 Thread Florian Westphal
Marcelo Tosatti mtosa...@redhat.com wrote: On Fri, Aug 10, 2012 at 12:36:22PM +0200, Florian Westphal wrote: --- a/arch/x86/kernel/kvmclock.c +++ b/arch/x86/kernel/kvmclock.c @@ -191,7 +191,6 @@ static void kvm_crash_shutdown(struct pt_regs *regs) static void kvm_shutdown(void) {

Re: regulator: Enable supply regulator if child rail is enabled broken?

2012-08-14 Thread Rabin Vincent
2012/8/14 Laxman Dewangan ldewan...@nvidia.com: Yaah, It is missing the regulator_disable() in regulator_init_complete() for some cases. Please let me know if I need to send patch for fixing this issue. Yes, please do. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [RFC PATCH 0/5] Improve hugepage allocation success rates under load V3

2012-08-14 Thread Mel Gorman
On Mon, Aug 13, 2012 at 02:35:46PM -0600, Jim Schutt wrote: Hi Mel, On 08/12/2012 02:22 PM, Mel Gorman wrote: I went through the patch again but only found the following which is a weak candidate. Still, can you retest with the following patch on top and CONFIG_PROVE_LOCKING set please?

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-14 Thread Arnd Bergmann
On Tuesday 14 August 2012, wei_w...@realsil.com.cn wrote: From: Wei WANG wei_w...@realsil.com.cn Realtek PCI-E card reader driver adapts requests from upper-level sdmmc/memstick layer to the real physical card reader. Signed-off-by: Wei WANG wei_w...@realsil.com.cn When you post a new

Re: Backports mailing list

2012-08-14 Thread Sedat Dilek
On Mon, Aug 13, 2012 at 10:42 PM, Luis R. Rodriguez mcg...@frijolero.org wrote: David, The compat [0] / compat-wireless [1] [2] projects have received quite a bit of love of the years to the point we now have 3 subsystems backported: Ethernet, Bluetooth and 802.11. Ozan Çağlayan, a Linux

[PATCH] i2c: tegra: I2_M_NOSTART functionality not supported in Tegra20

2012-08-14 Thread Laxman Dewangan
Tegra20 i2c controller does not support the continue transfer which implements the I2C_M_NOSTART functionality of i2c protocol mangling. Removing the I2C_M_NOSTART functionality for Tegra20. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com Reported-by: Stephen Warren swar...@nvidia.com ---

Re: [PATCH 03/11] fblog: new framebuffer kernel log dummy driver

2012-08-14 Thread David Herrmann
Hi Ryan On Mon, Aug 13, 2012 at 1:34 AM, Ryan Mallon rmal...@gmail.com wrote: config VGA_CONSOLE bool VGA text console if EXPERT || !X86 - depends on !4xx !8xx !SPARC !M68K !PARISC !FRV !SUPERH !BLACKFIN !AVR32 !MN10300 (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR ||

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-14 Thread Arnd Bergmann
On Tuesday 14 August 2012, Linus Walleij wrote: On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: +static struct irq_domain *db8500_irq_domain; So this is a good idea. +int db8500_irq_get_virq(int irq); And I'm sceptic about this business. Why isn't this

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-14 Thread wwang
于 2012年08月14日 17:32, Arnd Bergmann 写道: When you post a new version of patches, please add a version number in the subject line, like [PATCH v3 1/2] drivers/mfd: Add realtek pcie card reader driver, to make it easier for people to know what has changed. It's also helpful to have a [PATCH 0/XX]

[PATCH RESEND] remove the queue unlock in scsi_requset_fn

2012-08-14 Thread Chanho Min
We don't need to unlock the queue before put_device in scsi_request_fn() If we trigger the -remove() function, It occur a oops from the caller. So sdev reference count should not be dropped to zero here. Also It was added before scsi_device_dev_release() was moved to user context, so it is

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 03:30, Julia Lawall escreveu: Well, I've massively applied hundreds of patches today, but not much on this driver. Maybe it is better for you to wait for a couple of days for these to be at -next, or use, instead, our tree as the basis for it:

Re: [PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-14 Thread Benoit Cousson
On 08/13/2012 12:05 PM, Sourav Poddar wrote: Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Felipe Balbi

Re: [PATCH 2/4] fsl_pmc: Add API to enable device as wakeup event source

2012-08-14 Thread Zhao Chenhui
On Sat, Aug 11, 2012 at 08:19:43AM -0500, Tabi Timur-B04825 wrote: On Tue, Aug 7, 2012 at 3:43 AM, Zhao Chenhui chenhui.z...@freescale.com wrote: + return -EINVAL; + + prop = of_get_property(clk_np, fsl,pmcdr-mask, NULL); + if (!prop) { + ret

Re: DT GPIO numbering?

2012-08-14 Thread Linus Walleij
On Fri, Aug 10, 2012 at 11:34 AM, Johannes Stezenbach j...@sig21.net wrote: Actually I think the kernel internal GPIO numbers shouldn't be in the sysfs API, instead userspace should use the names. This is true, but we cannot remove these numbers because they are now in

Re: [PATCH 2/4] fsl_pmc: Add API to enable device as wakeup event source

2012-08-14 Thread Zhao Chenhui
On Sat, Aug 11, 2012 at 08:19:43AM -0500, Tabi Timur-B04825 wrote: On Tue, Aug 7, 2012 at 3:43 AM, Zhao Chenhui chenhui.z...@freescale.com wrote: +int mpc85xx_pmc_set_wake(struct device *dev, bool enable) +{ + int ret = 0; + struct device_node *clk_np; + const u32

Re: [PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-14 Thread Felipe Balbi
On Tue, Aug 14, 2012 at 11:56:45AM +0200, Benoit Cousson wrote: On 08/13/2012 12:05 PM, Sourav Poddar wrote: Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com

Re: [Xen-devel] [PATCH] netvm: check for page == NULL when propogating the skb-pfmemalloc flag

2012-08-14 Thread Mel Gorman
On Mon, Aug 13, 2012 at 11:41:44AM -0400, Konrad Rzeszutek Wilk wrote: On Wed, Aug 08, 2012 at 03:50:46PM -0700, David Miller wrote: From: Mel Gorman mgor...@suse.de Date: Tue, 7 Aug 2012 09:55:55 +0100 Commit [c48a11c7: netvm: propagate page-pfmemalloc to skb] is responsible for the

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-14 Thread Gleb Natapov
On Tue, Aug 14, 2012 at 01:52:13AM +0300, Michael S. Tsirkin wrote: Using the EOI as a trigger to de-assert and potentially re-assert may be a hack, but it's about as close as we can come to following the behavior of hardware. It's actually quite similar to an apic re-sampling inputs

Re: [GIT PULL] Update LZO compression

2012-08-14 Thread Markus F.X.J. Oberhumer
On 2012-08-14 05:15, Andi Kleen wrote: On Tue, Aug 14, 2012 at 01:44:02AM +0200, Markus F.X.J. Oberhumer wrote: Hi all, as suggested on the mailing list I have converted the updated LZO code into git, so please pull my lzo-update branch from git://github.com/markus-oberhumer/linux.git

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-14 Thread Gleb Natapov
On Tue, Aug 14, 2012 at 01:10:15PM +0300, Gleb Natapov wrote: On Tue, Aug 14, 2012 at 01:52:13AM +0300, Michael S. Tsirkin wrote: Using the EOI as a trigger to de-assert and potentially re-assert may be a hack, but it's about as close as we can come to following the behavior of hardware.

Re: [PATCH] netvm: check for page == NULL when propogating the skb-pfmemalloc flag

2012-08-14 Thread Mel Gorman
On Mon, Aug 13, 2012 at 11:56:48AM -0700, Jeremy Fitzhardinge wrote: On 08/13/2012 03:47 AM, Mel Gorman wrote: Resending to correct Jeremy's address. On Wed, Aug 08, 2012 at 03:50:46PM -0700, David Miller wrote: From: Mel Gorman mgor...@suse.de Date: Tue, 7 Aug 2012 09:55:55 +0100

Re: [patch net-next 01/16] net: introduce upper device lists

2012-08-14 Thread Jiri Pirko
Tue, Aug 14, 2012 at 11:02:33AM CEST, xiyou.wangc...@gmail.com wrote: On 08/13/2012 11:27 PM, Jiri Pirko wrote: This lists are supposed to serve for storing pointers to all upper devices. Eventually it will replace dev-master pointer which is used for bonding, bridge, team but it cannot be used

Re: [PATCH] preempt/hardirq.h: Clarify PREEMPT_ACTIVE bit location

2012-08-14 Thread Thomas Gleixner
On Tue, 14 Aug 2012, Srivatsa S. Bhat wrote: By default, the PREEMPT_ACTIVE flag is bit 27, but different architectures can override that. Update the comment to reflect this fact. Is there any sensible reason why architectures need to override that? I can't find one. If there is none, then

Re: [PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-14 Thread Benoit Cousson
Hi Felipe, On 08/14/2012 11:59 AM, Felipe Balbi wrote: On Tue, Aug 14, 2012 at 11:56:45AM +0200, Benoit Cousson wrote: On 08/13/2012 12:05 PM, Sourav Poddar wrote: Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson

Re: [PATCHv2 0/4] Add device tree data for omap5

2012-08-14 Thread Benoit Cousson
Hi Sourav, On 08/13/2012 12:05 PM, Sourav Poddar wrote: The following patch series add i2c support for omap5. As well as enable I2C based devices like pressure and temperature through device tree. Also add onchip keypad dts data. That series does not seems to apply on top of 3.6-rc1, what

  1   2   3   4   5   6   7   >