Re: [PATCH v7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-05-02 Thread Vinod Koul
On Wed, Apr 30, 2014 at 02:53:22PM -0700, Maxime Ripard wrote: > Hi Vinod, > > On Wed, Apr 30, 2014 at 12:34:08PM +0530, Vinod Koul wrote: > > On Thu, Apr 24, 2014 at 04:22:44PM +0200, Maxime Ripard wrote: > > > +static inline void sun6i_dma_free(struct sun6i_dma_dev *sdc) > > > +{ > > > + int i;

[PATCH 1/1] block/blk-core.c: convert printk to pr_foo()

2014-05-02 Thread Fabian Frederick
-Convert all printk,print_ratelimited ... -Define debug to have pr_debug emitted -Fix checkpatch warning: Lu->llu Cc: Jens Axboe Cc: Andrew Morton Signed-off-by: Fabian Frederick --- block/blk-core.c | 60 +++- 1 file changed, 29

Re: [PATCH RFC 0/2] percpu_ida: Take into account CPU topology when stealing tags

2014-05-02 Thread Christoph Hellwig
On Fri, May 02, 2014 at 10:41:40AM -0600, Jens Axboe wrote: > > At least for SCSI devices _tag space_ is plenty, it's just the we > > artifically limit our tag space to the queue depth to avoid having to > > track that one separately. In addition we also preallocaste a request > > for each tag,

Re: [PATCH v3 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-05-02 Thread Santosh Shilimkar
On Friday 02 May 2014 10:41 AM, Rob Herring wrote: > On Thu, May 1, 2014 at 8:25 AM, Russell King - ARM Linux > wrote: >> On Thu, May 01, 2014 at 09:19:18AM -0400, Santosh Shilimkar wrote: >>> Rob, Russell, >>> >>> On Thursday 24 April 2014 11:30 AM, Santosh Shilimkar wrote: Here is an

Lenovo x120e resume regression in 3.15-rc1 bisected to 'drm/crtc-helpers: fix dpms on logic'

2014-05-02 Thread Tim Gardner
I've bisected a resume regression on a Lenovo x120e to 177cf92de4aa97ec1435987e91696ed8b5023130 (drm/crtc-helpers: fix dpms on logic). Everything works fine with this patch reverted on top of 3.15-rc3. I realize it is correcting a coding error that has been in place since 3.11, but it is also

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-02 Thread Vinod Koul
On Thu, Apr 17, 2014 at 05:04:02PM -0500, Andy Gross wrote: > This patch adds APIs that allow for BAM hardware flags to be set per > descriptor. Each one of the new flags informs the attached peripheral of a > special behavior that is required. > > The EOT flag requests that the peripheral

Re: [PATCH RFC 0/2] percpu_ida: Take into account CPU topology when stealing tags

2014-05-02 Thread Jens Axboe
On 05/01/2014 11:05 PM, Christoph Hellwig wrote: > On Thu, May 01, 2014 at 08:19:39PM -0600, Jens Axboe wrote: >> I've taken the consequence of this and implemented another tagging >> scheme that blk-mq will use if it deems that percpu_ida isn't going >> to be effective for the device being

mm: invalid memory access in zap_pte_range

2014-05-02 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following: [ 5470.347501] BUG: unable to handle kernel paging request at ea0003480088 [ 5470.349619] IP: zap_pte_range (mm/memory.c:1137) [ 5470.350338] PGD 37fcc067 PUD 37fcb067 PMD

Re: [perf] more perf_fuzzer memory corruption

2014-05-02 Thread Vince Weaver
On Fri, 2 May 2014, Peter Zijlstra wrote: > In principle the vfs file refcounting should be responsible for that. > But I'll go over it in a bit. The poll code is ancient and the C-parser in my head really can't handle it very well. Anyway for completeness this is the kind of thing I'm seeing.

[PATCH 1/1] mm/zswap.c: add lock helper

2014-05-02 Thread Fabian Frederick
>lock is used all over the place Cc: Seth Jennings Cc: Andrew Morton Signed-off-by: Fabian Frederick --- mm/zswap.c | 44 +--- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/mm/zswap.c b/mm/zswap.c index aeaef0f..581f36f 100644 ---

[PATCH 3.13 005/151] drm/i915: quirk invert brightness for Acer Aspire 5336

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 0f540c3a7cfb91c9d7a19eb0c95c24c5de1197d5 upstream. Since commit ee1452d7458451a7508e0663553ce88d63958157 Author: Jani Nikula Date: Fri Sep 20 15:05:30 2013 +0300

Re: [PATCH 1/2] DMA: shdma: tidyup callback chunk finder

2014-05-02 Thread Vinod Koul
On Wed, Apr 02, 2014 at 08:16:51PM -0700, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Current shdma is using "last" which indicates last desc > which needs to have callback function. > but, that desc's chunks is always 1 > We can use it as finder > Applied both with reflow of

[PATCH 3.13 002/151] drm/nouveau: don't suspend/resume display on runtime s/r

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit 05c63c2ff23a80b654d6c088ac3ba21628db0173 upstream. This should ensure we don't hit a locking problem when someone wakes us up via a connector, we should never go

[PATCH 3.13 008/151] matroxfb: restore the registers M_ACCESS and M_PITCH

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit a772d4736641ec1b421ad965e13457c17379fc86 upstream. When X11 is running and the user switches back to console, the card modifies the content of registers

[PATCH 3.13 006/151] w1: fix w1_send_slave dropping a slave id

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: David Fries commit 6b355b33a64fd6d8ead2b838ec16fb9b551f71e8 upstream. Previous logic, if (avail > 8) { store slave; return; } send data; clear; The logic error is, if

[PATCH 2/3] staging: lustre: Use %zd to format ssize_t

2014-05-02 Thread Geert Uytterhoeven
drivers/staging/lustre/lustre/llite/rw26.c: In function 'll_direct_IO_26': drivers/staging/lustre/lustre/llite/rw26.c:383:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'ssize_t' [-Wformat] drivers/staging/lustre/lustre/llite/rw26.c:383:2: warning:

[PATCH 3/3] staging/lustre/llite: Fix unused variable warning if !CONFIG_FS_POSIX_ACL

2014-05-02 Thread Geert Uytterhoeven
If CONFIG_FS_POSIX_ACL=n: drivers/staging/lustre/lustre/llite/xattr.c: In function 'll_setxattr_common': drivers/staging/lustre/lustre/llite/xattr.c:115:27: warning: unused variable 'rce' [-Wunused-variable] Signed-off-by: Geert Uytterhoeven --- drivers/staging/lustre/lustre/llite/xattr.c |

[PATCH 3.13 010/151] mach64: use unaligned access

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit c29dd8696dc5dbd50b3ac441b8a26751277ba520 upstream. This patch fixes mach64 to use unaligned access to the font bitmap. This fixes unaligned access warning on

[PATCH 3.13 004/151] [3.13-stable] Revert "PCI: Enable INTx in pci_reenable_device() only when MSI/MSI-X not enabled"

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Kamal Mostafa This reverts commit 16d36cdf2bd2b8e821ea1286dd3e8b2d657e6b3c. ... which was applied to 3.13-stable twice, first as: bb7048ea362773c2b53ee410a69ff60a029c71ef and

[PATCH 1/3] staging/lustre/libcfs: Fix build errors for !CONFIG_SMP

2014-05-02 Thread Geert Uytterhoeven
When CONFIG_SMP=n: drivers/staging/lustre/include/linux/libcfs/linux/linux-mem.h:58:31: fatal error: libcfs/libcfs_cpu.h: No such file or directory drivers/staging/lustre/lustre/libcfs/libcfs_cpu.c:78:1: error: redefinition of 'cfs_cpt_table_print'

[PATCH 3.13 013/151] tgafb: fix data copying

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 6b0df6827bb6fcacb158dff29ad0a62d6418b534 upstream. The functions for data copying copyarea_foreward_8bpp and copyarea_backward_8bpp are buggy, they produce

[PATCH 3.13 009/151] framebuffer: fix cfb_copyarea

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 00a9d699bc85052d2d3ed56251cd928024ce06a3 upstream. The function cfb_copyarea is buggy when the copy operation is not aligned on long boundary (4 bytes on 32-bit

Re: [PATCH] Sound USB: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-05-02 Thread Sander Eikelenboom
Friday, May 2, 2014, 6:13:09 PM, you wrote: > At Fri, 2 May 2014 15:09:27 +0200, > Sander Eikelenboom wrote: >> >> This (widely used) construction: >> >> if(printk_ratelimit()) >> dev_dbg() >> >> Causes the ratelimiting to spam the kernel log with the "callbacks >> suppressed" >>

[PATCH 3.13 014/151] hvc: ensure hvc_init is only ever called once in hvc_console.c

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Gortmaker commit f76a1cbed18c86e2d192455f0daebb48458965f3 upstream. Commit 3e6c6f630a5282df8f3393a59f10eb9c56536d23 ("Delay creation of khcvd thread") moved the call of hvc_init

[PATCH 3.13 020/151] s390/cio: fix driver callback initialization for ccw consoles

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Ott commit 2253e8d79237c69086ded391e6767afe16972527 upstream. ccw consoles are in use before they can be properly registered with the driver core. For devices which are in

[PATCH 3.13 007/151] ARM: 7954/1: mm: remove remaining domain support from ARMv6

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit b6ccb9803e90c16b212cf4ed62913a7591e79a39 upstream. CPU_32v6 currently selects CPU_USE_DOMAINS if CPU_V6 and MMU. This is because ARM 1136 r0pX CPUs lack the v6k

[PATCH 3.13 003/151] __dentry_path() fixes

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit f6500801522c61782d4990fa1ad96154cb397cd4 upstream. * we need to save the starting point for restarts * reject pathologically short buffers outright Spotted-by: Denys

[PATCH 3.13 019/151] x86, AVX-512: Enable AVX-512 States Context Switch

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Fenghua Yu commit c2bc11f10a39527cd1bb252097b5525664560956 upstream. This patch enables Opmask, ZMM_Hi256, and Hi16_ZMM AVX-512 states for xstate context switch. Signed-off-by:

[PATCH 1/1] block/blk-throttle.c: fix return of 0/1 with return type bool

2014-05-02 Thread Fabian Frederick
Fix 4 coccinelle warnings. Cc: Jens Axboe Cc: Andrew Morton Signed-off-by: Fabian Frederick --- block/blk-throttle.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 033745c..366b1d8 100644 --- a/block/blk-throttle.c

[PATCH 3.13 018/151] x86, AVX-512: AVX-512 Feature Detection

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Fenghua Yu commit 8e5780fdeef7dc490b3f0b3a62704593721fa4f3 upstream. AVX-512 is an extention of AVX2. Its spec can be found at:

[PATCH 3.13 137/151] iscsi-target: Fix ERL=2 ASYNC_EVENT connection pointer bug

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit d444edc679e7713412f243b792b1f964e5cff1e1 upstream. This patch fixes a long-standing bug in iscsit_build_conn_drop_async_message() where during ERL=2

[PATCH 3.13 016/151] PCI: mvebu: Fix potential issue in range parsing

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Jean-Jacques Hiblot commit 4f4bde1df33bde076f53325bdf2c6430cf85e1bb upstream. The second parameter of of_read_number() is not the index, but a size. As it happens, in this case it may

[PATCH 3.13 144/151] ALSA: ice1712: Fix boundary checks in PCM pointer ops

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4f8e940095536bc002a81666a4107a581c84e9b9 upstream. PCM pointer callbacks in ice1712 driver check the buffer size boundary wrongly between bytes and frames. This

[PATCH 3.13 132/151] Skip intel_crt_init for Dell XPS 8700

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Giacomo Comes commit 10b6ee4a87811a110cb01eaca01eb04da6801baf upstream. The Dell XPS 8700 has a onboard Display port and HDMI port and no VGA port. The call intel_crt_init freeze the

[PATCH 3.13 001/151] core, nfqueue, openvswitch: Orphan frags in skb_zerocopy and handle errors

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Zoltan Kiss commit 36d5fe6a000790f56039afe26834265db0a3ad4c upstream. skb_zerocopy can copy elements of the frags array between skbs, but it doesn't orphan them. Also, it doesn't

[PATCH 3.13 146/151] md/raid1: r1buf_pool_alloc: free allocate pages when subsequent allocation fails.

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit da1aab3dca9aa88ae34ca392470b8943159e25fe upstream. When performing a user-request check/repair (MD_RECOVERY_REQUEST is set) on a raid1, we allocate multiple bios each

[PATCH 3.13 147/151] ALSA: hda - add headset mic detect quirk for a Dell laptop

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 137bcc33c6fd775579c7d9d266e1972f56cf5cab upstream. When we plug a 3-ring headset on the Dell machine (VID: 0x10ec0283, SID: 0x10280667), the headset mic can't be

[PATCH 3.13 133/151] dm cache: fix a lock-inversion

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit 0596661f0a16d9d69bf1033320e70b6ff52b5e81 upstream. When suspending a cache the policy is walked and the individual policy hints written to the metadata via

[PATCH 3.13 143/151] DRM: armada: fix corruption while loading cursors

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit c39b06951f1dc2e384650288676c5b7dcc0ec92c upstream. Loading cursors to the LCD controller's SRAM can be corrupted when the configured pixel clock is relatively slow.

Re: [perf] more perf_fuzzer memory corruption

2014-05-02 Thread Peter Zijlstra
On Fri, May 02, 2014 at 12:22:30PM -0400, Vince Weaver wrote: > > I'll try the patch next. > > Meanwhile, can polling on a closed event cause problems with the reference > count? > > In my various failure traces there's always been a poll() active at the > time of crash, and I added some

[PATCH 3.13 142/151] hung_task: check the value of "sysctl_hung_task_timeout_sec"

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Liu Hua commit 80df28476505ed4e6701c3448c63c9229a50c655 upstream. As sysctl_hung_task_timeout_sec is unsigned long, when this value is larger then LONG_MAX/HZ, the function

[PATCH 3.13 139/151] mm: page_alloc: spill to remote nodes before waking kswapd

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 3a025760fc158b3726eac89ee95d7f29599e9dfa upstream. On NUMA systems, a node may start thrashing cache or even swap anonymous pages while there are still free

[PATCH 3.13 136/151] iser-target: Add missing se_cmd put for WRITE_PENDING in tx_comp_err

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 03e7848a64ed535a30f5d7fc6dede2d5a6a2534b upstream. This patch fixes a bug where outstanding RDMA_READs with WRITE_PENDING status require an extra

[PATCH 3.13 148/151] b43: Fix machine check error due to improper access of B43_MMIO_PSM_PHY_HDR

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= commit 12cd43c6ed6da7bf7c5afbd74da6959cda6d056b upstream. Register B43_MMIO_PSM_PHY_HDR is 16 bit one, so accessing it with 32b functions isn't

[PATCH 3.13 149/151] x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit b3b42ac2cbae1f3cecbb6229964a4d48af31d382 upstream. The IRET instruction, when returning to a 16-bit segment, only restores the bottom 16 bits of the user space

[PATCH 3.13 134/151] thinkpad_acpi: Fix inconsistent mute LED after resume

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 119f449866ad18785b0445adaf0d2859c6dbdaa3 upstream. The mute LED states have to be restored after resume. Bugzilla:

[PATCH 3.13 145/151] lib/percpu_counter.c: fix bad percpu counter state during suspend

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Jens Axboe commit e39435ce68bb4685288f78b1a7e24311f7ef939f upstream. I got a bug report yesterday from Laszlo Ersek in which he states that his kvm instance fails to suspend. Laszlo

[PATCH 3.13 151/151] ib_srpt: Use correct ib_sg_dma primitives

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Marciniszyn commit b076808051f2c80d38e03fb2f1294f525c7a446d upstream. The code was incorrectly using sg_dma_address() and sg_dma_len() instead of ib_sg_dma_address() and

[PATCH 1/1] block/blk-iopoll.c: use iop instead of iopoll

2014-05-02 Thread Fabian Frederick
All blk_iopoll functions use iop for parent iopoll structure except blk_iopoll_complete.This also fixes one kernel-doc warning. Cc: Jens Axboe Cc: Andrew Morton Signed-off-by: Fabian Frederick --- block/blk-iopoll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 3.13 011/151] mach64: fix cursor when character width is not a multiple of 8 pixels

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 43751a1b8ee2e70ce392bf31ef3133da324e68b3 upstream. This patch fixes the hardware cursor on mach64 when font width is not a multiple of 8 pixels. If you load

[PATCH 3.13 072/151] mfd: 88pm860x: Fix I2C device resource leak on regmap init fail

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit a7ab1c8b261305af583ce26bb4a14f555fdaa73e upstream. During probe the driver allocates dummy I2C device for companion chip and then allocates a regmap for it.

Re: [PATCH] netdev: pktgen xmit packet through vlan interface

2014-05-02 Thread Sergei Shtylyov
Hello. On 05/02/2014 11:18 AM, Zhouyi Zhou wrote: As http://www.spinics.net/lists/netdev/msg165015.html pktgen generates shared packet through vlan interface will cause oops because of duplicate entering tc queue. Try to solve this problem by means of packet clone instead of sharing.

Re: [perf] more perf_fuzzer memory corruption

2014-05-02 Thread Vince Weaver
I'll try the patch next. Meanwhile, can polling on a closed event cause problems with the reference count? In my various failure traces there's always been a poll() active at the time of crash, and I added some trace_printk()s and it looks like poll is at least attempting to poll on the

[PATCH 3.13 069/151] mfd: max77686: Fix possible NULL pointer dereference on i2c_new_dummy error

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit b9e183a1d495cd65412abe0f9df19b151716bfe7 upstream. During probe the driver allocates dummy I2C device for RTC with i2c_new_dummy() but it does not check the

[PATCH 3.13 060/151] ALSA: hda/realtek - Restore default value for ALC283

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 6bd55b04fe05cb26094b0fe494c7a207e6c0c36e upstream. Restore the registers to prevent the abnormal digital power supply rising ratio/sequence to the codec and causing

[PATCH 3.13 080/151] mac80211: fix suspend vs. authentication race

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 1a1cb744de160ee70086a77afff605bbc275d291 upstream. Since Stanislaw's patch removing the quiescing code, mac80211 had a race regarding suspend vs. authentication:

[PATCH 3.13 061/151] mfd: sec-core: Fix possible NULL pointer dereference when i2c_new_dummy error

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 65aba1e04916d72b30c028730a1e31860c225412 upstream. During probe the sec-core driver allocates dummy I2C device for RTC with i2c_new_dummy() but return value

[PATCH 3.13 075/151] mfd: 88pm800: Fix I2C device resource leak if probe fails

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 141050cf3d84fc303df58796d68dc1376b0e8f67 upstream. During probe the driver allocates two dummy I2C devices for subchips in function pm800_pages_init().

[PATCH 3.13 073/151] mfd: 88pm860x: Fix possible NULL pointer dereference on i2c_new_dummy error

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 159ce52a6b777fc82fa0b51c7440e25f9e4c6feb upstream. During probe the driver allocates dummy I2C device for companion chip with i2c_new_dummy() but it does not

[PATCH 3.13 062/151] regulator: arizona-ldo1: Correct default regulator init_data

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Charles Keepax commit a35ff2861690eaf9dbb38fa744a8a9e6f4ebfd61 upstream. Both 5102 and 8997 have the regulator capable of supplying 1.8V, and the voltage step from the 5110 regulator

[PATCH 3.13 068/151] mfd: max8997: Fix possible NULL pointer dereference on i2c_new_dummy error

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 97dc4ed3fa377ec91bb60ba98b70d645c2099384 upstream. During probe the driver allocates dummy I2C devices for RTC, haptic and MUIC with i2c_new_dummy() but it

Re: [perf] more perf_fuzzer memory corruption

2014-05-02 Thread Peter Zijlstra
On Thu, May 01, 2014 at 02:49:01PM -0400, Vince Weaver wrote: > It is a rance condition of sorts, because it's just a 10us or so > interleaving of calls that causes the bug to happen or not. > > In the good trace: > > [parent] __perf_event_task_sched_out (and hence perf_swevent_del) >

[PATCH 3.13 074/151] mfd: max77693: Fix possible NULL pointer dereference on i2c_new_dummy error

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit ad09dd6a1f5d6244bd89314015af506ba7f9810a upstream. During probe the driver allocates dummy I2C devices for MUIC and haptic with i2c_new_dummy() but it does

mm: invalid memory access in alloc_vmap_area

2014-05-02 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following: [ 194.505728] BUG: unable to handle kernel paging request at ffd0 [ 194.508364] IP: alloc_vmap_area (mm/vmalloc.c:427) [ 194.509482] PGD 3be30067 PUD

Re: [PATCH 1/1] MM/ZBUD: make size unsigned like unique callsite

2014-05-02 Thread Seth Jennings
On Wed, Apr 30, 2014 at 09:18:36PM +0200, Fabian Frederick wrote: > zbud_alloc is only called by zswap_frontswap_store with unsigned int len. > Change function parameter + update >= 0 check. Thanks for the cleanup! Acked-by: Seth Jennings > > Cc: Seth Jennings > Cc: Andrew Morton >

[PATCH 3.13 067/151] mfd: Include all drivers in subsystem menu

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit a6e6e660baa5c583022e3e48c85316bace027825 upstream. It is currently not possible to select the SA1100 or Vexpress drivers in the MFD subsystem, because the menu for

Re: [RFC PATCH] regulator: virtual: Introduce a new virtual locker regulator type

2014-05-02 Thread Doug Anderson
Mark, On Wed, Apr 30, 2014 at 6:28 PM, Mark Brown wrote: > On Wed, Apr 30, 2014 at 11:56:08AM -0700, Doug Anderson wrote: > >> I cornered Rob and Mark Rutland a little bit about this at ELC today >> (sorry!). Neither of them was a huge ran of adding a pseudo device. >> Rob suggested that Mark

Re: Remove __visible from asmlinkage for 3.15

2014-05-02 Thread Linus Torvalds
On Thu, May 1, 2014 at 10:38 PM, H. Peter Anvin wrote: > > How about I put it into tip/urgent, but for next week's pull so it gets > some time to cook first... Sounds like a good plan to me, Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH 3.13 070/151] mfd: max8998: Fix possible NULL pointer dereference on i2c_new_dummy error

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit ed26f87b9f71693a1d1ee85f5e6209601505080f upstream. During probe the driver allocates dummy I2C device for RTC with i2c_new_dummy() but it does not check the

[PATCH 3.13 058/151] IB/qib: add missing braces in do_qib_user_sdma_queue_create()

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Yann Droneaud commit 37a967651caf99dd267017023737bd442f5acb3d upstream. Commit c804f07248895ff9c moved qib_assign_ctxt() to do_qib_user_sdma_queue_create() but dropped the braces

Re: [PATCH] Sound USB: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-05-02 Thread Takashi Iwai
At Fri, 2 May 2014 15:09:27 +0200, Sander Eikelenboom wrote: > > This (widely used) construction: > > if(printk_ratelimit()) > dev_dbg() > > Causes the ratelimiting to spam the kernel log with the "callbacks suppressed" > message below, even while the dev_dbg it is supposed to rate limit

[PATCH 3.13 057/151] IB/qib: Fix debugfs ordering issue with multiple HCAs

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Marciniszyn commit f8b6c47a44c063062317646683a73371c24c69ee upstream. The debugfs init code was incorrectly called before the idr mechanism is used to get the unit number, so the

Re: [RFC][PATCH 1/3] PM / sleep: Flags to speed up suspend-resume of runtime-suspended devices

2014-05-02 Thread Alan Stern
On Fri, 2 May 2014, Rafael J. Wysocki wrote: > On Friday, May 02, 2014 01:15:14 AM Rafael J. Wysocki wrote: > > On Thursday, May 01, 2014 05:39:31 PM Alan Stern wrote: > > > On Fri, 25 Apr 2014, Rafael J. Wysocki wrote: > > > > > > > From: Rafael J. Wysocki > > > > > > > > Currently, some

[PATCH 3.13 071/151] mfd: max8925: Fix possible NULL pointer dereference on i2c_new_dummy error

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 96cf3dedc491d2f1f66cc26217f2b06b0c7b6797 upstream. During probe the driver allocates dummy I2C devices for RTC and ADC with i2c_new_dummy() but it does not

[PATCH 3.13 077/151] MIPS: KVM: Pass reserved instruction exceptions to guest

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 15505679362270d02c449626385cb74af8905514 upstream. Previously a reserved instruction exception while in guest code would cause a KVM internal error if

Re: [PATCH 13/15] ASoC: SND_S3C_DMA_LEGACY needs S3C24XX_DMA

2014-05-02 Thread Arnd Bergmann
On Friday 02 May 2014 12:25:58 Heiko Stübner wrote: > > Just to mention, we have a dmaengine driver for s3c24xx . Correct > platform-data is present for all s3c24xx socs (in mach-s3c24xx/common.c) . > > Mark already removed support for the legacy API from the s3c64xx spi driver > (used by

Re: [PATCH] usb: dwc3: gadget: giveback request if start transfer fail

2014-05-02 Thread Felipe Balbi
Hi, On Sat, May 03, 2014 at 12:05:41AM -0400, Zhuang Jin Can wrote: > On Thu, May 01, 2014 at 10:13:28AM -0500, Felipe Balbi wrote: > > On Thu, May 01, 2014 at 04:44:52PM -0400, Zhuang Jin Can wrote: > > > On Wed, Apr 30, 2014 at 02:58:29PM -0500, Felipe Balbi wrote: > > > > On Thu, May 01, 2014

[PATCH 3.13 029/151] [media] uvcvideo: Do not use usb_set_interface on bulk EP

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Oleksij Rempel commit b1e43f232698274871e1358c276d7b0242a7d607 upstream. The UVC specification uses alternate setting selection to notify devices of stream start/stop. This breaks when

[PATCH 3.13 025/151] [media] m88rs2000: add caps FE_CAN_INVERSION_AUTO

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit 3c8023a782964c72574ad8268ba0ea4e2d9772fc upstream. The m88rs2000 frontend is always auto inversion. Signed-off-by: Malcolm Priestley Signed-off-by: Michael

[PATCH 3.13 022/151] [media] omap3isp: preview: Fix the crop margins

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Florian Vaussard commit 8b57b9669aa884ac75b8d09c251d6b1755533c15 upstream. Commit 3fdfedaaa "[media] omap3isp: preview: Lower the crop margins" accidentally changed the previewer's

[PATCH 3.13 023/151] ACPICA: Restore code that repairs NULL package elements in return values.

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 61db45ca21630f5ab7f678d54c5d969c21647854 upstream. The original code was lost accidently, it was not generated along with the following commit of mechanism improvements

Re: [PATCH] rwsem: Comments to explain the meaning of the rwsem's count field

2014-05-02 Thread Tim Chen
On Fri, 2014-05-02 at 06:10 -0700, Randy Dunlap wrote: > > > > It takes me quite a while to understand how rwsem's count field mainifest > > manifests > > > itself in different scenarios. I'm adding comments to provide a quick > >

[PATCH 3.13 024/151] [media] media: gspca: sn9c20x: add ID for Genius Look 1320 V2

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 61f0319193c44adbbada920162d880b1fdb3aeb3 upstream. Signed-off-by: Wolfram Sang Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab Signed-off-by:

[PATCH 3.13 031/151] usb: dwc3: fix randconfig build errors

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Felipe Balbi commit 610183051d8f9421f138c4203ca894387f9f8839 upstream. commit 388e5c5 (usb: dwc3: remove dwc3 dependency on host AND gadget.) created the possibility for host-only and

[PATCH 3.13 028/151] usb: musb: avoid NULL pointer dereference

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Felipe Balbi commit eee3f15d5f1f4f0c283dd4db67dc1b874a2852d1 upstream. instead of relying on the otg pointer, which can be NULL in certain cases, we can use the gadget and host

[PATCH 3.13 030/151] drm/i915: Don't clobber CHICKEN_PIPESL_1 on BDW

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= commit c7c656226842679bcd9f39dc24441b4ff398a850 upstream. Misplaced parens cause us to totally clobber the CHICKEN_PIPESL_1 registers with

[PATCH 3.13 041/151] iwlwifi: dvm: take mutex when sending SYNC BT config command

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 82e5a649453a3cf23516277abb84273768a1592b upstream. There is a flow in which we send the host command in SYNC mode, but we don't take priv->mutex. Fixes:

[PATCH 3.13 040/151] mtd: atmel_nand: Disable subpage NAND write when using Atmel PMECC

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Herve Codina commit 90445ff6241e2a13445310803e2efa606c61f276 upstream. Crash detected on sam5d35 and its pmecc nand ecc controller. The problem was a call to chip->ecc.hwctl from

[PATCH 3.13 026/151] [media] m88rs2000: prevent frontend crash on continuous transponder scans

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit 8272d0a0c0d374a01721e579df6e8add5577132b upstream. Add m88rs2000_get_tune_settings, min delay of 2000 ms on symbol rate more than 300 and delay of 3000ms

[PATCH 3.13 048/151] mtip32xx: Unmap the DMA segments before completing the IO request

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Felipe Franciosi commit 368c89d7ac70f937c93cd6f3b65bcfdfb3ba794f upstream. If the buffers are unmapped after completing a request, then stale data might be in the request.

Re: [PATCH] usb: dwc3: gadget: giveback request if start transfer fail

2014-05-02 Thread Zhuang Jin Can
Hi, On Thu, May 01, 2014 at 10:13:28AM -0500, Felipe Balbi wrote: > On Thu, May 01, 2014 at 04:44:52PM -0400, Zhuang Jin Can wrote: > > On Wed, Apr 30, 2014 at 02:58:29PM -0500, Felipe Balbi wrote: > > > On Thu, May 01, 2014 at 02:36:08AM -0400, Zhuang Jin Can wrote: > > > > At least we should

[PATCH 3.13 051/151] KVM: s390: Optimize ucontrol path

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit 2955c83f72801245afd0fe5c560cc75b82bea9aa upstream. Since commit 7c470539c95630c1f2a10f109e96f249730b75eb (s390/kvm: avoid automatic sie reentry) we will

[PATCH 3.13 042/151] virtio_balloon: don't softlockup on huge balloon changes.

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Rusty Russell commit 1f74ef0f2d7d692fcd615621e0e734c3e7771413 upstream. When adding or removing 100G from a balloon: BUG: soft lockup - CPU#0 stuck for 22s! [vballoon:367] We

[PATCH 3.13 033/151] blktrace: fix accounting of partially completed requests

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Roman Pen commit af5040da01ef980670b3741b3e10733ee3e33566 upstream. trace_block_rq_complete does not take into account that request can be partially completed, so we can get the

[PATCH 3.13 046/151] ARM: dts: am33xx: correcting dt node unit address for usb

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Mugunthan V N commit 8abcdd680d543fb582371e146e62ba9f2af8a816 upstream. DT node's unit address should be its own register offset address to make it a unique across the system. This

[PATCH 3.13 049/151] mtip32xx: mtip_async_complete() bug fixes

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Sam Bradshaw commit 5eb9291c36c7d71d7c6c832d5a4f551eb8ac015d upstream. This patch fixes 2 issues in the fast completion path: 1) Possible double completions / double dma_unmap_sg()

[PATCH 3.13 045/151] ARM: OMAP2+: INTC: Acknowledge stuck active interrupts

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Stefan=20S=C3=B8rensen?= commit 698b48532539484b012fb7c4176b959d32a17d00 upstream. When an interrupt has become active on the INTC it will stay active until it is acked, even

[PATCH 3.13 053/151] usb: gadget: tcm_usb_gadget: stop format strings

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit aba37fd975f0dd58e025c99c2a79b61b20190831 upstream. This makes sure that the name coming out of configfs cannot be used accidentally as a format string. Signed-off-by:

[PATCH 3.13 039/151] staging:serqt_usb2: Fix sparse warning restricted __le16 degrades to integer

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Himangi Saraogi commit abe5d64d1a74195a44cd14624f8178b9f48b7cc7 upstream. This patch fixes the following sparse warning : drivers/staging/serqt_usb2/serqt_usb2.c:727:40: warning:

[PATCH 3.13 047/151] mtip32xx: Set queue bounce limit

2014-05-02 Thread Kamal Mostafa
3.13.11.1 -stable review patch. If anyone has any objections, please let me know. -- From: Felipe Franciosi commit 1044b1bb9278f2e656a1a7b63dc24a59506540aa upstream. We need to set the queue bounce limit during the device initialization to prevent excessive bouncing on 32

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