[PATCH V2] staging: rtl8712: consolidate kmalloc + memset 0 to kzalloc

2016-01-05 Thread Nicholas Mc Guire
+ CONFIG_STAGING=y, CONFIG_R8712U=m Patch is against linux-next (localversion-next is -next-20160105) drivers/staging/rtl8712/rtl871x_recv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_recv.c b/drivers/staging/rtl8712/rtl871x_recv.c index

[PATCH 4.2.y-ckt 149/211] sunrpc: avoid warning in gss_key_timeout

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit cc6a7aab5570beef884ff95f7cade6634bf815a1 upstream. The gss_key_timeout() function causes a harmless warning in some configurations, e.g. ARM imx_v6_v7_defconfig wi

[PATCH 4.2.y-ckt 151/211] DT: mmc: sh_mmcif: fix "compatible" property text

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit 76d63c2b59d4a1481bedc65a3ef25e9d1354dca3 upstream. The "compatible" property text contradicts even the example given in the MMCIF binding document itself; moreo

[PATCH 4.2.y-ckt 143/211] kconfig: Fix copy&paste error

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Sojka commit f6aad2615c8c4ed806e70693adacb6c93f13564a upstream. Fixes: 31847b67bec0 ("kconfig: allow use of relations other than (in)equality") Signed-off-by: Michal Sojka Revi

Re: Including Raspberry Pi -next trees in linux-next

2016-01-05 Thread Florian Fainelli
On 05/01/16 12:06, Eric Anholt wrote: > Stephen Rothwell writes: > >> Hi Eric, >> >> On Sat, 26 Dec 2015 13:15:50 -0800 Eric Anholt wrote: >>> >>> I'll be sending pull-requests to Florian soon, but I would like to get >>> my trees included in linux-next to get increased testing coverage of >>> t

[PATCH 4.2.y-ckt 145/211] RDMA/cxgb4: re-fix 32-bit build warning

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit b61e564af85bde408456f779eb267a37a64dc522 upstream. Casting a pointer to __be64 produces a warning on 32-bit architectures: drivers/infiniband/hw/cxgb4/mem.c:147:2

[PATCH 4.2.y-ckt 156/211] sparc/PCI: Add mem64 resource parsing for root bus

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu commit af86fa4001ca5644ae20cc2c52cdf67bb7db9752 upstream. David reported that a T5-8 sparc system failed to boot with: pci_sun4v f02dbcfc: PCI host bridge to bus :00

[PATCH 4.2.y-ckt 114/211] iio:magnetometer:bmc150_magn: sort entry alphabetically

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Hartmut Knaack commit 2427d22de807b40f72175c8c9b1ff8a07275ad82 upstream. Sort the entry for bmc105_magn in Kconfig and Makefile to its correct position. Also add the minor module infor

Re: [PATCH v2 00/13] arm64: implement support for KASLR

2016-01-05 Thread Kees Cook
On Wed, Dec 30, 2015 at 7:25 AM, Ard Biesheuvel wrote: > This series implements KASLR for arm64, by building the kernel as a PIE > executable that can relocate itself at runtime, and moving it to a random > offset in the vmalloc area. This v2 also implements physical randomization, > i.e., it allo

Re: [Intel-gfx] [PATCH] drm/i915: intel_hpd_init(): Don't check connectors for an encoder

2016-01-05 Thread Daniel Vetter
On Tue, Jan 05, 2016 at 09:05:49PM +0100, Daniel Vetter wrote: > On Tue, Jan 05, 2016 at 02:53:08PM -0500, Lyude wrote: > > There's no reason to check for an active encoder when setting up hpd, > > especially since a disconnected connector isn't going to have an encoder > > in the first place. This

[PATCH 4.2.y-ckt 159/211] cpufreq: arm_big_little: fix frequency check when bL switcher is active

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: "Jon Medhurst \\(Tixy\\)" commit 14f1ba3af6209f0394192ef07fe2bd9bccdc755f upstream. The check for correct frequency being set in bL_cpufreq_set_rate is broken when the big.LITTLE switc

[PATCH 4.2.y-ckt 147/211] spi: omap2-mcspi: disable other channels CHCONF_FORCE in prepare_message

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Neil Armstrong commit 468a32082b04c7febccfcd55b06ecbc438fcddcc upstream. Since the "Switch driver to use transfer_one" change, the cs_change behavior has changed and a channel chip sel

[PATCH 4.2.y-ckt 098/211] printk: prevent userland from spoofing kernel messages

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause commit 3824657c522f19f85a76bd932821174a5557a382 upstream. The following statement of ABI/testing/dev-kmsg is not quite right: It is not possible to inject messages f

[PATCH 4.2.y-ckt 093/211] memcg: fix thresholds for 32b architectures.

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit c12176d3368b9b36ae484d323d41e94be26f9b65 upstream. Commit 424cdc141380 ("memcg: convert threshold to bytes") has fixed a regression introduced by 3e32cb2e0a12 ("mm:

[PATCH 4.2.y-ckt 141/211] ALSA: fireworks: use u32 type for be32_to_cpup() macro

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 463543ac2effaeb2b524f0a0a92f2413c23998ca upstream. In former commit, snd_efw_command_get_phys_meters() was added to handle metering data. The given buffer is us

[PATCH 4.2.y-ckt 138/211] drm: Fix return value of drm_framebuffer_init()

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 3c67d839b30c7d6d6ab5c6fddac0f58ec8095d50 upstream. In its original version, drm_framebuffer_init() returned a negative int if drm_mode_object_get() failed (f453ba04

[PATCH 4.2.y-ckt 129/211] i2c: img-scb: use DIV_ROUND_UP to round divisor values

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Sifan Naeem commit 5728d95f2458887ae3d95547c04352bba5080ad6 upstream. Using % can be slow depending on the architecture. Using DIV_ROUND_UP is nicer and more efficient way to do it.

[PATCH 4.2.y-ckt 113/211] dax_io(): don't let non-error value escape via retval instead of EFAULT

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit cadfbb6ec2e55171479191046142c927a8b12d87 upstream. Signed-off-by: Al Viro Reported-by: Sasha Levin Signed-off-by: Jens Axboe Signed-off-by: Kamal Mostafa --- fs/dax

[PATCH 4.2.y-ckt 140/211] ALSA: dice: assign converted data to the same type of variable

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit cbc6f28067aa0aa1193c2bf3546430b2c4dae22c upstream. In former commit, u32 data was assigned to __be32 variable instead of an int variable. This is not enough sol

[PATCH 4.2.y-ckt 142/211] ALSA: bebob: use correct type for __be32 data

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit fef586d58960bc867c1fa8126ee5d7364a5a89ac upstream. In former commit, metering is supported for BeBoB based models customized by M-Audio. The data in transaction

[PATCH 4.2.y-ckt 128/211] i2c: img-scb: do dummy writes before fifo access

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Sifan Naeem commit 2aefb1bd4101235be7d9f0d5ac8d56aa979f6081 upstream. Move scb_wr_rd_fence to before reading from fifo and writing to fifo to make sure the the first read/write is done

[PATCH 4.2.y-ckt 131/211] i2c: img-scb: Clear line and interrupt status before starting a transfer

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Sifan Naeem commit 1ed6faedfc9741cca2d97b25ab73902ba7177093 upstream. Clear line status and all generated interrupts from the interrupt status register before starting a transfer, as w

[PATCH 4.2.y-ckt 132/211] i2c: img-scb: verify support for requested bit rate

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Sifan Naeem commit 58b0497dad1abbe389af83e3d7706be584cf3ba2 upstream. The requested bit rate can be outside the range supported by the driver. The maximum bit rate this driver supports

[PATCH 4.2.y-ckt 136/211] regulator: arizona-ldo1: Fix handling of GPIO 0

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Charles Keepax commit ce938001c08c6580a8da38dc226fa605512afab6 upstream. The LDO1 driver is using the arizona_of_get_named_gpio helper function which will return 0 if an error was enco

[PATCH 4.2.y-ckt 137/211] ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit df4833886f91eea0d20e6e97066adab308625ef8 upstream. When committed to upstream, these four modules had wrong entries for Makefile. This forces them to be loadabl

[PATCH 4.2.y-ckt 100/211] fs, seqfile: always allow oom killer

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Greg Thelen commit 0f930902eb8806cff8dcaef9ff9faf3cfa5fd748 upstream. Since 5cec38ac866b ("fs, seq_file: fallback to vmalloc instead of oom kill processes") seq_buf_alloc() avoids call

Re: dm ioctl: Access user-land memory through safe functions.

2016-01-05 Thread Mike Snitzer
On Tue, Dec 08 2015 at 1:26pm -0500, Scotty Bauer wrote: > > On 12/01/2015 11:11 AM, Scotty wrote: > > > > 0001-dm-ioctl-Access-user-land-memory-through-safe-functi.patch > > > > > > From b26adf880eba03ac6f2b1dd87426bb96fd2a0282 Mon Sep 17 00:00:00 2001 > > From: Scotty Bauer > > Date: Tue,

[PATCH 4.2.y-ckt 134/211] hsi: fix double kfree

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Geliang Tang commit f098a045350ecd6045f2f2d5a50fecf2a98962d7 upstream. When device_register() fails, kfree() is called in hsi_client_release(), hence there is no need to call kfree in

[PATCH 4.2.y-ckt 133/211] packet: fix match_fanout_group()

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 161642e24fee40fba2c5bc2ceacc00d118a22d65 upstream. Recent TCP listener patches exposed a prior af_packet bug : match_fanout_group() blindly assumes it is always saf

[PATCH 4.2.y-ckt 139/211] ALSA: dice: correct variable types for __be32 data

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 3e93d42a04eea4e621f87bfc51b0ab868e131cb9 upstream. Some local variables in some functions are typed as unsigned int, while __be32 value is assigned to them. Thi

[PATCH 4.2.y-ckt 130/211] i2c: img-scb: fix LOW and HIGH period values for the SCL clock

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Sifan Naeem commit 987008dbc48479af250cddda7f36e920a47ef54f upstream. Currently, after determining the minimum value for the High period (TCKH) the remainder of the internal clock puls

[PATCH 4.2.y-ckt 135/211] hsi: omap_ssi_port: Prevent warning if cawake_gpio is not defined.

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit e74eba049356fdad6713ab66322d9aeb0e85608b upstream. The error handling path is broken as cawake_gpio was defined as unsigned integer causing the following warnings

[PATCH 4.2.y-ckt 124/211] netfilter: remove dead code

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Flavio Leitner commit 0647e708344f4bf8b9e3f1855361c597f93d084d upstream. Remove __nf_conntrack_find() from headers. Fixes: dcd93ed4cd1 ("netfilter: nf_conntrack: remove dead code") Si

[PATCH 4.2.y-ckt 123/211] devres: fix a for loop bounds check

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 1f35d04a02a652f14566f875aef3a6f2af4cb77b upstream. The iomap[] array has PCIM_IOMAP_MAX (6) elements and not DEVICE_COUNT_RESOURCE (16). This bug was found using

[PATCH 4.2.y-ckt 127/211] i2c: img-scb: enable fencing for all versions of the ip

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Sifan Naeem commit 0e59378bc05b084939af54d2066552ac42fa0fee upstream. The code to read from the master read fifo, and write to the master write fifo, checks a bit in an SCB register be

[PATCH 4.2.y-ckt 125/211] ipv4: Fix ip_local_out_sk by passing the sk into __ip_local_out_sk

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit fd2874b3bbe832e90ac480971a7a8bd736b629b9 upstream. In the rare case where sk != skb->sk ip_local_out_sk arranges to call dst->output differently if the skb i

[PATCH 4.2.y-ckt 087/211] ALSA: hda - Add Intel Lewisburg device IDs Audio

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Alexandra Yates commit 5cf92c8b3dc5da59e05dc81bdc069cedf6f38313 upstream. Adding Intel codename Lewisburg platform device IDs for audio. [rearranged the position by tiwai] Signed-off

[PATCH 4.2.y-ckt 126/211] ipv4: Fix ip_queue_xmit to pass sk into ip_local_out_sk

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 850dcc4d4dd7d5da5c1b2a780c5e649c3b649545 upstream. After a packet has been encapsulated by a tunnel we should use the tunnel sockets local multicast loopback

[PATCH 4.2.y-ckt 122/211] [media] vivid: Fix iteration in driver removal path

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Ezequiel Garcia commit a5d42b8c3b3ddccd88dc1c70957177d31a6699fb upstream. When the diver is removed and all the resources are deallocated, we should be iterating through the created de

[PATCH 4.2.y-ckt 118/211] tools build: Fixup feature detection display function name

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Arnaldo Carvalho de Melo commit 6076e2a47cccfb3d48a8d165853c0b799c563df7 upstream. Cut'n'paste mistake, it should eval the name of the function defined right next to it, in the next li

[PATCH 4.2.y-ckt 121/211] tcp: call sk_mark_napi_id() on the child, not the listener

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 38cb52455c2c3e8b5751350a3fb32e43e82e129a upstream. This fixes a typo : We want to store the NAPI id on child socket. Presumably nobody really uses busy polling, on

[PATCH 4.2.y-ckt 120/211] dmaengine: dw: convert to __ffs()

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 39416677b95bf1ab8bbfa229ec7e511c96ad5d0c upstream. We replace __fls() by __ffs() since we have to find a *minimum* data width that satisfies both source and dest

[PATCH 4.2.y-ckt 102/211] perf: Fix inherited events vs. tracepoint filters

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit b71b437eedaed985062492565d9d421d975ae845 upstream. Arnaldo reported that tracepoint filters seem to misbehave (ie. not apply) on inherited events. The fix is obv

[PATCH 4.2.y-ckt 119/211] wm831x_power: Use IRQF_ONESHOT to request threaded IRQs

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Valentin Rothberg commit 90adf98d9530054b8e665ba5a928de4307231d84 upstream. Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary han

Re: Including Raspberry Pi -next trees in linux-next

2016-01-05 Thread Stephen Warren
On 01/05/2016 01:06 PM, Eric Anholt wrote: Stephen Rothwell writes: Hi Eric, On Sat, 26 Dec 2015 13:15:50 -0800 Eric Anholt wrote: I'll be sending pull-requests to Florian soon, but I would like to get my trees included in linux-next to get increased testing coverage of them against everyt

[PATCH 4.2.y-ckt 078/211] xtensa: fix secondary core boot in SMP

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit ab45fb145096799dabd18afc58bb5f97171017cd upstream. There are multiple factors adding to the issue in different configurations: - commit 17290231df16 ("xtensa:

[PATCH 4.2.y-ckt 117/211] crypto: crc32c-pclmul - use .rodata instead of .rotata

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 97bce7e0b58dfc7d159ded329f57961868fb060b upstream. Module crc32c-intel uses a special read-only data section named .rotata. This section is defined for K_table, an

[PATCH 4.2.y-ckt 115/211] ALSA: pcm: remove structure member of 'struct snd_pcm_hwptr_log *' type because this structure had been removed

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 0052b7dcf9d9ec6be4fc3fe815a2ceda623bb9d1 upstream. This structure was added by 4d96eb255c53 ('ALSA: pcm_lib - add possibility to log last 10 DMA ring buffer pos

[PATCH 4.2.y-ckt 109/211] FS-Cache: Don't override netfs's primary_index if registering failed

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Kinglong Mee commit b130ed5998e62879a66bad08931a2b5e832da95c upstream. Only override netfs->primary_index when registering success. Signed-off-by: Kinglong Mee Signed-off-by: David H

[PATCH 4.2.y-ckt 111/211] binfmt_elf: Don't clobber passed executable's file header

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: "Maciej W. Rozycki" commit b582ef5c53040c5feef4c96a8f9585b6831e2441 upstream. Do not clobber the buffer space passed from `search_binary_handler' and originally preloaded by `prepare_b

[PATCH 4.2.y-ckt 108/211] FS-Cache: Increase reference of parent after registering, netfs success

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Kinglong Mee commit 86108c2e34a26e4bec3c6ddb23390bf8cedcf391 upstream. If netfs exist, fscache should not increase the reference of parent's usage and n_children, otherwise, never be d

[PATCH 4.2.y-ckt 110/211] FS-Cache: Handle a write to the page immediately beyond the EOF marker

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit 102f4d900c9c8f5ed89ae4746d493fe3ebd7ba64 upstream. Handle a write being requested to the page immediately beyond the EOF marker on a cache object. Currently this

[PATCH 4.2.y-ckt 107/211] drm/ast: Initialized data needed to map fbdev memory

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Egbert Eich commit 28fb4cb7fa6f63dc2fbdb5f2564dcbead8e3eee0 upstream. Due to a missing initialization there was no way to map fbdev memory. Thus for example using the Xserver with the

[PATCH 4.2.y-ckt 112/211] fs/pipe.c: return error code rather than 0 in pipe_write()

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 6ae08069939f17422835448acae76bda8d96b16a upstream. pipe_write() would return 0 if it failed to merge the beginning of the data to write with the last, partially fil

[PATCH 4.2.y-ckt 105/211] storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: "K. Y. Srinivasan" commit 8cf308e1225f5f93575f03cc4dbef24516fa81c9 upstream. Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not specifying tags. Without this, the qlogi

[PATCH 4.2.y-ckt 106/211] drivers: of: of_reserved_mem: fixup the alignment with CMA setup

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Jason Liu commit 1cc8e3458b5110253c8f5aaf1890d5ffea9bb7b7 upstream. There is an alignment mismatch issue between the of_reserved_mem and the CMA setup requirement. The of_reserved_mem

[PATCH] futex: Reduce the scope of lock_page, aka lockless futex_get_key()

2016-01-05 Thread Davidlohr Bueso
When dealing with key handling for shared futexes, we can drastically reduce the usage/need of the page lock. 1) For anonymous pages, the associated futex object is the mm_struct which does not require the page lock. 2) For inode based, keys, we can check under RCU read lock if the page mapping is

[PATCH 4.2.y-ckt 067/211] dm: initialize non-blk-mq queue data before queue is used

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit ad5f498f610fa3fd8bd265139098bc1405cd2783 upstream. Commit bfebd1cdb497a57757c83f5fbf1a29931591e2a4 ("dm: add full blk-mq support to request-based DM") moves the

[PATCH 4.2.y-ckt 059/211] i2c: at91: manage unexpected RXRDY flag when starting a transfer

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit a9bed6b10bd117a300cceb9062003f7a2761ef99 upstream. In some cases, we could start a new i2c transfer with the RXRDY flag set. It is not a clean state and it lea

[PATCH 4.2.y-ckt 099/211] lib/hexdump.c: truncate output in case of overflow

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 9f029f540c2f7e010e4922d44ba0dfd05da79f88 upstream. There is a classical off-by-one error in case when we try to place, for example, 1+1 bytes as hex in the buffe

[PATCH 4.2.y-ckt 097/211] proc: actually make proc_fd_permission() thread-friendly

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 54708d2858e79a2bdda10bf8a20c80eb96c20613 upstream. The commit 96d0df79f264 ("proc: make proc_fd_permission() thread-friendly") fixed the access to /proc/self/fd fr

[PATCH 4.2.y-ckt 101/211] parisc: Fixes and cleanups in kernel uapi header files

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit d0cf62fb63f760e98244d31396b3b58f3a1e326b upstream. This patch fixes some bugs and partly cleans up the parisc uapi header files to what glibc defined: - compat_semi

[PATCH 4.2.y-ckt 094/211] arm64: bpf: fix div-by-zero case

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Zi Shen Lim commit 251599e1d6906621f49218d7b474ddd159e58f3b upstream. In the case of division by zero in a BPF program: A = A / X; (X == 0) the expected behavior is to termina

[PATCH 4.2.y-ckt 095/211] arm64: bpf: fix mod-by-zero case

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Zi Shen Lim commit 14e589ff4aa3f28a5424e92b6495ecb8950080f7 upstream. Turns out in the case of modulo by zero in a BPF program: A = A % X; (X == 0) the expected behavior is to

[PATCH 4.2.y-ckt 056/211] ACPI: Use correct IRQ when uninstalling ACPI interrupt handler

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Chen Yu commit 49e4b84333f338d4f183f28f1f3c1131b9fb2b5a upstream. Currently when the system is trying to uninstall the ACPI interrupt handler, it uses acpi_gbl_FADT.sci_interrupt as th

[PATCH 4.2.y-ckt 091/211] mm: slab: only move management objects off-slab for sizes larger than KMALLOC_MIN_SIZE

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit d4322d88f5fdf92729dd40f923013414fbb2184d upstream. On systems with a KMALLOC_MIN_SIZE of 128 (arm64, some mips and powerpc configurations defining ARCH_DMA_MINAL

[PATCH 4.2.y-ckt 055/211] spi: atmel: Fix DMA-setup for transfers with more than 8 bits per word

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: David Mosberger-Tang commit 06515f83908d038d9e12ffa3dcca27a1b67f2de0 upstream. The DMA-slave configuration depends on the whether <= 8 or > 8 bits are transferred per word, so we need

[PATCH 4.2.y-ckt 088/211] drm: Use userspace compatible type in fourcc_mod_code macro

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Tvrtko Ursulin commit 6172180c6b37ea164bf8a9bad70bb348d0a16563 upstream. __u64 should be used instead of u64. Feature originally added in: commit e3eb3250d84ef97b766312345774367b6a31

[PATCH 4.2.y-ckt 057/211] ACPI: Using correct irq when waiting for events

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Chen Yu commit efb1cf7d28b8aeacec53e9ba8f3f2809c5cb9686 upstream. When the system is waiting for GPE/fixed event handler to finish, it uses acpi_gbl_FADT.sci_interrupt directly as the

[PATCH 4.2.y-ckt 089/211] scsi: restart list search after unlock in scsi_remove_target

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 40998193560dab6c3ce8d25f4fa58a23e252ef38 upstream. When dropping a lock while iterating a list we must restart the search as other threads could have manipulat

[PATCH 4.2.y-ckt 090/211] toshiba_acpi: Initialize hotkey_event_type variable

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Azael Avalos commit d2f20619942fe4618160a7fa3dbdcbac335cff59 upstream. Commit 53147b6cabee5e8d1997b5682fcc0c3b72ddf9c2 ("toshiba_acpi: Fix hotkeys registration on some toshiba models")

[PATCH 4.2.y-ckt 086/211] tracefs: Fix refcount imbalance in start_creating()

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit d227c3ae4e94e5eb11dd780a811f59e1a7b74ccd upstream. In tracefs' start_creating(), we pin the file system to safely access its root. When we failed to create a fil

[PATCH 4.2.y-ckt 084/211] timers: Use proper base migration in add_timer_on()

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 22b886dd1018093920c4250dee2a9a3cb7cff7b8 upstream. Regardless of the previous CPU a timer was on, add_timer_on() currently simply sets timer->flags to the new CPU. As

Re: [PATCH v2 10/14] serial: pic32_uart: Add PIC32 UART driver

2016-01-05 Thread Paul.Thacker
On 12/20/2015 09:14 AM, Andy Shevchenko wrote: > On Tue, Dec 15, 2015 at 12:42 AM, Joshua Henderson > wrote: >> From: Andrei Pistirica >> >> This adds UART and a serial console driver for Microchip PIC32 class >> devices. >> >> Signed-off-by: Andrei Pistirica >> Signed-off-by: Joshua Henderson

[PATCH 4.2.y-ckt 085/211] ALSA: hda - Apply pin fixup for HP ProBook 6550b

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c932b98c1e47312822d911c1bb76e81ef50e389c upstream. HP ProBook 6550b needs the same pin fixup applied to other HP B-series laptops with docks for making its headphon

[PATCH 4.2.y-ckt 046/211] vTPM: fix memory allocation flag for rtce buffer at kernel boot

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: "Hon Ching (Vicky) Lo" commit 60ecd86c4d985750efa0ea3d8610972b09951715 upstream. At ibm vtpm initialzation, tpm_ibmvtpm_probe() registers its interrupt handler, ibmvtpm_interru

[PATCH 4.2.y-ckt 027/211] staging/dgnc: fix info leak in ioctl

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Salva=20Peir=C3=B3?= commit 4b6184336ebb5c8dc1eae7f7ab46ee608a748b05 upstream. The dgnc_mgmt_ioctl() code fails to initialize the 16 _reserved bytes of struct digi_dinfo afte

[PATCH 4.2.y-ckt 080/211] recordmcount: arm64: Replace the ignored mcount call into nop

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Li Bin commit 2ee8a74f2a5da913637f75a19a0da0e7a08c0f86 upstream. By now, the recordmcount only records the function that in following sections: .text/.ref.text/.sched.text/.spinlock.te

[PATCH 4.2.y-ckt 083/211] thermal: exynos: Fix unbalanced regulator disable on probe failure

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 824ead03b78403a21449cb7eb153a4344cd3b4c8 upstream. During probe if the regulator could not be enabled, the error exit path would still disable it. This could

[PATCH 4.2.y-ckt 079/211] recordmcount: Fix endianness handling bug for nop_mcount

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: libin commit c84da8b9ad3761eef43811181c7e896e9834b26b upstream. In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentat

[PATCH 4.2.y-ckt 081/211] KVM: VMX: fix SMEP and SMAP without EPT

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= commit 656ec4a4928a3db7d16e5cb9bce351a478cfd3d5 upstream. The comment in code had it mostly right, but we enable paging for emulated real mode

[PATCH 4.2.y-ckt 076/211] PCI: spear: Fix dw_pcie_cfg_read/write() usage

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Gabriele Paoloni commit fa3b7cbab548b15da438b0cc13aa515f7f291f4d upstream. The first argument of dw_pcie_cfg_read/write() is a 32-bit aligned address. The second argument is the byte o

[PATCH 4.2.y-ckt 021/211] KEYS: Don't permit request_key() to construct a new keyring

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit 911b79cde95c7da0ec02f48105358a36636b7a71 upstream. If request_key() is used to find a keyring, only do the search part - don't do the construction part if the keyr

[PATCH 4.2.y-ckt 072/211] xtensa: fixes for configs without loop option

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 5029615e25dc5040beb065f36743c127a8e51497 upstream. Build-time fixes: - make lbeg/lend/lcount save/restore conditional on kernel entry; - don't clear lcount in platf

[PATCH 4.2.y-ckt 074/211] ALSA: hda - Fix lost 4k BDL boundary workaround

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit de1ab6af5c3d92c0a031083962a7ff270cf301b7 upstream. During the migration to HDA core code, we lost the workaround for 4k BDL boundary. The flag exists in the new hd

[PATCH 4.2.y-ckt 075/211] tracing: Update instance_rmdir() to use tracefs_remove_recursive

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Jiaxing Wang commit 681a4a2f4529517422835b7395df07404dfe2278 upstream. Update instancd_rmdir to use tracefs_remove_recursive instead of debugfs_remove_recursive.This was left in the tr

[PATCH 4.2.y-ckt 016/211] ebpf: fix fd refcount leaks related to maps in bpf syscall

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 592867bfabe2fcb449393ba7eb0de4f972a08c63 upstream. We may already have gotten a proper fd struct through fdget(), so whenever we return at the end of an map oper

[PATCH 4.2.y-ckt 073/211] drm/amdgpu: Make amdgpu_mn functions inline

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Harry Wentland commit 1d1106b0f6b5cb4bc1b88d7bd4c41d0413331c5d upstream. Unused amdgpu_mn functions threw warnings for every file that includes amdgpu.h. It makes sense to inline this

[PATCH 4.2.y-ckt 071/211] crypto: algif_hash - Only export and import on sockets with data

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 4afa5f9617927453ac04b24b584f6c718dfb4f45 upstream. The hash_accept call fails to work on sockets that have not received any data. For some algorithm implementations

[PATCH 4.2.y-ckt 148/211] perf annotate: Fix 'annotate.use_offset' config variable usage

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Namhyung Kim commit 39ff7cdb5a5e6b75dd049255615828c6531cd109 upstream. The annotate__configs should be sorted so that it can use bsearch(3). However commit 0c4a5bcea460 ("perf annotat

[PATCH 4.2.y-ckt 069/211] Revert "dm mpath: fix stalls when handling invalid ioctls"

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Mauricio Faria de Oliveira commit 47796938c46b943d157ac8a6f9ed4e3b98b83cf4 upstream. This reverts commit a1989b330093578ea5470bea0a00f940c444c466. That commit introduced a regression

[PATCH 4.2.y-ckt 070/211] drm/i915: add quirk to enable backlight on Dell Chromebook 11 (2015)

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 9be64eee3a87dc03218ca9a12834d1150a57b8a8 upstream. Reported-by: Keith Webb Suggested-by: Keith Webb Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=106671 Re

Re: [PATCH] futex: Reduce the scope of lock_page, aka lockless futex_get_key()

2016-01-05 Thread Peter Zijlstra
On Tue, Jan 05, 2016 at 12:23:55PM -0800, Davidlohr Bueso wrote: > +++ b/kernel/futex.c > @@ -520,7 +520,18 @@ again: > else > err = 0; > > - lock_page(page); > + /* > + * The treatment of mapping from this point on is critical. The page > + * lock protects m

Re: [PATCHv7] EDAC, altera: Add Altera L2 Cache and OCRAM EDAC Support

2016-01-05 Thread Thor Thayer
On 01/05/2016 04:58 AM, Borislav Petkov wrote: On Mon, Jan 04, 2016 at 05:42:40PM -0600, Thor Thayer wrote: and then the defines are also used to conditionally include the L2 or OCRAM ECC functions because everything is in one file. So? You don't have to do those funny games in the Makefile

[PATCH 4.2.y-ckt 014/211] ASoC: spear_pcm: Use devm_snd_dmaengine_pcm_register to fix resource leak

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 2c3f4b97eea5ce405baf2591715445da6ed05851 upstream. All the callers assume devm_spear_pcm_platform_register is a devm_ API, so use devm_snd_dmaengine_pcm_register in dev

[PATCH 4.2.y-ckt 065/211] megaraid_sas: Expose TAPE drives unconditionally

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: "sumit.sax...@avagotech.com" commit 0d5b47a724bab0ebaaa933d6ff5e584957aaa188 upstream. Expose non-disk (TAPE drive, CD-ROM) unconditionally. Signed-off-by: Sumit Saxena Signed-off-by

[PATCH 4.2.y-ckt 066/211] megaraid_sas: Do not use PAGE_SIZE for max_sectors

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: "sumit.sax...@avagotech.com" commit 357ae967ad66e357f78b5cfb5ab6ca07fb4a7758 upstream. Do not use PAGE_SIZE marco to calculate max_sectors per I/O request. Driver code assumes PAGE_SIZ

Re: [PATCH] fuse: implement cuse mmap

2016-01-05 Thread Luca Risolia
Hi Andrew, I was wondering if there's a chance to have this patch merged anytime soon. Note that FUSE maintainer left off sometime ago and there's no one taking care of kernel patches at the moment. Please let Jader and me know if there are any problems. Thanks Jader H. Silva wrote: Implem

[PATCH 4.2.y-ckt 064/211] spi/spi-xilinx: Fix race condition on last word read

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Ricardo Ribalda Delgado commit eca37c7c117460e2fbe4e32c991bff32a961f688 upstream. Some users have reported that in polled mode the driver fails randomly to read the last word of the tr

[PATCH 4.2.y-ckt 062/211] MAINTAINERS: Add public mailing list for ARC

2016-01-05 Thread Kamal Mostafa
4.2.8-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 9acdc911b55569145034b01075adf658891afbd2 upstream. Signed-off-by: Vineet Gupta Signed-off-by: Kamal Mostafa --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)

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