Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-08 Thread Sascha Hauer
On Sun, Aug 05, 2012 at 04:03:34PM -0700, Anton Vorontsov wrote: > The driver uses platform-specific mxc_set_irq_fiq() with the VIRQ cookie > passed to it, so it's pretty clear that the driver is absolutely sure > that the FIQ is routed via platform-specific IC, and that the cookie can > be used

Re: [PATCH 3/9] [media] mx1_camera: Don't use {en,dis}able_fiq() calls

2012-08-08 Thread Sascha Hauer
On Sun, Aug 05, 2012 at 04:03:33PM -0700, Anton Vorontsov wrote: > The driver uses platform-specific mxc_set_irq_fiq() with the VIRQ cookie > passed to it, so it's pretty clear that the driver is absolutely sure > that the FIQ is routed via platform-specific IC, and that the cookie can > be used

Re: [PATCH 1/2] ARM: build ssi-fiq.S in ARM mode to prevent CONFIG_THUMB2_KERNEL build breakage

2012-08-08 Thread Sascha Hauer
On Tue, Aug 07, 2012 at 05:45:13PM -0500, Matt Sealey wrote: > If i.MX SSI FIQ support is enabled then it is impossible to build a Thumb2 > kernel image due to the code not being written with Thumb2 in mind (over-use > of registers). In order not to break Thumb2 kernels, compile this as ARM. All >

[PATCH] i2c: i2c-ocores: Use devm_request_and_ioremap()

2012-08-08 Thread Thierry Reding
Replacing the devm_request_mem_region() and devm_ioremap_nocache() calls by a single call to devm_request_and_ioremap() simplifies the code. Signed-off-by: Thierry Reding --- drivers/i2c/busses/i2c-ocores.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git

Re: [PATCH 2/2] ARM: only build ssi-fiq.S et al if CONFIG_SND_IMX_SOC_PCM_FIQ is selected

2012-08-08 Thread Sascha Hauer
On Tue, Aug 07, 2012 at 05:45:14PM -0500, Matt Sealey wrote: > Further to the previous patch, a custom configuration may be used based on the > imx_v6_v7_defconfig which removes the board depending on the audio driver > pulling > this support code. However, since it is built dependent on

Re: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-08 Thread Thierry Reding
On Wed, Aug 08, 2012 at 03:30:32PM +0900, Kukjin Kim wrote: > Thierry Reding wrote: > > > > On Wed, Aug 08, 2012 at 09:54:13AM +0900, Kukjin Kim wrote: > > > diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat- > > samsung/Kconfig > > > index 7aca31c..dcdfb77 100644 > > > ---

Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-08 Thread Willy Tarreau
Hi Eric, On Wed, Aug 08, 2012 at 08:27:52AM +0200, Eric Dumazet wrote: > On Wed, 2012-08-08 at 08:17 +0200, Willy Tarreau wrote: > > > > > Well, if the drivers provided with the kernel don't work out of the box > > anymore, maybe we should also move them to a separate repository. All it > > is

[PATCH v3] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-08 Thread Virupax Sadashivpetimath
In case of USB bulk transfer, when himem page is received, the usb_sg_init function sets the urb transfer buffer to NULL. When such URB transfer is handled, kernel crashes in PIO mode. Handle this by mapping the highmem buffer in PIO mode. Signed-off-by: Virupax Sadashivpetimath Signed-off-by:

RE: [PATCH v2] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-08 Thread Virupax SADASHIVPETIMATH
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Tuesday, August 07, 2012 11:17 PM > To: Virupax SADASHIVPETIMATH > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux- > ker...@vger.kernel.org; linus.wall...@linaro.org;

Q: diskstats for MD-RAID

2012-08-08 Thread Ulrich Windl
Hello! I have a question based on the SLES11 SP1 kernel (2.6.32.59-0.3-default): In /proc/diskstats the last four values seem to be zero for md-Devices. So "%util", "await", and "svctm" from "sar" are always reported as zero. Ist this a bug or a feature? I'm tracing a fairness problem resulting

[PATCH] iio/adjd_s311: Fix potential memory leak in adjd_s311_update_scan_mode()

2012-08-08 Thread Alexey Khoroshilov
Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/iio/light/adjd_s311.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff

RE: question on devm_kfree

2012-08-08 Thread Venu Byravarasu
> -Original Message- > From: Lars-Peter Clausen [mailto:l...@metafoo.de] > Sent: Wednesday, August 08, 2012 12:00 PM > To: Venu Byravarasu > Cc: linux-kernel@vger.kernel.org > Subject: Re: question on devm_kfree > > On 08/08/2012 07:56 AM, Venu Byravarasu wrote: > > As per comments

Re: [PATCH 1/3] dma-fence: dma-buf synchronization (v7)

2012-08-08 Thread Sumit Semwal
Hi Maarten, On 8 August 2012 00:17, Maarten Lankhorst wrote: > Op 07-08-12 19:53, Maarten Lankhorst schreef: >> A dma-fence can be attached to a buffer which is being filled or consumed >> by hw, to allow userspace to pass the buffer without waiting to another >> device. For example, userspace

RE: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-08 Thread Kukjin Kim
Thierry Reding wrote: > > On Wed, Aug 08, 2012 at 09:54:13AM +0900, Kukjin Kim wrote: > > diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat- > samsung/Kconfig > > index 7aca31c..dcdfb77 100644 > > --- a/arch/arm/plat-samsung/Kconfig > > +++ b/arch/arm/plat-samsung/Kconfig > > @@ -403,7

Re: question on devm_kfree

2012-08-08 Thread Lars-Peter Clausen
On 08/08/2012 07:56 AM, Venu Byravarasu wrote: > As per comments related to devm_kzalloc, memory allocated using it is > freed automatically. > However there is a function called devm_kfree, comment section of which > says that it is used to free memory allocated using devm_kzalloc(). > If memory

Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-08 Thread Eric Dumazet
On Wed, 2012-08-08 at 08:17 +0200, Willy Tarreau wrote: > > Well, if the drivers provided with the kernel don't work out of the box > anymore, maybe we should also move them to a separate repository. All it > is going to do otherwise is to cause invalid bug reports because users > don't

Re: [PATCH] x86: set fpmath to 387 to avoid gcc warnings

2012-08-08 Thread Tatulea, Dragos
On Wed, Aug 8, 2012 at 9:27 AM, Dragos Tatulea wrote: > If gcc has a different default fpmath set (ex: sse), > many unuseful warnings will be spewed. > > This can affect out of tree modules that compile with > -Werror (ex: systemtap stp scripts). > > Be paranoid and add -msoft-float as well to

[PATCH] x86: set fpmath to 387 to avoid gcc warnings

2012-08-08 Thread Dragos Tatulea
If gcc has a different default fpmath set (ex: sse), many unuseful warnings will be spewed. This can affect out of tree modules that compile with -Werror (ex: systemtap stp scripts). Be paranoid and add -msoft-float as well to try to get an error if FP instructions are generated at all.

[PATCH] x86: set fpmath to 387 to avoid gcc warnings

2012-08-08 Thread Dragos Tatulea
If gcc has a different default fpmath set (ex: sse), many unuseful warnings will be spewed. This can affect out of tree modules that compile with -Werror (ex: systemtap stp scripts). Be paranoid and add -msoft-float as well to try to get an error if FP instructions are generated at all.

[PATCH 2/2] iommu/tegra: smmu: Use __debugfs_create_dir

2012-08-08 Thread Hiroshi Doyu
The commit c3b1a35 "debugfs: make sure that debugfs_create_file() gets used only for regulars" doesn't allow to use debugfs_create_file() for dir. Use the version with "data", __debugfs_create_dir(). Signed-off-by: Hiroshi Doyu Reported-by: Laxman Dewangan --- drivers/iommu/tegra-smmu.c |4

[PATCH 1/2] debugfs: Allow debugfs_create_dir() to take data

2012-08-08 Thread Hiroshi Doyu
Add __debugfs_create_dir(), which takes data passed from caller. Signed-off-by: Hiroshi Doyu --- fs/debugfs/inode.c |7 --- include/linux/debugfs.h |9 - 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index

Re: [PATCH V6 0/2] Improve virtio-blk performance

2012-08-08 Thread Asias He
On 08/08/2012 11:09 AM, Asias He wrote: On 08/07/2012 05:16 PM, Christoph Hellwig wrote: On Tue, Aug 07, 2012 at 04:47:13PM +0800, Asias He wrote: 1) Ramdisk device With bio-based IO path, sequential read/write, random read/write IOPS boost : 28%, 24%, 21%, 16%

Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-08 Thread Willy Tarreau
On Tue, Aug 07, 2012 at 10:58:00PM -0700, David Miller wrote: > From: Jike Song > Date: Wed, 8 Aug 2012 13:50:42 +0800 > > > On Fri, Jul 13, 2012 at 9:04 PM, Chris Webb wrote: > >> Commit c2c20ef43d00 "bnx2: Update driver to use new mips firmware" > >> updated the bnx2 driver to use

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Sven Joachim
On 2012-08-08 08:08 +0200, Ben Skeggs wrote: > On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: >> Not for me on my GeForce 8500 GT, and I still cannot suspend more than >> once, subsequent attempts fail: >> >> , >> | Aug 8 07:49:16 turtle kernel: [ 91.697068] nouveau W[ >> |

Re: [PATCH V6 2/2] virtio-blk: Add REQ_FLUSH and REQ_FUA support to bio path

2012-08-08 Thread Asias He
On 08/07/2012 05:15 PM, Christoph Hellwig wrote: At least after review is done I really think this patch sopuld be folded into the previous one. OK. Some more comments below: @@ -58,6 +58,12 @@ struct virtblk_req struct bio *bio; struct virtio_blk_outhdr out_hdr;

Re: [PATCH 3/4] cpu: export cpu hotplug disable/enable functions as global functions

2012-08-08 Thread Srivatsa S. Bhat
On 08/07/2012 11:21 PM, Kumar Gala wrote: > > On Aug 7, 2012, at 3:43 AM, Zhao Chenhui wrote: > >> The cpufreq driver of mpc85xx will disable/enable cpu hotplug temporarily. >> Therefore, the related functions should be exported. >> >> Signed-off-by: Zhao Chenhui >> --- >> include/linux/cpu.h |

Re: [BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5

2012-08-08 Thread Lukasz Majewski
Dear Peiyong Feng, > > Please enable the debug at s3c-hsotg.c driver and then paste the > > dmesg/debug output. > I have defined DEGUG in s3c-hsotg.c Thank you for 2.6.36 log. I'd also need the log from 3.6-rc1 kernel with DEBUG enabled. -- Best regards, Lukasz Majewski Samsung Poland R

[PATCH 2/7] zsmalloc: prevent mappping in interrupt context

2012-08-08 Thread Minchan Kim
From: Seth Jennings Because we use per-cpu mapping areas shared among the pools/users, we can't allow mapping in interrupt context because it can corrupt another users mappings. Signed-off-by: Seth Jennings Signed-off-by: Minchan Kim --- drivers/staging/zsmalloc/zsmalloc-main.c |8

[PATCH 3/7] zsmalloc: add page table mapping method

2012-08-08 Thread Minchan Kim
From: Seth Jennings This patchset provides page mapping via the page table. On some archs, most notably ARM, this method has been demonstrated to be faster than copying. The logic controlling the method selection (copy vs page table) is controlled by the definition of USE_PGTABLE_MAPPING which

[PATCH 4/7] zsmalloc: collapse internal .h into .c

2012-08-08 Thread Minchan Kim
From: Seth Jennings The patch collapses in the internal zsmalloc_int.h into the zsmalloc-main.c file. This is done in preparation for the promotion to mm/ where separate internal headers are discouraged. Signed-off-by: Seth Jennings Signed-off-by: Minchan Kim ---

[PATCH 7/7] zram: select ZSMALLOC when ZRAM is configured

2012-08-08 Thread Minchan Kim
At the monent, we can configure zram in driver/block once zsmalloc in mm menu is configured firstly. It's not convenient. User can configure zram in driver/block regardless of zsmalloc enabling by this patch. Signed-off-by: Minchan Kim --- drivers/block/zram/Kconfig |3 ++- 1 file changed,

[PATCH 1/7] zsmalloc: s/firstpage/page in new copy map funcs

2012-08-08 Thread Minchan Kim
From: Seth Jennings firstpage already has precedent and meaning the first page of a zspage. In the case of the copy mapping functions, it is the first of a pair of pages needing to be mapped. This patch just renames the firstpage argument to "page" to avoid confusion. Signed-off-by: Seth

[PATCH 0/7] zram/zsmalloc promotion

2012-08-08 Thread Minchan Kim
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 not merged into linux-next yet but needed it as base for [4-5] which promotes zsmalloc. Greg, if you merged [1-3] already, skip them. Seth Jennings

Re: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-08 Thread Thierry Reding
On Wed, Aug 08, 2012 at 09:54:13AM +0900, Kukjin Kim wrote: > diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig > index 7aca31c..dcdfb77 100644 > --- a/arch/arm/plat-samsung/Kconfig > +++ b/arch/arm/plat-samsung/Kconfig > @@ -403,7 +403,7 @@ config S5P_DEV_USB_EHCI > >

[PATCH 6/7] zram: promote zram from staging

2012-08-08 Thread Minchan Kim
It's time to promote zram from staging because zram is in staging for a long time and is improved by many contributors so code is very clean. Most important issue, zram's dependency with x86 is solved by making zsmalloc portable. In addition, many embedded product uses zram in real practive so I

[PATCH 5/7] zsmalloc: promote to mm/

2012-08-08 Thread Minchan Kim
From: Seth Jennings This patch promotes the slab-based zsmalloc memory allocator from the staging tree to mm/ zcache/zram depends on this allocator for storing compressed RAM pages in an efficient way under system wide memory pressure where high-order (greater than 0) page allocation are very

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Ben Skeggs
On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: > On 2012-08-08 07:37 +0200, Ben Skeggs wrote: > > > On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: > >> On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: > >> > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares

question on devm_kfree

2012-08-08 Thread Venu Byravarasu
As per comments related to devm_kzalloc, memory allocated using it is freed automatically. However there is a function called devm_kfree, comment section of which says that it is used to free memory allocated using devm_kzalloc(). If memory allocated by devm_kzalloc is freed automatically,

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-08 Thread Sven Joachim
On 2012-08-08 07:37 +0200, Ben Skeggs wrote: > On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: >> On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: >> > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: >> > > On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus >> > >

Re: [PATCH] pci: Account for virtual buses in pci_acs_path_enabled

2012-08-08 Thread Bjorn Helgaas
On Tue, Aug 7, 2012 at 2:50 PM, Don Dutile wrote: > On 08/06/2012 04:47 PM, Bjorn Helgaas wrote: >> >> On Sun, Aug 5, 2012 at 11:55 PM, Alex Williamson >> wrote: >>> >>> On Sun, 2012-08-05 at 23:30 -0600, Bjorn Helgaas wrote: On Sat, Aug 4, 2012 at 12:19 PM, Alex Williamson

Re: [PATCH] pci: Account for virtual buses in pci_acs_path_enabled

2012-08-08 Thread Bjorn Helgaas
On Tue, Aug 7, 2012 at 2:50 PM, Don Dutile ddut...@redhat.com wrote: On 08/06/2012 04:47 PM, Bjorn Helgaas wrote: On Sun, Aug 5, 2012 at 11:55 PM, Alex Williamson alex.william...@redhat.com wrote: On Sun, 2012-08-05 at 23:30 -0600, Bjorn Helgaas wrote: On Sat, Aug 4, 2012 at 12:19 PM,

Re: [bisected] nouveau: Failed to idle channel x after resume

2012-08-08 Thread Sven Joachim
On 2012-08-08 07:37 +0200, Ben Skeggs wrote: On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus martin.ny...@gmx.com

question on devm_kfree

2012-08-08 Thread Venu Byravarasu
As per comments related to devm_kzalloc, memory allocated using it is freed automatically. However there is a function called devm_kfree, comment section of which says that it is used to free memory allocated using devm_kzalloc(). If memory allocated by devm_kzalloc is freed automatically,

Re: [bisected] nouveau: Failed to idle channel x after resume

2012-08-08 Thread Ben Skeggs
On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: On 2012-08-08 07:37 +0200, Ben Skeggs wrote: On Mon, Aug 06, 2012 at 11:38:04PM +0300, Maxim Levitsky wrote: On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote:

[PATCH 5/7] zsmalloc: promote to mm/

2012-08-08 Thread Minchan Kim
From: Seth Jennings sjenn...@linux.vnet.ibm.com This patch promotes the slab-based zsmalloc memory allocator from the staging tree to mm/ zcache/zram depends on this allocator for storing compressed RAM pages in an efficient way under system wide memory pressure where high-order (greater than 0)

[PATCH 6/7] zram: promote zram from staging

2012-08-08 Thread Minchan Kim
It's time to promote zram from staging because zram is in staging for a long time and is improved by many contributors so code is very clean. Most important issue, zram's dependency with x86 is solved by making zsmalloc portable. In addition, many embedded product uses zram in real practive so I

Re: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-08 Thread Thierry Reding
On Wed, Aug 08, 2012 at 09:54:13AM +0900, Kukjin Kim wrote: diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 7aca31c..dcdfb77 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -403,7 +403,7 @@ config S5P_DEV_USB_EHCI config

[PATCH 0/7] zram/zsmalloc promotion

2012-08-08 Thread Minchan Kim
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 not merged into linux-next yet but needed it as base for [4-5] which promotes zsmalloc. Greg, if you merged [1-3] already, skip them. Seth Jennings

[PATCH 1/7] zsmalloc: s/firstpage/page in new copy map funcs

2012-08-08 Thread Minchan Kim
From: Seth Jennings sjenn...@linux.vnet.ibm.com firstpage already has precedent and meaning the first page of a zspage. In the case of the copy mapping functions, it is the first of a pair of pages needing to be mapped. This patch just renames the firstpage argument to page to avoid confusion.

[PATCH 7/7] zram: select ZSMALLOC when ZRAM is configured

2012-08-08 Thread Minchan Kim
At the monent, we can configure zram in driver/block once zsmalloc in mm menu is configured firstly. It's not convenient. User can configure zram in driver/block regardless of zsmalloc enabling by this patch. Signed-off-by: Minchan Kim minc...@kernel.org --- drivers/block/zram/Kconfig |3

[PATCH 4/7] zsmalloc: collapse internal .h into .c

2012-08-08 Thread Minchan Kim
From: Seth Jennings sjenn...@linux.vnet.ibm.com The patch collapses in the internal zsmalloc_int.h into the zsmalloc-main.c file. This is done in preparation for the promotion to mm/ where separate internal headers are discouraged. Signed-off-by: Seth Jennings sjenn...@linux.vnet.ibm.com

[PATCH 3/7] zsmalloc: add page table mapping method

2012-08-08 Thread Minchan Kim
From: Seth Jennings sjenn...@linux.vnet.ibm.com This patchset provides page mapping via the page table. On some archs, most notably ARM, this method has been demonstrated to be faster than copying. The logic controlling the method selection (copy vs page table) is controlled by the definition of

[PATCH 2/7] zsmalloc: prevent mappping in interrupt context

2012-08-08 Thread Minchan Kim
From: Seth Jennings sjenn...@linux.vnet.ibm.com Because we use per-cpu mapping areas shared among the pools/users, we can't allow mapping in interrupt context because it can corrupt another users mappings. Signed-off-by: Seth Jennings sjenn...@linux.vnet.ibm.com Signed-off-by: Minchan Kim

Re: [BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5

2012-08-08 Thread Lukasz Majewski
Dear Peiyong Feng, Please enable the debug at s3c-hsotg.c driver and then paste the dmesg/debug output. I have defined DEGUG in s3c-hsotg.c Thank you for 2.6.36 log. I'd also need the log from 3.6-rc1 kernel with DEBUG enabled. -- Best regards, Lukasz Majewski Samsung Poland RD Center

Re: [PATCH 3/4] cpu: export cpu hotplug disable/enable functions as global functions

2012-08-08 Thread Srivatsa S. Bhat
On 08/07/2012 11:21 PM, Kumar Gala wrote: On Aug 7, 2012, at 3:43 AM, Zhao Chenhui wrote: The cpufreq driver of mpc85xx will disable/enable cpu hotplug temporarily. Therefore, the related functions should be exported. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com ---

Re: [PATCH V6 2/2] virtio-blk: Add REQ_FLUSH and REQ_FUA support to bio path

2012-08-08 Thread Asias He
On 08/07/2012 05:15 PM, Christoph Hellwig wrote: At least after review is done I really think this patch sopuld be folded into the previous one. OK. Some more comments below: @@ -58,6 +58,12 @@ struct virtblk_req struct bio *bio; struct virtio_blk_outhdr out_hdr;

Re: [bisected] nouveau: Failed to idle channel x after resume

2012-08-08 Thread Sven Joachim
On 2012-08-08 08:08 +0200, Ben Skeggs wrote: On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: Not for me on my GeForce 8500 GT, and I still cannot suspend more than once, subsequent attempts fail: , | Aug 8 07:49:16 turtle kernel: [ 91.697068] nouveau W[ |

Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-08 Thread Willy Tarreau
On Tue, Aug 07, 2012 at 10:58:00PM -0700, David Miller wrote: From: Jike Song albca...@gmail.com Date: Wed, 8 Aug 2012 13:50:42 +0800 On Fri, Jul 13, 2012 at 9:04 PM, Chris Webb ch...@arachsys.com wrote: Commit c2c20ef43d00 bnx2: Update driver to use new mips firmware updated the bnx2

Re: [PATCH V6 0/2] Improve virtio-blk performance

2012-08-08 Thread Asias He
On 08/08/2012 11:09 AM, Asias He wrote: On 08/07/2012 05:16 PM, Christoph Hellwig wrote: On Tue, Aug 07, 2012 at 04:47:13PM +0800, Asias He wrote: 1) Ramdisk device With bio-based IO path, sequential read/write, random read/write IOPS boost : 28%, 24%, 21%, 16%

[PATCH 1/2] debugfs: Allow debugfs_create_dir() to take data

2012-08-08 Thread Hiroshi Doyu
Add __debugfs_create_dir(), which takes data passed from caller. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- fs/debugfs/inode.c |7 --- include/linux/debugfs.h |9 - 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/fs/debugfs/inode.c

[PATCH 2/2] iommu/tegra: smmu: Use __debugfs_create_dir

2012-08-08 Thread Hiroshi Doyu
The commit c3b1a35 debugfs: make sure that debugfs_create_file() gets used only for regulars doesn't allow to use debugfs_create_file() for dir. Use the version with data, __debugfs_create_dir(). Signed-off-by: Hiroshi Doyu hd...@nvidia.com Reported-by: Laxman Dewangan ldewan...@nvidia.com ---

[PATCH] x86: set fpmath to 387 to avoid gcc warnings

2012-08-08 Thread Dragos Tatulea
If gcc has a different default fpmath set (ex: sse), many unuseful warnings will be spewed. This can affect out of tree modules that compile with -Werror (ex: systemtap stp scripts). Be paranoid and add -msoft-float as well to try to get an error if FP instructions are generated at all.

[PATCH] x86: set fpmath to 387 to avoid gcc warnings

2012-08-08 Thread Dragos Tatulea
If gcc has a different default fpmath set (ex: sse), many unuseful warnings will be spewed. This can affect out of tree modules that compile with -Werror (ex: systemtap stp scripts). Be paranoid and add -msoft-float as well to try to get an error if FP instructions are generated at all.

Re: [PATCH] x86: set fpmath to 387 to avoid gcc warnings

2012-08-08 Thread Tatulea, Dragos
On Wed, Aug 8, 2012 at 9:27 AM, Dragos Tatulea dragos.tatu...@intel.com wrote: If gcc has a different default fpmath set (ex: sse), many unuseful warnings will be spewed. This can affect out of tree modules that compile with -Werror (ex: systemtap stp scripts). Be paranoid and add

Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-08 Thread Eric Dumazet
On Wed, 2012-08-08 at 08:17 +0200, Willy Tarreau wrote: Well, if the drivers provided with the kernel don't work out of the box anymore, maybe we should also move them to a separate repository. All it is going to do otherwise is to cause invalid bug reports because users don't understand

Re: question on devm_kfree

2012-08-08 Thread Lars-Peter Clausen
On 08/08/2012 07:56 AM, Venu Byravarasu wrote: As per comments related to devm_kzalloc, memory allocated using it is freed automatically. However there is a function called devm_kfree, comment section of which says that it is used to free memory allocated using devm_kzalloc(). If memory

RE: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-08 Thread Kukjin Kim
Thierry Reding wrote: On Wed, Aug 08, 2012 at 09:54:13AM +0900, Kukjin Kim wrote: diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat- samsung/Kconfig index 7aca31c..dcdfb77 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -403,7 +403,7 @@

Re: [PATCH 1/3] dma-fence: dma-buf synchronization (v7)

2012-08-08 Thread Sumit Semwal
Hi Maarten, On 8 August 2012 00:17, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Op 07-08-12 19:53, Maarten Lankhorst schreef: A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device.

RE: question on devm_kfree

2012-08-08 Thread Venu Byravarasu
-Original Message- From: Lars-Peter Clausen [mailto:l...@metafoo.de] Sent: Wednesday, August 08, 2012 12:00 PM To: Venu Byravarasu Cc: linux-kernel@vger.kernel.org Subject: Re: question on devm_kfree On 08/08/2012 07:56 AM, Venu Byravarasu wrote: As per comments related to

[PATCH] iio/adjd_s311: Fix potential memory leak in adjd_s311_update_scan_mode()

2012-08-08 Thread Alexey Khoroshilov
Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- drivers/iio/light/adjd_s311.c | 14 ++ 1 file changed, 10 insertions(+), 4

Q: diskstats for MD-RAID

2012-08-08 Thread Ulrich Windl
Hello! I have a question based on the SLES11 SP1 kernel (2.6.32.59-0.3-default): In /proc/diskstats the last four values seem to be zero for md-Devices. So %util, await, and svctm from sar are always reported as zero. Ist this a bug or a feature? I'm tracing a fairness problem resulting from an

RE: [PATCH v2] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-08 Thread Virupax SADASHIVPETIMATH
-Original Message- From: Alan Stern [mailto:st...@rowland.harvard.edu] Sent: Tuesday, August 07, 2012 11:17 PM To: Virupax SADASHIVPETIMATH Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org; linus.wall...@linaro.org; Praveena

[PATCH v3] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-08 Thread Virupax Sadashivpetimath
In case of USB bulk transfer, when himem page is received, the usb_sg_init function sets the urb transfer buffer to NULL. When such URB transfer is handled, kernel crashes in PIO mode. Handle this by mapping the highmem buffer in PIO mode. Signed-off-by: Virupax Sadashivpetimath

Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-08 Thread Willy Tarreau
Hi Eric, On Wed, Aug 08, 2012 at 08:27:52AM +0200, Eric Dumazet wrote: On Wed, 2012-08-08 at 08:17 +0200, Willy Tarreau wrote: Well, if the drivers provided with the kernel don't work out of the box anymore, maybe we should also move them to a separate repository. All it is going to

Re: [PATCH] ARM: SAMSUNG: Fix compilation error with s3c2410_defconfig

2012-08-08 Thread Thierry Reding
On Wed, Aug 08, 2012 at 03:30:32PM +0900, Kukjin Kim wrote: Thierry Reding wrote: On Wed, Aug 08, 2012 at 09:54:13AM +0900, Kukjin Kim wrote: diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat- samsung/Kconfig index 7aca31c..dcdfb77 100644 ---

Re: [PATCH 2/2] ARM: only build ssi-fiq.S et al if CONFIG_SND_IMX_SOC_PCM_FIQ is selected

2012-08-08 Thread Sascha Hauer
On Tue, Aug 07, 2012 at 05:45:14PM -0500, Matt Sealey wrote: Further to the previous patch, a custom configuration may be used based on the imx_v6_v7_defconfig which removes the board depending on the audio driver pulling this support code. However, since it is built dependent on

[PATCH] i2c: i2c-ocores: Use devm_request_and_ioremap()

2012-08-08 Thread Thierry Reding
Replacing the devm_request_mem_region() and devm_ioremap_nocache() calls by a single call to devm_request_and_ioremap() simplifies the code. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- drivers/i2c/busses/i2c-ocores.c | 15 +++ 1 file changed, 3 insertions(+),

Re: [PATCH 1/2] ARM: build ssi-fiq.S in ARM mode to prevent CONFIG_THUMB2_KERNEL build breakage

2012-08-08 Thread Sascha Hauer
On Tue, Aug 07, 2012 at 05:45:13PM -0500, Matt Sealey wrote: If i.MX SSI FIQ support is enabled then it is impossible to build a Thumb2 kernel image due to the code not being written with Thumb2 in mind (over-use of registers). In order not to break Thumb2 kernels, compile this as ARM. All the

Re: [PATCH 3/9] [media] mx1_camera: Don't use {en,dis}able_fiq() calls

2012-08-08 Thread Sascha Hauer
On Sun, Aug 05, 2012 at 04:03:33PM -0700, Anton Vorontsov wrote: The driver uses platform-specific mxc_set_irq_fiq() with the VIRQ cookie passed to it, so it's pretty clear that the driver is absolutely sure that the FIQ is routed via platform-specific IC, and that the cookie can be used to

Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-08 Thread Sascha Hauer
On Sun, Aug 05, 2012 at 04:03:34PM -0700, Anton Vorontsov wrote: The driver uses platform-specific mxc_set_irq_fiq() with the VIRQ cookie passed to it, so it's pretty clear that the driver is absolutely sure that the FIQ is routed via platform-specific IC, and that the cookie can be used to

Re: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-08 Thread Daniel Mack
On 08.08.2012 07:19, AnilKumar, Chimata wrote: Hi Mack, Call me Daniel :) On Wed, Aug 08, 2012 at 00:19:01, Daniel Mack wrote: On 06.08.2012 12:45, AnilKumar, Chimata wrote: On Sun, Aug 05, 2012 at 21:48:42, Daniel Mack wrote: On 30.07.2012 09:36, Daniel Mack wrote: This patch adds logic

Re: [BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5

2012-08-08 Thread Peiyong Feng
2012/8/8 Lukasz Majewski l.majew...@samsung.com: Dear Peiyong Feng, Please enable the debug at s3c-hsotg.c driver and then paste the dmesg/debug output. I have defined DEGUG in s3c-hsotg.c Thank you for 2.6.36 log. I'd also need the log from 3.6-rc1 kernel with DEBUG enabled. I have made

Re: [PATCH] bnx2: update bnx2-mips-09 firmware to bnx2-mips-09-6.2.1b

2012-08-08 Thread Eric Dumazet
On Wed, 2012-08-08 at 08:49 +0200, Willy Tarreau wrote: Hi Eric, On Wed, Aug 08, 2012 at 08:27:52AM +0200, Eric Dumazet wrote: On Wed, 2012-08-08 at 08:17 +0200, Willy Tarreau wrote: Well, if the drivers provided with the kernel don't work out of the box anymore, maybe we should

[PATCH 2/3] ARM: dt: tegra: cardhu: split dts file for support multiple board versions

2012-08-08 Thread Laxman Dewangan
There is multiple version of cardhu starting from A01 to A07. Cardhu A01 and A03 are not supported. Cardhu A02 will have different sets of GPIOs for fixed regulator compare to cardhu A04. The Cardhu A05, A06, A07 are compatibe with A04. Based on cardhu version, the related dts file need to be

[PATCH 1/3] ARM: dt: tegra: cardhu: add entry for PMIC TPS65911.

2012-08-08 Thread Laxman Dewangan
Tegra30 based platform cardhu have the power management IC TPS65911 for the regulator. Adding DT entry for this device. Data are chosen from downstream kernel and making the voltage output as require by default for device to operate. The default interrupt line is HIGH from PMIC device and so

[PATCH 3/3] ARM: tegra: cardhu: add dt entry for fixed regulators

2012-08-08 Thread Laxman Dewangan
Cadhu have multiple power rails which are controlled by GPIOs. Add support of these power rail control through fixed regulators. Add entry for all fixed regulators for cardhu-a02 and a04. The details are taken from downstream kernel. Also add the tps65910-LDO5 entry and make it always ON to suppy

[PATCH 0/3] ARM: dt: tegra: cardhu: add entry for regulators

2012-08-08 Thread Laxman Dewangan
This patch series add the PMIC and fixed regulators for cardhu board. There is multiple versions of cardhu baord named as A01, A02, A03..and so on. Cardhu A01 and A03 are not supported. Cardhu A02 and A04 have different sets of GPIO for regualtors. The cardhu A04 is compatible for A05, A06 and

[PATCH] i2c-i801: Add device tree support

2012-08-08 Thread Thierry Reding
This commit adds support for probing slave devices parsed from the device tree. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- drivers/i2c/busses/i2c-i801.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c

Re: [PATCH 3/4] cpu: export cpu hotplug disable/enable functions as global functions

2012-08-08 Thread Zhao Chenhui
On Wed, Aug 08, 2012 at 11:43:22AM +0530, Srivatsa S. Bhat wrote: On 08/07/2012 11:21 PM, Kumar Gala wrote: On Aug 7, 2012, at 3:43 AM, Zhao Chenhui wrote: The cpufreq driver of mpc85xx will disable/enable cpu hotplug temporarily. Therefore, the related functions should be exported.

Re: [PATCH] cdc-phonet: Don't leak in usbpn_open

2012-08-08 Thread Rémi Denis-Courmont
Le mercredi 8 août 2012 00:56:26 Jesper Juhl, vous avez écrit : We allocate memory for 'req' with usb_alloc_urb() and then test 'if (!req || rx_submit(pnd, req, GFP_KERNEL | __GFP_COLD))'. If we enter that branch due to '!req' then there is no problem. But if we enter the branch due to 'req'

Re: [PATCH] iio/adjd_s311: Fix potential memory leak in adjd_s311_update_scan_mode()

2012-08-08 Thread Peter Meerwald
Do not leak memory by updating pointer with potentially NULL realloc return value. I agree use of krealloc() was suggested in driver review (see http://www.spinics.net/lists/linux-iio/msg05930.html) to shorten the code; unfortunately, I misunderstood the semantics of krealloc() in case

Re: mq: INFO: possible circular locking dependency detected

2012-08-08 Thread Fengguang Wu
On Tue, Aug 07, 2012 at 07:39:55AM +0100, Al Viro wrote: On Tue, Aug 07, 2012 at 01:04:12PM +0800, Fengguang Wu wrote: FYI, here is a different back trace on that commit. [3.255043] == [3.255052] [ INFO: possible circular

Re: [PATCH v2] xfs: check for possible overflow in xfs_ioc_trim

2012-08-08 Thread Lukáš Czerner
On Wed, 1 Aug 2012, Tomas Racek wrote: Date: Wed, 1 Aug 2012 15:45:37 +0200 From: Tomas Racek tra...@redhat.com To: linux-...@vger.kernel.org Cc: lczer...@redhat.com, Tomas Racek tra...@redhat.com, Ben Myers b...@sgi.com, Alex Elder el...@kernel.org, supporter:XFS FILESYSTEM

Re: [PATCH 0/4] perf: Teach perf tool to profile sleep times (v2)

2012-08-08 Thread Andrey Wagin
2012/8/8 Namhyung Kim namhy...@kernel.org: On Wed, 8 Aug 2012 09:02:18 +0400, Andrey Wagin wrote: 2012/8/8 Namhyung Kim namhy...@kernel.org: $ ./perf record -e sched:sched_stat_sleep -e sched:sched_switch \ -e sched:sched_process_exit -gP -o ~/perf.data.raw ~/foo Actually this

Re: [PATCH] iio/adjd_s311: Fix potential memory leak in adjd_s311_update_scan_mode()

2012-08-08 Thread Lars-Peter Clausen
On 08/08/2012 09:17 AM, Peter Meerwald wrote: Do not leak memory by updating pointer with potentially NULL realloc return value. I agree use of krealloc() was suggested in driver review (see http://www.spinics.net/lists/linux-iio/msg05930.html) to shorten the code; unfortunately, I

Re: [PATCH 1/1] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

2012-08-08 Thread Lee Jones
Restating my comment elsewhere... why do we even need to do this in _get_virq() - I'd *really* expect this to be handled by the irq domain code. Okay, so I've just spent a small amount of time looking at this. I think the best place for this would be in *_get_virq(), using the same logic

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-08 Thread Bart Van Assche
On 08/08/12 03:42, Chanho Min wrote: Thank you for the explanation. It look correct. Let's check one more thing. What If __scsi_remove_device doesn't release device? : reference count is more than 2. So We lost starved_list but device is exist. Is there any issue about this? As far as I can

[PATCH RESEND 1/2] i2c: pnx: Fix bit definitions

2012-08-08 Thread Roland Stigge
The I2C Control Register bits RFDAIE and RFFIE were mixed up. In addition to this fix, this patch adds the missing bit DRSIE for completeness. Signed-off-by: Roland Stigge sti...@antcom.de --- Applies to v3.6-rc1 This patch for i2c-pnx affects PNX4008 and LPC32xx (and LPC31xx, not yet in

[PATCH RESEND 2/2] i2c: pnx: Fix read transactions of = 2 bytes

2012-08-08 Thread Roland Stigge
On transactions with n=2 bytes, the controller actually wrongly clocks in n+1 bytes. This is caused by the (wrong) assumption that RFE in the Status Register is 1 iff there is no byte already ordered (via a dummy TX byte). This lead to the implementation of synchronized byte ordering, e.g.:

how to vm_munmap memory range for other processes?

2012-08-08 Thread Richard Zhao
Hi Al, I saw two commits from you in git tree: 17d1587 unexport do_munmap() bfce281 kill mm argument of vm_munmap() They remove the mm arguments, so it look like impossible to unmap memory of other processes except current. I have a kernel module that needs to unmap memory for certain pid. Do

<    2   3   4   5   6   7   8   9   10   11   >