Re: [PATCH] mfd: MAX77693: Fix bug of interrupt handlding for MAX77693 devices

2012-07-16 Thread Mark Brown
On Mon, Jul 16, 2012 at 06:41:05PM +0900, Chanwoo Choi wrote: This patch fix bug related to interrupt handling for MAX77693 devices. - Unmask interrupt masking bit for charger/flash/muic to revolve that interrupt isn't happened when external connector is attached. Shouldn't this be happening

[PATCH] lib/kobject: restore old name on rename failure

2012-07-16 Thread Dong Hao
From: Dong Hao haod...@linux.vnet.ibm.com The patch restores the old name while we fail to set the new name for the kobject. Signed-off-by: Dong Hao haod...@linux.vnet.ibm.com --- lib/kobject.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/kobject.c

Re: [RFC internal PATCH] mfd/mc13xxx: drop modifying driver's id_table in probe

2012-07-16 Thread Samuel Ortiz
Hi Uwe, On Wed, Jul 11, 2012 at 01:36:48PM +0200, Uwe Kleine-König wrote: This was introduced in commit 876989d (mfd: Add device tree probe support for mc13xxx) for spi and later while introducing support for i2c copied to the i2c driver. Modifying driver details is very strange,

Re: Deadlocks due to per-process plugging

2012-07-16 Thread Mike Galbraith
On Mon, 2012-07-16 at 12:19 +0200, Thomas Gleixner wrote: On Mon, 16 Jul 2012, Mike Galbraith wrote: --- block/blk-core.c |1 + kernel/rtmutex.c | 11 +-- 2 files changed, 10 insertions(+), 2 deletions(-) --- a/block/blk-core.c +++ b/block/blk-core.c @@ -2782,6

Re: [PATCH] mfd: add tps65910 32-kHz-crystal-input init

2012-07-16 Thread Samuel Ortiz
Hi Johan, On Wed, Jul 11, 2012 at 03:44:33PM +0200, Johan Hovold wrote: Replace tps65910_misc_init with a dedicated init function for the 32-kHz-crystal input. Signed-off-by: Johan Hovold jhov...@gmail.com --- Hi Samuel, How about something like this? My thought with misc_init was

Re: regression 918227bb - -rc7: does not wake up from sleep

2012-07-16 Thread Srivatsa S. Bhat
On 07/16/2012 06:57 PM, Norbert Preining wrote: Hi everyone, (please cc) I recently upgraded from git918227bb to rc7 and suddenly my laptop does not wake up from sleep again, all dead. I will try to bisect as soon as possible, but I am on a conference and give two talks, so not so much

Re: [PATCH V2 3/4] [SCSI] ufs: Add Platform glue driver for ufshcd

2012-07-16 Thread Namjae Jeon
Hi Vinayak. + * ufshcd_pltfrm_remove - remove platform driver routine + * @pdev: pointer to platform device handle + * + * Returns 0 on success, non-zero value on failure + */ +static int __devexit ufshcd_pltfrm_remove(struct platform_device *pdev) +{ + struct resource *mem_res; +

[PATCH] regulator: tps65910: set input_supply on desc unconditionally

2012-07-16 Thread Laxman Dewangan
Set the supply_name in the regulator descriptor unconditionally and make this parameter as required parameter in the device node for successfully registration of the regulator. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- The changes are based on on discussion on patch [PATCH 1/3]

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

2012-07-16 Thread Lee Jones
On 16/07/12 14:00, Wolfram Sang wrote: What I am afraid of is: tentative solutions tend to stay, because the need for a proper solution is reduced. Yet, finding proper generic bindings might take some time which doesn't meet the high pressure around DT at the moment. I agree with what you say

Re: [PATCH V2 0/4] [SCSI] ufs: Adds glue drivers to ufshcd

2012-07-16 Thread James Bottomley
On Fri, 2012-07-13 at 15:45 +, Arnd Bergmann wrote: On Friday 13 July 2012, Vinayak Holikatti wrote: This patch set adds following features - Seprates PCI specific code from ufshcd.c to make it as core - Adds PCI glue driver ufshcd-pci.c - Adds Platform glue driver ufshcd-pltfrm.c

Re: [PATCH] net-next: make sock diag per-namespace

2012-07-16 Thread Ben Hutchings
On Mon, 2012-07-16 at 16:14 +0400, Andrew Vagin wrote: Before this patch sock_diag works for init_net only and dumps information about sockets from all namespaces. This patch expands sock_diag for all name-spaces. It creates a netlink kernel socket for each netns and filters data during

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-16 Thread Alex Williamson
On Sun, 2012-07-15 at 11:33 +0300, Avi Kivity wrote: On 07/12/2012 07:19 PM, Alex Williamson wrote: On Thu, 2012-07-12 at 12:35 +0300, Avi Kivity wrote: On 07/11/2012 10:57 PM, Alex Williamson wrote: We still have classic KVM device assignment to provide fast-path INTx. But if we

Re: 3.5-rcX: wakeup after s2ram doesn't work after a longer sleep time

2012-07-16 Thread Toralf Förster
On 07/15/2012 10:21 PM, Rafael J. Wysocki wrote: On Sunday, July 15, 2012, Toralf Förster wrote: My ThinkPad T400 (Gentoo Linux booted from an external USB drive) does not wake up after s2ram, if the sleep time was longer than about 1 hour. I'm unsure whether this started after 3.5-rc5, at

Re: [PATCH 1/3 v3] USB: ohci-exynos: Add support for device tree

2012-07-16 Thread Alan Stern
On Mon, 16 Jul 2012, Vivek Gautam wrote: This patch adds support to parse probe data for ohci driver for exynos using device tree. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vivek Gautam

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-16 Thread Alex Williamson
On Sun, 2012-07-15 at 13:09 +0300, Avi Kivity wrote: On 07/12/2012 08:38 PM, Alex Williamson wrote: On Thu, 2012-07-12 at 10:19 -0600, Alex Williamson wrote: On Thu, 2012-07-12 at 12:35 +0300, Avi Kivity wrote: On 07/11/2012 10:57 PM, Alex Williamson wrote: We still have classic

Re: [PATCH 2/3 v3] USB: ehci-s5p: Add support for device tree

2012-07-16 Thread Alan Stern
On Mon, 16 Jul 2012, Vivek Gautam wrote: This patch adds support to parse probe data for ehci driver for exynos using device tree Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vivek Gautam

Re: [PATCH 3/3 v3] USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer

2012-07-16 Thread Alan Stern
On Mon, 16 Jul 2012, Vivek Gautam wrote: This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Vivek Gautam

[PATCH 0/2] omap: add ocp2scp as a bus driver

2012-07-16 Thread Kishon Vijay Abraham I
This patch series is done as a preparatory step for adding phy drivers for dwc3 and musb. This series adds a new driver for ocp2scp (only dt) to which phy drivers are connected. Since currently there is no generic way to create a child device along with doing a pm_runtime_enable (the exact

[PATCH 2/2] arm/dts: omap4: Add ocp2scp data

2012-07-16 Thread Kishon Vijay Abraham I
Add ocp2scp data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 359c497..bda5df3

[PATCH 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-07-16 Thread Kishon Vijay Abraham I
Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of creating all the devices that is connected to OCP2SCP. In the case of OMAP4, USB2PHY is connected to ocp2scp. This also includes device tree support for ocp2scp driver and the documentation with device tree binding

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-16 Thread Christoph Lameter
On Mon, 16 Jul 2012, David Rientjes wrote: On Sun, 15 Jul 2012, Shuah Khan wrote: I can work on reshuffling the code. Do have a question though. This following sanity check is currently done only when CONFIG_DEBUG_VM is defined. However, it does appear to be something that is that should

Re: [PATCH net-next 8/8] arch: Use eth_random_addr

2012-07-16 Thread Ralf Baechle
On Thu, Jul 12, 2012 at 10:33:12PM -0700, Joe Perches wrote: Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches j...@perches.com --- arch/blackfin/mach-bf537/boards/stamp.c |2 +- arch/c6x/kernel/soc.c |2 +-

[PATCH] net-next: make sock diag per-namespace (v2)

2012-07-16 Thread Andrew Vagin
Before this patch sock_diag works for init_net only and dumps information about sockets from all namespaces. This patch expands sock_diag for all name-spaces. It creates a netlink kernel socket for each netns and filters data during dumping. v2: filter accoding with netns in all places

[PATCH NEXT]staging ste_rmi4 Fix typos

2012-07-16 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- The below patch fixes typos found while reading through staging ste_rmi4 drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c |8 1 files changed, 4 insertions(+), 4 deletions(-)

Re: Linux 3.5-rc7

2012-07-16 Thread Alan Cox
But go forth and test. Make sure it's all good. Because I really wish I won't have to do an -rc8. Crahses and burns on Intel Poulsbo systems with a blank screen. Fortunately I know why - your tree is short the patch for it that went to Dave some time before -rc7. I'm just testing that v -rc7

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-16 Thread Avi Kivity
On 07/16/2012 05:03 PM, Alex Williamson wrote: This is what I meant, except I forgot that we already do direct path for MSI. Ok, vfio now does it for the unmask irqfd-line interface too. Except when we re-inject from eoifd we have to do the eventfd_signal from a work queue as we can't

RE: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Philip, Avinash
On Mon, Jul 16, 2012 at 18:16:08, Thierry Reding wrote: On Mon, Jul 16, 2012 at 12:23:46PM +, Philip, Avinash wrote: On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: Hi Thierry, On one of the custom

[GIT PULL] XFS update for 3.5-rc7

2012-07-16 Thread Ben Myers
Hi Linus, Please pull these regression fixes for XFS. Here we have a fix for a cursor leak, a fix for a performance regression, a fix for recursion in xfs_buf_iorequest which causes stack overflows, and a fix for error handling in xfs_buf_iodone callbacks. Thanks, Ben The

RE: [PATCH] ACPI: Add ACPI CPU hot-remove support

2012-07-16 Thread Toshi Kani
On Mon, 2012-07-16 at 04:53 +, Pandarathil, Vijaymohan R wrote: Hi Toshi, Did some basic KVM guest cpu hotplug testing of this patch over your OST patchset along with fixes in qemu-kvm for guest cpu hotplug. Vijay virsh # vcpucount vmb91g1 maximum config 4 maximum

Re: [PATCH v4 0/8] Function tracing support for pstore

2012-07-16 Thread Greg Kroah-Hartman
On Mon, Jul 16, 2012 at 12:14:21AM -0700, Anton Vorontsov wrote: Hi Greg, On Fri, Jun 15, 2012 at 02:28:24PM -0700, Greg Kroah-Hartman wrote: [...] This looks fine to me, but as it touches pstore and tracing code, I can't apply it without acks from the relevant maintainers/owners. Now

Re: [PATCH RFC] swiotlb: Disable swiotlb overflow support when CONFIG_ISA is enabled

2012-07-16 Thread Konrad Rzeszutek Wilk
On Thu, Jul 12, 2012 at 10:17:50AM -0600, Shuah Khan wrote: Disable iotlb overflow support when CONFIG_ISA is enabled. This is the first step towards removing overflow support, to be consistent with other iommu implementations and return DMA_ERROR_CODE. This disabling step is for finding

Re: [PATCH v6 0/6] ACPI: Add _OST support for ACPI hotplug

2012-07-16 Thread Toshi Kani
On Mon, 2012-07-16 at 08:52 -0400, Prarit Bhargava wrote: On 01/-10/-28163 02:59 PM, Kani, Toshimitsu wrote: * This version updates to use pr_level over printk to accommodate checkpatch update since this patchset was accepted in -next. This patchset supports ACPI OSPM Status

Oops in proc_fd_instantiate (was: Re: [ kernel 3.5 ] Kernel bug when using kvm)

2012-07-16 Thread Avi Kivity
On 07/16/2012 05:46 PM, nicolas prochazka wrote: sorry, i recompile kernel with some option, and crash again : ( it seems i need to run a lot of qemu process to bug ) [ 3117.379546] BUG: unable to handle kernel paging request at 0001003b [ 3117.379783] IP: [811a3654]

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

2012-07-16 Thread Alex Williamson
On Sun, 2012-07-15 at 19:32 +0300, Michael S. Tsirkin wrote: On Fri, Jul 13, 2012 at 01:41:05PM -0600, Alex Williamson wrote: +static int kvm_assign_eoifd(struct kvm *kvm, struct kvm_eoifd *args) +{ + struct eventfd_ctx *level_irqfd = NULL, *eventfd = NULL; + struct _eoifd *eoifd =

Re: [PATCH] xfs: fix comment typo of struct xfs_da_blkinfo.

2012-07-16 Thread Ben Myers
Hey Chen, On Sat, Jul 14, 2012 at 03:38:13AM +0800, Chen Baozi wrote: Fix trivial typo error that has written It to Is. Signed-off-by: Chen Baozi baoz...@gmail.com Reviewed-by: Ben Myers b...@sgi.com Thanks for the patch! I'm happy you're working on XFS. Do you have any time/interest in

Re: [PATCH WIP 6/6] xen/arm: enable evtchn irqs

2012-07-16 Thread Konrad Rzeszutek Wilk
On Fri, Jul 13, 2012 at 06:14:33PM +0100, Stefano Stabellini wrote: On Mon, 9 Jul 2012, Konrad Rzeszutek Wilk wrote: On Fri, Jun 22, 2012 at 05:14:45PM +0100, Stefano Stabellini wrote: On ARM irqs are not enabled by default: Which IRQs? Xen IRQs? Linux IRQs? Linux IRQs - call

Re: [PATCH WIP 1/6] xen/arm: fix the shared_info and vcpu_info structs

2012-07-16 Thread Konrad Rzeszutek Wilk
On Fri, Jul 13, 2012 at 11:08:58AM -0600, Ian Campbell wrote: On Fri, 2012-07-13 at 12:48 -0400, Stefano Stabellini wrote: On Mon, 9 Jul 2012, Konrad Rzeszutek Wilk wrote: On Fri, Jun 22, 2012 at 05:14:40PM +0100, Stefano Stabellini wrote: Fix the shared_info and vcpu_info struct

Re: [PATCH] Rewrite Documentation/SubmittingPatches.

2012-07-16 Thread Randy Dunlap
On 07/15/2012 11:20 PM, Stefan Beller wrote: Heh, It seems as if googlemail is not a suited interface to contribute to linux. The raw patch (without clipped lines) can be found at http://pastebin.com/raw.php?i=3QKRZz2M Stefan 2012/7/15 Rob Landley r...@landley.net: On 07/13/2012

[PATCH v2] ns: do not block exit_task_namespaces() for a long time

2012-07-16 Thread Kirill A. Shutemov
From: Kirill A. Shutemov kirill.shute...@linux.intel.com On exiting of the last task in a namespace we need to trigger freeing of the namespace. Currently, we call synchronize_rcu() and free_nsproxy() directly on do_exit() path. On my machine synchronize_rcu() blocks for about 0.01 seconds. For

Re: Deadlocks due to per-process plugging

2012-07-16 Thread Mike Galbraith
On Mon, 2012-07-16 at 13:24 +0200, Mike Galbraith wrote: Box disagrees. Waiting for device /dev/cciss/c0d0p6 to appear: ok fsck from util-linux 2.19.1 [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/cciss/c0d0p6 SLES11: clean, 141001/305824 files, 1053733/1222940 blocks fsck succeeded.

Re: resurrecting tcphealth

2012-07-16 Thread Piotr Sawuk
On Mo, 16.07.2012, 15:32, Ben Hutchings wrote: On Sat, 2012-07-14 at 09:56 +0200, Piotr Sawuk wrote: On Sa, 14.07.2012, 03:31, valdis.kletni...@vt.edu wrote: On Fri, 13 Jul 2012 16:55:44 -0700, Stephen Hemminger said: +/* Course retransmit inefficiency- this packet

Re: regression 918227bb - -rc7: does not wake up from sleep

2012-07-16 Thread Norbert Preining
Hi all, On Mo, 16 Jul 2012, Srivatsa S. Bhat wrote: Not sure if this is the same problem, but here is a discussion around a recent commit that broke resume. May be you can try out that patch? https://lkml.org/lkml/2012/7/16/113 Yes, works for me, too. Thanks, and sorry for the noise. Best

Re: feature-removal-schedule entry from 2009

2012-07-16 Thread Theodore Ts'o
On Sun, Jul 15, 2012 at 03:41:53PM -0500, Rob Landley wrote: Does it become a please add a call to sample_interrupt_randomness() reminder, or will the infrastructure figure out when to do that outside the driver? The patches in the random.git tree unconditionally call

Re: [Xen-devel] [PATCH] xen/events: fix unmask_evtchn for PV on HVM guests

2012-07-16 Thread Konrad Rzeszutek Wilk
On Fri, Jul 13, 2012 at 06:48:35PM +0100, Stefano Stabellini wrote: On Mon, 9 Jul 2012, Konrad Rzeszutek Wilk wrote: On Fri, Jun 22, 2012 at 05:26:07PM +0100, Stefano Stabellini wrote: When unmask_evtchn is called, if we already have an event pending, we just set evtchn_pending_sel

Re: [Patch 0/7] Per cpu thread hotplug infrastructure - V3

2012-07-16 Thread Paul E. McKenney
On Mon, Jul 16, 2012 at 10:42:34AM -, Thomas Gleixner wrote: The following series implements the infrastructure for parking and unparking kernel threads to avoid the full teardown and fork on cpu hotplug operations along with management infrastructure for hotplug and users. Changes vs.

[PATCH -next] staging: fix sm7xxfb build, depends on PCI

2012-07-16 Thread Randy Dunlap
changed, 1 insertion(+), 1 deletion(-) --- linux-next-20120716.orig/drivers/staging/sm7xxfb/Kconfig +++ linux-next-20120716/drivers/staging/sm7xxfb/Kconfig @@ -1,6 +1,6 @@ config FB_SM7XX tristate Silicon Motion SM7XX framebuffer support - depends on FB + depends on FB PCI

Re: resurrecting tcphealth

2012-07-16 Thread Christoph Paasch
On Monday 16 July 2012 17:12:26 Piotr Sawuk wrote: + seq_printf(seq, %d: %-21pI4:%u %-21pI4:%u + %8u %8lu %8lu %8lu %8lu%n, + st-num, + inet-inet_rcv_saddr, +

Re: [PATCH 0/5] ubi: Fix bad PEBs reserve caclulation

2012-07-16 Thread Artem Bityutskiy
On Wed, 2012-07-04 at 11:05 +0300, Shmulik Ladkani wrote: The existing mechanism of reserving PEBs for bad PEB handling has two flaws: - It is calculated as a percentage of good PEBs instead of total PEBs. - There's no limit on the amount of PEBs UBI reserves for future bad eraseblock

Re: [PATCH v2] ns: do not block exit_task_namespaces() for a long time

2012-07-16 Thread Myklebust, Trond
On Mon, 2012-07-16 at 18:09 +0300, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com On exiting of the last task in a namespace we need to trigger freeing of the namespace. Currently, we call synchronize_rcu() and free_nsproxy() directly on do_exit() path.

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Chris Mason
On Mon, Jul 16, 2012 at 04:55:44AM -0600, Mike Galbraith wrote: On Sat, 2012-07-14 at 12:14 +0200, Mike Galbraith wrote: On Fri, 2012-07-13 at 08:50 -0400, Chris Mason wrote: On Wed, Jul 11, 2012 at 11:47:40PM -0600, Mike Galbraith wrote: Greetings, [ deadlocks with btrfs and

Re: [ 08/68] dummy: fix rcu_sched self-detected stalls

2012-07-16 Thread Greg Kroah-Hartman
On Fri, Jul 13, 2012 at 11:09:10AM -0300, Herton Ronaldo Krzesinski wrote: On Thu, Jul 12, 2012 at 04:01:42PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. --

Re: 82571EB: Detected Hardware Unit Hang

2012-07-16 Thread Ben Hutchings
On Sun, 2012-07-15 at 10:35 -0300, Henrique de Moraes Holschuh wrote: On Sun, 15 Jul 2012, Dave, Tushar N wrote: Somehow setting max payload to 256 from BIOS does not set this value for all devices. I believe this is a BIOS bug. And preferably, Linux should complain about it. Since we

Re: [PATCH RFC] swiotlb: Disable swiotlb overflow support when CONFIG_ISA is enabled

2012-07-16 Thread Shuah Khan
On Mon, 2012-07-16 at 10:45 -0400, Konrad Rzeszutek Wilk wrote: On Thu, Jul 12, 2012 at 10:17:50AM -0600, Shuah Khan wrote: Disable iotlb overflow support when CONFIG_ISA is enabled. This is the first step towards removing overflow support, to be consistent with other iommu implementations

Re: [Regression][Revert request] Excessive delay or hang during resume from system suspend due to a hrtimer commit

2012-07-16 Thread John Stultz
On 07/16/2012 04:26 AM, Thomas Gleixner wrote: On Mon, 16 Jul 2012, Thomas Gleixner wrote: On Mon, 16 Jul 2012, Rafael J. Wysocki wrote: On Monday, July 16, 2012, Thomas Gleixner wrote: On Sun, 15 Jul 2012, Rafael J. Wysocki wrote: To everyone involved: the fact that this change, which was

Re: [PATCH] PCI: Fix undefined reference to 'pci_fixup_final_inited'

2012-07-16 Thread Bjorn Helgaas
On Fri, Jul 13, 2012 at 4:53 PM, Randy Dunlap rdun...@xenotime.net wrote: On 07/13/2012 01:29 PM, Myron Stowe wrote: My PCI: Integrate 'pci_fixup_final' quirks into hot-plug paths patch introduced an undefined reference to 'pci_fixup_final_inited' when CONFIG_PCI_QUIRKS is not enabled (on

Re: [PATCH 5/6] drivers/pci/hotplug: ensure a consistent return value in error case

2012-07-16 Thread Bjorn Helgaas
On Sat, Jul 14, 2012 at 10:43 AM, Julia Lawall julia.law...@lip6.fr wrote: From: Julia Lawall julia.law...@lip6.fr Typically, the return value desired for the failure of a function with an integer return value is a negative integer. In these cases, the return value is sometimes a negative

Re: [Xen-devel] incorrect layout of globals from head_64.S during kexec boot

2012-07-16 Thread Konrad Rzeszutek Wilk
On Sun, Jul 15, 2012 at 06:06:53PM +0200, Olaf Hering wrote: On Tue, Jul 10, Keir Fraser wrote: Best thing to do, is possible, is map the shared-info page in the xen-platform pci device's BAR memory range. Then it will not conflict with any RAM. This patch does that. I did a kexec boot

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-16 Thread Shuah Khan
On Mon, 2012-07-16 at 09:17 -0500, Christoph Lameter wrote: On Mon, 16 Jul 2012, David Rientjes wrote: On Sun, 15 Jul 2012, Shuah Khan wrote: I can work on reshuffling the code. Do have a question though. This following sanity check is currently done only when CONFIG_DEBUG_VM is

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Steven Rostedt
On Mon, 2012-07-16 at 04:02 +0200, Mike Galbraith wrote: Great, thanks! I got stuck in bug land on Friday. You mentioned performance problems earlier on Saturday, did this improve performance? Yeah, the read_trylock() seems to improve throughput. That's not heavily tested, but it

[PATCH 0/2] virtio-scsi event changes for 3.6

2012-07-16 Thread Paolo Bonzini
Hi James, here are two more small patches for virtio-scsi. The first fixes a problem with the recently introduced hotplug/hot-unplug support (happens with LUNs whose number is greater than 255). The second introduces support for online resizing of disks. The host here will also send the sense

[PATCH 2/2] virtio-scsi: support online resizing of disks

2012-07-16 Thread Paolo Bonzini
Support the LUN parameter change event. Currently, the host fires this event when the capacity of a disk is changed from the virtual machine monitor. The resize then appears in the kernel log like this: sd 0:0:0:0: [sda] 46137344 512-byte logical blocks: (23.6 GB/22.0 GIb) sda: detected

[PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-16 Thread Paolo Bonzini
Right now, I/O will fail as soon as a unit attention condition is detected on a unit with removable media. However, this is not always necessary. There are some cases (such as Capacity data has changed) where no particular action is needed. On the other hand, all problematic cases have to

[PATCH 1/2] virtio-scsi: fix parsing of hotplug/hot-unplug LUN number

2012-07-16 Thread Paolo Bonzini
Hotplug/hot-unplug of a LUN whose number is greater than 255 uses the flat format for LUNs, which has bit 14 set. Clear the bit when parsing the event structs. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- drivers/scsi/virtio_scsi.c |8 ++- 1 files changed, 6 insertions(+), 1

[ANNOUNCE] 3.2.22-rt35

2012-07-16 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.22-rt35 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git Head SHA1: 852c3bd6c35aa3718de57c87f1a3bcd4dc69af3d Or to build 3.2.22-rt35 directly, the following

Re: 82571EB: Detected Hardware Unit Hang

2012-07-16 Thread Henrique de Moraes Holschuh
On Mon, 16 Jul 2012, Ben Hutchings wrote: On Sun, 2012-07-15 at 10:35 -0300, Henrique de Moraes Holschuh wrote: On Sun, 15 Jul 2012, Dave, Tushar N wrote: Somehow setting max payload to 256 from BIOS does not set this value for all devices. I believe this is a BIOS bug. And

Re: [PATCH RFC] swiotlb: Disable swiotlb overflow support when CONFIG_ISA is enabled

2012-07-16 Thread Konrad Rzeszutek Wilk
On Mon, Jul 16, 2012 at 09:48:20AM -0600, Shuah Khan wrote: On Mon, 2012-07-16 at 10:45 -0400, Konrad Rzeszutek Wilk wrote: On Thu, Jul 12, 2012 at 10:17:50AM -0600, Shuah Khan wrote: Disable iotlb overflow support when CONFIG_ISA is enabled. This is the first step towards removing

Re: [PATCH RFC V4 3/3] kvm: Choose better candidate for directed yield

2012-07-16 Thread Rik van Riel
On 07/16/2012 06:07 AM, Avi Kivity wrote: +{ + bool eligible; + + eligible = !vcpu-ple.cpu_relax_intercepted || + (vcpu-ple.cpu_relax_intercepted +vcpu-ple.dy_eligible); + + if (vcpu-ple.cpu_relax_intercepted) +

[PATCH] regulator: anatop: Fix wrong mask used in anatop_get_voltage_sel

2012-07-16 Thread Axel Lin
The mask used in anatop_get_voltage_sel does not match the mask used in anatop_set_voltage_sel. We need to do left shift anatop_reg-vol_bit_shift bits for the correct mask. Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/anatop-regulator.c |5 +++-- 1 file changed, 3

Re: PCI ACPI/IRQ-routing broken on H77 chipset + Ivy Bridge (kernel 3.5-rc7 and earlier)

2012-07-16 Thread Bjorn Helgaas
[CC +tglx] On Sun, Jul 15, 2012 at 2:25 PM, Rafael J. Wysocki r...@sisk.pl wrote: CC-ing linux-pci and Bjorn. On Sunday, July 15, 2012, Malte Schröder wrote: Hello, this is yet another try to get someone to look at this ;) I can't get PCI-devices to work on my DH77KC mainboard. I tested

[PATCH 1/3] mm: correct return value of migrate_pages()

2012-07-16 Thread Joonsoo Kim
migrate_pages() should return number of pages not migrated or error code. When unmap_and_move return -EAGAIN, outer loop is re-execution without initialising nr_failed. This makes nr_failed over-counted. So this patch correct it by initialising nr_failed in outer loop. Signed-off-by: Joonsoo Kim

[PATCH 2/3] mm: fix possible incorrect return value of migrate_pages() syscall

2012-07-16 Thread Joonsoo Kim
do_migrate_pages() can return the number of pages not migrated. Because migrate_pages() syscall return this value directly, migrate_pages() syscall may return the number of pages not migrated. In fail case in migrate_pages() syscall, we should return error value. So change err to -EIO

[PATCH 3/3] mm: fix return value in __alloc_contig_migrate_range()

2012-07-16 Thread Joonsoo Kim
migrate_pages() would return positive value in some failure case, so 'ret 0 ? 0 : ret' may be wrong. This fix it and remove one dead statement. Signed-off-by: Joonsoo Kim js1...@gmail.com Cc: Michal Nazarewicz min...@mina86.com Cc: Marek Szyprowski m.szyprow...@samsung.com Cc: Minchan Kim

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-16 Thread James Bottomley
On Mon, 2012-07-16 at 18:06 +0200, Paolo Bonzini wrote: Right now, I/O will fail as soon as a unit attention condition is detected on a unit with removable media. However, this is not always necessary. There are some cases (such as Capacity data has changed) where no particular action is

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-16 Thread Pavel Machek
Hi! The assembly syntax is very reasonable already and not far from what we are used to (see the .S files in my kernel patches). The 64-bit instructions are different and that's specified here (apart from the actual bit encoding):

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Mike Galbraith
On Mon, 2012-07-16 at 12:02 -0400, Steven Rostedt wrote: On Mon, 2012-07-16 at 04:02 +0200, Mike Galbraith wrote: Great, thanks! I got stuck in bug land on Friday. You mentioned performance problems earlier on Saturday, did this improve performance? Yeah, the read_trylock() seems

Re: Linux 3.5-rc7

2012-07-16 Thread Martin Steigerwald
Am Sonntag, 15. Juli 2012 schrieb Linus Torvalds: Hey guys, Hi Linus, remember how things have been stabilizing and slowing down, and all the kernel developers were off on summer vacation? Yeah, we need to talk about that. Because I last week I thought that making an -rc7 was not

Re: [patch RT 0/3] Stable rt updates - part II

2012-07-16 Thread Steven Rostedt
On Mon, Jul 16, 2012 at 08:07:43AM -, Thomas Gleixner wrote: Steven, please pick the following three patches which address the CPU hotplug nightmare on RT. I still hate them, but we want to have that addressed in the stable series. BTW, they are missing the From line. Unless you

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Chris Mason
On Mon, Jul 16, 2012 at 10:26:08AM -0600, Mike Galbraith wrote: On Mon, 2012-07-16 at 12:02 -0400, Steven Rostedt wrote: On Mon, 2012-07-16 at 04:02 +0200, Mike Galbraith wrote: Great, thanks! I got stuck in bug land on Friday. You mentioned performance problems earlier on

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Mike Galbraith
On Mon, 2012-07-16 at 18:26 +0200, Mike Galbraith wrote: On Mon, 2012-07-16 at 12:02 -0400, Steven Rostedt wrote: On Mon, 2012-07-16 at 04:02 +0200, Mike Galbraith wrote: Great, thanks! I got stuck in bug land on Friday. You mentioned performance problems earlier on Saturday, did

Re: Linux 3.5-rc7

2012-07-16 Thread Linus Torvalds
On Mon, Jul 16, 2012 at 9:28 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Regresses badly on resume from in-kernel hibernation. I.e. hangs with some red graphics artifacts on the tty. The same artifacts appear for a short time with rc6 + some commits as well, but there then X.org is

Re: [PATCH 2/2] cgroup: fix cgroup hierarchy umount race

2012-07-16 Thread 'Tejun Heo'
Hello, Al. On Sat, Jul 14, 2012 at 01:08:52PM +0100, Al Viro wrote: On Sat, Jul 07, 2012 at 04:46:59PM -0700, 'Tejun Heo' wrote: Fix it by holding an extra superblock-s_active reference across dput() from css release, which is the dput() path added by 48ddbe1946 and the only one which

Re: [PATCH v2 1/1] mmc: block: Add write packing control

2012-07-16 Thread Muthu Kumar
On Sun, Jul 15, 2012 at 7:46 PM, Chris Ball c...@laptop.org wrote: Hi, On Sun, Jul 15 2012, Muthu Kumar wrote: I've already replied to a later version of the patch, but just to get this comment in at the appropriate point of the discussion as well: Even though it would result in a cleaner

Re: [PATCH] cgroup: fix dentry still in use bug when dropping css refs after umount

2012-07-16 Thread Tejun Heo
Hello, On Tue, Jul 10, 2012 at 10:11:05AM +0800, Li Zefan wrote: Right, but that should be safe. The css objects of the root cgroup are allocated at boot, and won't be destroyed at umount. Furthermore when a cgroup hierarchy is going to be unmounted, those css's will be made to point to a

[PATCH] xhci: EHCI/xHCI ports switching on Intense-PC.

2012-07-16 Thread Denis Turischev
Intense-PC is Compulab's mini-desktop with Intel Panther Point chipset. Unconditional ports switching provided by function usb_enable_xhci_ports() leads to surprising results, after shutdown system powered-on again after a few seconds. On Windows power related problems were not observed. The

Re: [PATCH RFC] swiotlb: Disable swiotlb overflow support when CONFIG_ISA is enabled

2012-07-16 Thread Shuah Khan
On Mon, 2012-07-16 at 12:01 -0400, Konrad Rzeszutek Wilk wrote: On Mon, Jul 16, 2012 at 09:48:20AM -0600, Shuah Khan wrote: On Mon, 2012-07-16 at 10:45 -0400, Konrad Rzeszutek Wilk wrote: On Thu, Jul 12, 2012 at 10:17:50AM -0600, Shuah Khan wrote: Disable iotlb overflow support when

Re: [RFC 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-16 Thread chetan loke
Hi Jon, On Fri, Jul 13, 2012 at 5:44 PM, Jon Mason jon.ma...@intel.com wrote: Just a few minor comments/questions: +struct ntb_transport_qp { + struct ntb_device *ndev; + + bool client_ready; + bool qp_link; + u8 qp_num; /* Only 64 QP's are allowed.

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread Linus Torvalds
On Mon, Jul 16, 2012 at 9:43 AM, da...@lang.hm wrote: The problem is that you can't select the Fedora profile and then unselect SELINUX, so the profile will do you no good. Guys, stop it now. Your problem isn't what any sane person cares about, and isn't what I started the RFC for.

Re: [PATCH v2] ns: do not block exit_task_namespaces() for a long time

2012-07-16 Thread Al Viro
On Mon, Jul 16, 2012 at 06:09:24PM +0300, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com On exiting of the last task in a namespace we need to trigger freeing of the namespace. Currently, we call synchronize_rcu() and free_nsproxy() directly on do_exit()

Re: [PATCH v2] ns: do not block exit_task_namespaces() for a long time

2012-07-16 Thread Myklebust, Trond
On Mon, 2012-07-16 at 19:39 +0300, Kirill A. Shutemov wrote: On Mon, Jul 16, 2012 at 03:39:36PM +, Myklebust, Trond wrote: On Mon, 2012-07-16 at 18:09 +0300, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com On exiting of the last task in a

[PATCH] timekeeping: Add missing update call in timekeeping_resume()

2012-07-16 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de Linus, Since Thomas is on vacation I wanted to send you his fix to resolve the suspend regression from the leapsecond fixes. thanks -john The leap second rework unearthed another issue of inconsistent data. On timekeeping_resume() the

Re: [Patch 6/7] rcu: Use smp_hotplug_thread facility for RCUs per-CPU kthread

2012-07-16 Thread Paul E. McKenney
On Mon, Jul 16, 2012 at 10:42:38AM -, Thomas Gleixner wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com Bring RCU into the new-age CPU-hotplug fold by modifying RCU's per-CPU kthread code to use the new smp_hotplug_thread facility. [ tglx: Adapted it to use callbacks and to the

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread Alan Cox
Select the profile and then fixup the config the normal way. If what the admin wants is incompatible with the profile, admin doesn't select the profile. Thats ugly - distro except... is a standard thing you ask users to do for debugging. However providing you separate the initial profile

Re: Linux 3.5-rc7

2012-07-16 Thread Martin Steigerwald
Am Montag, 16. Juli 2012 schrieb Linus Torvalds: On Mon, Jul 16, 2012 at 9:28 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Regresses badly on resume from in-kernel hibernation. I.e. hangs with some red graphics artifacts on the tty. The same artifacts appear for a short time with rc6

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Steven Rostedt
On Mon, 2012-07-16 at 18:36 +0200, Mike Galbraith wrote: Ouch, you just turned the rt_read_lock() into a spin lock. If a higher priority process preempted a lower priority process that holds the same lock, it will deadlock. Hm, how, it's doing cpu_chill()? 'course PI is toast,

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread david
On Mon, 16 Jul 2012, Alan Cox wrote: Select the profile and then fixup the config the normal way. If what the admin wants is incompatible with the profile, admin doesn't select the profile. Thats ugly - distro except... is a standard thing you ask users to do for debugging. However

Re: [PATCH RFC V4 3/3] kvm: Choose better candidate for directed yield

2012-07-16 Thread Raghavendra K T
On 07/16/2012 09:40 PM, Rik van Riel wrote: On 07/16/2012 06:07 AM, Avi Kivity wrote: +{ + bool eligible; + + eligible = !vcpu-ple.cpu_relax_intercepted || + (vcpu-ple.cpu_relax_intercepted + vcpu-ple.dy_eligible); + + if (vcpu-ple.cpu_relax_intercepted) + vcpu-ple.dy_eligible =

Re: [PATCH 2/2] gpio/omap: add *remove* callback in platform_driver

2012-07-16 Thread Kevin Hilman
Linus Walleij linus.wall...@linaro.org writes: On Thu, Jul 12, 2012 at 7:48 PM, Kevin Hilman khil...@ti.com wrote: In the case of OMAP GPIO, unless it's an obvious fix, I would recommend you wait at least until you see some acks/tested tags from any of - Santosh Shilimkar

Re: [PATCH v2] ns: do not block exit_task_namespaces() for a long time

2012-07-16 Thread Kirill A. Shutemov
On Mon, Jul 16, 2012 at 05:53:01PM +0100, Al Viro wrote: On Mon, Jul 16, 2012 at 06:09:24PM +0300, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com On exiting of the last task in a namespace we need to trigger freeing of the namespace. Currently, we call

[PATCH 4] mm: fix possible incorrect return value of move_pages() syscall

2012-07-16 Thread Joonsoo Kim
move_pages() syscall may return success in case that do_move_page_to_node_array return positive value which means migration failed. This patch changes return value of do_move_page_to_node_array for not returning positive value. It can fix the problem. Signed-off-by: Joonsoo Kim js1...@gmail.com

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-16 Thread Paolo Bonzini
Il 16/07/2012 18:18, James Bottomley ha scritto: diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index b583277..6d8ca08 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -843,8 +843,11 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int

<    3   4   5   6   7   8   9   10   11   >