[PATCH 3.12 145/146] futex: Always cleanup owner tid in unlock_pi

2014-06-09 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 13fbca4c6ecd96ec1a1cfa2e4f2ce191fe928a5e upstream. If the owner died bit is set at futex_unlock_pi, we currently do not cleanup the user space futex. So the owner TID of t

[PATCH 3.12 116/146] Target/iser: Fix iscsit_accept_np and rdma_cm racy flow

2014-06-09 Thread Jiri Slaby
From: Sagi Grimberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 531b7bf4bd795d9a09eac92504322a472c010bc8 upstream. RDMA CM and iSCSI target flows are asynchronous and completely uncorrelated. Relying on the fact that iscsi_accept_np will

[PATCH 3.12 076/146] ARM: 8012/1: kdump: Avoid overflow when converting pfn to physaddr

2014-06-09 Thread Jiri Slaby
From: Liu Hua 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8fad87bca7ac9737e413ba5f1656f1114a8c314d upstream. When we configure CONFIG_ARM_LPAE=y, pfn << PAGE_SHIFT will overflow if pfn >= 0x10 in copy_oldmem_page. So use __pfn_to_phys

[PATCH 3.12 110/146] metag: fix memory barriers

2014-06-09 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2425ce84026c385b73ae72039f90d042d49e0394 upstream. Volatile access doesn't really imply the compiler barrier. Volatile access is only ordered with respect to other volatile

[PATCH 05/10] mm, compaction: remember position within pageblock in free pages scanner

2014-06-09 Thread Vlastimil Babka
Unlike the migration scanner, the free scanner remembers the beginning of the last scanned pageblock in cc->free_pfn. It might be therefore rescanning pages uselessly when called several times during single compaction. This might have been useful when pages were returned to the buddy allocator afte

[PATCH 3.12 135/146] powerpc: Fix 64 bit builds with binutils 2.24

2014-06-09 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7998eb3dc700aaf499f93f50b3d77da834ef9e1d upstream. With binutils 2.24, various 64 bit builds fail with relocation errors such as arch/powerpc/kernel/built-in.o: In function

[PATCH 07/10] mm: rename allocflags_to_migratetype for clarity

2014-06-09 Thread Vlastimil Babka
From: David Rientjes The page allocator has gfp flags (like __GFP_WAIT) and alloc flags (like ALLOC_CPUSET) that have separate semantics. The function allocflags_to_migratetype() actually takes gfp flags, not alloc flags, and returns a migratetype. Rename it to gfpflags_to_migratetype(). Signe

[PATCH 3.12 030/146] x86, mm, hugetlb: Add missing TLB page invalidation for hugetlb_cow()

2014-06-09 Thread Jiri Slaby
From: Anthony Iliopoulos 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9844f5462392b53824e8b86726e7c33b5ecbb676 upstream. The invalidation is required in order to maintain proper semantics under CoW conditions. In scenarios where a process

[PATCH 3.12 016/146] genirq: Allow forcing cpu affinity of interrupts

2014-06-09 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 01f8fa4f01d8362358eb90e412bd7ae18a3ec1ad upstream. The current implementation of irq_set_affinity() refuses rightfully to route an interrupt to an offline cpu. But there i

[PATCH 3.12 111/146] metag: Reduce maximum stack size to 256MB

2014-06-09 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit d71f290b4e98a39f49f2595a13be3b4d5ce8e1f1 upstream. Specify the maximum stack size for arches where the stack grows upward (parisc and metag) in asm/processor.h rather than hard

[PATCH 3.12 138/146] libceph: fix corruption when using page_count 0 page in rbd

2014-06-09 Thread Jiri Slaby
From: Chunwei Chen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 178eda29ca721842f2146378e73d43e0044c4166 upstream. It has been reported that using ZFSonLinux on rbd will result in memory corruption. The bug report can be found here: https

[PATCH 3.12 139/146] iommu/amd: Fix interrupt remapping for aliased devices

2014-06-09 Thread Jiri Slaby
From: Alex Williamson 3.12-stable review patch. If anyone has any objections, please let me know. === commit e028a9e6b8a637af09ac4114083280df4a7045f1 upstream. An apparent cut and paste error prevents the correct flags from being set on the alias device resulting in MSI on convent

[PATCH 3.12 144/146] futex: Validate atomic acquisition in futex_lock_pi_atomic()

2014-06-09 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit b3eaa9fc5cd0a4d74b18f6b8dc617aeaf1873270 upstream. We need to protect the atomic acquisition in the kernel against rogue user space which sets the user space futex to 0, so

[PATCH 3.12 018/146] clocksource: Exynos_mct: Register clock event after request_irq()

2014-06-09 Thread Jiri Slaby
From: Krzysztof Kozlowski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8db6e5104b77de5d0b7002b95069da0992a34be9 upstream. After hotplugging CPU1 the first call of interrupt handler for CPU1 oneshot timer was called on CPU0 because it fired

[PATCH 3.12 084/146] device_cgroup: rework device access check and exception checking

2014-06-09 Thread Jiri Slaby
From: Aristeu Rozanski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 79d719749d23234e9b725098aa49133f3ef7299d upstream. Whenever a device file is opened and checked against current device cgroup rules, it uses the same function (may_access(

[PATCH 3.12 119/146] target: fix memory leak on XCOPY

2014-06-09 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1e1110c43b1cda9fe77fc4a04835e460550e6b3c upstream. On each processed XCOPY command, two "kmalloc-512" memory objects are leaked. These represent two allocations of struct x

[PATCH 3.12 103/146] workqueue: fix a possible race condition between rescuer and pwq-release

2014-06-09 Thread Jiri Slaby
From: Lai Jiangshan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 77668c8b559e4fe2acf2a0749c7c83cde49a5025 upstream. There is a race condition between rescuer_thread() and pwq_unbound_release_workfn(). Even after a pwq is scheduled for res

[PATCH 3.12 117/146] iscsi-target: Change BUG_ON to REJECT in iscsit_process_nop_out

2014-06-09 Thread Jiri Slaby
From: Nicholas Bellinger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7cbfcc953789ff864c2bf8365a82a3fba4869649 upstream. This patch changes an incorrect use of BUG_ON to instead generate a REJECT + PROTOCOL_ERROR in iscsit_process_nop_out(

[PATCH 3.12 067/146] mm/page-writeback.c: fix divide by zero in pos_ratio_polynom

2014-06-09 Thread Jiri Slaby
From: Rik van Riel 3.12-stable review patch. If anyone has any objections, please let me know. === commit d5c9fde3dae750889168807038243ff36431d276 upstream. It is possible for "limit - setpoint + 1" to equal zero, after getting truncated to a 32 bit variable, and resulting in a di

Re: [PATCH] hrtimers: conditionally lock/unlock spinlock in hrtimer_get_next_event

2014-06-09 Thread Viresh Kumar
On 9 June 2014 14:53, Stanislav Fomichev wrote: > In hrtimer_get_next_event we unconditionally lock/unlock spinlock, even if > it's > not required (hrtimer_hres_active() != 0). This patch moves > locking/unlocking and mindelta range check inside the if clause, > so we don't execute unnecessary op

[PATCH 3.12 132/146] i2c: s3c2410: resume race fix

2014-06-09 Thread Jiri Slaby
From: Olof Johansson 3.12-stable review patch. If anyone has any objections, please let me know. === commit ce78cc071f5f541480e381cc0241d37590041a9d upstream. Don't unmark the device as suspended until after it's been re-setup. The main race would be w.r.t. an i2c driver that get

[PATCH 3.12 118/146] target: Don't allow setting WC emulation if device doesn't support

2014-06-09 Thread Jiri Slaby
From: Andy Grover 3.12-stable review patch. If anyone has any objections, please let me know. === commit 07b8dae38b09bcfede7e726f172e39b5ce8390d9 upstream. Just like for pSCSI, if the transport sets get_write_cache, then it is not valid to enable write cache emulation for it. Retu

[PATCH 3.12 121/146] drm/i915: Fix unsafe loop iteration over vma whilst unbinding them

2014-06-09 Thread Jiri Slaby
From: Chris Wilson 3.12-stable review patch. If anyone has any objections, please let me know. === This is commit df6f783a4ef6790780a67c491897ac upstream. On non-LLC platforms, when changing the cache level of an object, we may need to unbind it so that prefetching across page bou

[PATCH 04/10] mm, compaction: skip rechecks when lock was already held

2014-06-09 Thread Vlastimil Babka
Compaction scanners try to lock zone locks as late as possible by checking many page or pageblock properties opportunistically without lock and skipping them if not unsuitable. For pages that pass the initial checks, some properties have to be checked again safely under lock. However, if the lock w

[PATCH 06/10] mm, compaction: skip buddy pages by their order in the migrate scanner

2014-06-09 Thread Vlastimil Babka
The migration scanner skips PageBuddy pages, but does not consider their order as checking page_order() is generally unsafe without holding the zone->lock, and acquiring the lock just for the check wouldn't be a good tradeoff. Still, this could avoid some iterations over the rest of the buddy page

[PATCH 3.12 120/146] drm/i915: Disable self-refresh for untiled fbs on i915gm

2014-06-09 Thread Jiri Slaby
From: Daniel Vetter 3.12-stable review patch. If anyone has any objections, please let me know. === This is commit 2ab1bc9df01dbc19b55b2271100db7 upstream. Apparently it doesn't work. X-tiled self-refresh works flawlessly otoh. Apparently X still works correctly with linear frameb

[PATCH 02/10] mm, compaction: report compaction as contended only due to lock contention

2014-06-09 Thread Vlastimil Babka
Async compaction aborts when it detects zone lock contention or need_resched() is true. David Rientjes has reported that in practice, most direct async compactions for THP allocation abort due to need_resched(). This means that a second direct compaction is never attempted, which might be OK for a

Re: 3.15-rc: regression in suspend

2014-06-09 Thread Daniel Vetter
On Sun, Jun 8, 2014 at 1:11 AM, Pavel Machek wrote: > Strange. It seems 3.15 with the patch reverted only boots in 30% or so > cases... And I've seen resume failure, too, so maybe I was just lucky > that it worked for a while. git bisect really likes 25f397a429dfa43f22c278d0119a60 - you're about

[PATCH] hrtimers: conditionally lock/unlock spinlock in hrtimer_get_next_event

2014-06-09 Thread Stanislav Fomichev
In hrtimer_get_next_event we unconditionally lock/unlock spinlock, even if it's not required (hrtimer_hres_active() != 0). This patch moves locking/unlocking and mindelta range check inside the if clause, so we don't execute unnecessary operations. Signed-off-by: Stanislav Fomichev --- kernel/hr

Re: [RFC PATCH] drivers/char/random.c: Is reducing locking range like this safe?

2014-06-09 Thread George Spelvin
> Sigh, adventures in "unable to mount root filesystem" currently underway. PEBKAC resolved. (I had CONFIG_ATA=m for some testing, but forgot to change it back to y when compiling a kernel I expected to boot.) 32 MiB write: Without patch With patch 0 readers: 0.495523

[PATCH 2/2] perf timechart: implement IO mode

2014-06-09 Thread Stanislav Fomichev
In IO mode timechart shows any disk/network activity. Signed-off-by: Stanislav Fomichev --- tools/perf/Documentation/perf-timechart.txt | 34 +- tools/perf/builtin-timechart.c | 646 +++- tools/perf/util/svghelper.c | 98 - tools/perf/ut

[PATCH] power: poweroff: gpio: convert to use descriptors

2014-06-09 Thread Linus Walleij
This switches the GPIO poweroff driver to use GPIO descriptors rather than numeral GPIOs. We get rid of the specific inversion handling as GPIO descriptors know if they are active low or high and can assert the line properly, so we do not need to check the flag OF_GPIO_ACTIVE_LOW returned from the

[PATCH 1/2] perf timechart: fix documentation

2014-06-09 Thread Stanislav Fomichev
Move options away from examples. Signed-off-by: Stanislav Fomichev --- tools/perf/Documentation/perf-timechart.txt | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/tools/perf/Documentation/perf-timechart.txt b/tools/perf/Documentation/perf-timechart.

tap interface apparently rate-limited to 1 packet per 12ms

2014-06-09 Thread Brian Candler
[Aside: I posted this to netdev, no reply. I apologise if you have seen this before] I have a performance problem which I've narrowed down to some bizarre behaviour of tap interfaces, and I've made an easily reproducible test case. It seems that no matter how fast you queue packets for a tap

[PATCH 0/2] perf timechart fix & io mode

2014-06-09 Thread Stanislav Fomichev
perf timechart: fix documentation moves misplaced options into appropriate place perf timechart: implement IO mode adds io mode, instead of process time we record io syscalls and then draw timechart of writes/reads/tx/rx/polls Stanislav Fomichev (2): perf timechart: fix documentation pe

[PATCH 3.12 008/146] usb: qcserial: add a number of Dell devices

2014-06-09 Thread Jiri Slaby
From: Bjørn Mork 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4d7c0136a54f62501f8a34c4d08a5e0258d3d3ca upstream. Dan writes: "The Dell drivers use the same configuration for PIDs: 81A2: Dell Wireless 5806 Gobi(TM) 4G LTE Mobile Broadband

[PATCH 3.12 038/146] hrtimer: Prevent remote enqueue of leftmost timers

2014-06-09 Thread Jiri Slaby
From: Leon Ma 3.12-stable review patch. If anyone has any objections, please let me know. === commit 012a45e3f4af68e86d85cce060c6c2fed56498b2 upstream. If a cpu is idle and starts an hrtimer which is not pinned on that same cpu, the nohz code might target the timer to a different

[PATCH 3.12 026/146] ipmi: Reset the KCS timeout when starting error recovery

2014-06-09 Thread Jiri Slaby
From: Corey Minyard 3.12-stable review patch. If anyone has any objections, please let me know. === commit eb6d78ec213e6938559b801421d64714dafcf4b2 upstream. The OBF timer in KCS was not reset in one situation when error recovery was started, resulting in an immediate timeout. Re

[PATCH 3.12 021/146] mm: make fixup_user_fault() check the vma access rights too

2014-06-09 Thread Jiri Slaby
From: Linus Torvalds 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1b17844b29ae042576bea588164f2f1e9590a8bc upstream. fixup_user_fault() is used by the futex code when the direct user access fails, and the futex code wants it to either map

[PATCH 3.12 022/146] serial: 8250: Fix thread unsafe __dma_tx_complete function

2014-06-09 Thread Jiri Slaby
From: Loic Poulain 3.12-stable review patch. If anyone has any objections, please let me know. === commit f8fd1b0350d3a4581125f5eda6528f5a2c5f9183 upstream. __dma_tx_complete is not protected against concurrent call of serial8250_tx_dma. it can lead to circular tail index corrupti

[PATCH 3.12 006/146] mac80211: fix on-channel remain-on-channel

2014-06-09 Thread Jiri Slaby
From: Johannes Berg 3.12-stable review patch. If anyone has any objections, please let me know. === commit b4b177a5556a686909e643f1e9b6434c10de079f upstream. Jouni reported that if a remain-on-channel was active on the same channel as the current operating channel, then the ROC wo

[PATCH 3.12 031/146] arm64: fix pud_huge() for 2-level pagetables

2014-06-09 Thread Jiri Slaby
From: Mark Salter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4797ec2dc83a43be35bad56037d1b53db9e2b5d5 upstream. The following happens when trying to run a kvm guest on a kernel configured for 64k pages. This doesn't happen with 4k pages:

[PATCH 3.12 023/146] 8250_core: Fix unwanted TX chars write

2014-06-09 Thread Jiri Slaby
From: Loic Poulain 3.12-stable review patch. If anyone has any objections, please let me know. === commit b08c9c317e3f7764a91d522cd031639ba42b98cc upstream. On transmit-hold-register empty, serial8250_tx_chars should be called only if we don't use DMA. DMA has its own tx cycle. S

[PATCH 3.12 032/146] hwpoison, hugetlb: lock_page/unlock_page does not match for handling a free hugepage

2014-06-09 Thread Jiri Slaby
From: Chen Yucong 3.12-stable review patch. If anyone has any objections, please let me know. === commit b985194c8c0a130ed155b71662e39f7eaea4876f upstream. For handling a free hugepage in memory failure, the race will happen if another thread hwpoisoned this hugepage concurrently.

[PATCH 3.12 037/146] hrtimer: Prevent all reprogramming if hang detected

2014-06-09 Thread Jiri Slaby
From: Stuart Hayes 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6c6c0d5a1c949d2e084706f9e5fb1fccc175b265 upstream. If the last hrtimer interrupt detected a hang it sets hang_detected=1 and programs the clock event device with a delay to le

[PATCH 3.12 010/146] ACPI / video: Fix initial level validity test

2014-06-09 Thread Jiri Slaby
From: Aaron Lu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9efa5e50598c5568b0678bb411b239a0b6e9a328 upstream. When testing if the firmware's initial value is valid, we should use the corrected level value instead of the raw value returned

[PATCH 3.12 036/146] drivercore: deferral race condition fix

2014-06-09 Thread Jiri Slaby
From: Grant Likely 3.12-stable review patch. If anyone has any objections, please let me know. === commit 58b116bce13612e5aa6fcd49ecbd4cf8bb59e835 upstream. When the kernel is built with CONFIG_PREEMPT it is possible to reach a state when all modules loaded but some driver still s

[PATCH 3.12 033/146] aio: fix potential leak in aio_run_iocb().

2014-06-09 Thread Jiri Slaby
From: Leon Yu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 754320d6e166d3a12cb4810a452bde00afbd4e9a upstream. iovec should be reclaimed whenever caller of rw_copy_check_uvector() returns, but it doesn't hold when failure happens right afte

[PATCH 3.12 035/146] hwmon: (emc1403) Support full range of known chip revision numbers

2014-06-09 Thread Jiri Slaby
From: Josef Gajdusek 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3a18e1398fc2dc9c32bbdc50664da3a77959a8d1 upstream. The datasheet for EMC1413/EMC1414, which is fully compatible to EMC1403/1404 and uses the same chip identification, refere

[PATCH 3.12 027/146] cfg80211: free sme on connection failures

2014-06-09 Thread Jiri Slaby
From: Eliad Peller 3.12-stable review patch. If anyone has any objections, please let me know. === commit c1fbb258846dfc425507a093922d2d001e54c3ea upstream. cfg80211 is notified about connection failures by __cfg80211_connect_result() call. However, this function currently does no

[PATCH 3.12 040/146] md: avoid possible spinning md thread at shutdown.

2014-06-09 Thread Jiri Slaby
From: NeilBrown 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0f62fb220aa4ebabe8547d3a9ce4a16d3c045f21 upstream. If an md array with externally managed metadata (e.g. DDF or IMSM) is in use, then we should not set safemode==2 at shutdown be

[PATCH 3.12 060/146] USB: Nokia 5300 should be treated as unusual dev

2014-06-09 Thread Jiri Slaby
From: Daniele Forsi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6ed07d45d09bc2aa60e27b845543db9972e22a38 upstream. Signed-off-by: Daniele Forsi Signed-off-by: Jiri Slaby --- drivers/usb/storage/unusual_devs.h | 7 +++ 1 file change

[PATCH 3.12 028/146] mac80211: fix suspend vs. association race

2014-06-09 Thread Jiri Slaby
From: Emmanuel Grumbach 3.12-stable review patch. If anyone has any objections, please let me know. === commit c52666aef9f2dff39276eb53f15d99e2e229870f upstream. If the association is in progress while we suspend, the stack will be in a messed up state. Clean it before we suspend.

[PATCH 3.12 034/146] hwmon: (emc1403) fix inverted store_hyst()

2014-06-09 Thread Jiri Slaby
From: Josef Gajdusek 3.12-stable review patch. If anyone has any objections, please let me know. === commit 17c048fc4bd95efea208a1920f169547d8588f1f upstream. Attempts to set the hysteresis value to a temperature below the target limit fails with "write error: Numerical result out

[PATCH 3.12 013/146] mips: dts: Fix missing device_type="memory" property in memory nodes

2014-06-09 Thread Jiri Slaby
From: Leif Lindholm 3.12-stable review patch. If anyone has any objections, please let me know. === commit dfc44f8030653b345fc6fb337558c3a07536823f upstream. A few platforms lack a 'device_type = "memory"' for their memory nodes, relying on an old ppc quirk in order to discover it

[PATCH 3.12 059/146] USB: Nokia 305 should be treated as unusual dev

2014-06-09 Thread Jiri Slaby
From: "Victor A. Santos" 3.12-stable review patch. If anyone has any objections, please let me know. === commit f0ef5d41792a46a1085dead9dfb0bdb2c574638e upstream. Signed-off-by: Victor A. Santos Signed-off-by: Jiri Slaby --- drivers/usb/storage/unusual_devs.h | 7 +++ 1 fil

[PATCH 3.12 014/146] ftrace/module: Hardcode ftrace_module_init() call into load_module()

2014-06-09 Thread Jiri Slaby
From: "Steven Rostedt (Red Hat)" 3.12-stable review patch. If anyone has any objections, please let me know. === commit a949ae560a511fe4e3adf48fa44fefded93e5c2b upstream. A race exists between module loading and enabling of function tracer. CPU 1

[PATCH 3.12 058/146] usb: storage: shuttle_usbat: fix discs being detected twice

2014-06-09 Thread Jiri Slaby
From: Daniele Forsi 3.12-stable review patch. If anyone has any objections, please let me know. === commit df602c2d2358f02c6e49cffc5b49b9daa16db033 upstream. Even if the USB-to-ATAPI converter supported multiple LUNs, this driver would always detect the same physical device or med

[PATCH 3.12 039/146] hrtimer: Set expiry time before switch_hrtimer_base()

2014-06-09 Thread Jiri Slaby
From: Viresh Kumar 3.12-stable review patch. If anyone has any objections, please let me know. === commit 84ea7fe37908254c3bd90910921f6e1045c1747a upstream. switch_hrtimer_base() calls hrtimer_check_target() which ensures that we do not migrate a timer to a remote cpu if the timer

Re: [PATCH] mm/mempolicy: fix sleeping function called from invalid context

2014-06-09 Thread David Rientjes
On Mon, 9 Jun 2014, Gu Zheng wrote: > > I think your patch addresses the problem that you're reporting but misses > > the larger problem with cpuset.mems rebinding on fork(). When the > > forker's task_struct is duplicated (which includes ->mems_allowed) and it > > races with an update to cpus

[PATCH 3.12 064/146] Bluetooth: Fix redundant encryption request for reauthentication

2014-06-09 Thread Jiri Slaby
From: Johan Hedberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 09da1f3463eb81d59685df723b1c5950b7570340 upstream. When we're performing reauthentication (in order to elevate the security level from an unauthenticated key to an authentica

[PATCH 3.12 057/146] USB: OHCI: fix problem with global suspend on ATI controllers

2014-06-09 Thread Jiri Slaby
From: Alan Stern 3.12-stable review patch. If anyone has any objections, please let me know. === commit c1db30a2a79eb59997b13b8cabf2a50bea9f04e1 upstream. Some OHCI controllers from ATI/AMD seem to have difficulty with "global" USB suspend, that is, suspending an entire USB bus wi

[PATCH 3.12 053/146] clk: tegra: Fix wrong value written to PLLE_AUX

2014-06-09 Thread Jiri Slaby
From: Tuomas Tynkkynen 3.12-stable review patch. If anyone has any objections, please let me know. === commit d2c834abe2b39a2d5a6c38ef44de87c97cbb34b4 upstream. The value written to PLLE_AUX was incorrect due to a wrong variable being used. Without this fix SATA does not work. Si

[PATCH 3.12 052/146] drm/tegra: Remove gratuitous pad field

2014-06-09 Thread Jiri Slaby
From: Thierry Reding 3.12-stable review patch. If anyone has any objections, please let me know. === commit cbfbbabb89b37f6bad05f478d906a385149f288d upstream. The version of the drm_tegra_submit structure that was merged all the way back in 3.10 contains a pad field that was origi

[PATCH 3.12 062/146] ALSA: usb-audio: work around corrupted TEAC UD-H01 feedback data

2014-06-09 Thread Jiri Slaby
From: Clemens Ladisch 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7040b6d1febfdbd9c1595efb751d492cd2503f96 upstream. The TEAC UD-H01 firmware sends wrong feedback frequency values, thus causing the PC to send the samples at a wrong rate,

[PATCH 3.12 054/146] iio:imu:mpu6050: Fixed segfault in Invensens MPU driver due to null dereference

2014-06-09 Thread Jiri Slaby
From: Atilla Filiz 3.12-stable review patch. If anyone has any objections, please let me know. === commit b9b3a41893c3f1be67b5aacfa525969914bea0e9 upstream. The driver segfaults when the kernel boots with device tree as the platform data is then not present and the pointer is defe

[PATCH 3.12 045/146] drm/radeon/si: make sure mc ucode is loaded before checking the size

2014-06-09 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8c79bae6a30f606b7a4e17c994bc5f72f8fdaf11 upstream. Avoid a possible segfault. Noticed-by: Dan Carpenter Signed-off-by: Alex Deucher Signed-off-by: Jiri Slaby --- drivers/

[PATCH 3.12 063/146] Bluetooth: Fix triggering BR/EDR L2CAP Connect too early

2014-06-09 Thread Jiri Slaby
From: Johan Hedberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9eb1fbfa0a737fd4d3a6d12d71c5ea9af622b887 upstream. Commit 1c2e004183178 introduced an event handler for the encryption key refresh complete event with the intent of fixing so

Re: [PATCH Resend] cpufreq: governor: remove copy_prev_load from 'struct cpu_dbs_common_info'

2014-06-09 Thread Srivatsa S. Bhat
On 06/09/2014 02:21 PM, Viresh Kumar wrote: > 'copy_prev_load' was recently added by commit: 18b46ab (cpufreq: governor: Be > friendly towards latency-sensitive bursty workloads). > > It actually is a bit redundant as we also have 'prev_load' which can store any > integer value and can be used ins

[PATCH 3.12 055/146] fsl-usb: do not test for PHY_CLK_VALID bit on controller version 1.6

2014-06-09 Thread Jiri Slaby
From: Nikita Yushchenko 3.12-stable review patch. If anyone has any objections, please let me know. === commit d183c81929beeba842b74422f754446ef2b8b49c upstream. Per reference manuals of Freescale P1020 and P2020 SoCs, USB controller present in these SoCs has bit 17 of USBx_CONTRO

[PATCH 3.12 020/146] coredump: fix va_list corruption

2014-06-09 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === commit 404ca80eb5c2727d78cd517d12108b040c522e12 upstream. A va_list needs to be copied in case it needs to be used twice. Thanks to Hugh for debugging this issue, leading to various

[PATCH 3.12 048/146] drm/radeon: fix count in cik_sdma_ring_test()

2014-06-09 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7e95cfb0b797678cd3493ca0322ef2675547a0bc upstream. Should be 5 rather than 4. Noticed-by: Mathias Fröhlich Signed-off-by: Alex Deucher Signed-off-by: Christian König Signe

[PATCH 3.12 050/146] drm/radeon: use pflip irq on R600+ v2

2014-06-09 Thread Jiri Slaby
From: Christian König 3.12-stable review patch. If anyone has any objections, please let me know. === commit f5d636d2a74b755879feec35e14a259de52ccc07 upstream. Testing the update pending bit directly after issuing an update is nonsense cause depending on the pixel clock the CRTC n

[PATCH 3.12 046/146] drm/radeon: fix ATPX detection on non-VGA GPUs

2014-06-09 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit e9a4099a59cc598a44006059dd775c25e422b772 upstream. Some newer PX laptops have the pci device class set to DISPLAY_OTHER rather than DISPLAY_VGA. This properly detects ATPX on

Re: [RFC PATCH 4/6] mm, compaction: skip buddy pages by their order in the migrate scanner

2014-06-09 Thread David Rientjes
On Fri, 6 Jun 2014, Vlastimil Babka wrote: > >> > > diff --git a/mm/internal.h b/mm/internal.h > >> > > index 1a8a0d4..6aa1f74 100644 > >> > > --- a/mm/internal.h > >> > > +++ b/mm/internal.h > >> > > @@ -164,7 +164,8 @@ isolate_migratepages_range(struct zone *zone, > >> > > struct > >> > > compa

[PATCH 3.12 029/146] mm, thp: close race between mremap() and split_huge_page()

2014-06-09 Thread Jiri Slaby
From: "Kirill A. Shutemov" 3.12-stable review patch. If anyone has any objections, please let me know. === commit dd18dbc2d42af75fffa60c77e0f02220bc329829 upstream. It's critical for split_huge_page() (and migration) to catch and freeze all PMDs on rmap walk. It gets tricky if th

[PATCH 3.12 080/146] drm/i915/vlv: reset VLV media force wake request register

2014-06-09 Thread Jiri Slaby
From: Jani Nikula 3.12-stable review patch. If anyone has any objections, please let me know. === commit 05adaf1f101f25f40f12c29403e6488f0e45f6b6 upstream. Media force wake get hangs the machine when the system is booted without displays attached. The assumption is that (at least

[PATCH 3.12 077/146] rtl8192cu: Fix unbalanced irq enable in error path of rtl92cu_hw_init()

2014-06-09 Thread Jiri Slaby
From: Ben Hutchings 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3234f5b06fc3094176a86772cc64baf3decc98fc upstream. Fixes: a53268be0cb9 ('rtlwifi: rtl8192cu: Fix too long disable of IRQs') Signed-off-by: Ben Hutchings Signed-off-by: John

[PATCH 3.12 056/146] usb: gadget: at91-udc: fix irq and iomem resource retrieval

2014-06-09 Thread Jiri Slaby
From: Jean-Jacques Hiblot 3.12-stable review patch. If anyone has any objections, please let me know. === commit 886c7c426d465732ec9d1b2bbdda5642fc2e7e05 upstream. When using dt resources retrieval (interrupts and reg properties) there is no predefined order for these resources in

[PATCH 3.12 074/146] ARM: mvebu: fix NOR bus-width in Armada XP OpenBlocks AX3 Device Tree

2014-06-09 Thread Jiri Slaby
From: Thomas Petazzoni 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6e20bae8a39c40d4e03698e4160bad2d2629062b upstream. The mvebu-devbus driver had a serious bug, which lead to a 8 bits bus width declared in the Device Tree being considered

[PATCH 3.12 094/146] Input: synaptics - T540p - unify with other LEN0034 models

2014-06-09 Thread Jiri Slaby
From: Hans de Goede 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6d396ede224dc596d92d7cab433713536e68916c upstream. The T540p has a touchpad with pnp-id LEN0034, all the models with this pnp-id have the same min/max values, except the T540

[PATCH 3.12 009/146] clk: tegra: use pll_ref as the pll_e parent

2014-06-09 Thread Jiri Slaby
From: Peter De Schrijver 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8e9cc80aa348938078c3c1a7ab55efb3c40990e3 upstream. Use pll_ref instead of pll_re_vco as the pll_e parent on Tegra114. Also add a 12Mhz pll_ref table entry for pll_e for

[PATCH 3.12 044/146] drm/radeon: add support for newer mc ucode on SI (v2)

2014-06-09 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1ebe92802eaf0569784dce843bc28a78842d236c upstream. May fix stability issues with some newer cards. v2: print out mc firmware version used and size Signed-off-by: Alex Deuche

[PATCH 3.12 024/146] gpu: host1x: handle the correct # of syncpt regs

2014-06-09 Thread Jiri Slaby
From: Stephen Warren 3.12-stable review patch. If anyone has any objections, please let me know. === commit 22bbd5d949dc7fdd72a4e78e767fa09d8e54b446 upstream. BIT_WORD() truncates rather than rounds, so the loops in syncpt_thresh_isr() and _host1x_intr_disable_all_syncpt_intrs() u

[PATCH 3.12 072/146] ARM: mvebu: fix NOR bus-width in Armada XP GP Device Tree

2014-06-09 Thread Jiri Slaby
From: Thomas Petazzoni 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1a88f809ccb5db1509a7514b187c00b3a995fc82 upstream. The mvebu-devbus driver had a serious bug, which lead to a 8 bits bus width declared in the Device Tree being considered

[PATCH 3.12 043/146] drm/radeon: disable mclk dpm on R7 260X

2014-06-09 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 57700ad1f2f21d5d7ab7ee0e58d11b5954852434 upstream. Setting higher mclks seems to cause stability issues on some R7 260X boards. Disable it for now for stability until we find

[PATCH 3.12 070/146] ARM: dts: kirkwood: fix mislocated pcie-controller nodes

2014-06-09 Thread Jiri Slaby
From: Sebastian Hesselbarth 3.12-stable review patch. If anyone has any objections, please let me know. === commit 788296b2d19d16ec33aba0a5ad1544d50bb58601 upstream. Commit 54397d85349f ("ARM: kirkwood: Relocate PCIe device tree nodes") moved the pcie-controller nodes for the Ki

Re: ARC: ARC_BOARD_ANGEL4 and ARC_BOARD_ML509

2014-06-09 Thread Vineet Gupta
Hi Paul, On Wednesday 04 June 2014 03:04 PM, Paul Bolle wrote: > Hi Vineet, > > Linux-next included commit c00bfd974fb0 ("ARC: [arcfpga] Get rid of > legacy BVCI latency unit support") in next-20140604. It removes the > Kconfig symbol ARC_HAS_BVCI_LAT_UNIT. And that symbol's entry is the > only pl

Re: [RFC PATCH 6/6] mm, compaction: don't migrate in blocks that cannot be fully compacted in async direct compaction

2014-06-09 Thread David Rientjes
On Fri, 6 Jun 2014, Vlastimil Babka wrote: > > Agreed. I was thinking higher than 1GB would be possible once we have > > your series that does the pageblock skip for thp, I think the expense > > would be constant because we won't needlessly be migrating pages unless it > > has a good chance at

[PATCH 3.12 069/146] ARM: orion5x: fix target ID for crypto SRAM window

2014-06-09 Thread Jiri Slaby
From: Thomas Petazzoni 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1cc9d48145b81e307fab94a5cf6ee66ec2f0de60 upstream. In commit 4ca2c04085a1caa903e92a5fc0da25362150aac2 ('ARM: orion5x: Move to ID based window creation'), the mach-orion5x

[PATCH 3.12 071/146] ARM: dts: i.MX53: Fix ipu register space size

2014-06-09 Thread Jiri Slaby
From: Sascha Hauer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6d66da89bf4422c0a0693627fb3e25f74af50f92 upstream. The IPU register space is 128MB, not 2GB. Fixes: abed9a6bf2bb 'ARM i.MX53: Add IPU support' Signed-off-by: Sascha Hauer Ac

[PATCH 3.12 068/146] revert "mm: vmscan: do not swap anon pages just because free+file is low"

2014-06-09 Thread Jiri Slaby
From: Johannes Weiner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 623762517e2370be3b3f95f4fe08d6c063a49b06 upstream. This reverts commit 0bf1457f0cfc ("mm: vmscan: do not swap anon pages just because free+file is low") because it introduc

Re: [RFC PATCH] rt/aio: fix rcu garbage collection might_sleep() splat

2014-06-09 Thread Pavel Vasilyev
09.06.2014 10:22, Mike Galbraith пишет: On Mon, 2014-06-09 at 05:17 +0200, Mike Galbraith wrote: On Mon, 2014-06-09 at 10:08 +0800, Lai Jiangshan wrote: Hi, rt-people @@ -522,7 +524,9 @@ static void free_ioctx_users(struct perc struct kioctx *ctx = container_of(ref, struct kioctx, us

[PATCH 3.12 061/146] rt2x00: fix beaconing on USB

2014-06-09 Thread Jiri Slaby
From: Stanislaw Gruszka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8834d3608cc516f13e2e510f4057c263f3d2ce42 upstream. When disable beaconing we clear register with beacon and newer set it back, what make we stop send beacons infinitely.

[PATCH 3.12 092/146] Input: elantech - fix touchpad initialization on Gigabyte U2442

2014-06-09 Thread Jiri Slaby
From: Hans de Goede 3.12-stable review patch. If anyone has any objections, please let me know. === commit 36189cc3cd57ab0f1cd75241f93fe01de928ac06 upstream. The hw_version 3 Elantech touchpad on the Gigabyte U2442 does not accept 0x0b as initialization value for r10, this stand-a

[PATCH 3.12 087/146] clk: vexpress: NULL dereference on error path

2014-06-09 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6b4ed8b00e93bd31f24a25f59ed8d1b808d0cc00 upstream. If the allocation fails then we dereference the NULL in the error path. Just return directly. Fixes: ed27ff1db869 ('clk: V

[PATCH 3.12 083/146] Documentation: Update stable address in Chinese and Japanese translations

2014-06-09 Thread Jiri Slaby
From: Geert Uytterhoeven 3.12-stable review patch. If anyone has any objections, please let me know. === commit 98b0f811aade1b7c6e7806c86aa0befd5919d65f upstream. The English and Korean translations were updated, the Chinese and Japanese weren't. Signed-off-by: Geert Uytterhoeven

[PATCH 3.12 107/146] bus: mvebu-mbus: allow several windows with the same target/attribute

2014-06-09 Thread Jiri Slaby
From: Thomas Petazzoni 3.12-stable review patch. If anyone has any objections, please let me know. === commit b566e782be32145664d96ada3e389f17d32742e5 upstream. Having multiple windows with the same target and attribute is actually legal, and can be useful for PCIe windows, when P

[PATCH 3.12 099/146] NFSD: Call ->set_acl with a NULL ACL structure if no entries

2014-06-09 Thread Jiri Slaby
From: Kinglong Mee 3.12-stable review patch. If anyone has any objections, please let me know. === commit aa07c713ecfc0522916f3cd57ac628ea6127c0ec upstream. After setting ACL for directory, I got two problems that caused by the cached zero-length default posix acl. This patch mak

[PATCH 3.12 096/146] ALSA: hda - Fix onboard audio on Intel H97/Z97 chipsets

2014-06-09 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 77f07800cb456bed6e5c345e6e4e83e8eda62437 upstream. The recent Intel H97/Z97 chipsets need the similar setups like other Intel chipsets for snooping, etc. Especially without s

<    4   5   6   7   8   9   10   11   >