[PATCH 3.2 23/67] SCSI: fix crashes in sd and sr runtime PM

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 13b4389143413a1f18127c07f72c74cad5b563e8 upstream. Runtime suspend during driver probe and removal can cause problems. The driver's runtime_suspend or runtime_resume callbacks

[PATCH 3.2 60/67] btrfs: properly set the termination value of ctx->pos in readdir

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: David Sterba commit bc4ef7592f657ae81b017207a1098817126ad4cb upstream. The value of ctx->pos in the last readdir call is supposed to be set to INT_MAX due to 32bit compatibility, unless 'pos' i

[PATCH 3.2 29/67] crypto: algif_hash - wait for crypto_ahash_init() to complete

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: "Wang, Rui Y" commit fe09786178f9df713a4b2dd6b93c0a722346bf5e upstream. hash_sendmsg/sendpage() need to wait for the completion of crypto_ahash_init() otherwise it can cause panic. Signed-off-

Re: [LKP] [lkp] [gpio] 3c702e9987: kmsg.user_verbs:couldn't_register_device_number

2016-02-23 Thread Michael Welling
On Tue, Feb 23, 2016 at 02:35:14PM +0800, Huang, Ying wrote: > Linus Walleij writes: > > > On Mon, Feb 15, 2016 at 3:39 AM, Huang, Ying wrote: > >> Michael Welling writes: > > > >>> Could you run cat /proc/devices? > >> > >> Sorry, the test mechanism is not flexible enough to run some shell > >

[PATCH 3.2 26/67] ALSA: dummy: Disable switching timer backend via sysfs

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 7ee96216c31aabe1eb42fb91ff50dae9fcd014b2 upstream. ALSA dummy driver can switch the timer backend between system timer and hrtimer via its hrtimer module option. This can b

[PATCH] VMD: Attach vmd resources to parent domain's resource tree

2016-02-23 Thread Jon Derrick
This patch attaches the new VMD domain's resources to the VMD device's resources. This allows /proc/iomem to display a more complete picture. Before: c000-c1ff : :5d:05.5 c200-c3ff : :5d:05.5 c201-c2013fff : nvme c400-c40f : :5d:05.5 After: c000

[PATCH 3.2 16/67] ALSA: seq: Degrade the error message for too many opens

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit da10816e3d923565b470fec78a674baba794ed33 upstream. ALSA OSS sequencer spews a kernel error message ("ALSA: seq_oss: too many applications") when user-space tries to open mor

Re: [PATCH 1/1] intel_pstate: Increase hold-off time before samples are scaled v2

2016-02-23 Thread Srinivas Pandruvada
On Tue, 2016-02-23 at 14:29 +, Mel Gorman wrote: > Added a suggested change from Doug Smythies and can add a Signed-off- > by > if Doug is ok with that. > > Changelog since v1 > o Remove divide that is likely unnecessary(ds > mythies) > o Rebase on top of linux-pm/linux-nex

[PATCH 3.2 44/67] ALSA: timer: Fix leftover link at closing

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 094fd3be87b0f102589e2d5c3fa5d06b7e20496d upstream. In ALSA timer core, the active timer instance is managed in active_list linked list. Each element is added / removed dyna

[PATCH 3.2 64/67] pipe: limit the per-user amount of pages allocated in pipes

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau commit 759c01142a5d0f364a462346168a56de28a80f52 upstream. On no-so-small systems, it is possible for a single process to cause an OOM condition by filling large pipes with data th

[PATCH 3.2 43/67] [media] tda1004x: only update the frontend properties if locked

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit e8beb02343e7582980c6705816cd957cf4f74c7a upstream. The tda1004x was updating the properties cache before locking. If the device is not locked, the data at the regis

[PATCH 3.2 62/67] unix: properly account for FDs passed over unix sockets

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: willy tarreau commit 712f4aad406bb1ed67f3f98d04c044191f0ff593 upstream. It is possible for a process to allocate and accumulate far more FDs than the process' limit by sending them over a unix

[PATCH 3.2 55/67] sctp: translate network order to host order when users get a hmacid

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Xin Long commit 7a84bd46647ff181eb2659fdc99590e6f16e501d upstream. Commit ed5a377d87dc ("sctp: translate host order to network order when setting a hmacid") corrected the hmacid byte-order when

[PATCH 3.2 42/67] xhci: Fix list corruption in urb dequeue at host removal

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 5c82171167adb8e4ac77b91a42cd49fb211a81a0 upstream. xhci driver frees data for all devices, both usb2 and and usb3 the first time usb_remove_hcd() is called, including td_li

[PATCH 3.2 31/67] ALSA: seq: Fix race at closing in virmidi driver

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 2d1b5c08366acd46c35a2e9aba5d650cb5bf5c19 upstream. The virmidi driver has an open race at closing its assigned rawmidi device, and this may lead to use-after-free in snd_seq

[PATCH 3.2 53/67] ALSA: timer: Fix wrong instance passed to slave callbacks

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 117159f0b9d392fb433a7871426fad50317f06f7 upstream. In snd_timer_notify1(), the wrong timer instance was passed for slave ccallback function. This leads to the access to the

[PATCH 3.2 65/67] iw_cxgb3: Fix incorrectly returning error on success

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Hariprasad S commit 67f1aee6f45059fd6b0f5b0ecb2c97ad0451f6b3 upstream. The cxgb3_*_send() functions return NET_XMIT_ values, which are positive integers values. So don't treat positive return v

[PATCH 3.2 32/67] ALSA: rawmidi: Remove kernel WARNING for NULL user-space buffer check

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit cc85f7a634cfaf9f0713c6aa06d08817424db37a upstream. NULL user-space buffer can be passed even in a normal path, thus it's not good to spew a kernel warning with stack trace a

[PATCH 3.2 30/67] intel_scu_ipcutil: underflow in scu_reg_access()

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit b1d353ad3d5835b16724653b33c05124e1b5acf1 upstream. "count" is controlled by the user and it can be negative. Let's prevent that by making it unsigned. You have to have CA

[PATCH 3.2 35/67] ALSA: timer: Fix link corruption due to double start or stop

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f784beb75ce82f4136f8a0960d3ee872f7109e09 upstream. Although ALSA timer code got hardening for races, it still causes use-after-free error. This is however rather a corrupte

[PATCH 3.2 67/67] sched: fix __sched_setscheduler() vs load balancing race

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith __sched_setscheduler() may release rq->lock in pull_rt_task() as a task is being changed rt -> fair class. load balancing may sneak in, move the task behind __sched_setscheduler(

[PATCH 3.2 36/67] libata: fix sff host state machine locking while polling

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 8eee1d3ed5b6fc8e14389567c9a6f53f82bb7224 upstream. The bulk of ATA host state machine is implemented by ata_sff_hsm_move(). The function is called from either the interrupt ha

[PATCH 3.2 51/67] klist: fix starting point removed bug in klist iterators

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: James Bottomley commit 00cd29b799e3449f0c68b1cc77cd4a5f95b42d17 upstream. The starting node for a klist iteration is often passed in from somewhere way above the klist infrastructure, meaning t

[PATCH 3.2 61/67] ALSA: usb-audio: avoid freeing umidi object twice

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Konovalov commit 07d86ca93db7e5cdf4743564d98292042ec21af7 upstream. The 'umidi' object will be free'd on the error path by snd_usbmidi_free() when tearing down the rawmidi interface. So

[PATCH 3.2 66/67] pipe: Fix buffer offset after partially failed read

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Quoting the RHEL advisory: > It was found that the fix for CVE-2015-1805 incorrectly kept buffer > offset and buffer length in sync on a failed atomic read, potentially > resultin

[PATCH 3.2 59/67] ARM: 8519/1: ICST: try other dividends than 1

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit e972c37459c813190461dabfeaac228e00aae259 upstream. Since the dawn of time the ICST code has only supported divide by one or hang in an eternal loop. Luckily we were always

[PATCH 3.2 34/67] ALSA: seq: Fix yet another races among ALSA timer accesses

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 2cdc7b636d55cbcf42e1e6c8accd85e62d3e9ae8 upstream. ALSA sequencer may open/close and control ALSA timer instance dynamically either via sequencer events or direct ioctls. T

[PATCH 3.2 63/67] unix: correctly track in-flight fds in sending process user_struct

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa commit 415e3d3e90ce9e18727e8843ae343eda5a58fad6 upstream. The commit referenced in the Fixes tag incorrectly accounted the number of in-flight fds over a unix domain socket

[PATCH 3.2 56/67] ALSA: timer: Fix race between stop and interrupt

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ed8b1d6d2c741ab26d60d499d7fbb7ac801f0f51 upstream. A slave timer element also unlinks at snd_timer_stop() but it takes only slave_active_lock. When a slave is assigned to a

[PATCH 3.2 39/67] ALSA: seq: Fix lockdep warnings due to double mutex locks

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 7f0973e973cd74aa40747c9d38844560cd184ee8 upstream. The port subscription code uses double mutex locks for source and destination ports, and this may become racy once when wr

[PATCH 3.2 03/67] timerfd: Handle relative timers with CONFIG_TIME_LOW_RES proper

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit b62526ed11a1fe3861ab98d40b7fdab8981d788a upstream. Helge reported that a relative timer can return a remaining time larger than the programmed relative time on parisc and

[PATCH 3.2 47/67] mm, vmstat: fix wrong WQ sleep when memory reclaim doesn't make any progress

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 564e81a57f9788b1475127012e0fd44e9049e342 upstream. Jan Stancek has reported that system occasionally hanging after "oom01" testcase from LTP triggers OOM. Guessing from a r

[PATCH 3.2 37/67] ALSA: rawmidi: Make snd_rawmidi_transmit() race-free

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 06ab30034ed9c200a570ab13c017bde248ddb2a6 upstream. A kernel WARNING in snd_rawmidi_transmit_ack() is triggered by syzkaller fuzzer: WARNING: CPU: 1 PID: 20739 at sound/cor

Re: [RFC PATCH 00/27] Move LRU page reclaim from zones to nodes v2

2016-02-23 Thread Mel Gorman
On Tue, Feb 23, 2016 at 12:59:15PM -0800, Johannes Weiner wrote: > On Tue, Feb 23, 2016 at 08:19:32PM +, Mel Gorman wrote: > > On Tue, Feb 23, 2016 at 12:04:16PM -0800, Johannes Weiner wrote: > > > On Tue, Feb 23, 2016 at 03:04:23PM +, Mel Gorman wrote: > > > > In many benchmarks, there is

[PATCH 3.2 25/67] crypto: shash - Fix has_key setting

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 00420a65fa2beb3206090ead86942484df2275f3 upstream. The has_key logic is wrong for shash algorithms as they always have a setkey function. So we should instead be testing agai

[PATCH 3.2 58/67] ahci: Intel DNV device IDs SATA

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexandra Yates commit 342decff2b846b46fa61eb5ee40986fab79a9a32 upstream. Adding Intel codename DNV platform device IDs for SATA. Signed-off-by: Alexandra Yates Signed-off-by: Tejun Heo Sign

Re: [PATCH] lkdtm: add test for executing .rodata

2016-02-23 Thread PaX Team
On 23 Feb 2016 at 12:53, Kees Cook wrote: > I prefer using all the "regular" mechanisms so that I really know I'm > exercising the actual case I want to be testing. (i.e. I don't want to > bypass the linker.) > > If only there were some way to filter gcc output, like with plugins. ;) plugins can

Re: [PATCH] ASoC: rt5640: add master clock handling for rt5640

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 09:26:22AM +0800, Sugar Zhang wrote: > enable/disable master clock when codec is active or not. > > Signed-off-by: Sugar Zhang > --- > > Documentation/devicetree/bindings/sound/rt5640.txt | 3 +++ Acked-by: Rob Herring > sound/soc/codecs/rt5640.c

Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info

2016-02-23 Thread Eric W. Biederman
"H. Peter Anvin" writes: > On February 23, 2016 12:35:12 PM PST, Junio C Hamano > wrote: >>ebied...@xmission.com (Eric W. Biederman) writes: >> >>> Junio C Hamano writes: >>> It is valuable for a testing organization to say "We tested this series on top of version X. We know it work

[PATCH 3.2 57/67] ALSA: timer: Fix race at concurrent reads

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4dff5c7b7093b19c19d3a100f8a3ad87cb7cd9e7 upstream. snd_timer_user_read() has a potential race among parallel reads, as qhead and qused are updated outside the critical secti

[PATCH 3.2 50/67] crypto: algif_skcipher - Do not dereference ctx without socket lock

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 6454c2b83f719057069777132b13949e4c6b6350 upstream. Any access to non-constant bits of the private context must be done under the socket lock, in particular, this includes ctx-

[PATCH 3.2 46/67] scsi_dh_rdac: always retry MODE SELECT on command lock violation

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit d2d06d4fe0f2cc2df9b17fefec96e6e1a1271d91 upstream. If MODE SELECT returns with sense '05/91/36' (command lock violation) it should always be retried without counting the

Re: [PATCH] lkdtm: add test for executing .rodata

2016-02-23 Thread Kees Cook
On Tue, Feb 23, 2016 at 2:00 PM, PaX Team wrote: > On 23 Feb 2016 at 12:53, Kees Cook wrote: > >> I prefer using all the "regular" mechanisms so that I really know I'm >> exercising the actual case I want to be testing. (i.e. I don't want to >> bypass the linker.) >> >> If only there were some way

[PATCH 3.2 38/67] ALSA: rawmidi: Fix race at copying & updating the position

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 81f577542af15640cbcb6ef68baa4caa610cbbfc upstream. The rawmidi read and write functions manage runtime stream status such as runtime->appl_ptr and runtime->avail. These poi

[PATCH 3.2 52/67] ALSA: dummy: Implement timer backend switching more safely

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ddce57a6f0a2d8d1bfacfa77f06043bc760403c2 upstream. Currently the selected timer backend is referred at any moment from the running PCM callbacks. When the backend is switch

[PATCH 3.2 12/67] USB: visor: fix null-deref at probe

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit cac9b50b0d75a1d50d6c056ff65c005f3224c8e0 upstream. Fix null-pointer dereference at probe should a (malicious) Treo device lack the expected endpoints. Specifically, the Tre

[PATCH 3.2 02/67] hrtimer: Handle remaining time proper for TIME_LOW_RES

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 203cbf77de59fc8f13502dcfd11350c6d4a5c95f upstream. If CONFIG_TIME_LOW_RES is enabled we add a jiffie to the relative timeout to prevent short sleeps, but we do not accoun

[PATCH 3.2 01/67] KVM: vmx: fix MPX detection

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 920c837785699bcc48f4a729ba9ee3492f620b95 upstream. kvm_x86_ops is still NULL at this point. Since kvm_init_msr_list cannot fail, it is safe to initialize it before the cal

[PATCH 3.2 41/67] usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Broxton-M platforms

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Lu Baolu commit ccc04afb72cddbdf7c0e1c17e92886405a71b754 upstream. Intel Broxton M was verifed to require XHCI_PME_STUCK_QUIRK quirk as well. Signed-off-by: Lu Baolu Signed-off-by: Mathias Ny

[PATCH 3.2 04/67] posix-timers: Handle relative timers with CONFIG_TIME_LOW_RES proper

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 572c39172684c3711e4a03c9a7380067e2b0661c upstream. As Helge reported for timerfd we have the same issue in posix timers. We return remaining time larger than the programm

[PATCH 3.2 45/67] [media] saa7134-alsa: Only frees registered sound cards

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit ac75fe5d8fe4a0bf063be18fb29684405279e79e upstream. That prevents this bug: [ 2382.269496] BUG: unable to handle kernel NULL pointer dereference at 0540

[PATCH 3.2 08/67] af_unix: fix struct pid memory leak

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit fa0dc04df259ba2df3ce1920e9690c7842f8fa4b upstream. Dmitry reported a struct pid leak detected by a syzkaller program. Bug happens in unix_stream_recvmsg() when we break the

[PATCH 3.2 07/67] cdc-acm:exclude Samsung phone 04e8:685d

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit e912e685f372ab62a2405a1acd923597f524e94a upstream. This phone needs to be handled by a specialised firmware tool and is reported to crash irrevocably if cdc-acm takes it.

[PATCH 3.2 05/67] itimers: Handle relative timers with CONFIG_TIME_LOW_RES proper

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 51cbb5242a41700a3f250ecfb48dcfb7e4375ea4 upstream. As Helge reported for timerfd we have the same issue in itimers. We return remaining time larger than the programmed re

linux-next: manual merge of the arc tree with the arc-current tree

2016-02-23 Thread Stephen Rothwell
Hi Vineet, Today's linux-next merge of the arc tree got a conflict in: arch/arc/Kconfig between commit: 3e5177c1919b ("arc: get rid of DEVTMPFS dependency on INITRAMFS_SOURCE") from the arc-current tree and commit: 38a39d18e7b4 ("ARC: clockevent: Prepare for DT based probe") from the a

Re: [PATCH v3] sscanf: implement basic character sets

2016-02-23 Thread Andrew Morton
On Tue, 23 Feb 2016 15:38:22 -0500 Jessica Yu wrote: > Implement basic character sets for the '%[]' conversion specifier. > > The '%[]' conversion specifier matches a nonempty sequence of characters > from the specified set of accepted (or with '^', rejected) characters > between the brackets. T

[PATCH 3.2 10/67] sctp: allow setting SCTP_SACK_IMMEDIATELY by the application

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner commit 27f7ed2b11d42ab6d796e96533c2076ec220affc upstream. This patch extends commit b93d6471748d ("sctp: implement the sender side for SACK-IMMEDIATELY extension") as it

[PATCH 3.2 40/67] Revert "xhci: don't finish a TD if we get a short-transfer event mid TD"

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit a6835090716a85f2297668ba593bd00e1051e662 upstream. This reverts commit e210c422b6fd ("xhci: don't finish a TD if we get a short transfer event mid TD") Turns out that most

[PATCH 3.2 11/67] USB: cp210x: add ID for IAI USB to RS485 adaptor

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Dedecker commit f487c54ddd544e1c9172cd510954f697b77b76e3 upstream. Added the USB serial console device ID for IAI Corp. RCB-CV-USB USB to RS485 adaptor. Signed-off-by: Peter Dedecker Si

Re: [PATCH 3.2 08/67] af_unix: fix struct pid memory leak

2016-02-23 Thread Rainer Weikusat
Ben Hutchings writes: > 3.2.78-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Eric Dumazet > > commit fa0dc04df259ba2df3ce1920e9690c7842f8fa4b upstream. [...] > Fixes: b3ca9b02b007 ("net: fix multithreaded signal handling in unix recv > ro

[PATCH 3.2 06/67] usb: cdc-acm: send zero packet for intel 7260 modem

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Lu Baolu commit ffdb1e369a73b380fce95b05f8498d92c43842b4 upstream. For Intel 7260 modem, it is needed for host side to send zero packet if the BULK OUT size is equal to USB endpoint max packet

[PATCH 3.2 00/67] 3.2.78-rc1 review

2016-02-23 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.78 release. There are 67 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 Fri Feb 25 00:00:00 UTC 2016. Anything receiv

[PATCH 3.2 14/67] USB: serial: option: Adding support for Telit LE922

2016-02-23 Thread Ben Hutchings
3.2.78-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniele Palmas commit ff4e2494dc17b173468e1713fdf6237fd8578bc7 upstream. This patch adds support for two PIDs of LE922. Signed-off-by: Daniele Palmas Signed-off-by: Johan Hovold Signed-off-b

Re: [PATCH v12 1/5] efi: ARM/arm64: ignore DT memory nodes instead of removing them

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 11:58:05AM +, Mark Rutland wrote: > Hi, > > On Mon, Feb 22, 2016 at 05:58:19PM -0800, David Daney wrote: > > From: Ard Biesheuvel > > > > There are two problems with the UEFI stub DT memory node removal > > routine: > > - it deletes nodes as it traverses the tree, whi

[PATCH] drm/i915: Resume DP MST before doing any kind of modesetting

2016-02-23 Thread Lyude
As it turns out, resuming DP MST is racey since we don't make sure MST is ready before we start modesetting, it just usually happens to be ready in time. This isn't the case on all systems, particularly a ThinkPad T560 with displays connected through the dock. On these systems, resuming the laptop

Re: [PATCH 2/2] lkdtm: Add read/write after free tests for buddy memory

2016-02-23 Thread Kees Cook
On Mon, Feb 22, 2016 at 5:27 PM, Laura Abbott wrote: > > The current tests for read/write after free work on slab > allocated memory. Memory straight from the buddy allocator > may behave slightly differently and have a different set > of parameters to test. Add tests for those cases as well. > >

Re: [PATCH 1/4] soc: rockchip: add bindings for Rockchip grf

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 03:01:01PM +0800, jianqun.xu wrote: > From: Jianqun Xu > > Add devicetree bindings for Rockchip grf which found on > Rockchip SoCs. > > Signed-off-by: Jianqun Xu > --- > changes in v2: > - add grf.txt (Heiko) > > .../devicetree/bindings/soc/rockchip/grf.txt | 35

Re: [PATCH v2 1/4] net: ethernet: dwmac: add Ethernet glue logic for stm32 chip

2016-02-23 Thread Joachim Eastwood
Hi Alexandre, On 23 February 2016 at 16:10, Alexandre TORGUE wrote: > stm324xx family chips support Synopsys MAC 3.510 IP. > This patch adds settings for logical glue logic: > -clocks > -mode selection MII or RMII. > > Signed-off-by: Alexandre TORGUE > > diff --git a/drivers/net/ethernet/stmicro

Re: [PATCH 2/4] dt-bindings: add bindings for rk3399 clock controller

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 03:01:02PM +0800, jianqun.xu wrote: > From: Xing Zheng > > Add devicetree bindings for Rockchip cru which found on > Rockchip SoCs. > > Signed-off-by: Xing Zheng > Signed-off-by: Jianqun Xu > --- > .../bindings/clock/rockchip,rk3399-cru.txt | 82 >

[PATCH 2/5] ARM: bcm2835: Replace alt0/i2s_alt[02] with standard groups.

2016-02-23 Thread Eric Anholt
Since all of these pins were documented, we can use their names to explain what's going on. Signed-off-by: Eric Anholt --- arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 17 ++--- arch/arm/boot/dts/bcm2835-rpi-a.dts | 17 ++--- arch/arm/boot/dts/bcm2835-rpi-b-plus.dts |

Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info

2016-02-23 Thread Stefan Beller
On Tue, Feb 23, 2016 at 12:46 PM, H. Peter Anvin wrote: > On February 23, 2016 12:35:12 PM PST, Junio C Hamano > wrote: >>ebied...@xmission.com (Eric W. Biederman) writes: >> >>> Junio C Hamano writes: >>> It is valuable for a testing organization to say "We tested this series on top

[PATCH] mfd: intel-lpss: remove spt_info, it is not used

2016-02-23 Thread Colin King
From: Colin Ian King spt_info is not used at all, I suspect it is vestigial code left over when the intel-lpss-acpi was derived from intel-lpss-pci Signed-off-by: Colin Ian King --- drivers/mfd/intel-lpss-acpi.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/mfd/intel-lpss-acpi

Re: [PATCH] trace-cmd: trace-cmd.c call free only once on tracing and path

2016-02-23 Thread Steven Rostedt
On Thu, 3 Dec 2015 23:34:13 +0100 (CET) John Kacur wrote: > >From 33102b6423ba64798d91aee9de4ecb21189dd49e Mon Sep 17 00:00:00 2001 > From: John Kacur > Date: Thu, 3 Dec 2015 23:29:05 +0100 > Subject: [PATCH] trace-cmd: don't call free on tracing and path more than once > > In version trace-c

Re: [PATCH] trace-cmd: quiet some output when using libtracecmd

2016-02-23 Thread Steven Rostedt
On Fri, 4 Dec 2015 10:37:30 -0500 Josef Bacik wrote: > If you link against libtracecmd you get a few extraneous warnings and printf's > that aren't related to your tool. So by default make the path to the events > you > are tracing use pr_stat() so if it's not defined we don't get the output, a

Re: [RFC PATCH 1/2] memremap: add arch specific hook for MEMREMAP_WB mappings

2016-02-23 Thread Robert Jarzmik
Dan Williams writes: > On Tue, Feb 23, 2016 at 4:26 AM, Ard Biesheuvel > wrote: >> On 23 February 2016 at 13:03, Ard Biesheuvel >> wrote: >>> On 23 February 2016 at 12:58, Russell King - ARM Linux >>> wrote: On Mon, Feb 22, 2016 at 09:35:24PM +0100, Ard Biesheuvel wrote: >> OK, I see wha

Re: [PATCH] trace-cmd: filter out specific pids

2016-02-23 Thread Steven Rostedt
On Fri, 4 Dec 2015 12:03:38 -0500 Josef Bacik wrote: > Sometimes it is a good idea to filter out events from the recording processes > and even other pids, for example an external app that links against > libtracecmd > that watches syscalls probably doesn't want its own syscalls showing up in th

Re: [PATCH] trace-cmd: add trace_hash_find_reverse

2016-02-23 Thread Steven Rostedt
On Tue, 15 Dec 2015 11:13:24 -0500 Josef Bacik wrote: > Sometimes we want to FIFO identical entries in the hash table, so add > trace_hash_find_reverse, which will cycle through the hash list in reverse. > This is helpful in our case where we are monitoring block request issues to > match with th

Re: [PATCH v2] mm,oom: exclude oom_task_origin processes if they are OOM-unkillable.

2016-02-23 Thread David Rientjes
On Tue, 23 Feb 2016, Michal Hocko wrote: > > oom_badness() ranges from 0 (don't kill) to 1000 (please kill). It > > factors in the setting of /proc/self/oom_score_adj to change that value. > > That is where OOM_SCORE_ADJ_MIN is enforced. > > The question is whether the current placement of O

Re: [PATCH v2 2/4] Documentation: Bindings: Add STM32 DWMAC glue

2016-02-23 Thread Joachim Eastwood
Hi Alexandre, You should copy 'devicet...@vger.kernel.org' on bindings doc. Adding cc here. On 23 February 2016 at 16:10, Alexandre TORGUE wrote: > Signed-off-by: Alexandre TORGUE > > diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.txt > b/Documentation/devicetree/bindings/net/s

Re: [PATCHv2] lkdtm: Add READ_AFTER_FREE test

2016-02-23 Thread Kees Cook
On Tue, Feb 23, 2016 at 1:25 PM, Kees Cook wrote: > zero poison only: > DEBUG_PAGEALLOC=n > PAGE_POISONING=y > PAGE_POISONING_NO_SANITY=y > PAGE_POISONING_ZERO=y > page_poison=on This combo (in next-20160223) results in an unusable system. :( [1.754183] random: init ur

Re: [PATCH v2 1/2] mpt3sas: Free memory pools before retrying to allocate with different value.

2016-02-23 Thread Martin K. Petersen
> "Suganath" == Suganath Prabu Subramani > writes: Suganath> Deallocate resources before reallocating of the same in Suganath> retry_allocation path of _base_allocate_memory_pools() Both patches applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH net v3] r8169:fix "rtl_counters_cond == 1 (loop: 1000, delay: 10)" log spam.

2016-02-23 Thread Francois Romieu
Chunhao Lin : [...] > diff --git a/drivers/net/ethernet/realtek/r8169.c > b/drivers/net/ethernet/realtek/r8169.c > index 537974c..404be51 100644 > --- a/drivers/net/ethernet/realtek/r8169.c > +++ b/drivers/net/ethernet/realtek/r8169.c [...] > @@ -7853,6 +7859,11 @@ static int rtl8169_runtime_susp

Dell XPS 15 9550 acpi deadlock

2016-02-23 Thread Andy Clayton
Hello, I'm seeing a blocked acpi_os_execute_deferred task on a Dell XPS 15 9550 upon thunderbolt hotplug. It seems to prevent thunderbolt from working and causes subsequent shutdown or suspend to hang. I've put together the following patch ("ACPICA: fix deadlock on recursion of entry method")

[PATCH] ACPICA: fix deadlock on recursion of entry method

2016-02-23 Thread Andy Clayton
The execution of each control method is protected by a mutex. acpi_ds_begin_method_execution avoids trying to reacquire a mutex during recursion by checking if the mutex is already held by the current thread. The mutex's thread_id is only set in acpi_ds_begin_method_execution if a walk state is pre

Re: [PATCH RESEND] dpt_i2o: fix build warning

2016-02-23 Thread Martin K. Petersen
> "Sudip" == Sudip Mukherjee writes: Sudip> We were getting build warning about: Sudip> drivers/scsi/dpt_i2o.c:183:29: warning: 'dptids' defined but not Sudip> used Sudip> dptids[] is only used in the MODULE_DEVICE_TABLE so when MODULE Sudip> is not defined then dptids[] becomes unused. App

Re: [PATCH v3] sscanf: implement basic character sets

2016-02-23 Thread Rasmus Villemoes
On Tue, Feb 23 2016, Jessica Yu wrote: > Implement basic character sets for the '%[]' conversion specifier. > > > lib/vsprintf.c | 41 + > 1 file changed, 41 insertions(+) > > diff --git a/lib/vsprintf.c b/lib/vsprintf.c > index 525c8e1..983358a 100644 > -

Re: [PATCH v3] mptbase: fixup error handling paths in mpt_attach()

2016-02-23 Thread Martin K. Petersen
> "Ewan" == Ewan D Milne writes: Ewan> mpt_attach() was not checking for the failure to create Ewan> fw_event_q. Also, iounmap() was not being called in all error Ewan> cases after ioremap() had been called by mpt_mapresources(). Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracl

Re: [PATCH v3 1/2] devicetree: Add UCS1002 USB Port Power Controller binding

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 08:27:04AM +0100, Enric Balletbo i Serra wrote: > The UCS1002-2 provides a USB port power switch for precise control of up > to 2.5 amperes continuous current. > > You can add support to your board with current binding. > > Example: > > ucs1002: ucs1002@57 { >

Re: [PATCH 2/4] x86/mce/AMD: Fix logic to obtain block address

2016-02-23 Thread Aravind Gopalakrishnan
On 2/23/16 6:39 AM, Borislav Petkov wrote: On Tue, Feb 16, 2016 at 03:45:09PM -0600, Aravind Gopalakrishnan wrote: /* 'SMCA': AMD64 Scalable MCA */ +#define MSR_AMD64_SMCA_MC0_MISC0 0xc0002003 #define MSR_AMD64_SMCA_MC0_CONFIG 0xc0002004 #define MSR_AMD64_SMCA_MC0_IPID

Re: [PATCH] Staging: comedi: mite: added spaces around | and *

2016-02-23 Thread Philippe Loctaux
On Tue, Feb 23, 2016 at 04:48:23PM +, Ian Abbott wrote: > Actually, that one looks like a false positive by the checkpatch tool. I'd > expect no space after that '*'. checkpatch has probably got confused by the > line-break before the '*'. I see, I think I'll end up resending another patch wit

Re: [PATCH v2] RTC/PCF85063: fix reading/setting time/date

2016-02-23 Thread Alexandre Belloni
On 09/02/2016 at 11:57:24 +0100, Juergen Borleis wrote : > The PCF85063 RTC needs special treatment while setting or reading the > time/date: > > - when reading the 7 time/date registers they are blocked from updating by >the 'one second' pulse internally. So reading all time/date registers >

[PATCH] rtc: pcf85063: remove useless century handling

2016-02-23 Thread Alexandre Belloni
pcf85063_get_datetime() tries to handle a century bit but that bit is not documented and the final value is never used anywhere else in the kernel. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pcf85063.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-pcf85063.c

Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for rt5640

2016-02-23 Thread Heiko Stuebner
Am Dienstag, 23. Februar 2016, 08:50:04 schrieb Pierre-Louis Bossart: > On 2/22/16 7:26 PM, Sugar Zhang wrote: > > enable/disable master clock when codec is active or not. > > > > Signed-off-by: Sugar Zhang > > --- > > > > Documentation/devicetree/bindings/sound/rt5640.txt | 3 +++ > > sound

Re: [RFC v2 2/7] tables.h: add linker table support

2016-02-23 Thread Luis R. Rodriguez
On Fri, Feb 19, 2016 at 1:48 PM, Luis R. Rodriguez wrote: > On Fri, Feb 19, 2016 at 12:25:55PM -0800, H. Peter Anvin wrote: >> On 02/19/2016 05:45 AM, Luis R. Rodriguez wrote: >> > + >> > +/** >> > + * DOC: Regular linker linker table constructors >> > + * >> > + * Regular constructors are expecte

Re: [PATCH] drivers/rtc: make class.c explicitly non-modular

2016-02-23 Thread Alexandre Belloni
On 14/02/2016 at 15:04:19 -0500, Paul Gortmaker wrote : > The Makefile/Kconfig currently controlling compilation of this code is: > > obj-$(CONFIG_RTC_CLASS) += rtc-core.o > rtc-core-y := class.o interface.o > > drivers/rtc/Kconfig:menuconfig RTC_CLASS > drivers/rtc/K

Re: [PATCH] rtc: s5m: De-inline large functions to save space

2016-02-23 Thread Alexandre Belloni
On 16/02/2016 at 11:04:42 +0900, Krzysztof Kozlowski wrote : > Few functions were marked inline even though they were relatively large > and sometimes used in multiple places. De-inline them to let the > compiler decide whether optimization makes sense. This fixes inline_hunt > report: > drivers/rt

Re: [PATCH] VMD: Attach vmd resources to parent domain's resource tree

2016-02-23 Thread Keith Busch
On Tue, Feb 23, 2016 at 02:50:13PM -0700, Jon Derrick wrote: > This patch attaches the new VMD domain's resources to the VMD device's > resources. This allows /proc/iomem to display a more complete picture. > > Before: > c000-c1ff : :5d:05.5 > c200-c3ff : :5d:05.5 >

Re: [PATCH] trace-cmd: use nonblocking reads for streaming

2016-02-23 Thread Steven Rostedt
On Thu, 17 Dec 2015 12:01:52 -0500 Josef Bacik wrote: > I noticed while using the streaming infrastructure in trace-cmd that I was > seemingly missing events. Using other tracing methods I got these events and > record->missed_events was never being set. This is because the streaming > infrastr

Re: [PATCH 3/4] x86/mce: Clarify comments regarding deferred error

2016-02-23 Thread Aravind Gopalakrishnan
On 2/23/16 6:11 AM, Borislav Petkov wrote: On Tue, Feb 16, 2016 at 03:45:10PM -0600, Aravind Gopalakrishnan wrote: /* AMD-specific bits */ -#define MCI_STATUS_DEFERRED(1ULL<<44) /* declare an uncorrected error */ +#define MCI_STATUS_DEFERRED(1ULL<<44) /* declare a deferred error */

[PATCH 1/5] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2016-02-23 Thread Han Xu
From: Han Xu support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 27 ++- drivers/mtd/nand/gpmi-nand/gpmi-nand.h

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