Re: [PATCH] cpuidle: coupled: fix sleeping while atomic in cpu notifier

2012-08-01 Thread Srivatsa S. Bhat
On 07/31/2012 11:57 PM, Colin Cross wrote: On Tue, Jul 31, 2012 at 8:43 AM, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: On 07/26/2012 02:50 AM, Colin Cross wrote: The cpu hotplug notifier gets called in both atomic and non-atomic contexts, it is not always safe to lock a mutex.

Re: [RFC PATCH v5 12/19] memory-hotplug: introduce new function arch_remove_memory()

2012-08-01 Thread Wen Congyang
At 08/01/2012 10:44 AM, jencce zhou Wrote: 2012/7/27 Wen Congyang we...@cn.fujitsu.com: We don't call __add_pages() directly in the function add_memory() because some other architecture related things need to be done before or after calling __add_pages(). So we should introduce a new function

Re: [RFC PATCH v5 16/19] memory-hotplug: free memmap of sparse-vmemmap

2012-08-01 Thread Wen Congyang
At 07/31/2012 08:22 PM, Gerald Schaefer Wrote: On Fri, 27 Jul 2012 18:34:38 +0800 Wen Congyang we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com All pages of virtual mapping in removed memory cannot be freed, since some pages used as PGD/PUD includes not

Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-08-01 Thread wwang
于 2012年07月31日 19:23, Arnd Bergmann 写道: You posted the sdmmc host driver and the pci card reader driver. I assume that the USB card reader and the memstick host will also get posted at some point. Do you have a timeframe for those? I will submit my memstick host driver around two months

[PATCH v2] rtc: tps65910: Add RTC driver for TPS65910 PMIC RTC

2012-08-01 Thread Venu Byravarasu
TPS65910 PMIC is a MFD with RTC as one of the device. Adding RTC driver for supporting RTC device present inside TPS65910 PMIC. Only support for RTC alarm is implemented as part of this patch. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from patch v1: 1. Added const

[PATCH v2 1/2] ACPI: Replace acpi_get_table_with_size() with acpi_get_table()

2012-08-01 Thread Feng Tang
This is a preparation for removing the acpi_get_table_with_size(), as this function could be well covered by acpi_get_table(), and there is no need to have both of them to exist. v2: As reminded by Yinghai, apply the replacment to drivers/iommu/amd_iommu_init.c which is a new user of the

Re: Update VIP to videobuf2 and control framework

2012-08-01 Thread Hans Verkuil
On Tue July 31 2012 22:17:06 Federico Vaga wrote: As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the videobuf2. This patch series is an RFC. Thank you very much for working on this! Much appreciated! The first patch is just an update to the adv7180 because the VIP

Re: [PATCH] ext4: add error handling when discard cmd is fail in FITRIM

2012-08-01 Thread Ashish Sangwan
How about instead of propagating the error to user and breaking out of the discard, just print a warning message like: ext4_warning(sb, error %d while trimming group block from %d to %d\n,ret, start, next); That's what I said. I think that those errors should be logged, but I am not sure

Re: boot panic regression introduced in 3.5-rc7

2012-08-01 Thread Thomas Gleixner
On Mon, 30 Jul 2012, John Stultz wrote: On 07/29/2012 08:51 PM, CAI Qian wrote: Now, one of the reasons Thomas and I changed the logic was that using the precalculated realtime_offset was slightly more efficient then re-adding xtime and wall_to_monotonic's components separately. But how

Re: About dma_sync_single_for_{cpu,device}

2012-08-01 Thread Karl Beldan
On 7/31/12, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jul 31, 2012 at 09:31:13PM +0200, Karl Beldan wrote: On 7/31/12, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jul 31, 2012 at 08:45:57AM +0200, Karl Beldan wrote: I was expecting the following to

Re: [PATCH 1/2] [RFC] time: Fix problem with large timespecs ktime_get_update_offsets

2012-08-01 Thread Thomas Gleixner
On Tue, 31 Jul 2012, John Stultz wrote: There's currently a slight difference in ktime_get_update_offsets() vs ktime_get() which can result in boot time crashes when booting with insane CMOS clock values larger then ~2264. ktime_get() does basically the following: return

RE: [PATCH] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-08-01 Thread Philip, Avinash
On Mon, Jul 30, 2012 at 12:28:05, Thierry Reding wrote: On Wed, Jul 25, 2012 at 05:54:02PM +0530, Philip, Avinash wrote: Low Threshold Brightness should be configured to have a linear relation in brightness scale. This patch adds device tree support for low threshold brightness as optional

Re: [PATCH v2] platform: Add support for automatic device IDs

2012-08-01 Thread Jean Delvare
On Tue, 31 Jul 2012 16:50:59 -0700, Greg KH wrote: On Fri, Jul 27, 2012 at 10:14:59PM +0200, Jean Delvare wrote: Right now we have support for explicit platform device IDs, as well as ID-less platform devices when a given device type can only have one instance. However there are cases where

Re: [RFC PATCH 0/6] CPU hotplug: Reverse invocation of notifiers during CPU hotplug

2012-08-01 Thread Thomas Gleixner
On Fri, 27 Jul 2012, Rusty Russell wrote: On Wed, 25 Jul 2012 18:30:41 +0200 (CEST), Thomas Gleixner t...@linutronix.de wrote: The problem with the current notifiers is, that we only have ordering for a few specific callbacks, but we don't have the faintest idea in which order all other

RE: [PATCH 1/1] kthread: disable preemption during complete()

2012-08-01 Thread Thomas Gleixner
On Thu, 26 Jul 2012, Peter Boonstoppel wrote: tglx has patches that make the kthread create/destroy stuff from hotplug go away.. that seems like the better approach. Right. That cpu hotplug setup/teardown stuff is ugly. If that stuff gets removed complete that's great. The only

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-01 Thread Thierry Reding
On Wed, Aug 01, 2012 at 11:50:35AM +0900, Alex Courbot wrote: On 07/31/2012 07:19 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Jul 31, 2012 at 06:51:03PM +0900, Alex Courbot wrote: I would like to do that actually. The issue is that it did not work go well with the

Re: [PATCH 1/6] ASoC: dapm: If one widget fails, do not force all subsequent widgets to fail too

2012-08-01 Thread Lee Jones
On 31/07/12 16:18, Mark Brown wrote: It's certainly totally inappropriate for an urgent bugfix. Well it just means that audio won't work for the ux500 for this kernel release, but as we're waiting on clocks, this isn't a big issue for us. If you do take it (with or without the return code),

[PATCH] vphn: fix arch_update_cpu_topology() return value

2012-08-01 Thread Jesse Larrew
From 5dfd547532fca61462dc17fd0bb8e533002c4bc5 Mon Sep 17 00:00:00 2001 From: Jesse Larrew jlar...@linux.vnet.ibm.com Date: Thu, 7 Jun 2012 16:04:34 -0500 arch_update_cpu_topology() should only return 1 when the topology has actually changed, and should return 0 otherwise. This patch fixes a

Re: [Regression, post-3.5] System suspend broken on the Mackerel board

2012-08-01 Thread Paul Mundt
On Sat, Jul 28, 2012 at 12:53:11AM +0200, Rafael J. Wysocki wrote: Unfortunately, your commit commit ca5481c68e9fbcea62bb3c78ae6cccf99ca8fb73 Author: Paul Mundt let...@linux-sh.org Date: Tue Jul 10 12:08:14 2012 +0900 sh: pfc: Rudimentary pinctrl-backed GPIO support. breaks

Re: [PATCH] arm:gemini: fix irq.c

2012-08-01 Thread Andreas Bießmann
ping On 29.06.12 22:44, Andreas Bießmann wrote: On 06.06.12 13:22, Andreas Bießmann wrote: Commit 9f97da78bf018206fb623cd351d454af2f105fe0 moved disable_hlt() from arch/arm/include/asm/system.h to arch/arm/include/asm/system_misc.h but missed to change arch/arm/mach-gemini/irq.c. This

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

2012-08-01 Thread Lee Jones
On 31/07/12 21:54, Arnd Bergmann wrote: On Tuesday 31 July 2012, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index e641003..87a5cd7 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -794,6

[PATCH] pwm: add devm_pwm_get() and devm_pwm_put()

2012-08-01 Thread Alexandre Courbot
Add resource managed variants of pwm_get() and pwm_put() for convenience. Code is largely inspired by the equivalent devm functions of the regulator framework. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- Documentation/driver-model/devres.txt | 4 +++ Documentation/pwm.txt

Re: [PATCH 3/6] ARM: ux500: Fix merge error, so such struct 'snd_soc_u8500'

2012-08-01 Thread Lee Jones
On 31/07/12 17:46, Sergei Shtylyov wrote: Hello. On 07/31/2012 05:31 PM, Lee Jones wrote: Subject doesn't parse for me... 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'.

Re: [PATCH] bnx2x: fix mem leak when command is unknown

2012-08-01 Thread Dmitry Kravkov
On Tue, 2012-07-31 at 23:39 +0200, Jesper Juhl wrote: In bnx2x_mcast_enqueue_cmd() we'll leak the memory allocated to 'new_cmd' if we hit the deafault case of the 'switch (cmd)'. Add a 'kfree(new_cmd)' to that case to avoid the leak. Signed-off-by: Jesper Juhl j...@chaosbits.net ---

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-01 Thread Thierry Reding
On Tue, Jul 31, 2012 at 04:39:41PM +0100, Mark Brown wrote: On Tue, Jul 31, 2012 at 04:32:35PM +0200, Thierry Reding wrote: On Tue, Jul 31, 2012 at 03:26:07PM +0100, Mark Brown wrote: This is framework code - it doesn't have much option. Disabling HOTPLUG is totally reasonable on space

Re: awful kconfig help texts.

2012-08-01 Thread Thierry Reding
On Tue, Jul 31, 2012 at 07:07:41PM +0200, Borislav Petkov wrote: On Tue, Jul 31, 2012 at 11:16:00AM -0400, Dave Jones wrote: PWM Support (PWM) [N/y/?] (NEW) ? CONFIG_PWM: This enables PWM support through the generic PWM framework. Well that's.. enlightening. Oh, there's

Re: [GIT PULL] irqdomain changes for v3.6

2012-08-01 Thread Paul Mundt
On Tue, Jul 31, 2012 at 09:41:03PM -0600, Grant Likely wrote: Grant Likely (11): irqdomain: Support for static IRQ mapping and association. .. Looks like author attribution for this one got mangled. Oh well, at least it's upstream now. -- To unsubscribe from this list: send the line

Re: awful kconfig help texts.

2012-08-01 Thread Thierry Reding
On Tue, Jul 31, 2012 at 07:42:49PM +0200, Borislav Petkov wrote: On Tue, Jul 31, 2012 at 01:26:38PM -0400, Steven Rostedt wrote: Then shouldn't this not have a prompt and just be selected by those PWM drivers below? It gives an empty menu due to the deps of the single PWM drivers. But

Re: [PATCH 5/6] ARM: ux500: Enable HIGHMEM on all mop500 platforms

2012-08-01 Thread Lee Jones
On 31/07/12 23:01, Russell King - ARM Linux wrote: On Tue, Jul 31, 2012 at 08:50:02PM +, Arnd Bergmann wrote: On Tuesday 31 July 2012, Russell King - ARM Linux wrote: I still fail to see how not having highmem enabled would ever cause memory corruption errors (unless something dealing with

linux-next: No tree for Aug 1

2012-08-01 Thread Stephen Rothwell
-- Cheers, Stephen Rothwells...@canb.auug.org.au pgpDr84FJjC2Z.pgp Description: PGP signature

Re: [PATCH] pwm: add devm_pwm_get() and devm_pwm_put()

2012-08-01 Thread Thierry Reding
On Wed, Aug 01, 2012 at 04:37:09PM +0900, Alexandre Courbot wrote: Add resource managed variants of pwm_get() and pwm_put() for convenience. Code is largely inspired by the equivalent devm functions of the regulator framework. Signed-off-by: Alexandre Courbot acour...@nvidia.com ---

Re: [PATCH] pwm: add devm_pwm_get() and devm_pwm_put()

2012-08-01 Thread Alex Courbot
On Wed 01 Aug 2012 05:04:53 PM JST, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 01, 2012 at 04:37:09PM +0900, Alexandre Courbot wrote: Add resource managed variants of pwm_get() and pwm_put() for convenience. Code is largely inspired by the equivalent devm functions of the

Re: linux-next: Tree for July 31 (media/radio-tea5777)

2012-08-01 Thread Hans de Goede
Thanks for fixing this for me! Acked-by: Hans de Goede hdego...@redhat.com On 07/31/2012 09:56 PM, Mauro Carvalho Chehab wrote: Em 31-07-2012 14:22, Randy Dunlap escreveu: drivers/built-in.o: In function `radio_tea5777_set_freq': radio-tea5777.c:(.text+0x4d8704): undefined reference to

Re: [PATCH 3/6] ARM: ux500: Fix merge error, so such struct 'snd_soc_u8500'

2012-08-01 Thread Lee Jones
On 01/08/12 08:37, Lee Jones wrote: On 31/07/12 17:46, Sergei Shtylyov wrote: Hello. On 07/31/2012 05:31 PM, Lee Jones wrote: Subject doesn't parse for me... The platform attempts to register platform device 'snd_soc_u8500' which doesn't actually exist. Here we change the reference to

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-08-01 Thread Michal Hocko
On Tue 31-07-12 22:45:43, Larry Woodman wrote: On 07/31/2012 04:06 PM, Michal Hocko wrote: On Tue 31-07-12 13:49:21, Larry Woodman wrote: On 07/31/2012 08:46 AM, Mel Gorman wrote: Fundamentally I think the problem is that we are not correctly detecting that page table sharing took place

Re: [RFC PATCH] KVM: Only print vcpu_unimpl when DEBUG is set

2012-08-01 Thread Avi Kivity
On 08/01/2012 06:19 AM, Marcelo Tosatti wrote: On Thu, Jul 26, 2012 at 02:22:48PM +0200, Markus Trippelsdorf wrote: Every time I start qemu-kvm on my system the following line is added to the syslog: vcpu0 unhandled rdmsr: 0xc0010001 AFAICS all calls to vcpu_unimpl only contain debugging

Re: [PATCH 5/6] ARM: ux500: Enable HIGHMEM on all mop500 platforms

2012-08-01 Thread Russell King - ARM Linux
On Wed, Aug 01, 2012 at 08:56:14AM +0100, Lee Jones wrote: On 31/07/12 23:01, Russell King - ARM Linux wrote: On Tue, Jul 31, 2012 at 08:50:02PM +, Arnd Bergmann wrote: On Tuesday 31 July 2012, Russell King - ARM Linux wrote: I still fail to see how not having highmem enabled would ever

[PATCH 2nd resend] cs5535-clockevt: typo, it's MFGPT, not MFPGT

2012-08-01 Thread Jens Rottmann
cs5535-clockevt: typo, it's MFGPT, not MFPGT Had me fooled for a while, dmesg|grep -i mfgpt wouldn't show anything. Signed-off-by: Jens Rottmann jrottm...@lippertembedded.de --- Hi Thomas, I know this is not the most important fix in the world, but the nice thing about open source is that you

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-01 Thread Avi Kivity
On 07/31/2012 08:37 PM, Stefan Priebe wrote: Now i got it working - sorry used old gdb. This is the backtrace: Core was generated by `/usr/bin/qemu-system-x86_64 -id 103 -chardev socket,id=qmp,path=/var/run/qemu-s'. Program terminated with signal 11, Segmentation fault. #0

Re: [RESEND PATCH] block: do not artificially constrain max_sectors for stacking drivers

2012-08-01 Thread Jens Axboe
On 08/01/2012 02:39 AM, Mike Snitzer wrote: blk_set_stacking_limits is intended to allow stacking drivers to build up the limits of the stacked device based on the underlying devices' limits. But defaulting 'max_sectors' to BLK_DEF_MAX_SECTORS (1024) doesn't allow the stacking driver to

Re: [PATCH 3/6 v2] ARM: ux500: Fix merge error, no matching driver name for, 'snd_soc_u8500'

2012-08-01 Thread Lee Jones
From: Lee Jones lee.jo...@linaro.org Date: Fri, 27 Jul 2012 13:10:52 +0100 Subject: [PATCH 1/1] ARM: ux500: Fix merge error, no matching driver name for 'snd_soc_u8500' The platform attempts to register platform device 'snd_soc_u8500' which doesn't actually exist. Here we change the reference to

Re: [PATCH 5/6] ARM: ux500: Enable HIGHMEM on all mop500 platforms

2012-08-01 Thread Lee Jones
On 01/08/12 09:41, Russell King - ARM Linux wrote: On Wed, Aug 01, 2012 at 08:56:14AM +0100, Lee Jones wrote: On 31/07/12 23:01, Russell King - ARM Linux wrote: On Tue, Jul 31, 2012 at 08:50:02PM +, Arnd Bergmann wrote: On Tuesday 31 July 2012, Russell King - ARM Linux wrote: I still

Re: awful kconfig help texts.

2012-08-01 Thread Borislav Petkov
On Wed, Aug 01, 2012 at 09:47:42AM +0200, Thierry Reding wrote: On Tue, Jul 31, 2012 at 07:42:49PM +0200, Borislav Petkov wrote: On Tue, Jul 31, 2012 at 01:26:38PM -0400, Steven Rostedt wrote: Then shouldn't this not have a prompt and just be selected by those PWM drivers below? It

Re: [PATCHv8 00/13] perf: Add backtrace post dwarf unwind

2012-08-01 Thread Jiri Olsa
On Wed, Aug 01, 2012 at 06:04:31AM +0200, Stephane Eranian wrote: On Fri, Jul 27, 2012 at 2:23 PM, Jiri Olsa jo...@redhat.com wrote: hi, patches available also as tarball in here: http://people.redhat.com/~jolsa/perf_post_unwind_v8.tar.bz2 v8 changes: - patch 2 - added dump

[PATCH] iommu/exynos: Fix build error

2012-08-01 Thread Sachin Kamat
Fixes the following build error introduced by commit 3177bb76a8 (iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute): drivers/iommu/exynos-iommu.c: In function ‘exynos_iommu_domain_init’: drivers/iommu/exynos-iommu.c:735:2: error: ‘dom’ undeclared (first use in this function) Signed-off-by:

Re: [PATCH 0/3] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-08-01 Thread Alexander Gordeev
On Tue, Jul 31, 2012 at 02:12:49PM -0700, Suresh Siddha wrote: On Tue, 2012-07-31 at 13:41 +0200, Alexander Gordeev wrote: Currently multiple MSI mode is limited to a single vector per device (at least on x86 and PPC). This series breathes life into pci_enable_msi_block() and makes it

[PATCH v5 0/6] Raid: enable talitos xor offload for improving performance

2012-08-01 Thread qiang.liu
Hi, The following 6 patches enabling fsl-dma and talitos offload raid operations for improving raid performance and balancing CPU load. Write performance will be improved by 25-30% tested by iozone. Write performance is improved about 2% after using spin_lock_bh replace spin_lock_irqsave. CPU

[PATCH v5 1/6] Talitos: Support for async_tx XOR offload

2012-08-01 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Expose Talitos's XOR functionality to be used for RAID parity calculation via the Async_tx layer. Cc: Herbert Xu herb...@gondor.apana.org.au Cc: David S. Miller da...@davemloft.net Signed-off-by: Dipen Dudhat dipen.dud...@freescale.com Signed-off-by:

[PATCH v5 2/6] fsl-dma: remove attribute DMA_INTERRUPT of dmaengine

2012-08-01 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Delete attribute DMA_INTERRUPT because fsl-dma doesn't support this function, exception will be thrown if talitos is used to offload xor at the same time. Cc: Dan Williams dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang

Re: [PATCH] gpio-ich: Share ownership of GPIO groups

2012-08-01 Thread Jean Delvare
On Mon, 23 Jul 2012 17:34:15 +0200, Jean Delvare wrote: The ICH chips have their GPIO pins organized in 2 or 3 independent groups of 32 GPIO pins. It can happen that the ACPI BIOS wants to make use of pins in one group, preventing the OS to access these. This does not prevent the OS from

[PATCH v5 3/6] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-08-01 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Fix the potential risk when enable config NET_DMA and ASYNC_TX. Async_tx is lack of support in current release process of dma descriptor, all descriptors will be released whatever is acked or no-acked by async_tx, so there is a potential race condition when

[PATCH v5 4/6] fsl-dma: move the function ahead of its invoke function

2012-08-01 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Move the function fsldma_cleanup_descriptor() and fsl_chan_xfer_ld_queue() ahead of its invoke function for avoiding redundant definition. Cc: Dan Williams dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com

Re: [RESEND PATCH 0/5 V2] x86: mce: Bugfixes, cleanups and a new CMCI poll version

2012-08-01 Thread Borislav Petkov
On Wed, Aug 01, 2012 at 08:56:10AM +0800, Chen Gong wrote: On Thu, Jul 19, 2012 at 01:59:36PM -0400, Chen Gong wrote: Date: Thu, 19 Jul 2012 13:59:36 -0400 From: Chen Gong gong.c...@linux.intel.com To: t...@linutronix.de Cc: tony.l...@intel.com, b...@amd64.org, x...@kernel.org,

[PATCH v5 5/6] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-01 Thread qiang.liu
From: Qiang Liu qiang@freescale.com - use spin_lock_bh() is the right way to use async_tx api, dma_run_dependencies() should not be protected by spin_lock_irqsave(); - use spin_lock_bh to instead of spin_lock_irqsave for improving performance, There is not any place to access descriptor

[PATCH v5 6/6] fsl-dma: fix a warning of unitialized cookie

2012-08-01 Thread qiang.liu
From: Qiang Liu qiang@freescale.com Fix a warning of unitialized value when compile with -Wuninitialized. Cc: Dan Williams dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com Signed-off-by: Qiang Liu qiang@freescale.com Reported-by: Kim Phillips

Re: awful kconfig help texts.

2012-08-01 Thread Lars-Peter Clausen
On 08/01/2012 10:56 AM, Borislav Petkov wrote: On Wed, Aug 01, 2012 at 09:47:42AM +0200, Thierry Reding wrote: On Tue, Jul 31, 2012 at 07:42:49PM +0200, Borislav Petkov wrote: On Tue, Jul 31, 2012 at 01:26:38PM -0400, Steven Rostedt wrote: Then shouldn't this not have a prompt and just be

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-01 Thread Stefan Priebe - Profihost AG
Hi, ok i found a faster way to trigger this. Just boot the ubuntu rescue system. So here are 3 backtraces from booting the rescue system: http://pastebin.com/raw.php?i=xCy2pEcP To me they all look the same. Thanks! Stefan Am 01.08.2012 10:44, schrieb Avi Kivity: On 07/31/2012 08:37 PM,

Re: awful kconfig help texts.

2012-08-01 Thread Borislav Petkov
On Wed, Aug 01, 2012 at 11:21:59AM +0200, Lars-Peter Clausen wrote: One major reason for the new PWM framework is to be able to support arch independent PWM drivers, like those for companion chips with PWM capabilities. Restricting the config option to certain architectures wouldn't work.

Re: awful kconfig help texts.

2012-08-01 Thread Jan Engelhardt
On Wednesday 2012-08-01 09:43, Thierry Reding wrote: PWM Support (PWM) [N/y/?] (NEW) ? CONFIG_PWM: This enables PWM support through the generic PWM framework. Oh, there's one more enlightening sentence in the help: You only need to enable this, if you also want to enable one or

RE: [PATCH] iommu/exynos: Fix build error

2012-08-01 Thread Kukjin Kim
Sachin Kamat wrote: Fixes the following build error introduced by commit 3177bb76a8 (iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute): drivers/iommu/exynos-iommu.c: In function ‘exynos_iommu_domain_init’: drivers/iommu/exynos-iommu.c:735:2: error: ‘dom’ undeclared (first use in

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-01 Thread Avi Kivity
On 08/01/2012 12:24 PM, Stefan Priebe - Profihost AG wrote: Hi, ok i found a faster way to trigger this. Just boot the ubuntu rescue system. So here are 3 backtraces from booting the rescue system: http://pastebin.com/raw.php?i=xCy2pEcP To me they all look the same. They are. What

Re: awful kconfig help texts.

2012-08-01 Thread Lars-Peter Clausen
On 08/01/2012 11:26 AM, Borislav Petkov wrote: On Wed, Aug 01, 2012 at 11:21:59AM +0200, Lars-Peter Clausen wrote: One major reason for the new PWM framework is to be able to support arch independent PWM drivers, like those for companion chips with PWM capabilities. Restricting the config

RE: [PATCH v5 3/6] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-08-01 Thread Liu Qiang-B32616
Hi Ira, I hope we can discuss fsl-dma in this thread. In this patch I give a simple case to illustrate why I must correct the release process of finished descriptors. There is potential risk in current fsl-dma, the finished cookie value and finished async_tx descriptor should be judged by

[PATCH] spi: omap2-mcspi: Fix the error handling in probe

2012-08-01 Thread Shubhrajyoti D
The kfree() is taken care of by the spi core (spi_master_release() function) that is called once the last reference to the underlying struct device has been released. So the driver need not call kfree. Also the put was missed in some of the error handling fix the same. There by fixing the missing

Re: [PATCH can-next v4] can: add tx/rx LED trigger support

2012-08-01 Thread Marc Kleine-Budde
On 08/01/2012 12:05 AM, Fabio Baltieri wrote: This patch implements the functions to add two LED triggers, named ifname-tx and ifname-rx, to a canbus device driver. Triggers are called from specific handlers by each CAN device driver and can be disabled altogether with a Kconfig option.

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-01 Thread Stefan Priebe - Profihost AG
Am 01.08.2012 11:33, schrieb Avi Kivity: So here are 3 backtraces from booting the rescue system: http://pastebin.com/raw.php?i=xCy2pEcP To me they all look the same. They are. What version of qemu are you using? latest stable-1.1 branch (1.1.1) - which works fine with latest RHEL6

Re: [PATCH v2] powerpc/crypto: fix defconfig break

2012-08-01 Thread Herbert Xu
On Tue, Jul 31, 2012 at 11:15:29PM -0500, Seth Jennings wrote: As part of the Kconfig rework for drivers/crypto/nx, the meaning of CONFIG_CRYPTO_DEV_NX was changed. At the same time this commit was heading upstream fd297b3a7302ab866306f53c1fd1e97b083fe83e powerpc: Enable pseries hardware

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-01 Thread Avi Kivity
On 08/01/2012 12:42 PM, Stefan Priebe - Profihost AG wrote: Am 01.08.2012 11:33, schrieb Avi Kivity: So here are 3 backtraces from booting the rescue system: http://pastebin.com/raw.php?i=xCy2pEcP To me they all look the same. They are. What version of qemu are you using? latest

Re: [PATCH] pwm: add devm_pwm_get() and devm_pwm_put()

2012-08-01 Thread Thierry Reding
On Wed, Aug 01, 2012 at 05:17:48PM +0900, Alex Courbot wrote: On Wed 01 Aug 2012 05:04:53 PM JST, Thierry Reding wrote: * PGP Signed by an unknown key On Wed, Aug 01, 2012 at 04:37:09PM +0900, Alexandre Courbot wrote: +/** + * devm_pwm_get() - Resource managed pwm_get() This is missing

Re: awful kconfig help texts.

2012-08-01 Thread Borislav Petkov
On Wed, Aug 01, 2012 at 11:38:16AM +0200, Lars-Peter Clausen wrote: You don't see any drivers, because the subsystem is still young and no such arch independent drivers have been added yet, but they will get added in the future. The arch independent companion or PWM expander chips usually

Re: [PATCH can-next v4] can: add tx/rx LED trigger support

2012-08-01 Thread Marc Kleine-Budde
On 08/01/2012 11:36 AM, Marc Kleine-Budde wrote: [...] +/* + * Register CAN LED triggers for a CAN device + * + * This is normally called from a driver's probe function + */ +void can_led_init(struct net_device *netdev) +{ +struct can_priv *priv = netdev_priv(netdev); +void *res;

Re: [Xen-devel] [PATCH 2/5] xen/swiotlb: With more than 4GB on 64-bit, disable the native SWIOTLB.

2012-08-01 Thread Stefano Stabellini
On Tue, 31 Jul 2012, Konrad Rzeszutek Wilk wrote: commit 21ef55f4ab2b6d63eb0ed86abbc959d31377853b Author: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Fri Jul 27 20:16:00 2012 -0400 xen/swiotlb: With more than 4GB on 64-bit, disable the native SWIOTLB. If a PV guest is

[PATCHv9 00/13] perf: Add backtrace post dwarf unwind

2012-08-01 Thread Jiri Olsa
hi, patches available also as tarball in here: http://people.redhat.com/~jolsa/perf_post_unwind_v9.tar.bz2 v9 changes: - rebased to current tip tree v8 changes: - patch 2 - added dump registers ABI specification as suggested by Stephane - v7 patches 9,10,16,17 already in

[PATCH 01/13] perf: Unified API to record selective sets of arch registers

2012-08-01 Thread Jiri Olsa
This brings a new API to help the selective dump of registers on event sampling, and its implementation for x86 arch. Added HAVE_PERF_REGS config option to determine if the architecture provides perf registers ABI. The information about desired registers will be passed in u64 mask. It's up to

[PATCH 04/13] perf: Factor __output_copy to be usable with specific copy function

2012-08-01 Thread Jiri Olsa
From: Frederic Weisbecker fweis...@gmail.com Adding a generic way to use __output_copy function with specific copy function via DEFINE_PERF_OUTPUT_COPY macro. Using this to add new __output_copy_user function, that provides output copy from user pointers. For x86 the copy_from_user_nmi_nochk

[PATCH 03/13] perf, x86: Add copy_from_user_nmi_nochk for best effort copy

2012-08-01 Thread Jiri Olsa
Adding copy_from_user_nmi_nochk that provides the best effort copy regardless the requesting size crossing the task boundary. This is going to be useful for stack dump we need in post DWARF CFI based unwind, where we have predefined size of the user stack to dump, and we need to store the most of

[PATCH 07/13] perf: Add attribute to filter out callchains

2012-08-01 Thread Jiri Olsa
From: Frederic Weisbecker fweis...@gmail.com Introducing following bits to the the perf_event_attr struct: - exclude_callchain_kernel to filter out kernel callchain from the sample dump - exclude_callchain_user to filter out user callchain from the sample dump We need to be able to

[PATCH 05/13] perf: Add perf_output_skip function to skip bytes in sample

2012-08-01 Thread Jiri Olsa
Introducing perf_output_skip function to be able to skip data within the perf ring buffer. When writing data into perf ring buffer we first reserve needed place in ring buffer and then copy the actual data. There's a possibility we won't be able to fill all the reserved size with data, so we

[PATCH 10/13] perf, tool: Add libunwind dependency for dwarf cfi unwinding

2012-08-01 Thread Jiri Olsa
Adding libunwind to be linked with perf if available. It's required for the to get dwarf cfi unwinding support. Also building perf with the dwarf call frame informations by default, so that we can unwind callchains in perf itself. Adding LIBUNWIND_DIR Makefile variable allowing user to specify

[PATCH 11/13] perf, tool: Support user regs and stack in sample parsing

2012-08-01 Thread Jiri Olsa
Adding following info to be parsed out of the event sample: - user register set - user stack dump Both are global and specific to all events within the session. This info will be used in the unwind patches coming in shortly. Adding simple output printout (report -D) for both register and stack

[PATCH 12/13] perf, tool: Support for dwarf cfi unwinding on post processing

2012-08-01 Thread Jiri Olsa
This brings the support for dwarf cfi unwinding on perf post processing. Call frame informations are retrieved and then passed to libunwind that requests memory and register content from the applications. Adding unwind object to handle the user stack backtrace based on the user register values

[PATCH 13/13] perf, tool: Support for dwarf mode callchain on perf record

2012-08-01 Thread Jiri Olsa
This patch enables perf to use the dwarf unwind code. It extends the perf record '-g' option with following arguments: 'fp' - provides framepointer based user stack backtrace 'dwarf[,size]' - provides dwarf (libunwind) based user stack

[PATCH 09/13] perf, tool: Add interface to arch registers sets

2012-08-01 Thread Jiri Olsa
Adding header files to access unified API for arch registers. util/perf_regs.h - global perf_reg declarations arch/x86/include/perf_regs.h - x86 arch specific Adding perf_reg_name function to obtain register name based on the reg ID value, and PERF_REGS_MASK macro with mask definition of all

[PATCH 08/13] perf, tool: Adding PERF_ATTR_SIZE_VER2 to the header swap check

2012-08-01 Thread Jiri Olsa
Updating attr_file_abi_sizes array with PERF_ATTR_SIZE_VER2 version, so we have the swap check complete. Signed-off-by: Jiri Olsa jo...@redhat.com --- tools/perf/util/header.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/perf/util/header.c

[PATCH 02/13] perf: Add ability to attach user level registers dump to sample

2012-08-01 Thread Jiri Olsa
Introducing PERF_SAMPLE_REGS_USER sample type bit to trigger the dump of user level registers on sample. Registers we want to dump are specified by sample_regs_user bitmask. Only user level registers are dumped at the moment. Meaning the register values of the user space context as it was before

Re: [REGRESSION] [PATCH] block: uninitialized ioc-nr_tasks triggers WARN_ON

2012-08-01 Thread Jens Axboe
On 07/17/2012 11:36 PM, Olof Johansson wrote: Hi, I'm using the old-fashioned 'dump' backup tool, and I noticed that it spews the below warning as of 3.5-rc1 and later (3.4 is fine): [ 10.886893] [ cut here ] [ 10.886904] WARNING: at

Re: [PATCH] gpio-ich: Share ownership of GPIO groups

2012-08-01 Thread Samuel Ortiz
Hi Jean, On Wed, Aug 01, 2012 at 11:13:59AM +0200, Jean Delvare wrote: On Mon, 23 Jul 2012 17:34:15 +0200, Jean Delvare wrote: The ICH chips have their GPIO pins organized in 2 or 3 independent groups of 32 GPIO pins. It can happen that the ACPI BIOS wants to make use of pins in one group,

[PATCH v2] pwm: add devm_pwm_get() and devm_pwm_put()

2012-08-01 Thread Alexandre Courbot
Add resource managed variants of pwm_get() and pwm_put() for convenience. Code is largely inspired by the equivalent devm functions of the regulator framework. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- Documentation/driver-model/devres.txt | 4 +++ Documentation/pwm.txt

Re: [PATCH] block: remove dead func declaration

2012-08-01 Thread Jens Axboe
On 07/10/2012 09:21 AM, Yuanhan Liu wrote: __generic_unplug_device() function is removed with commit 7eaceaccab5f40bbfda044629a6298616aeaed50, which forgot to remove the declaration at meantime. Here remove it. Thanks, applied. -- Jens Axboe -- To unsubscribe from this list: send the line

Re: [PATCH can-next v4] can: add tx/rx LED trigger support

2012-08-01 Thread Fabio Baltieri
On Wed, Aug 01, 2012 at 11:36:51AM +0200, Marc Kleine-Budde wrote: On 08/01/2012 12:05 AM, Fabio Baltieri wrote: This patch implements the functions to add two LED triggers, named ifname-tx and ifname-rx, to a canbus device driver. Triggers are called from specific handlers by each CAN

[PATCH] userns: Convert quota to user kuid/kgid where appropriate

2012-08-01 Thread Dmitry Monakhov
Map uid/gid to global kuid/kgid before pass it down to quota infrastructure. Signed-off-by: Dmitry Monakhov dmonak...@openvz.org --- fs/quota/quota.c | 45 - 1 files changed, 36 insertions(+), 9 deletions(-) diff --git a/fs/quota/quota.c

Re: [PATCH] gpio-ich: Share ownership of GPIO groups

2012-08-01 Thread Jean Delvare
On Wed, 1 Aug 2012 12:16:46 +0200, Samuel Ortiz wrote: On Wed, Aug 01, 2012 at 11:13:59AM +0200, Jean Delvare wrote: Grant, Samuel, Linus (sorry for not including you on original submission), any comment on this? I suppose it's too late for 3.6 but can this be scheduled to be integrated in

Re: [patch] x86, avx: don't use avx instructions with noxsave boot param

2012-08-01 Thread NeilBrown
On Tue, 31 Jul 2012 10:29:14 -0700 Suresh Siddha suresh.b.sid...@intel.com wrote: On Tue, 2012-07-31 at 09:43 -0700, H. Peter Anvin wrote: My main reason for thinking that it would be good to clear the bits is that it plays a lot nicer with alternatives and with static_cpu_has(). Fair

[PULL REQUEST] md update for 3.6

2012-08-01 Thread NeilBrown
Hi Linus, please pull as follows. Sorry it is late - I was hoping to sync up with Jens as I have some patches which depend on some in his tree, but that doesn't seem to have worked. I'll probably send you another pull request once his tree has been included, but I'll not be surprised if it has

Re: wlcore: might_sleep operation in interrupt handler

2012-08-01 Thread Denis Yefremov
Sorry. My mistake. In this case it seems that sleep functions can be called from thread_fn, since interrupt line is disabled globally. And nothing bad will happen if you know that device can be blocked for relatively long time. -- To unsubscribe from this list: send the line unsubscribe

Re: [PULL REQUEST] md update for 3.6

2012-08-01 Thread Jens Axboe
On 08/01/2012 12:47 PM, NeilBrown wrote: Hi Linus, please pull as follows. Sorry it is late - I was hoping to sync up with Jens as I have some patches which depend on some in his tree, but that doesn't seem to have worked. I'll probably send you another pull request once his tree has been

Re: [PATCH] Documentation/kvm : Add documentation on Hypercalls

2012-08-01 Thread Raghavendra K T
On 08/01/2012 08:37 AM, Marcelo Tosatti wrote: On Tue, Jul 24, 2012 at 02:23:59PM +0530, Raghavendra K T wrote: From: Raghavendra K Traghavendra...@linux.vnet.ibm.com Thanks Alex for KVM_HC_FEATURES inputs and Jan for VAPIC_POLL_IRQ, and Peter (HPA) for suggesting hypercall ABI addition.

Re: [Xen-devel] [PATCH 01/24] arm: initial Xen support

2012-08-01 Thread Konrad Rzeszutek Wilk
+struct pvclock_wall_clock { + u32 version; + u32 sec; + u32 nsec; +} __attribute__((__packed__)); That is weird. It is 4+4+4 = 12 bytes? Don't you want it to be 16 bytes? I agree that 16 bytes would be a better choice, but it needs to match the struct in Xen that is

Re: awful kconfig help texts.

2012-08-01 Thread Lars-Peter Clausen
On 08/01/2012 12:04 PM, Borislav Petkov wrote: On Wed, Aug 01, 2012 at 11:38:16AM +0200, Lars-Peter Clausen wrote: You don't see any drivers, because the subsystem is still young and no such arch independent drivers have been added yet, but they will get added in the future. The arch

Re: [PATCH v2 6/7] kvm,x86: RCU based table free

2012-08-01 Thread Stefano Stabellini
On Tue, 5 Jun 2012, Stefano Stabellini wrote: On Tue, 5 Jun 2012, Peter Zijlstra wrote: On Tue, 2012-06-05 at 18:34 +0530, Nikunj A Dadhania wrote: PeterZ, is 7/7 alright to be picked? Yeah, I guess it is.. I haven't had time to rework my tlb series yet though. But these two patches

  1   2   3   4   5   6   7   8   9   10   >