Patch gpio: mpc8xxx: Prevent NULL pointer deref in demux handler has been added to the 3.3-stable tree

2012-05-25 Thread gregkh
This is a note to let you know that I've just added the patch titled gpio: mpc8xxx: Prevent NULL pointer deref in demux handler to the 3.3-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch nouveau: nouveau_set_bo_placement takes TTM flags has been added to the 3.3-stable tree

2012-05-25 Thread gregkh
This is a note to let you know that I've just added the patch titled nouveau: nouveau_set_bo_placement takes TTM flags to the 3.3-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch xen: do not map the same GSI twice in PVHVM guests. has been added to the 3.3-stable tree

2012-05-25 Thread gregkh
This is a note to let you know that I've just added the patch titled xen: do not map the same GSI twice in PVHVM guests. to the 3.3-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch spi/spi-fsl-spi: reference correct pdata in has been added to the 3.3-stable tree

2012-05-25 Thread gregkh
This is a note to let you know that I've just added the patch titled spi/spi-fsl-spi: reference correct pdata in to the 3.3-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Re: [PATCH] x86, realmode: 16-bit real-mode code support for relocs tool

2012-05-25 Thread Greg KH
On Fri, May 25, 2012 at 08:44:43AM +0300, Jarkko Sakkinen wrote: From: H. Peter Anvin h...@linux.intel.com A new option is added to the relocs tool called '--realmode'. This option causes the generation of 16-bit segment relocations and 32-bit linear relocations for the real-mode code. When

FAILED: patch [PATCH] [media] s5p-fimc: Fix locking in subdev set_crop op failed to apply to 3.3-stable tree

2012-05-25 Thread gregkh
The patch below does not apply to the 3.3-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to stable@vger.kernel.org. thanks, greg k-h -- original commit in Linus's tree

Patch media: uvcvideo: Fix ENUMINPUT handling has been added to the 3.4-stable tree

2012-05-25 Thread gregkh
This is a note to let you know that I've just added the patch titled media: uvcvideo: Fix ENUMINPUT handling to the 3.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Patch [media] smsusb: add autodetection support for USB ID 2040:c0a0 has been added to the 3.4-stable tree

2012-05-25 Thread gregkh
This is a note to let you know that I've just added the patch titled [media] smsusb: add autodetection support for USB ID 2040:c0a0 to the 3.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch

Patch [media] smsusb: add autodetection support for USB ID 2040:c0a0 has been added to the 3.0-stable tree

2012-05-25 Thread gregkh
This is a note to let you know that I've just added the patch titled [media] smsusb: add autodetection support for USB ID 2040:c0a0 to the 3.0-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch

[PATCH] hw_random: atmel-rng: fix race condition leading to repeated bits

2012-05-25 Thread Peter Korsgaard
Data valid gets cleared by reading the ISR (status register) and NOT from reading ODATA (data register). A new data word can become available between checking ISR and reading ODATA, causing us to reuse the same data word next time atmel_trng_read() gets called, if that happens before the following

Re: [PATCH] hw_random: atmel-rng: fix race condition leading to repeated bits

2012-05-25 Thread Nicolas Ferre
On 05/25/2012 11:12 AM, Peter Korsgaard : Data valid gets cleared by reading the ISR (status register) and NOT from reading ODATA (data register). A new data word can become available between checking ISR and reading ODATA, causing us to reuse the same data word next time atmel_trng_read()

Re: [PATCH] hw_random: atmel-rng: fix race condition leading to repeated bits

2012-05-25 Thread Peter Korsgaard
Nicolas == Nicolas Ferre nicolas.fe...@atmel.com writes: Hi, Nicolas What about a single read to ISR like this: Nicolas tmp = readl(trng-base + TRNG_ODATA); Nicolas if (readl(trng-base + TRNG_ISR) 1) { Nicolas *data = tmp; Nicolas return 4; Nicolas } else { Nicolas

[PATCH] x86, realmode: 16-bit real-mode code support for relocs tool

2012-05-25 Thread Jarkko Sakkinen
From: H. Peter Anvin h...@linux.intel.com A new option is added to the relocs tool called '--realmode'. This option causes the generation of 16-bit segment relocations and 32-bit linear relocations for the real-mode code. When the real-mode code is moved to the low-memory during kernel

Re: [PATCH] x86, realmode: 16-bit real-mode code support for relocs tool

2012-05-25 Thread Jarkko Sakkinen
On Fri, 25 May 2012, Greg KH wrote: On Fri, May 25, 2012 at 08:44:43AM +0300, Jarkko Sakkinen wrote: From: H. Peter Anvin h...@linux.intel.com A new option is added to the relocs tool called '--realmode'. This option causes the generation of 16-bit segment relocations and 32-bit linear

Re: FAILED: patch [PATCH] iommu: Fix off by one in dmar_get_fault_reason() failed to apply to 3.3-stable tree

2012-05-25 Thread Ben Hutchings
On Thu, May 24, 2012 at 10:05:43AM -0700, gre...@linuxfoundation.org wrote: The patch below does not apply to the 3.3-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to

[PATCH 2/2] mtd mxc_nand: move ecc strengh setup before nand_scan_tail

2012-05-25 Thread Sascha Hauer
Since this commit: commit 6a918bade9dab40aaef80559bd1169c69e8d69cb Author: Mike Dunn miked...@newsguy.com Date: Sun Mar 11 14:21:11 2012 -0700 mtd: flash drivers set ecc strength The mxc_nand driver fails with: Driver must set ecc.strength when using hardware ECC This is because

[STABLE PATCH] ARM: 7409/1: Do not call flush_cache_user_range with mmap_sem held

2012-05-25 Thread Will Deacon
From: Dima Zavin d...@android.com commit 435a7ef52db7d86e67a009b36cac1457f8972391 upstream We can't be holding the mmap_sem while calling flush_cache_user_range because the flush can fault. If we fault on a user address, the page fault handler will try to take mmap_sem again. Since both places

Re: [PATCH 2/2] mtd mxc_nand: move ecc strengh setup before nand_scan_tail

2012-05-25 Thread Artem Bityutskiy
On Fri, 2012-05-25 at 16:22 +0200, Sascha Hauer wrote: Since this commit: commit 6a918bade9dab40aaef80559bd1169c69e8d69cb Author: Mike Dunn miked...@newsguy.com Date: Sun Mar 11 14:21:11 2012 -0700 mtd: flash drivers set ecc strength The mxc_nand driver fails with:

Re: [PATCH 2/2] mtd mxc_nand: move ecc strengh setup before nand_scan_tail

2012-05-25 Thread Mike Dunn
On 05/25/2012 07:22 AM, Sascha Hauer wrote: Since this commit: commit 6a918bade9dab40aaef80559bd1169c69e8d69cb Author: Mike Dunn miked...@newsguy.com Date: Sun Mar 11 14:21:11 2012 -0700 mtd: flash drivers set ecc strength The mxc_nand driver fails with: Driver must set

Re: Patch xhci: Avoid dead ports when CONFIG_USB_XHCI_HCD=n has been added to the 3.0-stable tree

2012-05-25 Thread Sarah Sharp
On Fri, May 25, 2012 at 03:45:03PM +0900, Greg KH wrote: On Fri, May 25, 2012 at 04:35:34AM +0900, gre...@linuxfoundation.org wrote: This is a note to let you know that I've just added the patch titled xhci: Avoid dead ports when CONFIG_USB_XHCI_HCD=n to the 3.0-stable tree

Re: [PATCH] tmpfs not interleaving properly

2012-05-25 Thread Nathan Zimmer
On Wed, May 23, 2012 at 03:20:11PM -0700, Andrew Morton wrote: On Wed, 23 May 2012 13:28:21 + Nathan Zimmer nzim...@sgi.com wrote: When tmpfs has the memory policy interleaved it always starts allocating at each file at node 0. When there are many small files the lower nodes fill

Re: [Xen-devel] swap: don't do discard if no discard option added

2012-05-25 Thread William Dauchy
On Thu, May 24, 2012 at 8:50 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Now applied to the 3.3.x tree, thanks. Thanks. Ben, do you plan to apply it on top of the 3.2.x tree? Regards, -- William -- To unsubscribe from this list: send the line unsubscribe stable in the body of a

Patch Upstream: mmc: sdio: avoid spurious calls to interrupt handlers

2012-05-25 Thread Gregs git-bot
commit: bbbc4c4d8c5face097d695f9bf3a39647ba6b7e7 From: Nicolas Pitre nicolas.pi...@linaro.org Date: Mon, 16 Apr 2012 19:16:54 -0400 Subject: mmc: sdio: avoid spurious calls to interrupt handlers Commit 06e8935feb (optimized SDIO IRQ handling for single irq) introduced some spurious calls to SDIO

Patch Upstream: mmc: cd-gpio: protect against NULL context in mmc_cd_gpio_free()

2012-05-25 Thread Gregs git-bot
commit: 0e9f480bb553d39ee06ccd45639ba7a5446a7b81 From: Guennadi Liakhovetski g.liakhovet...@gmx.de Date: Tue, 24 Apr 2012 17:56:29 +0200 Subject: mmc: cd-gpio: protect against NULL context in mmc_cd_gpio_free() Do not oops, even if mmc_cd_gpio_free() is mistakenly called on a driver cleanup path,

Patch Upstream: mmc: omap_hsmmc: pass IRQF_ONESHOT to request_threaded_irq

2012-05-25 Thread Gregs git-bot
commit: db35f83ef47b5f180f2670d11f5f93992314ea09 From: Ming Lei ming@canonical.com Date: Thu, 17 May 2012 10:27:12 +0800 Subject: mmc: omap_hsmmc: pass IRQF_ONESHOT to request_threaded_irq The flag of IRQF_ONESHOT should be passed to request_threaded_irq, otherwise the following failure

[PATCH] MIPS: Properly align the .data..init_task section.

2012-05-25 Thread David Daney
From: David Daney david.da...@cavium.com Improper alignment can lead to unbootable systems and/or random crashes. Signed-off-by: David Daney david.da...@cavium.com Cc: stable@vger.kernel.org --- arch/mips/include/asm/thread_info.h |4 ++-- arch/mips/kernel/vmlinux.lds.S |3 ++- 2

Patch Upstream: intel-iommu: Add device info into list before doing context mapping

2012-05-25 Thread Gregs git-bot
commit: e2ad23d04c1304431ab5176c89b7b476ded2d995 From: David Woodhouse dw...@infradead.org Date: Fri, 25 May 2012 17:42:54 +0100 Subject: intel-iommu: Add device info into list before doing context mapping Add device info into list before doing context mapping, because device info will be used by

Patch Upstream: MCE: Fix vm86 handling for 32bit mce handler

2012-05-25 Thread Gregs git-bot
commit: a129a7c84582629741e5fa6f40026efcd7a65bd4 From: Andi Kleen a...@firstfloor.org Date: Fri, 19 Nov 2010 13:16:22 +0100 Subject: MCE: Fix vm86 handling for 32bit mce handler When running on 32bit the mce handler could misinterpret vm86 mode as ring 0. This can affect whether it does recovery

Patch Upstream: tile: fix bug where fls(0) was not returning 0

2012-05-25 Thread Gregs git-bot
commit: 9f1d62bed7f015d11b9164078b7fea433b474114 From: Chris Metcalf cmetc...@tilera.com Date: Fri, 25 May 2012 12:32:09 -0400 Subject: tile: fix bug where fls(0) was not returning 0 This is because __builtin_clz(0) returns 64 for the undefined case of 0, since the builtin just does a right-shift

Patch Upstream: x86/mce: Fix check for processor context when machine check was taken.

2012-05-25 Thread Gregs git-bot
commit: 875e26648cf9b6db9d8dc07b7959d7c61fb3f49c From: Tony Luck tony.l...@intel.com Date: Wed, 23 May 2012 14:14:22 -0700 Subject: x86/mce: Fix check for processor context when machine check was taken. Linus pointed out that there was no value is checking whether m-ip was zero - because zero is