[PATCH 3.16 027/305] PCI: Supply CPU physical address (not bus address) to iomem_is_exclusive()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit ca620723d4ff9ea7ed484eab46264c3af871b9ae upstream. iomem_is_exclusive() requires a CPU physical address, but on some arches we supplied a PCI bus address instead. On most

[PATCH 3.16 154/305] of: fix autoloading due to broken modalias with no 'compatible'

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit b3c0a4dab7e35a9b6d69c0415641d2280fdefb2b upstream. Because of an improper dereference, a stray 'C' character was output to the modalias when no 'compatible' was specified.

[PATCH 3.16 163/305] iio: proximity: as3935: correct IIO_CHAN_INFO_RAW output

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Matt Ranostay commit 5138806f16c74c7cb8ac3e408a859c79eb7c9567 upstream. IIO_CHAN_INFO_RAW was returning processed data which was incorrect. This also adds the IIO_CHAN_INFO_SCALE value to conv

Re: [RFC 2/7] tty: add support for "tty slave" devices

2016-08-14 Thread Greg Kroah-Hartman
On Sun, Aug 14, 2016 at 10:48:22AM +0200, Pavel Machek wrote: > On Sat 2016-08-13 12:03:45, Greg Kroah-Hartman wrote: > > On Sat, Aug 13, 2016 at 05:14:33AM +0200, Sebastian Reichel wrote: > > > From: NeilBrown > > > > > > A "tty slave" is a device connected via UART. It may need a driver to, >

[PATCH 3.2 20/94] sched/loadavg: Fix loadavg artifacts on fully idle and on fully loaded systems

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Vik Heyndrickx commit 20878232c52329f92423d27a60e48b6a6389e0dd upstream. Systems show a minimal load average of 0.00, 0.01, 0.05 even when they have no load at all. Uptime and /proc/loadavg on

[PATCH 3.16 194/305] drm/i915/ilk: Don't disable SSC source if it's in use

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Lyude commit 476490a945e1f0f6bd58e303058d2d8ca93a974c upstream. Thanks to Ville Syrjälä for pointing me towards the cause of this issue. Unfortunately one of the sideaffects of having the ref

[PATCH 3.16 231/305] iio: accel: kxsd9: fix the usage of spi_w8r8()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit 0c1f91b98552da49d9d8eed32b3132a58d2f4598 upstream. These two spi_w8r8() calls return a value with is used by the code following the error check. The dubious use was caused

[PATCH 3.16 299/305] netfilter: ip_tables: simplify translate_compat_table args

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit 7d3f843eed2954c9feab481f55175a1afcc9 upstream. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso [bwh: Backported to 3.16: adjust context] Signed-o

[PATCH 3.2 94/94] audit: fix a double fetch in audit_log_single_execve_arg()

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Moore commit 43761473c254b45883a64441dd0bc85a42f3645c upstream. There is a double fetch problem in audit_log_single_execve_arg() where we first check the execve(2) argumnets for any "bad"

Re: [RFC 2/7] tty: add support for "tty slave" devices

2016-08-14 Thread Greg Kroah-Hartman
On Sat, Aug 13, 2016 at 10:31:24PM +0200, Sebastian Reichel wrote: > Hi, > > On Sat, Aug 13, 2016 at 12:03:45PM +0200, Greg Kroah-Hartman wrote: > > On Sat, Aug 13, 2016 at 05:14:33AM +0200, Sebastian Reichel wrote: > > > From: NeilBrown > > > > > > A "tty slave" is a device connected via UART.

[PATCH 3.16 144/305] of: irq: fix of_irq_get[_byname]() kernel-doc

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit 3993546646baf1dab5f5c4f7d9bb58f2046fd1c1 upstream. The kernel-doc for the of_irq_get[_byname]() is clearly inadequate in describing the return values -- of_irq_get_byna

[PATCH 3.16 062/305] MIPS: KVM: Fix timer IRQ race when writing CP0_Compare

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: James Hogan commit b45bacd2d048f405c7760e5cc9b60dd67708734f upstream. Writing CP0_Compare clears the timer interrupt pending bit (CP0_Cause.TI), but this wasn't being done atomically. If a tim

[PATCH 3.2 51/94] kprobes/x86: Clear TF bit in fault on single-stepping

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu commit dcfc47248d3f7d28df6f531e6426b933de94370d upstream. Fix kprobe_fault_handler() to clear the TF (trap flag) bit of the flags register in the case of a fault fixup on singl

[PATCH 3.16 217/305] IB/mlx4: Verify port number in flow steering create flow

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Yishai Hadas commit 5533c18ab02b17a7f2ac11908e2d97d4b421617d upstream. In procedure mlx4_ib_create_flow, passing an invalid port number will cause an out-of-bounds array access. Data passed to

[PATCH 3.2 58/94] hwmon: (dell-smm) Restrict fan control and serial number to CAP_SYS_ADMIN by default

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Pali Rohár commit 7613663cc186f8f3c50279390ddc60286758001c upstream. For security reasons ordinary user must not be able to control fan speed via /proc/i8k by default. Some malicious software r

[PATCH 3.16 258/305] ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 62db7152c924e4c060e42b34a69cd39658e8a0dc upstream. vortex_wtdma_bufshift() function does calculate the page index wrongly, first masking then shift, which always results in

[PATCH 3.16 110/305] tuntap: correctly wake up process during uninit

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit addf8fc4acb1cf79492ac64966f07178793cb3d7 upstream. We used to check dev->reg_state against NETREG_REGISTERED after each time we are woke up. But after commit 9e641bdcfa4e ("n

[PATCH v4 12/26] fs: cifs: Replace CURRENT_TIME by current_time()

2016-08-14 Thread Deepa Dinamani
CURRENT_TIME macro is not appropriate for filesystems as it doesn't use the right granularity for filesystem timestamps. Use current_time() instead. This is also in preparation for the patch that transitions vfs timestamps to use 64 bit time and hence make them y2038 safe. CURRENT_TIME macro will

[PATCH 3.16 003/305] ARM: dts: kirkwood: add kirkwood-nsa320.dtb to Makefile

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Heinrich Schuchardt commit 9ec423ed62b8278412400fae6c064edb6ce1bb51 upstream. Commit be3d7d023b87 ("ARM: kirkwood: Add DTS file for NSA320") created the new file kirkwood-nsa320.dts but did no

[PATCH 3.16 165/305] iio: proximity: as3935: fix buffer stack trashing

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Matt Ranostay commit 37b1ba2c68cfbe37f5f45bb91bcfaf2b016ae6a1 upstream. Buffer wasn't of a valid size to allow the timestamp, and correct padding. This patchset also moves the buffer off the s

[PATCH 3.16 001/305] regmap: cache: Fix typo in cache_bypass parameter description

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: "Andrew F. Davis" commit 267c85860308d36bc163c5573308cd024f659d7c upstream. Setting the flag 'cache_bypass' will bypass the cache not the hardware. Fix this comment here. Fixes: 0eef6b0415f5

[PATCH 3.16 265/305] net: bcmsysport: Device stats are unsigned long

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit 016eb55157166132b094e53434748cae35e18455 upstream. On 64bits kernels, device stats are 64bits wide, not 32bits. Fixes: 80105befdb4b ("net: systemport: add Broadcom SYS

[PATCH 3.16 048/305] ext4: fix oops on corrupted filesystem

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 74177f55b70e2f2be770dd28684dd6d17106a4ba upstream. When filesystem is corrupted in the right way, it can happen ext4_mark_iloc_dirty() in ext4_orphan_add() returns error and we

[PATCH 3.16 253/305] batman-adv: Fix use-after-free/double-free of tt_req_node

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit 9c4604a298e0a9807eaf2cd912d1ebf24d98fbeb upstream. The tt_req_node is added and removed from a list inside a spinlock. But the locking is sometimes removed even when the

[PATCH 3.16 123/305] sfc: on MC reset, clear PIO buffer linkage in TXQs

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Edward Cree commit c0795bf64cba4d1b796fdc5b74b33772841ed1bb upstream. Otherwise, if we fail to allocate new PIO buffers, our TXQs will try to use the old ones, which aren't there any more. Fi

[PATCH 3.2 76/94] ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift()

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 62db7152c924e4c060e42b34a69cd39658e8a0dc upstream. vortex_wtdma_bufshift() function does calculate the page index wrongly, first masking then shift, which always results in

[PATCH v4 04/26] fs: Replace CURRENT_TIME_SEC with current_time() for inode timestamps

2016-08-14 Thread Deepa Dinamani
CURRENT_TIME_SEC is not y2038 safe. current_time() will be transitioned to use 64 bit time along with vfs in a separate patch. There is no plan to transistion CURRENT_TIME_SEC to use y2038 safe time interfaces. current_time() will also be extended to use superblock range checking parameters when r

[PATCH 3.16 107/305] cifs: Create dedicated keyring for spnego operations

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Sachin Prabhu commit b74cb9a80268be5c80cf4c87c74debf0ff2129ac upstream. The session key is the default keyring set for request_key operations. This session key is revoked when the user owning

[PATCH 3.16 266/305] ALSA: timer: Fix negative queue usage by racy accesses

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3fa6993fef634e05d200d141a85df0b044572364 upstream. The user timer tu->qused counter may go to a negative value when multiple concurrent reads are performed since both the c

[PATCH 3.2 17/94] ata: sata_dwc_460ex: remove incorrect locking

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Mans Rullgard commit 55e610cdd28c0ad3dce0652030c0296d549673f3 upstream. This lock is already taken in ata_scsi_queuecmd() a few levels up the call stack so attempting to take it here is an erro

Re: [PATCH] vcodec: mediatek: bug fix and code refine for mt8173 v4l2 Encoder

2016-08-14 Thread Hans Verkuil
On 08/12/2016 04:35 PM, Tiffany Lin wrote: > This patch include fixs: > 1. Remove unused include in mtk_vcodec_drv.h > 2. Fix visible_height larger than coded_height issue in s_fmt_out > 3. Add timestamp and timecode copy > 4. Fix mtk_vcodec_vdec_release should be called after v

[PATCH v4 25/26] time: Delete current_fs_time() function

2016-08-14 Thread Deepa Dinamani
All uses of the current_fs_time() function have been replaced by other time interfaces. And, its use cases can be fulfilled by current_time() or ktime_get_* variants. Signed-off-by: Deepa Dinamani Reviewed-by: Arnd Bergmann Cc: John Stultz Cc: Thomas Gleixner --- include/linux/fs.h | 1 - k

[PATCH 3.16 178/305] usb: musb: Stop bulk endpoint while queue is rotated

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrew Goodbody commit 7b2c17f829545df27a910e8d82e133c21c9a8c9c upstream. Ensure that the endpoint is stopped by clearing REQPKT before clearing DATAERR_NAKTIMEOUT before rotating the queue on

[PATCH 3.16 189/305] ipv6: fix endianness error in icmpv6_err

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa commit dcb94b88c09ce82a80e188d49bcffdc83ba215a6 upstream. IPv6 ping socket error handler doesn't correctly convert the new 32 bit mtu to host endianness before using. Cc:

[PATCH 3.2 80/94] ALSA: timer: Fix negative queue usage by racy accesses

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3fa6993fef634e05d200d141a85df0b044572364 upstream. The user timer tu->qused counter may go to a negative value when multiple concurrent reads are performed since both the ch

[PATCH 3.16 113/305] mmc: longer timeout for long read time quirk

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Matt Gumbel commit 32ecd320db39bcb007679ed42f283740641b81ea upstream. 008GE0 Toshiba mmc in some Intel Baytrail tablets responds to MMC_SEND_EXT_CSD in 450-600ms. This patch will... () Incre

[PATCH 3.16 103/305] xfs: fix inode validity check in xfs_iflush_cluster

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 51b07f30a71c27405259a0248206ed4e22adbee2 upstream. Some careless idiot(*) wrote crap code in commit 1a3e8f3 ("xfs: convert inode cache lookups to use RCU locking") back in

[PATCH 3.16 152/305] x86, build: copy ldlinux.c32 to image.iso

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit 9c77679cadb118c0aa99e6f88533d91765a131ba upstream. For newer versions of Syslinux, we need ldlinux.c32 in addition to isolinux.bin to reside on the boot disk, so if the

[PATCH 3.16 028/305] alpha/PCI: Call iomem_is_exclusive() for IORESOURCE_MEM, but not IORESOURCE_IO

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit c20e128030caf0537d5e906753eac1c28fefdb75 upstream. The alpha pci_mmap_resource() is used for both IORESOURCE_MEM and IORESOURCE_IO resources, but iomem_is_exclusive() is o

[PATCH 3.16 267/305] qeth: delete napi struct when removing a qeth device

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Ursula Braun commit 7831b4ff0d926e0deeaabef9db8800ed069a2757 upstream. A qeth_card contains a napi_struct linked to the net_device during device probing. This struct must be deleted when remov

[PATCH 3.2 04/94] PCI: Supply CPU physical address (not bus address) to iomem_is_exclusive()

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit ca620723d4ff9ea7ed484eab46264c3af871b9ae upstream. iomem_is_exclusive() requires a CPU physical address, but on some arches we supplied a PCI bus address instead. On most

[PATCH 3.16 213/305] xen/pciback: Fix conf_space read/write overlap check.

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Grodzovsky commit 02ef871ecac290919ea0c783d05da7eedeffc10e upstream. Current overlap check is evaluating to false a case where a filter field is fully contained (proper subset) of a r/w

[PATCH 3.16 096/305] remove directory incorrectly tries to set delete on close on non-empty directories

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Steve French commit 897fba1172d637d344f009d700f7eb8a1fa262f1 upstream. Wrong return code was being returned on SMB3 rmdir of non-empty directory. For SMB3 (unlike for cifs), we attempt to del

[PATCH 3.16 122/305] crypto: ccp - Fix AES XTS error for request sizes above 4096

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Tom Lendacky commit ab6a11a7c8ef47f996974dd3c648c2c0b1a36ab1 upstream. The ccp-crypto module for AES XTS support has a bug that can allow requests greater than 4096 bytes in size to be passed

Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)]

2016-08-14 Thread Tom Yan
On 14 August 2016 at 11:10, Pavel Machek wrote: > > It is the case in v4.6. We had change hda->sda for SATA drives long > time ago, it was stable since that. Not for me. It has been like forever (even if it wasn't the fact) that the disk order is not consistent among boots. Only that would logica

[PATCH 3.16 269/305] xenbus: don't bail early from xenbus_dev_request_and_reply()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 7469be95a487319514adce2304ad2af3553d2fc9 upstream. xenbus_dev_request_and_reply() needs to track whether a transaction is open. For XS_TRANSACTION_START messages it calls t

[PATCH 3.2 32/94] wait/ptrace: assume __WALL if the child is traced

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit bf959931ddb88c4e4366e96dd22e68fa0db9527c upstream. The following program (simplified version of generated by syzkaller) #include #include #includ

[PATCH 3.16 196/305] kvm: Fix irq route entries exceeding KVM_MAX_IRQ_ROUTES

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Xiubo Li commit caf1ff26e1aa178133df68ac3d40815fed2187d9 upstream. These days, we experienced one guest crash with 8 cores and 3 disks, with qemu error logs as bellow: qemu-system-x86_64: /bu

[PATCH v4 03/26] fs: Replace CURRENT_TIME with current_time() for inode timestamps

2016-08-14 Thread Deepa Dinamani
CURRENT_TIME macro is not appropriate for filesystems as it doesn't use the right granularity for filesystem timestamps. Use current_time() instead. CURRENT_TIME is also not y2038 safe. This is also in preparation for the patch that transitions vfs timestamps to use 64 bit time and hence make the

[PATCH 3.2 00/94] 3.2.82-rc1 review

2016-08-14 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.82 release. There are 94 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 Tue Aug 16 00:00:00 UTC 2016. Anything receiv

[PATCH 3.16 304/305] netfilter: ensure number of counters is >0 in do_replace()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Dave Jones commit 1086bbe97a074844188c6c988fa0b1a98c3ccbb9 upstream. After improving setsockopt() coverage in trinity, I started triggering vmalloc failures pretty reliably from this code path

[PATCH 3.16 171/305] HID: elo: kill not flush the work

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit ed596a4a88bd161f868ccba078557ee7ede8a6ef upstream. Flushing a work that reschedules itself is not a sensible operation. It needs to be killed. Failure to do so leads to a

[PATCH 3.2 66/94] Input: wacom_w8001 - w8001_MAX_LENGTH should be 13

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Ping Cheng commit 12afb34400eb2b301f06b2aa3535497d14faee59 upstream. Somehow the patch that added two-finger touch support forgot to update W8001_MAX_LENGTH from 11 to 13. Signed-off-by: Ping

[PATCH 3.16 208/305] ubi: Make recover_peb power cut aware

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 972228d87445dc46c0a01f5f3de673ac017626f7 upstream. recover_peb() was never power cut aware, if a power cut happened right after writing the VID header upon next attac

[PATCH 3.16 024/305] EDAC: Increment correct counter in edac_inc_ue_error()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Emmanouil Maroudas commit 993f88f1cc7f0879047ff353e824e5cc8f10adfc upstream. Fix typo in edac_inc_ue_error() to increment ue_noinfo_count instead of ce_noinfo_count. Signed-off-by: Emmanouil

[PATCH 3.2 10/94] char: Drop bogus dependency of DEVPORT on !M68K

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit 309124e2648d668a0c23539c5078815660a4a850 upstream. According to full-history-linux commit d3794f4fa7c3edc3 ("[PATCH] M68k update (part 25)"), port operations are allow

[PATCH 3.16 145/305] parisc: Fix pagefault crash in unaligned __get_user() call

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 8b78f260887df532da529f225c49195d18fef36b upstream. One of the debian buildd servers had this crash in the syslog without any other information: Unaligned handler failed,

[PATCH 3.2 23/94] x86/PCI: Mark Broadwell-EP Home Agent 1 as having non-compliant BARs

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Prarit Bhargava commit da77b67195de1c65bef4908fa29967c4d0af2da2 upstream. Commit b894157145e4 ("x86/PCI: Mark Broadwell-EP Home Agent & PCU as having non-compliant BARs") marked Home Agent 0 &

[PATCH 3.2 12/94] USB: serial: option: add more ZTE device ids

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: lei liu commit f0d09463c59c2d764a6c6d492cbe6d2c77f27153 upstream. More ZTE device ids. Signed-off-by: lei liu [properly sort them - gregkh] Signed-off-by: Greg Kroah-Hartman Signed-off-by: J

[PATCH 3.16 243/305] net: bgmac: Start transmit queue in bgmac_open

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit c3897f2a69e54dd113fc9abd2daf872e5b495798 upstream. The driver does not start the transmit queue in bgmac_open(). If the queue was stopped prior to closing then re-openi

[PATCH 3.16 063/305] gcov: disable tree-loop-im to reduce stack usage

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c87bf431448b404a6ef5fbabd74c0e3e42157a7f upstream. Enabling CONFIG_GCOV_PROFILE_ALL produces us a lot of warnings like lib/lz4/lz4hc_compress.c: In function 'lz4_compress

[PATCH 3.2 83/94] ecryptfs: don't allow mmap when the lower fs doesn't support it

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeff Mahoney commit f0fe970df3838c202ef6c07a4c2b36838ef0a88b upstream. There are legitimate reasons to disallow mmap on certain files, notably in sysfs or procfs. We shouldn't emulate mmap sup

[PATCH 3.16 156/305] fix d_walk()/non-delayed __d_free() race

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 3d56c25e3bb0726a5c5e16fc2d9e38f8ed763085 upstream. Ascend-to-parent logics in d_walk() depends on all encountered child dentries not getting freed without an RCU delay. Unfortu

[PATCH 3.16 038/305] Fix OpenSSH pty regression on close

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian Bloniarz commit 0f40fbbcc34e093255a2b2d70b6b0fb48c3f39aa upstream. OpenSSH expects the (non-blocking) read() of pty master to return EAGAIN only if it has received all of the slave-side

[PATCH 3.16 042/305] mcb: Fixed bar number assignment for the gdd

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Andreas Werner commit f75564d343010b025301d9548f2304f48eb25f01 upstream. The bar number is found in reg2 within the gdd. Therefore we need to change the assigment from reg1 to reg2 which is th

[PATCH 3.16 172/305] usb: xhci-plat: properly handle probe deferral for devm_clk_get()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni commit de95c40d5beaa47f6dc8fe9ac4159b4672b51523 upstream. On some platforms, the clocks might be registered by a platform driver. When this is the case, the clock platform dri

[PATCH 3.2 45/94] usb: f_fs: off by one bug in _ffs_func_bind()

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 0015f9156092d07b3ec06d37d014328419d5832e upstream. This loop is supposed to set all the .num[] values to -1 but it's off by one so it skips the first element and sets one e

[PATCH 3.16 176/305] USB: xhci: Add broken streams quirk for Frescologic device id 1009

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit d95815ba6a0f287213118c136e64d8c56daeaeab upstream. I got one of these cards for testing uas with, it seems that with streams it dma-s all over the place, corrupting memory

[PATCH 3.16 070/305] powerpc/mm/hash64: Fix subpage protection with 4K HPTE config

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit aac55d7573c5d46ed9a62818d5d3e69dd2060105 upstream. With Linux page size of 64K and hardware only supporting 4K HPTE, if we use subpage protection, we always fail for th

[PATCH 3.2 62/94] UBIFS: Implement ->migratepage()

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: "Kirill A. Shutemov" commit 4ac1c17b2044a1b4b2fbed74451947e905fc2992 upstream. During page migrations UBIFS might get confused and the following assert triggers: [ 213.48] UBIFS assert fai

[PATCH 3.16 167/305] usb: dwc3: exynos: Fix deferred probing storm.

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: "Steinar H. Gunderson" commit 4879efb34f7d49235fac334d76d9c6a77a021413 upstream. dwc3-exynos has two problems during init if the regulators are slow to come up (for instance if the I2C bus dri

[PATCH 3.16 223/305] HID: hiddev: validate num_values for HIDIOCGUSAGES, HIDIOCSUSAGES commands

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Scott Bauer commit 93a2001bdfd5376c3dc2158653034c20392d15c5 upstream. This patch validates the num_values parameter from userland during the HIDIOCGUSAGES and HIDIOCSUSAGES commands. Previousl

[PATCH 3.16 021/305] Bluetooth: vhci: Fix race at creating hci device

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c7c999cb18da88a881e10e07f0724ad0bfaff770 upstream. hci_vhci driver creates a hci device object dynamically upon each HCI_VENDOR_PKT write. Although it checks the already c

[PATCH 3.16 109/305] PM / sleep: Handle failures in device_suspend_late() consistently

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 3a17fb329da68cb00558721aff876a80bba2fdb9 upstream. Grygorii Strashko reports: The PM runtime will be left disabled for the device if its .suspend_late() callback

[PATCH 3.16 055/305] MIPS: Adjust set_pte() SMP fix to handle R10000_LLSC_WAR

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Joshua Kinard commit 128639395b2ceacc6a56a0141d0261012bfe04d3 upstream. Update the recent changes to set_pte() that were added in 46011e6ea392 to handle R1_LLSC_WAR, and format the assembl

[PATCH 3.16 175/305] usb: quirks: Add no-lpm quirk for Acer C120 LED Projector

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 32cb0b37098f4beeff5ad9e325f11b42a6ede56c upstream. The Acer C120 LED Projector is a USB-3 connected pico projector which takes both its power and video data from USB-3. I

[PATCH 3.16 030/305] btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Luke Dashjr commit 4c63c2454eff996c5e27991221106eb511f7db38 upstream. 32-bit ioctl uses these rather than the regular FS_IOC_* versions. They can be handled in btrfs using the same code. Witho

[PATCH 3.16 228/305] tmpfs: don't undo fallocate past its last page

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Anthony Romano commit b9b4bb26af017dbe930cd4df7f9b2fc3a0497bfe upstream. When fallocate is interrupted it will undo a range that extends one byte past its range of allocated pages. This can c

[PATCH v4 16/26] drivers: staging: lustre: Replace CURRENT_TIME with current_time()

2016-08-14 Thread Deepa Dinamani
CURRENT_TIME macro is not appropriate for filesystems as it doesn't use the right granularity for filesystem timestamps. Use current_time() instead. This is also in preparation for the patch that transitions vfs timestamps to use 64 bit time and hence make them y2038 safe. As part of the effort cu

[PATCH 3.16 091/305] drm/fb_helper: Fix references to dev->mode_config.num_connector

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Lyude commit 255f0e7c418ad95a4baeda017ae6182ba9b3c423 upstream. During boot, MST hotplugs are generally expected (even if no physical hotplugging occurs) and result in DRM's connector topology

[PATCH 3.16 010/305] Bluetooth: vhci: fix open_timeout vs. hdev race

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 373a32c848ae3a1c03618517cce85f9211a6facf upstream. Both vhci_get_user and vhci_release race with open_timeout work. They both contain cancel_delayed_work_sync, but do not tes

[PATCH 3.16 222/305] cifs: dynamic allocation of ntlmssp blob

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Jerome Marchand commit b8da344b74c822e966c6d19d6b2321efe82c5d97 upstream. In sess_auth_rawntlmssp_authenticate(), the ntlmssp blob is allocated statically and its size is an "empirical" 5*size

[PATCH 3.16 088/305] netlink: Fix dump skb leak/double free

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 92964c79b357efd980812c4de5c1fd2ec8bb5520 upstream. When we free cb->skb after a dump, we do it after releasing the lock. This means that a new dump could have started in the

[PATCH 3.2 43/94] fix d_walk()/non-delayed __d_free() race

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 3d56c25e3bb0726a5c5e16fc2d9e38f8ed763085 upstream. Ascend-to-parent logics in d_walk() depends on all encountered child dentries not getting freed without an RCU delay. Unfortun

[PATCH 3.16 153/305] tcp: record TLP and ER timer stats in v6 stats

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Yuchung Cheng commit ce3cf4ec0305919fc69a972f6c2b2efd35d36abc upstream. The v6 tcp stats scan do not provide TLP and ER timer information correctly like the v4 version . This patch fixes that.

[PATCH 3.16 079/305] RDMA/iw_cxgb4: Always wake up waiter in c4iw_peer_abort_intr()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Hariprasad S commit 093108cb3640844cfdabb0f506fa6b592b64272d upstream. Currently c4iw_peer_abort_intr() does not wake up the waiter if the endpoint state indicates we're using MPAv2 and we're

[PATCH 3.16 239/305] ALSA: echoaudio: Fix memory allocation

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit 9c6795a9b3cbb56a9fbfaf43909c5c22999ba317 upstream. 'commpage_bak' is allocated with 'sizeof(struct echoaudio)' bytes. We then copy 'sizeof(struct comm_page)' bytes in

[PATCH 3.16 202/305] can: c_can: Update D_CAN TX and RX functions to 32 bit - fix Altera Cyclone access

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Thor Thayer commit 427460c83cdf55069eee49799a0caef7dde8df69 upstream. When testing CAN write floods on Altera's CycloneV, the first 2 bytes are sometimes 0x00, 0x00 or corrupted instead of the

[PATCH 3.16 034/305] ext4: fix hang when processing corrupted orphaned inode list

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit c9eb13a9105e2e418f72e46a2b6da3f49e696902 upstream. If the orphaned inode list contains inode #5, ext4_iget() returns a bad inode (since the bootloader inode should never b

[PATCH 3.2 42/94] x86, build: copy ldlinux.c32 to image.iso

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit 9c77679cadb118c0aa99e6f88533d91765a131ba upstream. For newer versions of Syslinux, we need ldlinux.c32 in addition to isolinux.bin to reside on the boot disk, so if the

[PATCH 3.2 54/94] kvm: Fix irq route entries exceeding KVM_MAX_IRQ_ROUTES

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Xiubo Li commit caf1ff26e1aa178133df68ac3d40815fed2187d9 upstream. These days, we experienced one guest crash with 8 cores and 3 disks, with qemu error logs as bellow: qemu-system-x86_64: /bui

[PATCH 3.16 061/305] MIPS: KVM: Fix timer IRQ race when freezing timer

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 4355c44f063d3de4f072d796604c7f4ba4085cc3 upstream. There's a particularly narrow and subtle race condition when the software emulated guest timer is frozen which can allow a

[PATCH 3.16 158/305] net/mlx5: Fix the size of modify QP mailbox

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Majd Dibbiny commit 418f8399a8bedf376ec13eb01088f04a76ebdd6f upstream. Add 16 reserved bytes at the end of mlx5_modify_qp_mbox_in to match the hardware spec definition. Fixes: e126ba97dba9 ('

[PATCH 3.16 047/305] ACPI / sysfs: fix error code in get_status()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f18ebc211e259d4f591e39e74b2aa2de226c9a1d upstream. The problem with ornamental, do-nothing gotos is that they lead to "forgot to set the error code" bugs. We should be re

[PATCH 3.2 13/94] USB: serial: option: add even more ZTE device ids

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Lei Liu commit 74d2a91aec97ab832790c9398d320413ad185321 upstream. Add even more ZTE device ids. Signed-off-by: lei liu [johan: rebase and replace commit message ] Signed-off-by: Johan Hovold

Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)]

2016-08-14 Thread Greg KH
On Sun, Aug 14, 2016 at 03:26:45AM -0700, David Lang wrote: > On Sun, 14 Aug 2016, Tom Yan wrote: > > > On 14 August 2016 at 18:07, Tom Yan wrote: > > > On 14 August 2016 at 18:01, Pavel Machek wrote: > > > > > > > > Since SATA support was merged, certainly since v2.4, and from way > > > > befo

[PATCH 3.2 35/94] Input: xpad - prevent spurious input from wired Xbox 360 controllers

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Cameron Gutman commit 1ff5fa3c6732f08e01ae12f12286d4728c9e4d86 upstream. After initially connecting a wired Xbox 360 controller or sending it a command to change LEDs, a status/response packet

[PATCH 3.16 137/305] scsi: Add QEMU CD-ROM to VPD Inquiry Blacklist

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: "Ewan D. Milne" commit fbd83006e3e536fcb103228d2422ea63129ccb03 upstream. Linux fails to boot as a guest with a QEMU CD-ROM: [4.439488] ata2.00: ATAPI: QEMU CD-ROM, 0.8.2, max UDMA/100 [

[PATCH 3.16 057/305] USB: serial: io_edgeport: fix memory leaks in probe error path

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit c8d62957d450cc1a22ce3242908709fe367ddc8e upstream. URBs and buffers allocated in attach for Epic devices would never be deallocated in case of a later probe error (e.g. fai

[PATCH 3.16 216/305] IB/mlx4: Fix error flow when sending mads under SRIOV

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Yishai Hadas commit a6100603a4a87fc436199362bdb81cb849faaf6e upstream. Fix mad send error flow to prevent double freeing address handles, and leaking tx_ring entries when SRIOV is active. If

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