Re: [PATCH arm 1/1] arm: Use _rcuidle tracepoint to allow use from idle

2016-04-26 Thread Paul E. McKenney
On Tue, Apr 26, 2016 at 04:52:17PM -0400, Steven Rostedt wrote: > On Tue, 26 Apr 2016 13:46:15 -0700 > Tony Lindgren <t...@atomide.com> wrote: > > > > [ INFO: suspicious RCU usage. ] > > 4.6.0-rc5-next-20160426+ #1127 Not tainted > > --

Re: [PATCH 1/1] simplified security.nscapability xattr

2016-04-26 Thread Kees Cook
On Fri, Apr 22, 2016 at 10:26 AM, wrote: > From: Serge Hallyn > > This can only be set by root in his own namespace, and will > only be respected by namespaces with that same root kuid > mapped as root, or namespaces descended from it. > > This

[PATCH V4 04/18] coresight: tmc: clearly define number of transfers per burst

2016-04-26 Thread Mathieu Poirier
This patch makes the name of the define reflect the amount of data tranfers per burst, in this case 16. Signed-off-by: Mathieu Poirier Reviewed-by: Suzuki K Poulose --- drivers/hwtracing/coresight/coresight-tmc.c | 4 ++-- 1 file changed, 2

[PATCH V4 07/18] coresight: tmc: splitting driver in ETB/ETF and ETR components

2016-04-26 Thread Mathieu Poirier
The TMC block can operate in 3 modes (ETB, ETF and ETR) and accessed via two interfaces (sysFS and Perf). That makes 6 mode to cover, which is way too much coupling for a single file. This patch splits the original TMC driver in 2 halves, one for ETB/ETF and another one for ETR mode. A common

[PATCH V4 13/18] coresight: tmc: make sysFS and Perf mode mutually exclusive

2016-04-26 Thread Mathieu Poirier
The sysFS and Perf access methods can't be allowed to interfere with one another. As such introducing guards to access functions that prevents moving forward if a TMC is already being used. Signed-off-by: Mathieu Poirier ---

[PATCH] coccicheck: add a test for repeat copy_from_user

2016-04-26 Thread Kees Cook
This is usually a sign of a resized request. This adds a check for potential races or confusions. The check isn't 100% accurate, so it needs some manual review. Signed-off-by: Kees Cook --- scripts/coccinelle/tests/reusercopy.cocci | 36 +++ 1

Re: [PATCH] futex: fix shared futex operations on nommu

2016-04-26 Thread Rich Felker
On Tue, Apr 26, 2016 at 03:27:10PM -0700, Andrew Morton wrote: > On Tue, 26 Apr 2016 12:27:39 -0400 Rich Felker wrote: > > > On Tue, Apr 26, 2016 at 06:11:07PM +0200, Sebastian Andrzej Siewior wrote: > > > * Rich Felker | 2016-04-26 11:53:44 [-0400]: > > > > > > >The whole

[for-next][PATCH 6/6] localmodconfig: Fix whitespace repeat count after "tristate"

2016-04-26 Thread Steven Rostedt
From: Benjamin Poirier Also recognize standalone "prompt". Before this patch we incorrectly identified some symbols as not having a prompt and potentially needing to be selected by something else. Note that this patch could theoretically change the resulting .config, causing

Re: [PATCH 1/2] mm: add PF_MEMALLOC_NOFS

2016-04-26 Thread Dave Chinner
On Tue, Apr 26, 2016 at 01:56:11PM +0200, Michal Hocko wrote: > From: Michal Hocko > > GFP_NOFS context is used for the following 4 reasons currently > - to prevent from deadlocks when the lock held by the allocation > context would be needed during the memory

[PATCH 3.16 016/217] perf tools: handle spaces in file names obtained from /proc/pid/maps

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Marcin Ślusarz commit 89fee59b504f86925894fcc9ba79d5c933842f93 upstream. Steam frequently puts game binaries in folders with spaces. Note: "(deleted)" markers are

[PATCH 3.2 047/115] tracing: Have preempt(irqs)off trace preempt disabled functions

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit cb86e05390debcc084cfdb0a71ed4c5dbbec517d upstream. Joel Fernandes reported that the function tracing of preempt disabled sections was not

[PATCH 3.2 074/115] parisc: Avoid function pointers for kernel exception routines

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit e3893027a300927049efc1572f852201eb785142 upstream. We want to avoid the kernel module loader to create function pointers for the kernel fixup routines of

[PATCH 3.16 040/217] mac80211: avoid excessive stack usage in sta_info

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 0ef049dc1167fe834d0ad5d63f89eddc5c70f6e4 upstream. When CONFIG_OPTIMIZE_INLINING is set, the sta_info_insert_finish function consumes more stack than

[PATCH 3.16 030/217] [media] adv7511: TX_EDID_PRESENT is still 1 after a disconnect

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil commit b339a72e04a62f0b1882c43492fc712f1176b3e6 upstream. The V4L2_CID_TX_EDID_PRESENT control reports if an EDID is present. The adv7511 however still

[PATCH 3.2 052/115] fs/coredump: prevent fsuid=0 dumps into user-controlled directories

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit 378c6520e7d29280f400ef2ceaf155c86f05a71a upstream. This commit fixes the following security hole affecting systems where all of the following conditions are

[PATCH 3.2 064/115] USB: mct_u232: add sanity checking in probe

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 4e9a0b05257f29cf4b75f3209243ed71614d062e upstream. An attack using the lack of sanity checking in probe is known. This patch checks for the existence of

[PATCH 3.16 014/217] [media] xc2028: unlock on error in xc2028_set_config()

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 210bd104c6acd31c3c6b8b075b3f12d4a9f6b60d upstream. We have to unlock before returning -ENOMEM. Fixes: 8dfbcc4351a0 ('[media] xc2028: avoid use

[PATCH 3.2 089/115] tcp_yeah: don't set ssthresh below 2

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit 83d15e70c4d8909d722c0d64747d8fb42e38a48f ] For tcp_yeah, use an ssthresh floor of 2, the same floor used by Reno and CUBIC, per RFC 5681

[PATCH 3.2 094/115] ipv6/udp: use sticky pktinfo egress ifindex on connect()

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 1cdda91871470f15e79375991bd2eddc6e86ddb1 ] Currently, the egress interface index specified via IPV6_PKTINFO is ignored by

[PATCH 3.2 067/115] sd: Fix excessive capacity printing on devices with blocks bigger than 512 bytes

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: "Martin K. Petersen" commit f08bb1e0dbdd0297258d0b8cd4dbfcc057e57b2a upstream. During revalidate we check whether device capacity has changed before we decide

[PATCH 3.2 088/115] bridge: Only call /sbin/bridge-stp for the initial network namespace

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa [ Upstream commit ff62198553e43cdffa9d539f6165d3e83f8a42bc ] [I stole this patch from Eric Biederman. He wrote:] > There is no defined

[PATCH 3.2 065/115] USB: cypress_m8: add endpoint sanity check

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit c55aee1bf0e6b6feec8b2927b43f7a09a6d5f754 upstream. An attack using missing endpoints exists. CVE-2016-3137 Signed-off-by: Oliver Neukum

[PATCH 3.16 001/217] EDAC, amd64_edac: Shift wrapping issue in f1x_get_norm_dct_addr()

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 6f3508f61c814ee852c199988a62bd954c50dfc1 upstream. dct_sel_base_off is declared as a u64 but we're only using the lower 32 bits because of a

[PATCH 3.16 004/217] PCI: imx6: Remove broken Gen2 workaround

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit a77c5422d7586003643377afdb9915e76d07d21c upstream. Remove the remnants of the workaround for erratum ERR005184 which was never completely

[PATCH 3.2 053/115] rapidio/rionet: fix deadlock on SMP

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Aurelien Jacquiot commit 36915976eca58f2eefa040ba8f9939672564df61 upstream. Fix deadlocking during concurrent receive and transmit operations on SMP platforms caused by the

[PATCH 3.16 093/217] sctp: fix the transports round robin issue when init is retransmitted

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Xin Long commit 39d2adebf137de5f900843f69f5e500932e31047 upstream. prior to this patch, at the beginning if we have two paths in one assoc, they may have the same params

[PATCH 3.16 011/217] unbreak allmodconfig KCONFIG_ALLCONFIG=...

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 6b87b70c5339f30e3c5b32085e69625906513dc2 upstream. Prior to 3.13 make allmodconfig KCONFIG_ALLCONFIG=/dev/null used to be equivalent to make

[PATCH 3.2 090/115] phonet: properly unshare skbs in phonet_rcv()

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 7aaed57c5c2890634cfadf725173c7c68ea4cb4f ] Ivaylo Dimitrov reported a regression caused by commit 7866a621043f ("dev: add per net_device

[PATCH 3.2 078/115] netfilter: x_tables: make sure e->next_offset covers remaining blob size

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit 6e94e0cfb0887e4013b3b930fa6ab1fe6bb6ba91 upstream. Otherwise this function may read data beyond the ruleset blob. Signed-off-by: Florian Westphal

[PATCH 3.2 091/115] ipv6: update skb->csum when CE mark is propagated

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 34ae6a1aa0540f0f781dd265366036355fdc8930 ] When a tunnel decapsulates the outer header, it has to comply with RFC 6080 and eventually

[PATCH 3.16 038/217] aacraid: Fix memory leak in aac_fib_map_free

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Raghava Aditya Renukunta commit f88fa79a61726ce9434df9b4aede36961f709f17 upstream. aac_fib_map_free() calls pci_free_consistent() without checking that

[PATCH 3.2 025/115] drm/radeon: Don't drop DP 2.7 Ghz link setup on some cards.

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Mario Kleiner commit 459ee1c3fd097ab56ababd8ff4bb7ef6a792de33 upstream. As observed on Apple iMac10,1, DCE-3.2, RV-730, link rate of 2.7 Ghz is not selected,

[PATCH 3.2 111/115] ipv4: l2tp: fix a potential issue in l2tp_ip_recv

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Haishuang Yan [ Upstream commit 5745b8232e942abd5e16e85fa9b27cc21324acf0 ] pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right

[PATCH 3.2 076/115] parisc: Unbreak handling exceptions from kernel modules

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 2ef4dfd9d9f288943e249b78365a69e3ea3ec072 upstream. Handling exceptions from modules never worked on parisc. It was just masked by the fact that exceptions

[PATCH 3.16 026/217] HID: fix hid_ignore_special_drivers module parameter

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 4392bf88cabdad5afe5b152d7b9c318e upstream. hid_ignore_special_drivers works fine until hid_scan_report autodetects and

[PATCH 3.16 087/217] jbd2: fix FS corruption possibility in jbd2_journal_destroy() on umount path

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: OGAWA Hirofumi commit c0a2ad9b50dd80eeccd73d9ff962234590d5ec93 upstream. On umount path, jbd2_journal_destroy() writes latest transaction ID (->j_tail_sequence)

[PATCH 3.16 103/217] ath9k: fix buffer overrun for ar9287

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 83d6f1f15f8cce844b0a131cbc63e444620e48b5 upstream. Code that was added back in 2.6.38 has an obvious overflow when accessing a static array, and at the

Re: Regression in inv_mpu6050: 4.6.0-rc5

2016-04-26 Thread Michael Welling
On Tue, Apr 26, 2016 at 11:26:51PM +0100, One Thousand Gnomes wrote: > > This now causes us to crash and burn on the ASUS T100TA Baytrail/T > platforms > I believe this regression has already been patched. Check the latest commits in linux-next.

[PATCH 3.16 018/217] 8250: use callbacks to access UART_DLL/UART_DLM

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Sebastian Frias commit 0b41ce991052022c030fd868e03877700220b090 upstream. Some UART HW has a single register combining UART_DLL/UART_DLM (this was probably forgotten in the

[PATCH 3.16 071/217] perf/core: Fix perf_sched_count derailment

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 927a5570855836e5d5859a80ce7e91e963545e8f upstream. The error path in perf_event_open() is such that asking for a sampling event

[PATCH 3.16 134/217] KVM: fix spin_lock_init order on x86

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit e9ad4ec8379ad1ba6f68b8ca1c26b50b5ae0a327 upstream. Moving the initialization earlier is needed in 4.6 because kvm_arch_init_vm is now using mmu_lock,

[PATCH 3.16 076/217] perf/x86/intel: Fix PEBS data source interpretation on Nehalem/Westmere

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit e17dc65328057c00db7e1bfea249c8771a78b30b upstream. Jiri reported some time ago that some entries in the PEBS data source table in perf do not agree

Re: [PATCH arm 1/1] arm: Use _rcuidle tracepoint to allow use from idle

2016-04-26 Thread Paul E. McKenney
the mole shows up here! > > > > > > > > > > And the patch shows up here! > > > > > > > > And I bet you will need this one as well... > > > > > > OK and now the mode is coming back aft

[RELEASE] Userspace RCU 0.7.17

2016-04-26 Thread Mathieu Desnoyers
Hi, Even though the urcu stable-0.7 branch was supposed to be end of life, there is one last important fix for the urcu-signal flavor that was sitting in that branch that I would like to release before taking it away for good. All the good zombie movies start like this, right ? liburcu is a

Re: [PATCH v7 09/15] i2c: octeon: Add workaround for broken irqs on CN3860

2016-04-26 Thread Wolfram Sang
On Mon, Apr 25, 2016 at 04:33:38PM +0200, Jan Glauber wrote: > From: David Daney > > CN3860 does not interrupt the CPU when the i2c status changes. If > we get a timeout, and see the status has in fact changed, we know we > have this problem, and drop back to polling. >

Re: [PATCH v7 08/15] i2c: octeon: Improve performance if interrupt is early

2016-04-26 Thread Wolfram Sang
> Assigned 'true' instead of '1' to bool... To save you from annoying rebasing, I reverted my change. But it would be nice if it could be fixed somewhen later. signature.asc Description: PGP signature

[PATCH v2 5/6] rtc: sh: provide rtc_class_ops directly

2016-04-26 Thread Arnd Bergmann
The rtc-generic driver provides an architecture specific wrapper on top of the generic rtc_class_ops abstraction, and on sh, that goes through another indirection using the rtc_sh_get_time/rtc_sh_set_time functions. This changes the sh rtc-generic device to provide its rtc_class_ops directly,

[PATCH v4 2/2] ASoC: codecs: add support for TAS5720 digital amplifier

2016-04-26 Thread Andreas Dannenberg
The Texas Instruments TAS5720L/M device is a high-efficiency mono Class-D audio power amplifier optimized for high transient power capability to use the dynamic power headroom of small loudspeakers. Its digital time division multiplexed (TDM) interface enables up to 16 devices to share the same

Re: [PATCH 6/8] char/genrtc: parisc: use asm-generic/rtc.h

2016-04-26 Thread Rolf Eike Beer
Arnd Bergmann wrote: > The asm-generic/rtc.h header can now be included by > architectures that provide their own set_rtc_time/get_rtc_time > macros, letting us remove most of the common contents in > the powerpc implementation. parisc in this case. Eike signature.asc Description: This is a

[PATCH V4 00/18] coresight: tmc: make driver usable by Perf

2016-04-26 Thread Mathieu Poirier
Not sure if another revision was needed but to be on the safe side here it is. All patches are pretty much the same except for 9/18 and 10/18. In the former the code has been made clearer by removing the "fast_path" label while the latter serialize access to the trace trace data from sysFS.

[PATCH v4 0/2] ASoC: codecs: add support for TAS5720 digital amplifier

2016-04-26 Thread Andreas Dannenberg
Minor update to driver for TI's TAS5720L/M digital audio amplifiers incorporating previous feedback (thanks Mark Brown and Andrew F Davis), see below change log for details. Also re-tested different aspects of the driver to make sure it still builds/works. -- Andreas Dannenberg Texas Instruments

Regression in inv_mpu6050: 4.6.0-rc5

2016-04-26 Thread One Thousand Gnomes
This now causes us to crash and burn on the ASUS T100TA Baytrail/T platforms [9.308605] BUG: unable to handle kernel NULL pointer dereference at 0018 [9.310735] IP: [] inv_mpu_probe+0x5e/0x110 [inv_mpu6050_i2c] [9.312876] PGD 0 [9.314956] Oops: [#1] SMP [

Re: [PATCH] futex: fix shared futex operations on nommu

2016-04-26 Thread Andrew Morton
On Tue, 26 Apr 2016 12:27:39 -0400 Rich Felker wrote: > On Tue, Apr 26, 2016 at 06:11:07PM +0200, Sebastian Andrzej Siewior wrote: > > * Rich Felker | 2016-04-26 11:53:44 [-0400]: > > > > >The whole shared futex logic is meaningless for nommu. Perhaps I > > >should have written

[RFC PATCH v1 01/18] x86: Set the write-protect cache mode for AMD processors

2016-04-26 Thread Tom Lendacky
For AMD processors that support PAT, set the write-protect cache mode (_PAGE_CACHE_MODE_WP) entry to the actual write-protect value (x05). Signed-off-by: Tom Lendacky --- arch/x86/mm/pat.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/2] mm, debug: report when GFP_NO{FS,IO} is used explicitly from memalloc_no{fs,io}_{save,restore} context

2016-04-26 Thread Dave Chinner
On Tue, Apr 26, 2016 at 01:56:12PM +0200, Michal Hocko wrote: > From: Michal Hocko > > THIS PATCH IS FOR TESTING ONLY AND NOT MEANT TO HIT LINUS TREE > > It is desirable to reduce the direct GFP_NO{FS,IO} usage at minimum and > prefer scope usage defined by

[PATCH 3.16 082/217] be2iscsi: set the boot_kset pointer to NULL in case of failure

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Maurizio Lombardi commit 84bd64993f916bcf86270c67686ecf4cea7b8933 upstream. In beiscsi_setup_boot_info(), the boot_kset pointer should be set to NULL in case of failure

[PATCH 3.2 041/115] raid1: include bio_end_io_list in nr_queued to prevent freeze_array hang

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Nate Dailey commit ccfc7bf1f09d6190ef86693ddc761d5fe3fa47cb upstream. If raid1d is handling a mix of read and write errors, handle_read_error's call to freeze_array

[PATCH 3.2 087/115] connector: bump skb->users before callback invocation

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit 55285bf09427c5abf43ee1d54e892f352092b1f1 ] Dmitry reports memleak with syskaller program. Problem is that connector bumps skb usecount but

[PATCH 3.16 025/217] HID: core: do not scan reports if the group is already set

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 9578f41aeaee5010384f4f8484da1566e2ce4901 upstream. This allows the transport layer (I have in mind hid-logitech-dj and uhid) to set

[PATCH 3.2 110/115] xfrm: Fix crash observed during device unregistration and decryption

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: "subas...@codeaurora.org" [ Upstream commit 071d36bf21bcc837be00cea55bcef8d129e7f609 ] A crash is observed when a decrypted packet is processed in receive path.

[PATCH 3.16 009/217] [media] media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Tiffany Lin commit 7df5ab8774aa383c6d2bff00688d004585d96dfd upstream. In v4l2-compliance utility, test QUERYBUF required correct length value to go through each

[PATCH 3.2 031/115] rtc: vr41xx: Wire up alarm_irq_enable

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit a25f4a95ec3cded34c1250364eba704c5e4fdac4 upstream. drivers/rtc/rtc-vr41xx.c:229: warning: ‘vr41xx_rtc_alarm_irq_enable’ defined but not used

[PATCH 3.2 030/115] ALSA: intel8x0: Add clock quirk entry for AD1981B on IBM ThinkPad X41.

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: "Vittorio Gambaletta (VittGam)" commit 4061db03dd71d195b9973ee466f6ed32f6a3fc16 upstream. The clock measurement on the AC'97 audio card found in the IBM ThinkPad X41

[PATCH 3.2 103/115] cdc_ncm: toggle altsetting to force reset before setup

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork [ Upstream commit 48906f62c96cc2cd35753e59310cb70eb08cc6a5 ] Some devices will silently fail setup unless they are reset first. This is necessary even if the data

[PATCH 3.16 007/217] ASoC: s3c24xx: use const snd_soc_component_driver pointer

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit ba4bc32eaa39ba7687f0958ae90eec94da613b46 upstream. An older patch to convert the API in the s3c i2s driver ended up passing a const pointer into a function

[PATCH 3.16 002/217] crypto: ccp - Add hash state import and export support

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Tom Lendacky commit 952bce9792e6bf36fda09c2e5718abb5d9327369 upstream. Commit 8996eafdcbad ("crypto: ahash - ensure statesize is non-zero") added a check to prevent

[RELEASE] Userspace RCU 0.9.2

2016-04-26 Thread Mathieu Desnoyers
Hi, This Userspace RCU library 0.9.2 release is mainly a bugfix release, but also adds support for the membarrier system call on hppa, and sparc64. It also adds support for the Xeon-Phi, now considered as a new architecture instead of a vendor in MPSS. It also adds a compability API allowing

[PATCH 6/8] char/genrtc: parisc: use asm-generic/rtc.h

2016-04-26 Thread Arnd Bergmann
The asm-generic/rtc.h header can now be included by architectures that provide their own set_rtc_time/get_rtc_time macros, letting us remove most of the common contents in the powerpc implementation. Signed-off-by: Arnd Bergmann --- arch/parisc/include/asm/rtc.h | 38

[PATCH 7/8] char/genrtc: disallow building on Alpha

2016-04-26 Thread Arnd Bergmann
The genrtc driver serves no purpose on Alpha because it drives the same hardware as the original rtc.c driver, and the newer rtc-generic.c or rtc-cmos.c drivers on architectures that use the asm-generic/rtc.h header. The defconfig uses CONFIG_RTC=y, so this driver is not used by default. At one

[PATCH 3/8] char/rtc: remove empty asm/mc146818rtc.h files

2016-04-26 Thread Arnd Bergmann
Nothing on these architectures ever includes the asm/mc146818rtc.h file, the drivers that used to do this have been fixed long ago, and the remaining users are all PC-specific. This removes the files for good. Signed-off-by: Arnd Bergmann --- arch/frv/include/asm/mc146818rtc.h

[PATCH 5/8] char/genrtc: powerpc: use asm-generic/rtc.h

2016-04-26 Thread Arnd Bergmann
The asm-generic/rtc.h header can now be included by architectures that provide their own set_rtc_time/get_rtc_time macros, letting us remove most of the common contents in the powerpc implementation. Signed-off-by: Arnd Bergmann --- arch/powerpc/include/asm/rtc.h | 36

Re: [PATCH/RFC v3] perf core: Allow setting up max frame stack depth via sysctl

2016-04-26 Thread Brendan Gregg
On Tue, Apr 26, 2016 at 2:05 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Apr 26, 2016 at 01:02:34PM -0700, Brendan Gregg escreveu: >> On Mon, Apr 25, 2016 at 5:49 PM, Brendan Gregg >> wrote: >> > On Mon, Apr 25, 2016 at 5:47 PM, Arnaldo

[GIT] Networking

2016-04-26 Thread David Miller
1) Handle v4/v6 mixed sockets properly in soreuseport, from Craig Gallak. 2) Bug fixes for the new macsec facility (missing kmalloc NULL checks, missing locking around netdev list traversal, etc.) from Sabrina Dubroca. 3) Fix handling of host routes on ifdown in ipv6, from David Ahern.

Re: [PATCH/RFC v3] perf core: Allow setting up max frame stack depth via sysctl

2016-04-26 Thread Frederic Weisbecker
On Mon, Apr 25, 2016 at 09:29:28PM -0300, Arnaldo Carvalho de Melo wrote: > commit cd544af4f7fede01cb512d52bb3efe62aa19271d > Author: Arnaldo Carvalho de Melo > Date: Thu Apr 21 12:28:50 2016 -0300 > > perf core: Allow setting up max frame stack depth via sysctl > >

[PATCH V4 15/18] coresight: moving struct cs_buffers to header file

2016-04-26 Thread Mathieu Poirier
That way we can re-use the structure in other drivers. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-etb10.c | 20 drivers/hwtracing/coresight/coresight-priv.h | 20 2 files changed, 20

[PATCH V4 16/18] coresight: tmc: implementing TMC-ETF AUX space API

2016-04-26 Thread Mathieu Poirier
This patch implement the AUX area interfaces required to use the TMC (configured as an ETF) from the Perf sub-system. The heuristic is heavily borrowed from the ETB10 implementation. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-tmc-etf.c

[PATCH V4 17/18] coresight: tmc: implementing TMC-ETR AUX space API

2016-04-26 Thread Mathieu Poirier
This patch implement the AUX area interfaces required to use the TMC (configured as an ETR) from the Perf sub-system. The ETR is configured to work with contiguous memory only. Although not optimal, it allows the IP block to be used while the scatter-gather mode of operation is being worked on.

[PATCH V4 18/18] coresight: configuring ETF in FIFO mode when acting as link

2016-04-26 Thread Mathieu Poirier
When part of a path but not identified as a sink, the EFT has to be configured as a link and placed in HW FIFO mode. As such when enabling a path, call the right configuration function based on the role the ETF if playing in this trace run. Signed-off-by: Mathieu Poirier

Re: Double-Fetch bug in Linux-4.5/drivers/scsi/aacraid/commctrl.c

2016-04-26 Thread Kees Cook
On Mon, Apr 25, 2016 at 7:50 AM, Pengfei Wang wrote: > Hello, > > I found this Double-Fetch bug in Linux-4.5/drivers/scsi/aacraid/commctrl.c > when I was examining the source code. Thanks for these reports! I wrote a coccinelle script to find these, but it requires some

[PATCH v7 2/9] ARM: dts: am437x: Add missing compatibles to PWM binding documents

2016-04-26 Thread Franklin S Cooper Jr
There are several SOC specific compatibles for ECAP, EHRPWM and PWMMS that are in use but aren't properly documented. Therefore, fix this by adding the compatibles to the appropriate binding documents. While at it make minor corrections to the binding document. Signed-off-by: Franklin S Cooper

[PATCH v7 6/9] pwms: pwm-ti*: Get the clock from the PWMSS parent when using old bindings

2016-04-26 Thread Franklin S Cooper Jr
When using the old eCAP and ePWM bindings for AM335x and AM437x the clock can be retrieved from the PWMSS parent. Newer bindings will insure that this clock is provided via device tree. Therefore, update this driver to support the newer and older bindings. In the case of the older binding being

[PATCH v7 8/9] ARM: AM335x/AM437x: hwmod: Remove eQEP, ePWM and eCAP hwmod entries

2016-04-26 Thread Franklin S Cooper Jr
Devices that utilize the OCP registers and/or PRCM registers and register bit fields should be modeled using hwmod. Since eQEP, ePWM and eCAP don't fall under this category, remove their hwmod entries. Instead these clocks simply use the clock that is passed through by its parent PWMSS.

[PATCH v7 5/9] ARM: dts: am437x/am33xx/da850: Add new ECAP and EPWM bindings

2016-04-26 Thread Franklin S Cooper Jr
Switch to a new ECAP and EPWM bindings that doesn't depend on hwmod to provide the various required clocks. For AM437 and AM335x, add the required clocks explicitly to DT. The hwmod entries for ECAP and EPWM will be removed and this will prevent anything from breaking. Signed-off-by: Franklin S

[PATCH v7 4/9] pwm: pwm-tiecap: Update dt binding document to use proper unit address

2016-04-26 Thread Franklin S Cooper Jr
Replace unit address from 0 to the proper physical address. Signed-off-by: Franklin S Cooper Jr --- Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt

[PATCH v7 9/9] ARM: dts: DRA7: Add dt nodes for PWMSS

2016-04-26 Thread Franklin S Cooper Jr
From: Vignesh R Add PWMSS device tree nodes for DRA7 SoC family and add documentation for dt bindings. Signed-off-by: Vignesh R [fcoo...@ti.com: Add eCAP and use updated bindings for PWMSS and ePWM] Signed-off-by: Franklin S Cooper Jr

[PATCH 3.16 122/217] USB: uas: Reduce can_queue to MAX_CMNDS

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 55ff8cfbc4e12a7d2187df523938cc671fbebdd1 upstream. The uas driver can never queue more then MAX_CMNDS (- 1) tags and tags are shared between luns, so

[PATCH 3.16 113/217] nfsd: fix deadlock secinfo+readdir compound

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit 2f6fc056e899bd0144a08da5cacaecbe8997cd74 upstream. nfsd_lookup_dentry exits with the parent filehandle locked. fh_put also unlocks if necessary

[PATCH 3.16 104/217] md: multipath: don't hardcopy bio in .make_request path

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit fafcde3ac1a418688a734365203a12483b83907a upstream. Inside multipath_make_request(), multipath maps the incoming bio into low level device's bio, but it

[PATCH 3.16 120/217] x86/apic: Fix suspicious RCU usage in smp_trace_call_function_interrupt()

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Dave Jones commit 7834c10313fb823e538f2772be78edcdeed2e6e3 upstream. Since 4.4, I've been able to trigger this occasionally: === [ INFO:

[PATCH 3.16 163/217] KVM: x86: Inject pending interrupt even if pending nmi exist

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Yuki Shibuya commit 321c5658c5e9192dea0d58ab67cf1791e45b2b26 upstream. Non maskable interrupts (NMI) are preferred to interrupts in current implementation. If a NMI

[PATCH 3.2 016/115] nfsd4: fix bad bounds checking

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit 4aed9c46afb80164401143aa0fdcfe3798baa9d5 upstream. A number of spots in the xdr decoding follow a pattern like n = be32_to_cpup(p++);

[PATCH 3.16 174/217] usb: dwc3: keystone: drop dma_mask configuration

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko commit adf9a3ab90eb44e57f9dbf757acd897838b5ec21 upstream. The Keystone 2 supports DT-boot only, as result dma_mask will be always configured

[PATCH 3.2 045/115] USB: usb_driver_claim_interface: add sanity checking

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 0b818e3956fc1ad976bee791eadcbb3b5fec5bfd upstream. Attacks that trick drivers into passing a NULL pointer to usb_driver_claim_interface() using forged

[PATCH 3.2 106/115] sh_eth: fix NULL pointer dereference in sh_eth_ring_format()

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov [ Upstream commit c1b7fca65070bfadca94dd53a4e6b71cd4f69715 ] In a low memory situation, if netdev_alloc_skb() fails on a first RX ring loop

[PATCH 3.2 112/115] ipv6: Count in extension headers in skb->network_header

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Jakub Sitnicki [ Upstream commit 3ba3458fb9c050718b95275a3310b74415e767e2 ] When sending a UDPv6 message longer than MTU, account for the length of fragmentable IPv6 extension

[PATCH 3.2 105/115] ax25: add link layer header validation function

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit ea47781c26510e5d97f80f9aceafe9065bd5e3aa ] As variable length protocol, AX25 fails link layer header validation tests based on a minimum

[PATCH 3.16 039/217] mac80211: fix unnecessary frame drops in mesh fwding

2016-04-26 Thread Ben Hutchings
3.16.35-rc1 review patch. If anyone has any objections, please let me know. -- From: Michal Kazior commit cf44012810ccdd8fd947518e965cb04b7b8498be upstream. The ieee80211_queue_stopped() expects hw queue number but it was given raw WMM AC number

[PATCH 3.2 048/115] lpfc: fix misleading indentation

2016-04-26 Thread Ben Hutchings
3.2.80-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit aeb6641f8ebdd61939f462a8255b316f9bfab707 upstream. gcc-6 complains about the indentation of the lpfc_destroy_vport_work_array() call in lpfc_online(), which

[PATCH v2] Documentation: fix common spelling mistakes

2016-04-26 Thread Kees Cook
This fixes several spelling mistakes in the Documentation/ tree, which are caught by checkpatch.pl's spell checking. Signed-off-by: Kees Cook --- Documentation/ABI/obsolete/sysfs-driver-hid-roccat-savu | 11 ++-

Re: [GIT PULL] drm: Add support of ARC PGU display controller

2016-04-26 Thread Dave Airlie
On 27 April 2016 at 01:28, Alexey Brodkin wrote: > Hi Dave, > > This is DRM driver for ARC PGU - simple bitstreamer used on > Synopsys ARC SDP boards (both AXS101 and AXS103). Hi Alexey, I've pulled this tree into drm-next now, it seems to at least build here,

  1   2   3   4   5   6   7   8   9   10   >