Re: [PATCH] usb: gadget: fix NULL pointer dereference

2014-02-18 Thread Andrzej Pietrasiewicz
W dniu 18.02.2014 17:40, Felipe Balbi pisze: On Fri, Jan 17, 2014 at 05:04:55PM +0100, Michal Nazarewicz wrote: On Thu, Jan 16 2014, Andrzej Pietrasiewicz wrote: Fix possible NULL pointer dereference introduced in 219580e64f035bb9018dbb08d340f90b0ac50f8c usb: f_fs: check quirk to pad epout buf

[PATCH 1/1] usb: chipidea: need to mask when writting endptflush and endptprime

2014-02-18 Thread Peter Chen
From: Matthieu CASTET ENDPTFLUSH and ENDPTPRIME registers are set by software and clear by hardware. There is a bit for each endpoint. When we are setting a bit for an endpoint we should make sure we do not touch other endpoint bit. There is a race condition if the hardware clear the bit between

Re: [PATCH 3.13 00/40] 3.13.4-stable review

2014-02-18 Thread Guenter Roeck
On Tue, Feb 18, 2014 at 02:47:01PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.13.4 release. > There are 40 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH] ARM: tegra: only run PL310 init on systems with one

2014-02-18 Thread Olof Johansson
On Tue, Feb 18, 2014 at 04:51:58PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Fix tegra_init_cache() to check whether the system has a PL310 cache > before touching the PL310 registers. This prevents access to non-existent > registers on Tegra114 and later. > > Note for stable kerne

Re: [PATCH 3.12 00/32] 3.12.12-stable review

2014-02-18 Thread Guenter Roeck
On Tue, Feb 18, 2014 at 02:47:00PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.12.12 release. > There are 32 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 3.10 00/26] 3.10.31-stable review

2014-02-18 Thread Guenter Roeck
On 02/18/2014 02:46 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.31 release. There are 26 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH 3.4 00/24] 3.4.81-stable review

2014-02-18 Thread Guenter Roeck
On 02/18/2014 02:46 PM, Greg Kroah-Hartman wrote: Many thanks to Li Zefan for digging up a bunch of these patches, that work is much appreciated. This is the start of the stable review cycle for the 3.4.81 release. There are 24 patches in this series, all will be posted as a response to this one

Re: [PATCH wq/for-3.14-fixes] workqueue: ensure @task is valid across kthread_stop()

2014-02-18 Thread Lai Jiangshan
On 02/19/2014 05:37 AM, Tejun Heo wrote: > Hello, Lai. > > I massaged the patch a bit and applied it to wq/for-3.14-fixes. > > Thanks. > 8< >>From 5bdfff96c69a4d5ab9c49e60abf9e070ecd2acbb Mon Sep 17 00:00:00 2001 > From: Lai Jiangshan > Date: Sat, 15 Feb 2014 22:02:28 +0800 >

Re: [PATCH] regulator: core bugfix: Use normal enable for always_on regulators

2014-02-18 Thread Mark Brown
On Tue, Feb 18, 2014 at 10:40:07PM +0100, Markus Pargmann wrote: > On Tue, Feb 18, 2014 at 09:14:20AM +0900, Mark Brown wrote: > > I don't understand this. Why is this called _no_delay() and why don't > > we want to delay when applying constraints? We don't want to ever be in > > a position wher

Re: [3.4.x] a bunch of bug fixes

2014-02-18 Thread Li Zefan
On 2014/2/19 8:15, Ben Hutchings wrote: > On Tue, 2014-02-18 at 15:37 +0800, Li Zefan wrote: >> Hi Greg, >> >> We've started to analize the list of upstream commits that have been >> backported to 3.2 but missing from 3.4. >> >> For the 18 commits that I've analized, >> - 4 commits have been backp

Re: [3.4.x] a bunch of bug fixes

2014-02-18 Thread Ben Hutchings
On Tue, 2014-02-18 at 15:37 +0800, Li Zefan wrote: > Hi Greg, > > We've started to analize the list of upstream commits that have been > backported to 3.2 but missing from 3.4. > > For the 18 commits that I've analized, > - 4 commits have been backported to 3.4. My script failed to detect them.

Re: [PATCH RESEND] ARM: imx6: build pm-imx6q.c independently of CONFIG_PM

2014-02-18 Thread Olof Johansson
On Tue, Feb 18, 2014 at 10:35:05AM +0800, Shawn Guo wrote: > When building a kernel image with only CONFIG_CPU_IDLE but no CONFIG_PM, > we will get the following link error. > > LD init/built-in.o > arch/arm/mach-imx/built-in.o: In function `imx6q_enter_wait': > platform-spi_imx.c:(.text+0x

[PATCH] ARM: tegra: only run PL310 init on systems with one

2014-02-18 Thread Stephen Warren
From: Stephen Warren Fix tegra_init_cache() to check whether the system has a PL310 cache before touching the PL310 registers. This prevents access to non-existent registers on Tegra114 and later. Note for stable kernels: In <= v3.12, the file to patch is arch/arm/mach-tegra/common.c. Cc: # v3

[PATCH 3.14 1/3] mwifiex: clean pcie ring only when device is present

2014-02-18 Thread Bing Zhao
From: Avinash Patil Write io memory to clean PCIe buffer only when PCIe device is present else this results into crash because of invalid memory access. Cc: # 3.9+ Signed-off-by: Avinash Patil Signed-off-by: Bing Zhao --- drivers/net/wireless/mwifiex/wmm.c | 3 ++- 1 file changed, 2 insertio

[PATCH 3.14 3/3] mwifiex: fix cmd and Tx data timeout issue for PCIe cards

2014-02-18 Thread Bing Zhao
From: Amitkumar Karwar We are sending sleep confirm done interrupt in the middle of sleep handshake. There is a corner case when Tx done interrupt is received from firmware during sleep handshake due to which host and firmware power states go out of sync causing cmd and Tx data timeout problem.

[PATCH 3.14 2/3] mwifiex: add NULL check for PCIe Rx skb

2014-02-18 Thread Bing Zhao
From: Amitkumar Karwar We may get a NULL pointer here if skb allocation for Rx packet was failed earlier. Cc: # 3.9+ Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao --- drivers/net/wireless/mwifiex/pcie.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless

[PATCH 3.4 00/24] 3.4.81-stable review

2014-02-18 Thread Greg Kroah-Hartman
Many thanks to Li Zefan for digging up a bunch of these patches, that work is much appreciated. This is the start of the stable review cycle for the 3.4.81 release. There are 24 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied

[PATCH 3.4 12/24] ftrace: Fix synchronization location disabling and freeing ftrace_ops

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit a4c35ed241129dd142be4cadb1e5a474a56d5464 upstream. The synchronization needed after ftrace_ops are unregistered must happen after the callback is disabled from becing call

[PATCH 3.4 11/24] ftrace: Synchronize setting function_trace_op with ftrace_trace_function

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 405e1d834807e51b2ebd3dea81cb51e53fb61504 upstream. [ Partial commit backported to 3.4. The ftrace_sync() code by this is required for other fixes that 3.4 needs. ] ftra

[PATCH 3.4 10/24] dm sysfs: fix a module unload race

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 2995fa78e423d7193f3b57835f6c1c75006a0315 upstream. This reverts commit be35f48610 ("dm: wait until embedded kobject is released before destroying a device") and provides

[PATCH 3.4 01/24] SELinux: Fix kernel BUG on empty security contexts.

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Smalley commit 2172fa709ab32ca60e86179dc67d0857be8e2c98 upstream. Setting an empty security context (length=0) on a file will lead to incorrectly dereferencing the type and other fields

[PATCH 3.4 15/24] sched/nohz: Fix rq->cpu_load calculations some more

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 5aaa0b7a2ed5b12692c9ffb5222182bd558d3146 upstream. Follow up on commit 556061b00 ("sched/nohz: Fix rq->cpu_load[] calculations") since while that fixed the busy case it re

[PATCH 3.4 13/24] ftrace: Have function graph only trace based on global_ops filters

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 23a8e8441a0a74dd612edf81dc89d1600bc0a3d1 upstream. Doing some different tests, I discovered that function graph tracing, when filtered via the set_ftrace_filter and set_ft

[PATCH 3.4 21/24] Input: synaptics - handle out of bounds values from the hardware

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Seth Forshee commit c0394506e69b37c47d391c2a7bbea3ea236d8ec8 upstream. The touchpad on the Acer Aspire One D250 will report out of range values in the extreme lower portion of the touchpad. The

[PATCH 3.4 18/24] target/file: Re-enable optional fd_buffered_io=1 operation

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit b32f4c7ed85c5cee2a21a55c9f59ebc9d57a2463 upstream. This patch re-adds the ability to optionally run in buffered FILEIO mode (eg: w/o O_DSYNC) for device backends in or

[PATCH 3.4 16/24] IB/qib: Convert qib_user_sdma_pin_pages() to use get_user_pages_fast()

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 603e7729920e42b3c2f4dbfab9eef4878cb6e8fa upstream. qib_user_sdma_queue_pkts() gets called with mmap_sem held for writing. Except for get_user_pages() deep down in qib_user_sdma_

[PATCH 3.4 14/24] sched/nohz: Fix rq->cpu_load[] calculations

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 556061b00c9f2fd6a5524b6bde823ef12f299ecf upstream. While investigating why the load-balancer did funny I found that the rq->cpu_load[] tables were completely screwy.. a bi

[PATCH 3.4 17/24] target/file: Use O_DSYNC by default for FILEIO backends

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit a4dff3043c231d57f982af635c9d2192ee40e5ae upstream. Convert to use O_DSYNC for all cases at FILEIO backend creation time to avoid the extra syncing of pure timestamp up

[PATCH 3.4 23/24] lib/vsprintf.c: kptr_restrict: fix pK-error in SysRq show-all-timers(Q)

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Rosenberg commit 3715c5309f6d175c3053672b73fd4f73be16fd07 upstream. When using ALT+SysRq+Q all the pointers are replaced with "pK-error" like this: [23153.208033] .base:

[PATCH 3.4 24/24] nfs: tear down caches in nfs_init_writepagecache when allocation fails

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 3dd4765fce04c0b4af1e0bc4c0b10f906f95fabc upstream. ...and ensure that we tear down the nfs_commit_data cache too when unloading the module. Cc: Bryan Schumaker Signed-off-b

[PATCH 3.4 20/24] PM / Hibernate: Hibernate/thaw fixes/improvements

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Bojan Smojver commit 5a21d489fd9541a4a66b9a500659abaca1b19a51 upstream. 1. Do not allocate memory for buffers from emergency pools, unless absolutely required. Do not warn about and do not

[PATCH 3.4 22/24] virtio-blk: Use block layer provided spinlock

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Asias He commit 2c95a3290919541b846bee3e0fbaa75860929f53 upstream. Block layer will allocate a spinlock for the queue if the driver does not provide one in blk_init_queue(). The reason to use

[PATCH 3.4 02/24] mm: __set_page_dirty_nobuffers() uses spin_lock_irqsave() instead of spin_lock_irq()

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: KOSAKI Motohiro commit a85d9df1ea1d23682a0ed1e100e6965006595d06 upstream. During aio stress test, we observed the following lockdep warning. This mean AIO+numa_balancing is currently deadlocka

[PATCH 3.4 03/24] mm: __set_page_dirty uses spin_lock_irqsave instead of spin_lock_irq

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: KOSAKI Motohiro commit 227d53b397a32a7614667b3ecaf1d89902fb6c12 upstream. To use spin_{un}lock_irq is dangerous if caller disabled interrupt. During aio buffer migration, we have a possibility

[PATCH 3.4 05/24] printk: Fix scheduling-while-atomic problem in console_cpu_notify()

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" commit 85eae82a0855d49852b87deac8653e4ebc8b291f upstream. The console_cpu_notify() function runs with interrupts disabled in the CPU_DYING case. It therefore cannot block, f

[PATCH 3.4 04/24] x86, hweight: Fix BUG when booting with CONFIG_GCOV_PROFILE_ALL=y

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Oberparleiter commit 6583327c4dd55acbbf2a6f25e775b28b3abf9a42 upstream. Commit d61931d89b, "x86: Add optimized popcnt variants" introduced compile flag -fcall-saved-rdi for lib/hweight.c.

[PATCH 3.10 12/26] ALSA: usb-audio: Add missing kconfig dependecy

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4fa71c1550a857ff1dbfe9e99acc1f4cfec5f0d0 upstream. The commit 44dcbbb1cd61 introduced the usage of bitreverse helpers but forgot to add the dependency. This patch adds the

[PATCH 3.4 07/24] drm/i915: kick any firmware framebuffers before claiming the gtt

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 9f846a16d213523fbe6daea17e20df6b8ac5a1e5 upstream. Especially vesafb likes to map everything as uc- (yikes), and if that mapping hangs around still while we try to map the

[PATCH 3.10 01/26] SELinux: Fix kernel BUG on empty security contexts.

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Smalley commit 2172fa709ab32ca60e86179dc67d0857be8e2c98 upstream. Setting an empty security context (length=0) on a file will lead to incorrectly dereferencing the type and other field

[PATCH 3.10 13/26] ALSA: hda - Fix missing VREF setup for Mac Pro 1,1

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c20f31ec421ea4fabea5e95a6afd46c5f41e5599 upstream. Mac Pro 1,1 with ALC889A codec needs the VREF setup on NID 0x18 to VREF50, in order to make the speaker working. The sam

[PATCH 3.4 09/24] mm: setup pageblock_order before its used by sparsemem

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Xishi Qiu commit ca57df79d4f64e1a4886606af4289d40636189c5 upstream. On architectures with CONFIG_HUGETLB_PAGE_SIZE_VARIABLE set, such as Itanium, pageblock_order is a variable with default valu

[PATCH 3.10 14/26] ALSA: hda - Add missing mixer widget for AD1983

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c7579fed1f1b2567529aea64ef19871337403ab3 upstream. The mixer widget on AD1983 at NID 0x0e was missing in the commit [f2f8be43c5c9: ALSA: hda - Add aamix NID to AD codecs].

[PATCH 3.4 06/24] ext4: protect group inode free counting with group lock

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tao Ma commit 6f2e9f0e7d795214b9cf5a47724a273b705fd113 upstream. Now when we set the group inode free count, we don't have a proper group lock so that multiple threads may decrease the inode fr

[PATCH 3.10 16/26] mm: __set_page_dirty uses spin_lock_irqsave instead of spin_lock_irq

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: KOSAKI Motohiro commit 227d53b397a32a7614667b3ecaf1d89902fb6c12 upstream. To use spin_{un}lock_irq is dangerous if caller disabled interrupt. During aio buffer migration, we have a possibility

[PATCH 3.10 10/26] arm64: vdso: fix coarse clock handling

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Lynch commit 069b918623e1510e58dacf178905a72c3baa3ae4 upstream. When __kernel_clock_gettime is called with a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE clock id, it returns incorre

[PATCH 3.10 15/26] mm: __set_page_dirty_nobuffers() uses spin_lock_irqsave() instead of spin_lock_irq()

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: KOSAKI Motohiro commit a85d9df1ea1d23682a0ed1e100e6965006595d06 upstream. During aio stress test, we observed the following lockdep warning. This mean AIO+numa_balancing is currently deadlock

[PATCH 3.10 11/26] arm64: add DSB after icache flush in __flush_icache_all()

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Vinayak Kale commit 5044bad43ee573d0b6d90e3ccb7a40c2c7d25eb4 upstream. Add DSB after icache flush to complete the cache maintenance operation. The function __flush_icache_all() is used only fo

[PATCH 3.4 08/24] mm/page_alloc.c: remove pageblock_default_order()

2014-02-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Morton commit 955c1cd7401565671b064e499115344ec8067dfd upstream. This has always been broken: one version takes an unsigned int and the other version takes no arguments. This bug was hi

[PATCH 3.10 18/26] [media] af9035: add ID [2040:f900] Hauppauge WinTV-MiniStick 2

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Antti Palosaari commit f2e4c5e004691dfe37d0e4b363296f28abdb9bc7 upstream. Add USB ID [2040:f900] for Hauppauge WinTV-MiniStick 2. Device is build upon IT9135 chipset. Tested-by: Stefan Becker

[PATCH 3.10 17/26] x86: mm: change tlb_flushall_shift for IvyBridge

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit f98b7a772ab51b52ca4d2a14362fc0e0c8a2e0f3 upstream. There was a large performance regression that was bisected to commit 611ae8e3 ("x86/tlb: enable tlb flush range support for

[PATCH 3.10 02/26] Btrfs: disable snapshot aware defrag for now

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 8101c8dbf6243ba517aab58d69bf1bc37d8b7b9c upstream. It's just broken and it's taking a lot of effort to fix it, so for now just disable it so people can defrag in peace. Tha

[PATCH 3.10 21/26] pinctrl: vt8500: Change devicetree data parsing

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Tony Prisk commit f17248ed868767567298e1cdf06faf8159a81f7c upstream. Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for 'wm,pull' was not explicitly transl

[PATCH 3.10 20/26] x86, hweight: Fix BUG when booting with CONFIG_GCOV_PROFILE_ALL=y

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Peter Oberparleiter commit 6583327c4dd55acbbf2a6f25e775b28b3abf9a42 upstream. Commit d61931d89b, "x86: Add optimized popcnt variants" introduced compile flag -fcall-saved-rdi for lib/hweight.c

[PATCH 3.10 22/26] pinctrl: protect pinctrl_list add

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit 7b320cb1ed2dbd2c5f2a778197baf76fd6bf545a upstream. We have few fedora bug reports about list corruption on pinctrl, for example: https://bugzilla.redhat.com/show_bug.c

[PATCH 3.10 24/26] IB/qib: Convert qib_user_sdma_pin_pages() to use get_user_pages_fast()

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 603e7729920e42b3c2f4dbfab9eef4878cb6e8fa upstream. qib_user_sdma_queue_pkts() gets called with mmap_sem held for writing. Except for get_user_pages() deep down in qib_user_sdma

[PATCH 3.10 23/26] mm/memory-failure.c: fix memory leak in successful soft offlining

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit f15bdfa802bfa5eb6b4b5a241b97ec9fa1204a35 upstream. After a successful page migration by soft offlining, the source page is not properly freed and it's never reusable eve

[PATCH 3.10 03/26] crypto: s390 - fix concurrency issue in aes-ctr mode

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Harald Freudenberger commit 0519e9ad89e5cd6e6b08398f57c6a71d9580564c upstream. The aes-ctr mode uses one preallocated page without any concurrency protection. When multiple threads run aes-ctr

[PATCH 3.10 26/26] mm: fix process accidentally killed by mce because of huge page migration

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Xishi Qiu Based on c8721bbbdd36382de51cd6b7a56322e0acca2414 upstream, but only the bugfix portion pulled out. Hi Naoya or Greg, We found a bug in 3.10.x. The problem is that we accidentally h

[PATCH 3.10 05/26] crypto: s390 - fix des and des3_ede ctr concurrency issue

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Harald Freudenberger commit ee97dc7db4cbda33e4241c2d85b42d1835bc8a35 upstream. In s390 des and 3des ctr mode there is one preallocated page used to speed up the en/decryption. This page is not

[PATCH 3.10 25/26] intel_pstate: Take core C0 time into account for core busy calculation

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dirk Brandewie commit fcb6a15c2e7e76d493e6f91ea889ab40e1c643a4 upstream. Take non-idle time into account when calculating core busy time. This ensures that intel_pstate will notice a decrease

[PATCH 3.10 04/26] crypto: s390 - fix des and des3_ede cbc concurrency issue

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Harald Freudenberger commit adc3fcf1552b6e406d172fd9690bbd1395053d13 upstream. In s390 des and des3_ede cbc mode the iv value is not protected against concurrency access and modifications from

[PATCH 3.10 09/26] arm64: Invalidate the TLB when replacing pmd entries during boot

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit a55f9929a9b257f84b6cc7b2397379cabd744a22 upstream. With the 64K page size configuration, __create_page_tables in head.S maps enough memory to get started but using 64K p

[PATCH 3.10 06/26] irqchip: armada-370-xp: fix IPI race condition

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Lior Amsalem commit a6f089e95b1e08cdea9633d50ad20aa5d44ba64d upstream. In the Armada 370/XP driver, when we receive an IRQ 0, we read the list of doorbells that caused the interrupt from regis

[PATCH 3.10 08/26] arm64: vdso: prevent ld from aligning PT_LOAD segments to 64k

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 40507403485fcb56b83d6ddfc954e9b08305054c upstream. Whilst the text segment for our VDSO is marked as PT_LOAD in the ELF headers, it is mapped by the kernel and not actually

[PATCH 3.10 07/26] arm64: vdso: update wtm fields for CLOCK_MONOTONIC_COARSE

2014-02-18 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Lynch commit d4022a335271a48cce49df35d825897914fbffe3 upstream. Update wall-to-monotonic fields in the VDSO data page unconditionally. These are used to service CLOCK_MONOTONIC_COARSE,

[PATCH 3.10 00/26] 3.10.31-stable review

2014-02-18 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.31 release. There are 26 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Feb 20 22:45:20 UTC 2014. Anything receiv

+ mm-include-vm_mixedmap-flag-in-the-vm_special-list-to-avoid-munlocking.patch added to -mm tree

2014-02-18 Thread akpm
Subject: + mm-include-vm_mixedmap-flag-in-the-vm_special-list-to-avoid-munlocking.patch added to -mm tree To: vba...@suse.cz,aarca...@redhat.com,co...@de.ibm.com,d.hatay...@jp.fujitsu.com,dave.ang...@bell.net,dbork...@redhat.com,han...@stressinduktion.org,jare...@gmail.com,khlebni...@openvz.org,

Re: [PATCH akpm] mm: include VM_MIXEDMAP flag in the VM_SPECIAL list to avoid m(un)locking

2014-02-18 Thread Andrew Morton
On Sun, 16 Feb 2014 15:59:45 +0100 Daniel Borkmann wrote: > Daniel Borkmann reported a bug (stack trace above) with VM_BUG_ON > assertions failing where munlock_vma_pages_range() thinks it's > unexpectedly in the middle of a THP page. This can be reproduced > with default config since 3.11 kernel

[PATCH 3.12 11/32] arm64: Invalidate the TLB when replacing pmd entries during boot

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit a55f9929a9b257f84b6cc7b2397379cabd744a22 upstream. With the 64K page size configuration, __create_page_tables in head.S maps enough memory to get started but using 64K p

[PATCH 3.12 01/32] SELinux: Fix kernel BUG on empty security contexts.

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Smalley commit 2172fa709ab32ca60e86179dc67d0857be8e2c98 upstream. Setting an empty security context (length=0) on a file will lead to incorrectly dereferencing the type and other field

[PATCH 3.12 12/32] arm64: vdso: fix coarse clock handling

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Lynch commit 069b918623e1510e58dacf178905a72c3baa3ae4 upstream. When __kernel_clock_gettime is called with a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE clock id, it returns incorre

[PATCH 3.12 10/32] arm64: vdso: prevent ld from aligning PT_LOAD segments to 64k

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 40507403485fcb56b83d6ddfc954e9b08305054c upstream. Whilst the text segment for our VDSO is marked as PT_LOAD in the ELF headers, it is mapped by the kernel and not actually

[PATCH 3.12 13/32] arm64: add DSB after icache flush in __flush_icache_all()

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Vinayak Kale commit 5044bad43ee573d0b6d90e3ccb7a40c2c7d25eb4 upstream. Add DSB after icache flush to complete the cache maintenance operation. The function __flush_icache_all() is used only fo

[PATCH 3.12 17/32] ALSA: hda - Add missing mixer widget for AD1983

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c7579fed1f1b2567529aea64ef19871337403ab3 upstream. The mixer widget on AD1983 at NID 0x0e was missing in the commit [f2f8be43c5c9: ALSA: hda - Add aamix NID to AD codecs].

[PATCH 3.12 14/32] ALSA: usb-audio: Add missing kconfig dependecy

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4fa71c1550a857ff1dbfe9e99acc1f4cfec5f0d0 upstream. The commit 44dcbbb1cd61 introduced the usage of bitreverse helpers but forgot to add the dependency. This patch adds the

[PATCH 3.12 19/32] mm/swap: fix race on swap_info reuse between swapoff and swapon

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Weijie Yang commit f893ab41e4dae2fe8991faf5d86d029068d1ef3a upstream. swapoff clear swap_info's SWP_USED flag prematurely and free its resources after that. A concurrent swapon will reuse thi

[PATCH 3.12 18/32] ALSA: hda - Improve loopback path lookups for AD1983

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 276ab336b4c6e483d12fd46cbf24f97f71867710 upstream. AD1983 has flexible loopback routes and the generic parser would take wrong path confusingly instead of taking individual

[PATCH 3.12 16/32] ALSA: hda - Fix silent output on Toshiba Satellite L40

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4528eb19b00d9ccd65ded6f8201eec704267edd8 upstream. Toshiba Satellite L40 with AD1986A codec requires the EAPD of NID 0x1b to be constantly on, otherwise the output doesn't

[PATCH 3.12 23/32] [media] af9035: add ID [2040:f900] Hauppauge WinTV-MiniStick 2

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Antti Palosaari commit f2e4c5e004691dfe37d0e4b363296f28abdb9bc7 upstream. Add USB ID [2040:f900] for Hauppauge WinTV-MiniStick 2. Device is build upon IT9135 chipset. Tested-by: Stefan Becker

[PATCH 3.12 20/32] mm: __set_page_dirty_nobuffers() uses spin_lock_irqsave() instead of spin_lock_irq()

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: KOSAKI Motohiro commit a85d9df1ea1d23682a0ed1e100e6965006595d06 upstream. During aio stress test, we observed the following lockdep warning. This mean AIO+numa_balancing is currently deadlock

[PATCH 3.12 21/32] mm: __set_page_dirty uses spin_lock_irqsave instead of spin_lock_irq

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: KOSAKI Motohiro commit 227d53b397a32a7614667b3ecaf1d89902fb6c12 upstream. To use spin_{un}lock_irq is dangerous if caller disabled interrupt. During aio buffer migration, we have a possibility

[PATCH 3.12 03/32] crypto: s390 - fix concurrency issue in aes-ctr mode

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Harald Freudenberger commit 0519e9ad89e5cd6e6b08398f57c6a71d9580564c upstream. The aes-ctr mode uses one preallocated page without any concurrency protection. When multiple threads run aes-ctr

[PATCH 3.12 02/32] Btrfs: disable snapshot aware defrag for now

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 8101c8dbf6243ba517aab58d69bf1bc37d8b7b9c upstream. It's just broken and it's taking a lot of effort to fix it, so for now just disable it so people can defrag in peace. Tha

[PATCH 3.12 22/32] x86: mm: change tlb_flushall_shift for IvyBridge

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit f98b7a772ab51b52ca4d2a14362fc0e0c8a2e0f3 upstream. There was a large performance regression that was bisected to commit 611ae8e3 ("x86/tlb: enable tlb flush range support for

[PATCH 3.12 07/32] NFSv4: Fix memory corruption in nfs4_proc_open_confirm

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 17ead6c85c3d0ef57a14d1373f1f1cee2ce60ea8 upstream. nfs41_wake_and_assign_slot() relies on the task->tk_msg.rpc_argp and task->tk_msg.rpc_resp always pointing to the sess

[PATCH 3.12 04/32] crypto: s390 - fix des and des3_ede cbc concurrency issue

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Harald Freudenberger commit adc3fcf1552b6e406d172fd9690bbd1395053d13 upstream. In s390 des and des3_ede cbc mode the iv value is not protected against concurrency access and modifications from

[PATCH 3.12 06/32] NFSv4.1: nfs4_destroy_session must call rpc_destroy_waitqueue

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 20b9a9024540a775395d5d1f41eec0ec6ec41f9b upstream. There may still be timers active on the session waitqueues. Make sure that we kill them before freeing the memory. Si

[PATCH 3.12 08/32] irqchip: armada-370-xp: fix IPI race condition

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Lior Amsalem commit a6f089e95b1e08cdea9633d50ad20aa5d44ba64d upstream. In the Armada 370/XP driver, when we receive an IRQ 0, we read the list of doorbells that caused the interrupt from regis

[PATCH 3.12 09/32] arm64: vdso: update wtm fields for CLOCK_MONOTONIC_COARSE

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Lynch commit d4022a335271a48cce49df35d825897914fbffe3 upstream. Update wall-to-monotonic fields in the VDSO data page unconditionally. These are used to service CLOCK_MONOTONIC_COARSE,

[PATCH 3.12 00/32] 3.12.12-stable review

2014-02-18 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.12.12 release. There are 32 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Feb 20 22:44:47 UTC 2014. Anything receiv

[PATCH 3.12 28/32] genirq: Generic irq chip requires IRQ_DOMAIN

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Nitin A Kamble commit 923fa4ea382f592dee2ba3b205befb90cbddf3af upstream. The generic_chip.c uses interfaces from irq_domain.c which is controlled by the IRQ_DOMAIN config option, but there is

[PATCH 3.12 27/32] x86, hweight: Fix BUG when booting with CONFIG_GCOV_PROFILE_ALL=y

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Peter Oberparleiter commit 6583327c4dd55acbbf2a6f25e775b28b3abf9a42 upstream. Commit d61931d89b, "x86: Add optimized popcnt variants" introduced compile flag -fcall-saved-rdi for lib/hweight.c

[PATCH 3.12 26/32] [media] Revert "[media] videobuf_vm_{open,close} race fixes"

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil commit cca36e2eecec2b8fc869a50ffd3bd0adeed92b8b upstream. This reverts commit a242f426108c284049a69710f871cc9f11b13e61. That commit actually caused deadlocks, rather then fixing

[PATCH 3.12 30/32] pinctrl: vt8500: Change devicetree data parsing

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Tony Prisk commit f17248ed868767567298e1cdf06faf8159a81f7c upstream. Due to an assumption in the VT8500 pinctrl driver, the value passed from devicetree for 'wm,pull' was not explicitly transl

[PATCH 3.12 29/32] pinctrl: at91: use locked variant of irq_set_handler

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre commit b0dcfd87323ea86501e93d0fa2a98d2fd3579bcf upstream. When setting the gpio irq type, use the __irq_set_handler_locked() variant instead of the irq_set_handler() to prevent f

[PATCH 3.12 32/32] intel_pstate: Take core C0 time into account for core busy calculation

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Dirk Brandewie commit fcb6a15c2e7e76d493e6f91ea889ab40e1c643a4 upstream. Take non-idle time into account when calculating core busy time. This ensures that intel_pstate will notice a decrease

[PATCH 3.12 31/32] pinctrl: protect pinctrl_list add

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit 7b320cb1ed2dbd2c5f2a778197baf76fd6bf545a upstream. We have few fedora bug reports about list corruption on pinctrl, for example: https://bugzilla.redhat.com/show_bug.c

[PATCH 3.13 10/40] irqchip: armada-370-xp: fix MSI race condition

2014-02-18 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Lior Amsalem commit c7f7bd4a136e4b02dd2a66bf95aec545bd93e8db upstream. In the Armada 370/XP driver, when we receive an IRQ 1, we read the list of doorbells that caused the interrupt from regis

[PATCH 3.12 24/32] [media] mxl111sf: Fix unintentional garbage stack read

2014-02-18 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Dave Jones commit 866e8d8a9dc1ebb4f9e67197e264ac2df81f7d4b upstream. mxl111sf_read_reg takes an address of a variable to write to as an argument. drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c:m

[PATCH 3.13 01/40] SELinux: Fix kernel BUG on empty security contexts.

2014-02-18 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Smalley commit 2172fa709ab32ca60e86179dc67d0857be8e2c98 upstream. Setting an empty security context (length=0) on a file will lead to incorrectly dereferencing the type and other field

  1   2   3   >