[PATCH 3.2 08/94] aacraid: Fix for aac_command_thread hang

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Raghava Aditya Renukunta commit fc4bf75ea300a5e62a2419f89dd0e22189dd7ab7 upstream. Typically under error conditions, it is possible for aac_command_thread() to miss the wakeup from kthread_stop

[PATCH 3.16 135/305] mac80211: mesh: flush mesh paths unconditionally

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Bob Copeland commit fe7a7c57629e8dcbc0e297363a9b2366d67a6dc5 upstream. Currently, the mesh paths associated with a nexthop station are cleaned up in the following code path: __sta_info_de

[PATCH 3.16 115/305] wait/ptrace: assume __WALL if the child is traced

2016-08-14 Thread Ben Hutchings
3.16.37-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 #inclu

Re: [PATCH 3.16 289/305] netfilter: x_tables: validate targets of jumps

2016-08-14 Thread Florian Westphal
Ben Hutchings wrote: > 3.16.37-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Florian Westphal > > commit 36472341017529e2b12573093cc0f68719300997 upstream. [..] > The extra overhead is negible, even with absurd cases. Not true, the ove

Re: feature detection versus feature selection

2016-08-14 Thread Jiri Olsa
On Fri, Aug 12, 2016 at 01:15:00PM -0300, Arnaldo Carvalho de Melo wrote: > Hey guys, > > Now we have this output when building tools with the feature > detection mechanisms in tools/build/: > > Auto-detecting system features: > ... dwarf: [ on ] > ...dw

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 Pavel Machek
Hi! On Sun 2016-08-14 18:17:39, 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 > >> before /dev/disk/by-id existed. > > > > I have no idea how "SATA before

[PATCH 3.16 026/305] crypto: s5p-sss - Fix missed interrupts when working with 8 kB blocks

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 79152e8d085fd64484afd473ef6830b45518acba upstream. The tcrypt testing module on Exynos5422-based Odroid XU3/4 board failed on testing 8 kB size blocks: $ su

[PATCH 3.2 31/94] Input: uinput - handle compat ioctl for UI_SET_PHYS

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Ricky Liang commit affa80bd97f7ca282d1faa91667b3ee9e4c590e6 upstream. When running a 32-bit userspace on a 64-bit kernel, the UI_SET_PHYS ioctl needs to be treated with special care, as it has

[PATCH 3.16 136/305] arm64: Provide "model name" in /proc/cpuinfo for PER_LINUX32 tasks

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit e47b020a323d1b2a7b1e9aac86e99eae19463630 upstream. This patch brings the PER_LINUX32 /proc/cpuinfo format more in line with the 32-bit ARM one by providing an additional

[PATCH 3.16 143/305] ALSA: hda - Fix headset mic detection problem for Dell machine

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: AceLan Kao commit f90d83b301701026b2e4c437a3613f377f63290e upstream. Add the pin configuration value of this machine into the pin_quirk table to make DELL1_MIC_NO_PRESENCE apply to this machin

[PATCH 3.16 251/305] batman-adv: Fix memory leak on tt add with invalid vlan

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 fd7dec25a18f495e50d2040398fd263836ff3b28 upstream. The object tt_local is allocated with kmalloc and not initialized when the function batadv_tt_local_add checks for the

[PATCH 3.16 045/305] USB: serial: option: add even more ZTE device ids

2016-08-14 Thread Ben Hutchings
3.16.37-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

[PATCH v4 08/26] fs: ext4: Use current_time() for inode timestamps

2016-08-14 Thread Deepa Dinamani
CURRENT_TIME_SEC and CURRENT_TIME are not y2038 safe. current_time() will be transitioned to be y2038 safe along with vfs. current_time() returns timestamps according to the granularities set in the super_block. The granularity check in ext4_current_time() to call current_time() or CURRENT_TIME_SE

[PATCH 3.16 219/305] Input: wacom_w8001 - w8001_MAX_LENGTH should be 13

2016-08-14 Thread Ben Hutchings
3.16.37-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 168/305] usb: f_fs: off by one bug in _ffs_func_bind()

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 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

[PATCH 3.2 56/94] IB/mlx4: Properly initialize GRH TClass and FlowLabel in AHs

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 8c5122e45a10a9262f872b53f151a592e870f905 upstream. When this code was reworked for IBoE support the order of assignments for the sl_tclass_flowlabel got flipped around re

[PATCH 3.16 272/305] tmpfs: fix regression hang in fallocate undo

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 7f556567036cb7f89aabe2f0954b08566b4efb53 upstream. The well-spotted fallocate undo fix is good in most cases, but not when fallocate failed on the very first page. index 0

[PATCH 3.16 257/305] qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag()

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 5b4d10f5e0369ed79434593b7cd8e85eebbe473f upstream. There is a static checker warning here "warn: mask and shift to zero" and the code sets "ring" to zero every time. From

[PATCH 3.16 118/305] UBI: fix missing brace control flow

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit b388e6a7a6ba988998ddd83919ae8d3debf1a13d upstream. commit 0e707ae79ba3 ("UBI: do propagate positive error codes up") seems to have produced an unintended change in the cont

[PATCH 3.16 291/305] netfilter: x_tables: kill check_entry helper

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 aa412ba225dd3bc36d404c28cdc3d674850d80d0 upstream. Once we add more sanity testing to xt_check_entry_offsets it becomes relvant if we're expecting a 32bit 'config_compa

[RFC 2/2] netvsc: use RCU for VF net device reference

2016-08-14 Thread Stephen Hemminger
Rather than keeping a pointer, a flag, and reference count, use RCU and existing device reference count to protect the synthetic to VF relationship. One other change is that injected packets must be accounted for on the synthetic device otherwise the statistics will be lost. The VF device driver

[PATCH 3.16 013/305] ARM: OMAP2+: hwmod: fix _idle() hwmod state sanity check sequence

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Suman Anna commit c20c8f750d9f8f8617f07ee2352d3ff560e66bc2 upstream. The omap_hwmod _enable() function can return success without setting the hwmod state to _HWMOD_STATE_ENABLED for IPs with r

[PATCH 3.16 059/305] USB: serial: mxuport: fix use-after-free 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 9e45284984096314994777f27e1446dfbfd2f0d7 upstream. The interface read and event URBs are submitted in attach, but were never explicitly unlinked by the driver. Instead the

[PATCH 3.16 292/305] netfilter: x_tables: assert minimum target size

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 a08e4e190b866579896c09af59b3bdca821da2cd upstream. The target size includes the size of the xt_entry_target struct. Signed-off-by: Florian Westphal Signed-off-by: Pab

[PATCH 3.2 07/94] btrfs: bugfix: handle FS_IOC32_{GETFLAGS,SETFLAGS,GETVERSION} in btrfs_ioctl

2016-08-14 Thread Ben Hutchings
3.2.82-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. Withou

[PATCH 3.16 215/305] IB/mlx4: Fix the SQ size of an RC QP

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 f2940e2c76bb554a7fbdd28ca5b90904117a9e96 upstream. When calculating the required size of an RC QP send queue, leave enough space for masked atomic operations, which require

[PATCH 3.16 067/305] arm64: cpuinfo: Missing NULL terminator in compat_hwcap_str

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Julien Grall commit f228b494e56d949be8d8ea09d4f973d1979201bf upstream. The loop that browses the array compat_hwcap_str will stop when a NULL is encountered, however NULL is missing at the end

[PATCH 3.2 27/94] fs/cifs: correctly to anonymous authentication for the NTLM(v1) authentication

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Metzmacher commit 777f69b8d26bf35ade4a76b08f203c11e048365d upstream. Only server which map unknown users to guest will allow access using a non-null NTChallengeResponse. For Samba it's

[PATCH 3.16 241/305] arc: unwind: warn only once if DW2_UNWIND is disabled

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin commit 9bd54517ee86cb164c734f72ea95aeba4804f10b upstream. If CONFIG_ARC_DW2_UNWIND is disabled every time arc_unwind_core() gets called following message gets printed in debug c

[PATCH 3.16 221/305] cifs: use CIFS_MAX_DOMAINNAME_LEN when converting the domain name

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 202d772ba02b1deb8835a631cd8255943d1906a0 upstream. Currently in build_ntlmssp_auth_blob(), when converting the domain name to UTF16, CIFS_MAX_USERNAME_LEN limit is used.

[PATCH 3.16 120/305] RDMA/cxgb3: device driver frees DMA memory with different size

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Honggang Li commit 0de4cbb3dddca35ecd06b95918f38439c9c6401f upstream. [ 598.852037] [ cut here ] [ 598.856698] WARNING: at lib/dma-debug.c:887 check_unmap+0xf8/0x920(

[PATCH v4 26/26] time: Delete CURRENT_TIME_SEC and CURRENT_TIME

2016-08-14 Thread Deepa Dinamani
All uses of CURRENT_TIME_SEC and CURRENT_TIME macros have been replaced by other time functions. These macros are also not y2038 safe. And, all their use cases can be fulfilled by y2038 safe ktime_get_* variants. Signed-off-by: Deepa Dinamani Acked-by: John Stultz Reviewed-by: Arnd Bergmann Cc:

[PATCH 2/2] ASoC: Intel: boards: Add bdw-rt5677 machine driver

2016-08-14 Thread John Keeping
This is used by the Chromebook Pixel 2015. Signed-off-by: Ben Zhang Signed-off-by: Dylan Reid [jk: - forward-port driver from ChromeOS 3.14 tree to master - remove wake on voice function that isn't supported by upstream rt5677 driver] Signed-off-by: John Keeping --- sound/soc/intel/Kconfi

[PATCH 0/2] ASoC: Chromebook Pixel 2015 support

2016-08-14 Thread John Keeping
These patches add basic support for audio on the Chromebook Pixel 2015. I took the machine driver from ChromeOS commit v3.14-10186-g7e7d95df2983 and other than removing support for wake on voice (which is not supported by the mainline rt5677 codec driver), the only differences are to cope with API

Re: [PATCH v3 0/7] x86: Rewrite switch_to()

2016-08-14 Thread Andy Lutomirski
On Sat, Aug 13, 2016 at 11:45 AM, Ingo Molnar wrote: > > * Brian Gerst wrote: > >> On Sat, Aug 13, 2016 at 1:16 PM, Linus Torvalds >> wrote: >> > On Sat, Aug 13, 2016 at 9:38 AM, Brian Gerst wrote: >> >> This patch set simplifies the switch_to() code, by moving the stack switch >> >> code out o

[PATCH 3.16 256/305] batman-adv: Clean up untagged vlan when destroying via rtnl-link

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 420cb1b764f9169c5d2601b4af90e4a1702345ee upstream. The untagged vlan object is only destroyed when the interface is removed via the legacy sysfs interface. But it also ha

[PATCH 3.16 098/305] cpuidle: Fix cpuidle_state_is_coupled() argument in cpuidle_enter()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Lezcano commit e7387da52028b072489c45efeb7a916c0205ebd2 upstream. Commit 0b89e9aa2856 (cpuidle: delay enabling interrupts until all coupled CPUs leave idle) rightfully fixed a regressio

[PATCH 1/2] ASoC: rt5677: Add ACPI support

2016-08-14 Thread John Keeping
The Chromebook Pixel 2015 uses this codec with the ACPI ID RT5677CE, so add an ACPI match table and support for reading properties from ACPI. Signed-off-by: John Keeping --- sound/soc/codecs/rt5677.c | 109 +- 1 file changed, 88 insertions(+), 21 delet

[PATCH 3.16 212/305] can: fix oops caused by wrong rtnl dellink usage

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 25e1ed6e64f52a692ba3191c4fde650aab3ecc07 upstream. For 'real' hardware CAN devices the netlink interface is used to set CAN specific communication parameters. Real CAN h

[PATCH 3.16 227/305] Fix reconnect to not defer smb3 session reconnect long after socket reconnect

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 4fcd1813e6404dd4420c7d12fb483f9320f0bf93 upstream. Azure server blocks clients that open a socket and don't do anything on it. In our reconnect scenarios, we can reconnect

[RFC 1/2] netvsc: reference counting fix

2016-08-14 Thread Stephen Hemminger
This is how I think it should be fixed, but not tested yet. Subjec: netvsc: use device not module reference counts Fix how the cross-device reference counting is handled. When VF is associated with the synthetic interface, the VF driver module should still be able to be unloaded. The module unl

[PATCH 3.16 261/305] bonding: prevent out of bound accesses

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit f87fda00b6ed232a817c655b8d179b48bde8fdbe upstream. ether_addr_equal_64bits() requires some care about its arguments, namely that 8 bytes might be read, even if last 2 byte

[PATCH 3.16 177/305] usb: musb: Ensure rx reinit occurs for shared_fifo endpoints

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 f3eec0cf784e0d6c47822ca6b66df3d5812af7e6 upstream. shared_fifo endpoints would only get a previous tx state cleared out, the rx state was only cleared for non shared_fif

[PATCH 3.16 147/305] mnt: fs_fully_visible test the proper mount for MNT_LOCKED

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit d71ed6c930ac7d8f88f3cef6624a7e826392d61f upstream. MNT_LOCKED implies on a child mount implies the child is locked to the parent. So while looping through the child

[PATCH 3.16 275/305] proc: prevent stacking filesystems on top

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit e54ad7f1ee263ffa5a2de9c609d58dfa27b21cd9 upstream. This prevents stacking filesystems (ecryptfs and overlayfs) from using procfs as lower filesystem. There is too much magic

[PATCH 3.16 006/305] iommu/vt-d: Ratelimit fault handler

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit c43fce4eebae257ca413733690e2076757282093 upstream. Fault rates can easily overwhelm the console and make the system unresponsive. Ratelimit to allow an opportunity for

[PATCH 3.16 125/305] Input: xpad - prevent spurious input from wired Xbox 360 controllers

2016-08-14 Thread Ben Hutchings
3.16.37-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 210/305] UBIFS: Implement ->migratepage()

2016-08-14 Thread Ben Hutchings
3.16.37-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 fa

[PATCH 3.16 100/305] batman-adv: Fix unexpected free of bcast_own on add_if error

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 f7dcdf5fdbe8fec7670d8f65a5db595c98e0ecab upstream. The function batadv_iv_ogm_orig_add_if allocates new buffers for bcast_own and bcast_own_sum. It is expected that these

[PATCH 3.16 068/305] kbuild: move -Wunused-const-variable to W=1 warning level

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 c9c6837d39311b0cc14cdbe7c18e815ab44aefb1 upstream. gcc-6 started warning by default about variables that are not used anywhere and that are marked 'const', generating many

[PATCH 3.2 49/94] iio: Fix error handling in iio_trigger_attach_poll_func

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Crestez Dan Leonard commit 99543823357966ac938d9a310947e731b67338e6 upstream. When attaching a pollfunc iio_trigger_attach_poll_func will allocate a virtual irq and call the driver's set_trigge

[PATCH 3.16 298/305] netfilter: arp_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 832756f6fe8e4e82a63361119b7e2384e02f upstream. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso [bwh: Backported to 3.6: adjust context] Signed-of

[PATCH 3.2 24/94] PCI: Disable all BAR sizing for devices with 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 ad67b437f187ea818b2860524d10f878fadfdd99 upstream. b84106b4e229 ("PCI: Disable IO/MEM decoding for devices with non-compliant BARs") disabled BAR sizing for BARs 0-5 of d

[PATCH 3.16 060/305] USB: serial: quatech2: fix use-after-free 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 028c49f5e02a257c94129cd815f7c8485f51d4ef upstream. The interface read URB is submitted in attach, but was only unlinked by the driver at disconnect. In case of a late prob

[PATCH 3.16 085/305] net/mlx4_core: Fix access to uninitialized index

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Tariq Toukan commit 2bb07e155bb3e0c722c806723f737cf8020961ef upstream. Prevent using uninitialized or negative index when handling steering entries. Fixes: b12d93d63c32 ('mlx4: Add support fo

[PATCH 3.2 16/94] gcov: disable tree-loop-im to reduce stack usage

2016-08-14 Thread Ben Hutchings
3.2.82-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_compressh

[PATCH 3.16 296/305] netfilter: x_tables: validate all offsets and sizes in a rule

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 13631bfc604161a9d69cd68991dff8603edd66f9 upstream. Validate that all matches (if any) add up to the beginning of the target and that each match covers at least the base

[PATCH 3.2 36/94] Input: pwm-beeper - remove useless call to pwm_config()

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Olivier Sobrie commit d1b12075ffa808dce33dd46b7ad035bebf8da215 upstream. Calling pwm_config() with a period equal to zero always results in error (-EINVAL) and pwm chip config method is never c

[PATCH 3.16 052/305] MIPS: BMIPS: Fix PRID_IMP_BMIPS5000 masking for BMIPS5200

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 cbbda6e7c9c3e4532bd70a73ff9d5e6655c894dc upstream. BMIPS5000 have a PrID value of 0x5A00 and BMIPS5200 have a PrID value of 0x5B00, which, masked with 0x5A00, returns 0

[PATCH v4 02/26] fs: proc: Delete inode time initializations in proc_alloc_inode()

2016-08-14 Thread Deepa Dinamani
proc uses new_inode_pseudo() to allocate a new inode. This in turn calls the proc_inode_alloc() callback. But, at this point, inode is still not initialized with the super_block pointer which only happens just before alloc_inode() returns after the call to inode_init_always(). Also, the inode time

[PATCH 3.2 69/94] ALSA: dummy: Fix a use-after-free at closing

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 d5dbbe6569481bf12dcbe3e12cff72c5f78d272c upstream. syzkaller fuzzer spotted a potential use-after-free case in snd-dummy driver when hrtimer is used as backend: > ==

[PATCH 3.16 023/305] PM / Runtime: Fix error path in pm_runtime_force_resume()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Ulf Hansson commit 0ae3aeefabbeef26294e7a349b51f1c761d46c9f upstream. As pm_runtime_set_active() may fail because the device's parent isn't active, we can end up executing the ->runtime_resume

[PATCH 3.16 155/305] cpufreq: intel_pstate: Fix ->set_policy() interface for no_turbo

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Srinivas Pandruvada commit 983e600e88835f0321d1a0ea06f52d48b7b5a544 upstream. When turbo is disabled, the ->set_policy() interface is broken. For example, when turbo is disabled and cpuinfo.m

[PATCH 3.16 016/305] ipv6, token: allow for clearing the current device token

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 47e27d5e92c46a3a62d4dfd8895b1ddb8613f531 upstream. The original tokenized iid support implemented via f53adae4eae5 ("net: ipv6: add tokenized interface identifier suppor

[PATCH 3.16 209/305] mm: Export migrate_page_move_mapping and migrate_page_copy

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 1118dce773d84f39ebd51a9fe7261f9169cb056e upstream. Export these symbols such that UBIFS can implement ->migratepage. Signed-off-by: Richard Weinberger Acked-by: Chr

[PATCH 3.16 244/305] net: bgmac: Remove superflous netif_carrier_on()

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 3894396e64994f31c3ef5c7e6f63dded0593e567 upstream. bgmac_open() calls phy_start() to initialize the PHY state machine, which will set the interface's carrier state acco

[PATCH 3.16 092/305] fs/cifs: correctly to anonymous authentication via NTLMSSP

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Metzmacher commit cfda35d98298131bf38fbad3ce4cd5ecb3cf18db upstream. See [MS-NLMP] 3.2.5.1.2 Server Receives an AUTHENTICATE_MESSAGE from the Client: ... Set NullSession to FALSE

[PATCH 3.2 81/94] qeth: delete napi struct when removing a qeth device

2016-08-14 Thread Ben Hutchings
3.2.82-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 removi

[PATCH 3.16 188/305] kernel/sysrq, watchdog, sched/core: Reset watchdog on all CPUs while processing sysrq-w

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 57675cb976eff977aefb428e68e4e0236d48a9ff upstream. Lengthy output of sysrq-w may take a lot of time on slow serial console. Currently we reset NMI-watchdog on the curre

[PATCH 3.16 288/305] netfilter: x_tables: don't move to non-existent next rule

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 f24e230d257af1ad7476c6e81a8dc3127a74204e upstream. Ben Hawkes says: In the mark_source_chains function (net/ipv4/netfilter/ip_tables.c) it is possible for a user-sup

[PATCH 3.16 170/305] usb: gadget: avoid exposing kernel stack

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 ffeee83aa0461992e8a99a59db2df31933e60362 upstream. Function in_rq_cur copies random bytes from the stack. Zero the memory instead. Fixes: 132fcb460839 ("usb: gadget

[PATCH 3.2 44/94] wext: Fix 32 bit iwpriv compatibility issue with 64 bit Kernel

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Prasun Maiti commit 3d5fdff46c4b2b9534fa2f9fc78e90a48e0ff724 upstream. iwpriv app uses iw_point structure to send data to Kernel. The iw_point structure holds a pointer. For compatibility Kerne

[PATCH 3.16 011/305] Bluetooth: vhci: purge unhandled skbs

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 13407376b255325fa817798800117a839f3aa055 upstream. The write handler allocates skbs and queues them into data->readq. Read side should read them, if there is any. If there is

[PATCH 3.16 094/305] fs/cifs: correctly to anonymous authentication for the NTLM(v1) authentication

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Metzmacher commit 777f69b8d26bf35ade4a76b08f203c11e048365d upstream. Only server which map unknown users to guest will allow access using a non-null NTChallengeResponse. For Samba it's

[PATCH 3.2 41/94] parisc: Fix pagefault crash in unaligned __get_user() call

2016-08-14 Thread Ben Hutchings
3.2.82-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, r

[PATCH 3.16 237/305] make nfs_atomic_open() call d_drop() on all ->open_context() errors.

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 d20cb71dbf3487f24549ede1a8e2d67579b4632e upstream. In "NFSv4: Move dentry instantiation into the NFSv4-specific atomic open code" unconditional d_drop() after the ->open_context

[PATCH 3.16 150/305] IB/mlx5: Fix returned values of query QP

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Noa Osherovich commit 0540d8148d419bf769e5aa99c77027febd8922f0 upstream. Some variables were not initialized properly: max_recv_wr, max_recv_sge, max_send_wr, qp_context and max_inline_data.

[PATCH 3.16 035/305] ext4: clean up error handling when orphan list is corrupted

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 7827a7f6ebfcb7f388dc47fddd48567a314701ba upstream. Instead of just printing warning messages, if the orphan list is corrupted, declare the file system is corrupted. If th

[PATCH 3.16 157/305] gpio: bcm-kona: fix bcm_kona_gpio_reset() warnings

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Dooks commit b66b2a0adf0e48973b582e055758b9907a7eee7c upstream. The bcm_kona_gpio_reset() calls bcm_kona_gpio_write_lock_regs() with what looks like the wrong parameter. The write_lock_reg

[PATCH 3.16 225/305] posix_acl: Add set_posix_acl

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit 485e71e8fb6356c08c7fc6bcce4bf02c9a9a663f upstream. Factor out part of posix_acl_xattr_set into a common function that takes a posix_acl, which nfsd can also call. T

[PATCH 3.16 128/305] MIPS: fix read_msa_* & write_msa_* functions on non-MSA toolchains

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 70dff4d90aab40326d1d06a331e2b07eae99d067 upstream. Commit d96cc3d1ec5d "MIPS: Add microMIPS MSA support." attempted to use the value of a macro within an inline asm statemen

[PATCH 3.2 30/94] net: ehea: avoid null pointer dereference

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: "xypron.g...@gmx.de" commit 1740c29a46b30a2f157afc473156f157e599d4c2 upstream. ehea_get_port may return NULL. Do not dereference NULL value. Fixes: 8c4877a4128e ("ehea: Use the standard loggin

[PATCH 3.16 283/305] KVM: PPC: Book3S HV: Save/restore TM state in H_CEDE

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 93d17397e4e2182fdaad503e2f9da46202c0f1c3 upstream. It turns out that if the guest does a H_CEDE while the CPU is in a transactional state, and the H_CEDE does a nap, and

[PATCH 3.2 90/94] ALSA: timer: Fix leak in events via snd_timer_user_tinterrupt

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Kangjie Lu commit e4ec8cc8039a7063e24204299b462bd1383184a5 upstream. The stack object “r1” has a total size of 32 bytes. Its field “event” and “val” both contain 4 bytes padding. These 8 bytes

[PATCH 3.2 46/94] usb: musb: Ensure rx reinit occurs for shared_fifo endpoints

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrew Goodbody commit f3eec0cf784e0d6c47822ca6b66df3d5812af7e6 upstream. shared_fifo endpoints would only get a previous tx state cleared out, the rx state was only cleared for non shared_fifo

[PATCH v4 19/26] audit: Use timespec64 to represent audit timestamps

2016-08-14 Thread Deepa Dinamani
struct timespec is not y2038 safe. Audit timestamps are recorded in string format into an audit buffer for a given context. These mark the entry timestamps for the syscalls. Use y2038 safe struct timespec64 to represent the times. The log strings can handle this transition as strings can hold upto

[PATCH 3.16 104/305] xfs: skip stale inodes 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 7d3aa7fe970791f1a674b14572a411accf2f4d4e upstream. We don't write back stale inodes so we should skip them in xfs_iflush_cluster, too. Signed-off-by: Dave Chinner Reviewe

[PATCH 3.16 184/305] drm/radeon: fix asic initialization for virtualized environments

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 05082b8bbd1a0ffc74235449c4b8930a8c240f85 upstream. When executing in a PCI passthrough based virtuzliation environment, the hypervisor will usually attempt to send a PCIe b

[PATCH 3.2 93/94] tcp: make challenge acks less predictable

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 75ff39ccc1bd5d3c455b6822ab09e533c551f758 upstream. Yue Cao claims that current host rate limiting of challenge ACKS (RFC 5961) could leak enough information to allow a patie

[PATCH 3.2 72/94] iio: accel: kxsd9: fix the usage of spi_w8r8()

2016-08-14 Thread Ben Hutchings
3.2.82-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.2 26/94] fs/cifs: correctly to anonymous authentication for the LANMAN authentication

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Metzmacher commit fa8f3a354bb775ec586e4475bcb07f7dece97e0c upstream. Only server which map unknown users to guest will allow access using a non-null LMChallengeResponse. For Samba it's

[PATCH 3.16 138/305] ACPI / processor: Avoid reserving IO regions too early

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 86314751c7945fa0c67f459beeda2e7c610ca429 upstream. Roland Dreier reports that one of his systems cannot boot because of the changes made by commit ac212b6980d8 (ACPI

[PATCH 3.16 290/305] netfilter: x_tables: add and use xt_check_entry_offsets

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 7d35812c3214afa5b37a675113555259cfd67b98 upstream. Currently arp/ip and ip6tables each implement a short helper to check that the target offset is large enough to hold

[PATCH 3.16 117/305] UBI: do propagate positive error codes up

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit 0e707ae79ba357d60b8a36025ec8968e5020d827 upstream. UBI uses positive function return codes internally, and should not propagate them up, except in the place this path f

[PATCH 3.2 50/94] drm/radeon: fix asic initialization for virtualized environments

2016-08-14 Thread Ben Hutchings
3.2.82-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 05082b8bbd1a0ffc74235449c4b8930a8c240f85 upstream. When executing in a PCI passthrough based virtuzliation environment, the hypervisor will usually attempt to send a PCIe bu

[PATCH 3.16 218/305] IB/mlx4: Fix memory leak if QP creation failed

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Dotan Barak commit 5b420d9cf7382c6e1512e96e02d18842d272049c upstream. When RC, UC, or RAW QPs are created, a qp object is allocated (kzalloc). If at a later point (in procedure create_qp_commo

[PATCH 3.16 142/305] KVM: x86: fix OOPS after invalid KVM_SET_DEBUGREGS

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit d14bdb553f9196169f003058ae1cdabe514470e6 upstream. MOV to DR6 or DR7 causes a #GP if an attempt is made to write a 1 to any of bits 63:32. However, this is not detected a

[PATCH 3.16 066/305] irqchip/gic: Ensure ordering between read of INTACK and shared data

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit f86c4fbd930ff6fecf3d8a1c313182bd0f49f496 upstream. When an IPI is generated by a CPU, the pattern looks roughly like: smp_wmb(); On the receiving CPU we rely on th

[PATCH 3.16 126/305] Input: pwm-beeper - remove useless call to pwm_config()

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Olivier Sobrie commit d1b12075ffa808dce33dd46b7ad035bebf8da215 upstream. Calling pwm_config() with a period equal to zero always results in error (-EINVAL) and pwm chip config method is never

[PATCH 3.16 097/305] sunrpc: Update RPCBIND_MAXNETIDLEN

2016-08-14 Thread Ben Hutchings
3.16.37-rc1 review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit 4b9c7f9db9a003f5c342184dc4401c1b7f2efb39 upstream. Commit 176e21ee2ec8 ("SUNRPC: Support for RPC over AF_LOCAL transports") added a 5-character netid, but did not bump RPCBI

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