[PATCH] drm: drm_printer: add __printf validation

2017-02-15 Thread Joe Perches
drm_printf does not currently use the compiler to verify format and arguments. Make it do so. Miscellanea: o Add appropriate #include files for __printf and struct va_format o Convert dev_printk to dev_info Signed-off-by: Joe Perches --- drivers/gpu/drm/drm_print.c | 2 +- include/drm/drm_pri

Re: [PATCH] clk/axs10x: introduce AXS10X pll driver

2017-02-15 Thread Rob Herring
On Thu, Feb 09, 2017 at 04:02:36PM +0300, Vlad Zakharov wrote: > AXS10X boards manages it's clocks using various PLLs. These PLL has same > dividers and corresponding control registers mapped to different addresses. > So we add one common driver for such PLLs. > > Each PLL on AXS10X board consist

[PATCH 3.16 107/306] powerpc/64: Fix incorrect return value from __copy_tofrom_user

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 1a34439e5a0b2235e43f96816dbb15ee1154f656 upstream. Debugging a data corruption issue with virtio-net/vhost-net led to the observation that __copy_tofrom_user was occasion

[PATCH 3.16 081/306] s390/con3270: fix insufficient space padding

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Sascha Silbe commit 6cd997db911f28f2510b771691270c52b63ed2e6 upstream. con3270 contains an optimisation that reduces the amount of data to be transmitted to the 3270 terminal by putting a Repe

Re: [PATCH v2 1/2] dt-bindings: display: panel: Add bindings for the Sitronix ST7789V panel

2017-02-15 Thread Rob Herring
On Thu, Feb 09, 2017 at 02:14:27PM +0100, Maxime Ripard wrote: > The Sitronix ST7789V is an LCD panel controller, controlled over SPI, that > can drive 18-bits 240x320 LCD displays. > > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt | 37

[PATCH 3.16 102/306] Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 62837b3c1a95535d1a287c9c8c6563bbd8d37033 upstream. Another Lifebook machine that needs the same quirk as other similar models to make the driver working. Also let's reo

[PATCH 3.16 050/306] sctp: do not return the transmit err back to sctp_sendmsg

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Xin Long commit 66388f2c08dfa38071f9eceae7bb29060d9be9aa upstream. Once a chunk is enqueued successfully, sctp queues can take care of it. Even if it is failed to transmit (like because of nom

Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-02-15 Thread Linus Torvalds
On Wed, Feb 15, 2017 at 3:20 PM, Pavel Machek wrote: > 4.10-rc4 broken > 4.10-rc3 ok Hmm. If those actually end up being reliable, then there's not a whole lot in between them wrt PCI or USB. What looked like the most likely candidate seems to be xhci-specific, though. But maybe it's something

[PATCH] l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv

2017-02-15 Thread Paul Hüber
l2tp_ip_backlog_recv may not return -1 if the packet gets dropped, as the value is passed up to ip_local_deliver_finish, which treats negative values as an IP protocol number for resubmission. Signed-off-by: Paul Hüber --- net/l2tp/l2tp_ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 3.16 062/306] ALSA: usb-audio: Extend DragonFly dB scale quirk to cover other variants

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Anssi Hannula commit eb1a74b7bea17eea31915c4f76385cefe69d9795 upstream. The DragonFly quirk added in 42e3121d90f4 ("ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly")

[PATCH 3.16 169/306] ALSA: usb-audio: Add quirk for Syntek STK1160

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Marcel Hasler commit bdc3478f90cd4d2928197f36629d5cf93b64dbe9 upstream. The stk1160 chip needs QUIRK_AUDIO_ALIGN_TRANSFER. This patch resolves the issue reported on the mailing list (http://ma

[PATCH 3.2 111/126] lockdep: Silence warning if CONFIG_LOCKDEP isn't set

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Bolle commit 5cd3f5affad2109fd1458aab3f6216f2181e26ea upstream. Since commit c9a4962881929df7f1ef6e63e1b9da304faca4dd ("nfsd: make client_lock per net") compiling nfs4state.o without CONFI

[PATCH 3.16 047/306] arc: don't leak bits of kernel stack into coredump

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 7798bf2140ebcc36eafec6a4194fffd8d585d471 upstream. On faulting sigreturn we do get SIGSEGV, all right, but anything we'd put into pt_regs could end up in the coredump. And sinc

[PATCH 3.16 159/306] hv: do not lose pending heartbeat vmbus packets

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Long Li commit 407a3aee6ee2d2cb46d9ba3fc380bc29f35d020c upstream. The host keeps sending heartbeat packets independent of the guest responding to them. Even though we respond to the heartbeat

Re: [RFC PATCH v3] Input: gpio_keys - add dt abs/rel button support

2017-02-15 Thread Rob Herring
On Thu, Feb 09, 2017 at 02:41:31PM +0100, Hans Holmberg wrote: > This change adds support for specifying device tree buttons emitting > abs/rel events. > > ABS events were previously supported, but only via platform data, so add > the missing device tree attribute to allow axis values to be emitte

[PATCH 3.16 183/306] packet: on direct_xmit, limit tso and csum to supported devices

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn commit 104ba78c98808ae837d1f63aae58c183db5505df upstream. When transmitting on a packet socket with PACKET_VNET_HDR and PACKET_QDISC_BYPASS, validate device support for featur

[PATCH 3.16 099/306] netlink: do not enter direct reclaim from netlink_dump()

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit d35c99ff77ecb2eb239731b799386f3b3637a31e upstream. Since linux-3.15, netlink_dump() can use up to 16384 bytes skb allocations. Due to struct skb_shared_info ~320 bytes ove

[PATCH 3.16 153/306] powerpc: Convert cmp to cmpd in idle enter sequence

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Segher Boessenkool commit 80f23935cadb1c654e81951f5a8b7ceae0acc1b4 upstream. PowerPC's "cmp" instruction has four operands. Normally people write "cmpw" or "cmpd" for the second cmp operand 0

[PATCH 3.2 109/126] tty: Prevent ldisc drivers from re-using stale tty fields

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit dd42bf1197144ede075a9d4793123f7689e164bc upstream. Line discipline drivers may mistakenly misuse ldisc-related fields when initializing. For example, a failure to initialize

[PATCH 3.16 177/306] s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Holzheu commit 237d6e6884136923b6bd26d5141ebe1d065960c9 upstream. Since commit d86bd1bece6f ("mm/slub: support left redzone") it is no longer guaranteed that kmalloc(PAGE_SIZE) returns

[PATCH 3.16 143/306] ubifs: Fix xattr_names length in exit paths

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 843741c5778398ea67055067f4cc65ae6c80ca0e upstream. When the operation fails we also have to undo the changes we made to ->xattr_names. Otherwise listxattr() will repo

[PATCH 3.16 179/306] GenWQE: Fix bad page access during abort of resource allocation

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit a7a7aeefbca2982586ba2c9fd7739b96416a6d1d upstream. When interrupting an application which was allocating DMAable memory, it was possible, that the DMA memory was dealloc

Re: [PATCH 2/8] dt-bindings: gpu: mali: Add optional memory-region

2017-02-15 Thread Rob Herring
On Thu, Feb 09, 2017 at 05:39:16PM +0100, Maxime Ripard wrote: > The reserved memory bindings allow us to specify which memory areas our > buffers can be allocated from. > > Let's use it. You didn't think of this when you just added Mali binding? > > Signed-off-by: Maxime Ripard > --- > Docu

[PATCH 3.16 103/306] mm/hugetlb: fix memory offline with hugepage size > memory block size

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit 2247bb335ab9c40058484cac36ea74ee652f3b7b upstream. Patch series "mm/hugetlb: memory offline issues with hugepages", v4. This addresses several issues with hugepages and

[PATCH 3.16 078/306] powerpc/vdso64: Use double word compare on pointers

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 5045ea37377ce8cca6890d32b127ad6770e6dce5 upstream. __kernel_get_syscall_map() and __kernel_clock_getres() use cmpli to check if the passed in pointer is non zero. cmpli

[PATCH 3.16 040/306] ipv4: accept u8 in IP_TOS ancillary data

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit e895cdce683161081e3626c4f5a5c55cb72089f8 upstream. In commit f02db315b8d8 ("ipv4: IP_TOS and IP_TTL can be specified as ancillary data") Francesco added IP_TOS values speci

[PATCH 3.2 098/126] net: ping: check minimum size on ICMP header length

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 0eab121ef8750a5c8637d51534d5e9143fb0633f upstream. Prior to commit c0371da6047a ("put iov_iter into msghdr") in v3.19, there was no check that the iovec contained enough bytes

[PATCH 3.16 160/306] ALSA: hda - Fix surround output pins for ASRock B150M mobo

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 1a3f099101b85cc93d864eb030d97e7725c72ea7 upstream. ASRock B150M Pro4/D3 mobo with ALC892 codec doesn't seem to provide proper pins for the surround outputs, hence we need t

[PATCH 3.2 114/126] perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 321027c1fe77f892f4ea07846aeae08cefbbb290 upstream. Di Shen reported a race between two concurrent sys_perf_event_open() calls where both try and move the same pre-existing

[PATCH 3.16 114/306] Display number of credits available

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Steve French commit 9742805d6b1bfb45d7f267648c34fb5bcd347397 upstream. In debugging smb3, it is useful to display the number of credits available, so we can see when the server has not granted

[PATCH 3.2 000/126] 3.2.85-rc1 review

2017-02-15 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.85 release. There are 126 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Feb 23 00:00:00 UTC 2017. Anything recei

[PATCH 3.2 110/126] perf: Fix perf_event_for_each() to use sibling

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 724b6daa13e100067c30cfc4d1ad06629609dc4e upstream. In perf_event_for_each() we call a function on an event, and then iterate over the siblings of the event. However we

[PATCH 3.16 070/306] mmc: block: don't use CMD23 with very old MMC cards

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Glöckner commit 0ed50abb2d8fc81570b53af25621dad560cd49b3 upstream. CMD23 aka SET_BLOCK_COUNT was introduced with MMC v3.1. Older versions of the specification allowed to terminate multi

[PATCH 3.16 079/306] ext4: release bh in make_indexed_dir

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: gmail commit e81d44778d1d57bbaef9e24c4eac7c8a7a401d40 upstream. The commit 6050d47adcad: "ext4: bail out from make_indexed_dir() on first error" could end up leaking bh2 in the error path. [

[PATCH 3.2 053/126] scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Kashyap Desai commit 1e793f6fc0db920400574211c48f9157a37e3945 upstream. Commit 02b01e010afe ("megaraid_sas: return sync cache call with success") modified the driver to successfully complete SY

[PATCH 3.16 167/306] scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: "Ewan D. Milne" commit 4d2b496f19f3c2cfaca1e8fa0710688b5ff3811d upstream. map_storep was not being vfree()'d in the module_exit call. Signed-off-by: Ewan D. Milne Reviewed-by: Laurence Oberm

[PATCH 3.16 182/306] net/mlx5: Avoid passing dma address 0 to firmware

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Noa Osherovich commit 6b276190c50a12511d889d9079ffb901ff94a822 upstream. Currently the firmware can't work with a page with dma address 0. Passing such an address to the firmware will cause th

Re: [PATCH 1/3] kretprobes: ensure probe location is at function entry

2017-02-15 Thread Masami Hiramatsu
On Wed, 15 Feb 2017 23:47:52 +0530 "Naveen N. Rao" wrote: > kretprobes can be registered by specifying an absolute address or by > specifying offset to a symbol. However, we need to ensure this falls at > function entry so as to be able to determine the return address. > > Validate the same duri

[PATCH 3.2 124/126] sg_write()/bsg_write() is not fit to be called under KERNEL_DS

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit a0ac402cfcdc904f9772e1762b3fda112dcc56a0 upstream. Both damn things interpret userland pointers embedded into the payload; worse, they are actually traversing those. Leaving asi

[PATCH 3.16 185/306] net/mlx4_en: Resolve dividing by zero in 32-bit system

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Eugenia Emantayev commit 4850cf4581578216468b7b3c3d06cc5abb0a697d upstream. When doing roundup_pow_of_two for large enough number with bit 31, an overflow will occur and a value equal to 1 wil

[PATCH 3.16 168/306] scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Ching Huang commit 2bf7dc8443e113844d078fd6541b7f4aa544f92f upstream. The arcmsr driver failed to pass SYNCHRONIZE CACHE to controller firmware. Depending on how drive caches are handled inter

[PATCH 3.16 109/306] mips/panic: replace smp_send_stop() with kdump friendly version in panic path

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Hidehiro Kawai commit 54c721b857fd45f3ad3bda695ee4f472518db02a upstream. Daniel Walker reported problems which happens when crash_kexec_post_notifiers kernel option is enabled (https://lkml.or

[PATCH 3.16 100/306] metag: Only define atomic_dec_if_positive conditionally

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 35d04077ad96ed33ceea2501f5a4f1eacda77218 upstream. The definition of atomic_dec_if_positive() assumes that atomic_sub_if_positive() exists, which is only the case if metag

[PATCH 3.2 089/126] IB/uverbs: Fix leak of XRC target QPs

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Tariq Toukan commit 5b810a242c28e1d8d64d718cebe75b79d86a0b2d upstream. The real QP is destroyed in case of the ref count reaches zero, but for XRC target QPs this call was missed and caused to

[PATCH 3.16 064/306] netfilter: nf_tables: validate maximum value of u32 netlink attributes

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Laura Garcia Liebana commit 36b701fae12ac763a568037e4e7c96b5727a8b3e upstream. Fetch value and validate u32 netlink attribute. This validation is usually required when the u32 netlink attribut

[PATCH 3.16 197/306] uwb: fix device reference leaks

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit d6124b409ca33c100170ffde51cd8dff761454a1 upstream. This subsystem consistently fails to drop the device reference taken by class_find_device(). Note that some of these loo

[PATCH 3.16 188/306] m68k: Fix ndelay() macro

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 7e251bb21ae08ca2e4fb28cc0981fac2685a8efa upstream. The current ndelay() macro definition has an extra semi-colon at the end of the line thus leading to a compilation err

[PATCH 3.16 176/306] lib/genalloc.c: start search from start of chunk

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Mentz commit 62e931fac45b17c2a42549389879411572f75804 upstream. gen_pool_alloc_algo() iterates over the chunks of a pool trying to find a contiguous block of memory that satisfies the a

[PATCH 3.16 154/306] ipv4: use the right lock for ping_group_range

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: WANG Cong commit 396a30cce15d084b2b1a395aa6d515c3d559c674 upstream. This reverts commit a681574c99be23e4d20b769bf0e543239c364af5 ("ipv4: disable BH in set_ping_group_range()") because we never

[PATCH 3.16 140/306] bridge: multicast: restore perm router ports on multicast enable

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov commit 7cb3f9214dfa443c1ccc2be637dcc6344cc203f0 upstream. Satish reported a problem with the perm multicast router ports not getting reenabled after some series of events,

[PATCH 3.16 106/306] powerpc/pseries: Fix stack corruption in htpe code

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Laurent Dufour commit 05af40e885955065aee8bb7425058eb3e1adca08 upstream. This commit fixes a stack corruption in the pseries specific code dealing with the huge pages. In __pSeries_lpar_hugep

Re: [PATCH 6/8] dt-bindings: gpu: mali: Add optional OPPs

2017-02-15 Thread Rob Herring
On Thu, Feb 09, 2017 at 05:39:20PM +0100, Maxime Ripard wrote: > The operating-points-v2 binding gives a way to provide the OPP of the GPU. > Let's use it. > > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt | 4 > 1 file changed, 4 insertions(

[PATCH 3.16 162/306] drm/radeon: drop register readback in cayman_cp_int_cntl_setup

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit 537b4b462caa8bfb9726d9695b8e56e2d5e6b41e upstream. The read is taking a considerable amount of time (about 50us on this machine). The register does not ever hold anything ot

[PATCH 3.16 145/306] target: Make EXTENDED_COPY 0xe4 failure return COPY TARGET DEVICE NOT REACHABLE

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 449a137846c84829a328757cd21fd9ca65c08519 upstream. This patch addresses a bug where EXTENDED_COPY across multiple LUNs results in a CHECK_CONDITION when the source +

[PATCH 3.16 144/306] ubifs: Abort readdir upon error

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit c83ed4c9dbb358b9e7707486e167e940d48bfeed upstream. If UBIFS is facing an error while walking a directory, it reports this error and ubifs_readdir() returns the error

[PATCH 3.16 116/306] Set previous session id correctly on SMB3 reconnect

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Steve French commit c2afb8147e69819885493edf3a7c1ce03aaf2d4e upstream. Signed-off-by: Steve French Reported-by: David Goebel [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutc

[PATCH 3.16 053/306] scsi: ibmvfc: Fix I/O hang when port is not mapped

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian King commit 07d0e9a847401ffd2f09bd450d41644cd090e81d upstream. If a VFC port gets unmapped in the VIOS, it may not respond with a CRQ init complete following H_REG_CRQ. If this occurs, w

Re: [PATCH 3/3] perf: revert "perf probe: Fix probing kretprobes"

2017-02-15 Thread Masami Hiramatsu
On Wed, 15 Feb 2017 23:47:54 +0530 "Naveen N. Rao" wrote: > This reverts commit 25dd9171f51c ("perf probe: Fix probing kretprobes"). > kprobe_events now accepts offsets for kretprobes. > > perf needs to be able to place return probes on static functions that > have the same name. Using the funct

[PATCH 3.16 115/306] cifs: Limit the overall credit acquired

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall commit 7d414f396c91a3382e51cf628c1cf0709ad0188b upstream. The kernel client requests 2 credits for many operations even though they only use 1 credit (presumably to build up a b

[PATCH 3.16 057/306] net/mlx4_en: Fix wrong indentation

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Kamal Heib commit 57c970c2e8d8772237294bb8a6a25a205448fd96 upstream. Use tabs instead of spaces before if statement, no functional change. Fixes: e7c1c2c46201 ("mlx4_en: Added self diagnostic

[PATCH 3.16 164/306] MIPS: KVM: Fix unused variable build warning

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicholas Mc Guire commit 5f508c43a7648baa892528922402f1e13f258bd4 upstream. As kvm_mips_complete_mmio_load() did not yet modify PC at this point as James Hogans explained the curr_pc variable

[PATCH 3.16 101/306] IB/srp: Fix infinite loop when FMR sg[0].offset != 0

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 681cc3608355737c1effebc8145f95c8c3344bc3 upstream. Avoid that mapping an sg-list in which the first element has a non-zero offset triggers an infinite loop when using FM

[PATCH 3.16 178/306] KVM: x86: fix wbinvd_dirty_mask use-after-free

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Ido Yariv commit bd768e146624cbec7122ed15dead8daa137d909d upstream. vcpu->arch.wbinvd_dirty_mask may still be used after freeing it, corrupting memory. For example, the following call trace ma

Re: [PATCH 2/3] trace/kprobes: allow return probes with offsets and absolute addresses

2017-02-15 Thread Masami Hiramatsu
On Wed, 15 Feb 2017 23:47:53 +0530 "Naveen N. Rao" wrote: > Since the kernel includes many non-global functions with same names, we > will need to use offsets from other symbols (typically _text/_stext) or > absolute addresses to place return probes on specific functions. Also, > the core registe

[PATCH 3.16 181/306] md: be careful not lot leak internal curr_resync value into metadata. -- (all)

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 1217e1d1999ed6c9c1e1b1acae0a74ab70464ae2 upstream. mddev->curr_resync usually records where the current resync is up to, but during the starting phase it has some "magic" valu

[PATCH 3.16 052/306] iommu/amd: Free domain id when free a domain of struct dma_ops_domain

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Baoquan He commit c3db901c54466a9c135d1e6e95fec452e8a42666 upstream. The current code missed freeing domain id when free a domain of struct dma_ops_domain. Signed-off-by: Baoquan He Fixes: e

[PATCH 3.16 069/306] mmc: moxart: fix wait_for_completion_interruptible_timeout return variable type

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicholas Mc Guire commit 41f469cac2663a41a7b0c84cb94e8f7024385ae4 upstream. wait_for_completion_timeout_interruptible returns long not unsigned long so dma_time, which is used exclusively here

[PATCH 3.16 094/306] mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Uwe Kleine-König commit 88003fb10f1fc606e1704611c62ceae95fd1d7da upstream. This fixes a compile failure: drivers/built-in.o: In function `wm8350_i2c_probe': core.c:(.text+0x82

[PATCH 3.2 112/126] perf: Fix event->ctx locking

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit f63a8daa5812afef4f06c962351687e1ff9ccb2b upstream. There have been a few reported issues wrt. the lack of locking around changing event->ctx. This patch tries to address t

[PATCH 3.16 058/306] net/mlx4_core: Fix deadlock when switching between polling and event fw commands

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein commit a7e1f04905e5b2b90251974e781301b6be37 upstream. When switching from polling-based fw commands to event-based fw commands, there is a race condition which could cause

Re: [PATCH] ACPI, APEI: Fix BERT resources conflict with ACPI NVS area

2017-02-15 Thread Rafael J. Wysocki
On Tuesday, February 14, 2017 10:01:13 AM Huang, Ying wrote: > From: Huang Ying > > It was reported that some firmware will use ACPI NVS area for BERT > address range. This will cause resources conflict because the ACPI > NVS area is marked as busy already. Fix this via excluding ACPI NVS > are

[PATCH 3.16 161/306] staging: iio: ad5933: avoid uninitialized variable in error case

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 34eee70a7b82b09dbda4cb453e0e21d460dae226 upstream. The ad5933_i2c_read function returns an error code to indicate whether it could read data or not. However ad5933_work()

[PATCH 3.2 085/126] Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y

2017-02-15 Thread Ben Hutchings
3.2.85-rc1 review patch. If anyone has any objections, please let me know. -- From: Petr Vandrovec commit 2ce9d2272b98743b911196c49e7af5841381c206 upstream. Some code (all error handling) submits CDBs that are allocated on the stack. This breaks with CB/CBI code that tries to

Re: [PATCH 8/8] ARM: sun8i: a33: Add the Mali OPPs

2017-02-15 Thread Rob Herring
On Thu, Feb 09, 2017 at 05:39:22PM +0100, Maxime Ripard wrote: > The Mali GPU in the A33 has various operating frequencies used in the > Allwinner BSP. > > Add them to our DT. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/sun8i-a33.dtsi | 17 + > 1 file changed, 17

[PATCH 3.16 148/306] xhci: workaround for hosts missing CAS bit

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 346e99736c3ce328fd42d678343b70243aca5f36 upstream. If a device is unplugged and replugged during Sx system suspend some Intel xHC hosts will overwrite the CAS (Cold attac

RE: [PATCH] checkpatch: add warning on %pk instead of %pK usage

2017-02-15 Thread Roberts, William C
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Monday, February 13, 2017 2:21 PM > To: Roberts, William C > Cc: linux-kernel@vger.kernel.org; a...@canonical.com; kernel- > harden...@lists.openwall.com > Subject: Re: [PATCH] checkpatch: add warning on %pk inste

[PATCH 3.16 048/306] ARM: dts: exynos: Fix mismatched value for SD4 pull up/down configuration on exynos4210

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit f7061ffb44116490f282f130a220ca2d10849248 upstream. The pinctrl pull up/down register on exynos4210 is 2-bit wide for each pin and it accepts only values of 0, 1 and

Re: [PATCH 0/2] RFC: Move efi bgrt code out of arch/x86

2017-02-15 Thread Rafael J. Wysocki
On Wednesday, February 15, 2017 05:44:28 PM Ard Biesheuvel wrote: > Hello Bhupesh, > > On 15 February 2017 at 13:04, Bhupesh Sharma wrote: > > This patchset presents a RFC approach to move the ACPI BGRT table > > handling related code out of 'arch/x86' and place it inside > > 'drivers/firmware/ef

[PATCH 3.16 173/306] netfilter: nf_conntrack_sip: extend request line validation

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Ulrich Weber commit 444f901742d054a4cd5ff045871eac5131646cfb upstream. on SIP requests, so a fragmented TCP SIP packet from an allow header starting with INVITE,NOTIFY,OPTIONS,REFER,REGISTER

[PATCH 3.16 111/306] ipc: remove use of seq_printf return value

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Joe Perches commit 7f032d6ef6154868a2a5d5f6b2c3f8587292196c upstream. The seq_printf return value, because it's frequently misused, will eventually be converted to void. See: commit 1f33c41c0

Re: [PATCH] PM / wakeirq: report a wakeup_event on dedicated wekup irq

2017-02-15 Thread Rafael J. Wysocki
On Monday, February 13, 2017 12:43:22 PM Tony Lindgren wrote: > From: Grygorii Strashko > > There are two reasons for reporting wakeup event when dedicated wakeup > IRQ is triggered: > > - wakeup events accounting, so proper statistical data will be > displayed in sysfs and debugfs; > > - the

[PATCH 3.16 152/306] arm64: KVM: Take S1 walks into account when determining S2 write faults

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 60e21a0ef54cd836b9eb22c7cb396989b5b11648 upstream. The WnR bit in the HSR/ESR_EL2 indicates whether a data abort was generated by a read or a write instruction. For stage 2

[PATCH 3.16 172/306] vt: clear selection before resizing

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Scot Doyle commit 009e39ae44f4191188aeb6dfbf661b771dbbe515 upstream. When resizing a vt its selection may exceed the new size, resulting in an invalid memory access [1]. Clear the selection be

Re: [PATCH v2 6/9] arm, arm64: factorize common cpu capacity default code

2017-02-15 Thread Greg KH
On Wed, Feb 15, 2017 at 05:17:05PM -0600, Rob Herring wrote: > On Fri, Feb 10, 2017 at 8:28 AM, Greg KH wrote: > >> + * > >> + * Copyright (C) 2016, ARM Ltd. > >> + * Written by: Juri Lelli, ARM Ltd. > >> + * > >> + * This file is subject to the terms and conditions of the GNU General > >> Public

[PATCH 3.16 055/306] ALSA: ali5451: Fix out-of-bound position reporting

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit db68577966abc1aeae4ec597b3dcfa0d56e92041 upstream. The pointer callbacks of ali5451 driver may return the value at the boundary occasionally, and it results in the kernel w

[PATCH 3.16 005/306] drm/i915/vlv: Make intel_crt_reset() per-encoder

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Lyude commit 28cf71ce3e206db1c3f30b3da31e7b48b2269e4c upstream. This lets call intel_crt_reset() in contexts where IRQs are disabled and as such, can't hold the locks required to work with the

[PATCH 3.16 007/306] fbdev/efifb: Fix 16 color palette entry calculation

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Max Staudt commit d50b3f43db739f03fcf8c0a00664b3d2fed0496e upstream. When using efifb with a 16-bit (5:6:5) visual, fbcon's text is rendered in the wrong colors - e.g. text gray (#aa) is r

[PATCH 3.16 017/306] zfcp: trace full payload of all SAN records (req,resp,iels)

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit aceeffbb59bb91404a0bda32a542d7ebf878433a upstream. This was lost with commit 2c55b750a884b86dea8b4cc5f15e1484cc47a25c ("[SCSI] zfcp: Redesign of the debug tracing for SAN

Re: [PATCH v2 5/5] md: fast clone bio in bio_clone_mddev()

2017-02-15 Thread Shaohua Li
On Wed, Feb 15, 2017 at 11:20:25AM -0800, Shaohua Li wrote: > On Tue, Feb 14, 2017 at 08:01:09AM -0800, Christoph Hellwig wrote: > > On Tue, Feb 14, 2017 at 11:29:03PM +0800, Ming Lei wrote: > > > Firstly bio_clone_mddev() is used in raid normal I/O and isn't > > > in resync I/O path. > > > > > >

linux-kernel@vger.kernel.org

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 94db3725f049ead24c96226df4a4fb375b880a77 upstream. commit 2c55b750a884b86dea8b4cc5f15e1484cc47a25c ("[SCSI] zfcp: Redesign of the debug tracing for SAN records.") started

[PATCH 3.16 023/306] uio: fix dmem_region_start computation

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Viktorin commit 4d31a2588ae37a5d0f61f4d956454e9504846aeb upstream. The variable i contains a total number of resources (including IORESOURCE_IRQ). However, we want the dmem_region_start to

Re: [PATCHv4 4/4] MAINTAINERS: Remove powerpc's opal match

2017-02-15 Thread Andrew Donnellan
On 16/02/17 08:45, Jon Derrick wrote: PPC's 'opal' match pattern also matches block/sed-opal.c, where it looks like the 'arch/powerpc' file pattern should be enough to match powerpc opal code by itself. Remove the opal regex pattern from powerpc. Signed-off-by: Jon Derrick It looks like this

[PATCH 3.16 014/306] zfcp: restore tracing of handle for port and LUN with HBA records

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 7c964ffe586bc0c3d9febe9bf97a2e4b2866e5b7 upstream. This information was lost with commit a54ca0f62f953898b05549391ac2a8a4dad6482b ("[SCSI] zfcp: Redesign of the debug trac

[PATCH 3.16 015/306] zfcp: fix D_ID field with actual value on tracing SAN responses

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 771bf03537ddfa4a4dde62ef9dfbc82e4f77ab20 upstream. With commit 2c55b750a884b86dea8b4cc5f15e1484cc47a25c ("[SCSI] zfcp: Redesign of the debug tracing for SAN records.") we

[PATCH 3.16 029/306] rtlwifi: Update regulatory database

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Shao Fu commit 02b5fffbe9e02f5d63fa4a801fb807cf0aab4fc9 upstream. Driver rtlwifi maintains its own regulatory information, The Chrome Autotest (https://www.chromium.org/chromium-os/testing/aut

[PATCH 3.16 018/306] clk: divider: Fix clk_divider_round_rate() to use clk_readl()

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit 2cf9a57811bddb6fa6b0f8d7376da164d5534813 upstream. clk-divider uses clk_readl()/clk_writel() everywhere, except in clk_divider_round_rate(), where plain readl() is us

[PATCH 3.16 028/306] genirq/generic_chip: Add irq_unmap callback

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Sebastian Frias commit ee26c013cdee0b947e29d6cadfb9ff3341c69ff9 upstream. Without this patch irq_domain_disassociate() cannot properly release the interrupt. In fact, irq_map_generic_chip() ch

[PATCH 3.16 031/306] pwm: Unexport children before chip removal

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: David Hsu commit 0733424c9ba9f42242409d1ece780777272f7ea1 upstream. Exported pwm channels aren't removed before the pwmchip and are leaked. This results in invalid sysfs files. This fix remove

[PATCH 3.16 021/306] net: systemport: Fix ordering in intrl2_*_mask_clear macro

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit 9a0a5c4cb1af98b625dcefd72e987ca4929db71d upstream. Since we keep shadow copies of which interrupt sources are enabled through the intrl2_*_mask_{set,clear} macros, make

[PATCH 3.16 035/306] [media] cx231xx: fix GPIOs for Pixelview SBTVD hybrid

2017-02-15 Thread Ben Hutchings
3.16.40-rc1 review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 24b923f073ac37eb744f56a2c7f77107b8219ab2 upstream. This device uses GPIOs: 28 to switch between analog and digital modes: on digital mode, it should be set to 1.

<    5   6   7   8   9   10   11   12   13   14   >