OSDN Git Service
Janosch Frank [Wed, 15 Mar 2017 02:08:47 +0000 (02:08 +0000)]
KVM: s390: Disable dirty log retrieval for UCONTROL guests
am:
0a3df0418d
Change-Id: Ie7d3d174fc58848cf16071c36ad1b1202795f9ce
Ian Abbott [Wed, 15 Mar 2017 02:08:37 +0000 (02:08 +0000)]
serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
am:
4b34572e98
Change-Id: If7b34c0bc49a3e77660e218aa4881628967968d2
Alexander Popov [Wed, 15 Mar 2017 02:08:28 +0000 (02:08 +0000)]
tty: n_hdlc: get rid of racy n_hdlc.tbuf
am:
999853d941
Change-Id: Ie1fc1f51817dafc00dac0f380fa33047d7f9cfa8
Jiri Slaby [Wed, 15 Mar 2017 02:08:15 +0000 (02:08 +0000)]
TTY: n_hdlc, fix lockdep false positive
am:
59c4d7838e
Change-Id: Ic6c91f3b505bb4883f85e1698d8729e7a6e040a6
Janosch Frank [Thu, 2 Feb 2017 15:39:31 +0000 (16:39 +0100)]
KVM: s390: Disable dirty log retrieval for UCONTROL guests
commit
e1e8a9624f7ba8ead4f056ff558ed070e86fa747 upstream.
User controlled KVM guests do not support the dirty log, as they have
no single gmap that we can check for changes.
As they have no single gmap, kvm->arch.gmap is NULL and all further
referencing to it for dirty checking will result in a NULL
dereference.
Let's return -EINVAL if a caller tries to sync dirty logs for a
UCONTROL guest.
Fixes:
15f36eb ("KVM: s390: Add proper dirty bitmap support to S390 kvm.")
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Reported-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Ian Abbott [Fri, 3 Feb 2017 20:25:00 +0000 (20:25 +0000)]
serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
commit
1c9c858e2ff8ae8024a3d75d2ed080063af43754 upstream.
The MKS Instruments SCOM-0800 and SCOM-0801 cards (originally by Tenta
Technologies) are 3U CompactPCI serial cards with 4 and 8 serial ports,
respectively. The first 4 ports are implemented by an OX16PCI954 chip,
and the second 4 ports are implemented by an OX16C954 chip on a local
bus, bridged by the second PCI function of the OX16PCI954. The ports
are jumper-selectable as RS-232 and RS-422/485, and the UARTs use a
non-standard oscillator frequency of 20 MHz (base_baud =
1250000).
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Alexander Popov [Tue, 28 Feb 2017 16:54:40 +0000 (19:54 +0300)]
tty: n_hdlc: get rid of racy n_hdlc.tbuf
commit
82f2341c94d270421f383641b7cd670e474db56b upstream.
Currently N_HDLC line discipline uses a self-made singly linked list for
data buffers and has n_hdlc.tbuf pointer for buffer retransmitting after
an error.
The commit
be10eb7589337e5defbe214dae038a53dd21add8
("tty: n_hdlc add buffer flushing") introduced racy access to n_hdlc.tbuf.
After tx error concurrent flush_tx_queue() and n_hdlc_send_frames() can put
one data buffer to tx_free_buf_list twice. That causes double free in
n_hdlc_release().
Let's use standard kernel linked list and get rid of n_hdlc.tbuf:
in case of tx error put current data buffer after the head of tx_buf_list.
Signed-off-by: Alexander Popov <alex.popov@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Jiri Slaby [Thu, 26 Nov 2015 18:28:26 +0000 (19:28 +0100)]
TTY: n_hdlc, fix lockdep false positive
commit
e9b736d88af1a143530565929390cadf036dc799 upstream.
The class of 4 n_hdls buf locks is the same because a single function
n_hdlc_buf_list_init is used to init all the locks. But since
flush_tx_queue takes n_hdlc->tx_buf_list.spinlock and then calls
n_hdlc_buf_put which takes n_hdlc->tx_free_buf_list.spinlock, lockdep
emits a warning:
=============================================
[ INFO: possible recursive locking detected ]
4.3.0-25.g91e30a7-default #1 Not tainted
---------------------------------------------
a.out/1248 is trying to acquire lock:
(&(&list->spinlock)->rlock){......}, at: [<
ffffffffa01fd020>] n_hdlc_buf_put+0x20/0x60 [n_hdlc]
but task is already holding lock:
(&(&list->spinlock)->rlock){......}, at: [<
ffffffffa01fdc07>] n_hdlc_tty_ioctl+0x127/0x1d0 [n_hdlc]
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(&(&list->spinlock)->rlock);
lock(&(&list->spinlock)->rlock);
*** DEADLOCK ***
May be due to missing lock nesting notation
2 locks held by a.out/1248:
#0: (&tty->ldisc_sem){++++++}, at: [<
ffffffff814c9eb0>] tty_ldisc_ref_wait+0x20/0x50
#1: (&(&list->spinlock)->rlock){......}, at: [<
ffffffffa01fdc07>] n_hdlc_tty_ioctl+0x127/0x1d0 [n_hdlc]
...
Call Trace:
...
[<
ffffffff81738fd0>] _raw_spin_lock_irqsave+0x50/0x70
[<
ffffffffa01fd020>] n_hdlc_buf_put+0x20/0x60 [n_hdlc]
[<
ffffffffa01fdc24>] n_hdlc_tty_ioctl+0x144/0x1d0 [n_hdlc]
[<
ffffffff814c25c1>] tty_ioctl+0x3f1/0xe40
...
Fix it by initializing the spin_locks separately. This removes also
reduntand memset of a freshly kzallocated space.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Wei Wang [Mon, 13 Mar 2017 19:22:21 +0000 (12:22 -0700)]
uid_sys_stats: change to use rt_mutex
We see this happens multiple times in heavy workload in systrace
and AMS stuck in uid_lock.
Running process: Process 953
Running thread: android.ui
State: Uninterruptible Sleep
Start:
1,025.628 ms
Duration:
27,955.949 ms
On CPU:
Running instead: system_server
Args:
{kernel callsite when blocked:: "uid_procstat_write+0xb8/0x144"}
Changing to rt_mutex can mitigate the priority inversion
Bug:
34991231
Bug:
34193533
Test: on marlin
Change-Id: I28eb3971331cea60b1075740c792ab87d103262c
Signed-off-by: Wei Wang <wvw@google.com>
Daniel Rosenberg [Tue, 14 Mar 2017 22:39:05 +0000 (15:39 -0700)]
ANDROID: vfs: user permission2 in notify_change2
This allows filesystems to use their mount private data to
influence the permissions they use when attempting to touch.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
36228261
Change-Id: I1052319ba1c3ce5d5e586aa7f8a80c08851a5c7f
Daniel Rosenberg [Mon, 13 Mar 2017 22:34:03 +0000 (15:34 -0700)]
ANDROID: sdcardfs: Fix gid issue
We were already calculating most of these values,
and erroring out because the check was confused by this.
Instead of recalculating, adjust it as needed.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
36160015
Change-Id: I9caf3e2fd32ca2e37ff8ed71b1d392f1761bc9a9
Daniel Rosenberg [Mon, 13 Mar 2017 20:53:54 +0000 (13:53 -0700)]
ANDROID: sdcardfs: Use tabs instead of spaces in multiuser.h
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
35331000
Change-Id: Ic7801914a7dd377e270647f81070020e1f0bab9b
Daniel Rosenberg [Sat, 11 Mar 2017 02:58:25 +0000 (18:58 -0800)]
ANDROID: sdcardfs: Remove uninformative prints
At best these prints do not provide useful information, and
at worst, some allow userspace to abuse the kernel log.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
36138424
Change-Id: I812c57cc6a22b37262935ab77f48f3af4c36827e
Daniel Rosenberg [Fri, 10 Mar 2017 21:54:30 +0000 (13:54 -0800)]
ANDROID: sdcardfs: move path_put outside of spinlock
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
35643557
Change-Id: Ib279ebd7dd4e5884d184d67696a93e34993bc1ef
Daniel Rosenberg [Fri, 10 Mar 2017 20:39:42 +0000 (12:39 -0800)]
ANDROID: sdcardfs: Use case insensitive hash function
Case insensitive comparisons don't help us much if
we hash to different buckets...
Signed-off-by: Daniel Rosenberg <drosen@google.com>
bug:
36004503
Change-Id: I91e00dbcd860a709cbd4f7fd7fc6d855779f3285
Daniel Rosenberg [Fri, 10 Mar 2017 04:59:18 +0000 (20:59 -0800)]
ANDROID: sdcardfs: declare MODULE_ALIAS_FS
From commit
ee616b78aa87 ("Wrapfs: declare MODULE_ALIAS_FS")
Signed-off-by: Daniel Rosenberg <drosen@google.com>
bug:
35766959
Change-Id: Ia4728ab49d065b1d2eb27825046f14b97c328cba
Daniel Rosenberg [Fri, 10 Mar 2017 02:12:16 +0000 (18:12 -0800)]
ANDROID: sdcardfs: Get the blocksize from the lower fs
This changes sdcardfs to be more in line with the
getattr in wrapfs, which calls the lower fs's getattr
to get the block size
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
34723223
Change-Id: I1c9e16604ba580a8cdefa17f02dcc489d7351aed
Daniel Rosenberg [Thu, 9 Mar 2017 01:45:46 +0000 (17:45 -0800)]
ANDROID: sdcardfs: Use d_invalidate instead of drop_recurisve
drop_recursive did not properly remove stale dentries.
Instead, we use the vfs's d_invalidate, which does the proper cleanup.
Additionally, remove the no longer used drop_recursive, and
fixup_top_recursive that that are no longer used.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: Ibff61b0c34b725b024a050169047a415bc90f0d8
Daniel Rosenberg [Thu, 9 Mar 2017 01:20:02 +0000 (17:20 -0800)]
ANDROID: sdcardfs: Switch to internal case insensitive compare
There were still a few places where we called into a case
insensitive lookup that was not defined by sdcardfs.
Moving them all to the same place will allow us to switch
the implementation in the future.
Additionally, the check in fixup_perms_recursive did not
take into account the length of both strings, causing
extraneous matches when the name we were looking for was
a prefix of the child name.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: I45ce768cd782cb4ea1ae183772781387c590ecc2
Daniel Rosenberg [Thu, 9 Mar 2017 01:11:51 +0000 (17:11 -0800)]
ANDROID: sdcardfs: Use spin_lock_nested
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
36007653
Change-Id: I805d5afec797669679853fb2bb993ee38e6276e4
Daniel Rosenberg [Thu, 2 Mar 2017 23:11:27 +0000 (15:11 -0800)]
ANDROID: sdcardfs: Replace get/put with d_lock
dput cannot be called with a spin_lock. Instead,
we protect our accesses by holding the d_lock.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
35643557
Change-Id: I22cf30856d75b5616cbb0c223724f5ab866b5114
Daniel Rosenberg [Fri, 3 Mar 2017 02:07:21 +0000 (18:07 -0800)]
ANDROID: sdcardfs: rate limit warning print
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
35848445
Change-Id: Ida72ea0ece191b2ae4a8babae096b2451eb563f6
Daniel Rosenberg [Thu, 2 Mar 2017 01:04:41 +0000 (17:04 -0800)]
ANDROID: sdcardfs: Fix case insensitive lookup
The previous case insensitive lookup relied on the
entry being present in the dcache. This instead uses
iterate_dir to find the correct case.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
bug:
35633782
Change-Id: I556f7090773468c1943c89a5e2aa07f746ba49c5
Jin Qian [Thu, 2 Mar 2017 21:39:43 +0000 (13:39 -0800)]
ANDROID: uid_sys_stats: account for fsync syscalls
Change-Id: Ie888d8a0f4ec7a27dea86dc4afba8e6fd4203488
Signed-off-by: Jin Qian <jinqian@google.com>
Jin Qian [Thu, 2 Mar 2017 21:32:59 +0000 (13:32 -0800)]
ANDROID: sched: add a counter to track fsync
Change-Id: I6c138de5b2332eea70f57e098134d1d141247b3f
Signed-off-by: Jin Qian <jinqian@google.com>
Jin Qian [Tue, 28 Feb 2017 23:09:42 +0000 (15:09 -0800)]
ANDROID: uid_sys_stats: fix negative write bytes.
A task can cancel writes made by other tasks. In rare cases,
cancelled_write_bytes is larger than write_bytes if the task
itself didn't make any write. This doesn't affect total size
but may cause confusion when looking at IO usage on individual
tasks.
Bug:
35851986
Change-Id: If6cb549aeef9e248e18d804293401bb2b91918ca
Signed-off-by: Jin Qian <jinqian@google.com>
Jin Qian [Wed, 18 Jan 2017 01:26:07 +0000 (17:26 -0800)]
ANDROID: uid_sys_stats: allow writing same state
Signed-off-by: Jin Qian <jinqian@google.com>
Bug:
34360629
Change-Id: Ia748351e07910b1febe54f0484ca1be58c4eb9c7
Jin Qian [Wed, 11 Jan 2017 00:11:07 +0000 (16:11 -0800)]
ANDROID: uid_sys_stats: rename uid_cputime.c to uid_sys_stats.c
This module tracks cputime and io stats.
Signed-off-by: Jin Qian <jinqian@google.com>
Bug:
34198239
Change-Id: I9ee7d9e915431e0bb714b36b5a2282e1fdcc7342
Jin Qian [Wed, 11 Jan 2017 00:10:35 +0000 (16:10 -0800)]
ANDROID: uid_cputime: add per-uid IO usage accounting
IO usages are accounted in foreground and background buckets.
For each uid, io usage is calculated in two steps.
delta = current total of all uid tasks - previus total
current bucket += delta
Bucket is determined by current uid stat. Userspace writes to
/proc/uid_procstat/set <uid> <stat> when uid stat is updated.
/proc/uid_io/stats shows IO usage in this format.
<uid> <foreground IO> <background IO>
Signed-off-by: Jin Qian <jinqian@google.com>
Bug:
34198239
Change-Id: Ib8bebda53e7a56f45ea3eb0ec9a3153d44188102
Chris Redpath [Fri, 13 Nov 2015 10:21:39 +0000 (10:21 +0000)]
DTB: Add EAS compatible Juno Energy model to 'juno.dts'
EAS expects the energy model for the CPUs and cluster states to be
available in the DTB. The energy model data comes from previous versions.
Change-Id: I87535c8d802797361333929d809b43383bc8954b
(cherry picked from commit
bf137f205f312a1814ae38f908ec7bdbdddeaa3e (LSK 4.4))
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Jon Medhurst (Tixy) [Wed, 9 Dec 2015 09:40:53 +0000 (09:40 +0000)]
arm64: dts: juno: Add idle-states to device tree
This patch adds idle-states bindings data collected through a set of
benchmarking experiments (latency and energy consumption) on Juno
boards. Latencies data represents the worst case scenarios as required
by the DT idle-states bindings.
Change-Id: I7b2d81fa66f8ce8b229457cfefff06e9edd545c7
(cherry picked from commit
286896f43b0248960f69660159b507b23751b38a)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Mohan Srinivasan [Sat, 11 Mar 2017 00:08:30 +0000 (16:08 -0800)]
ANDROID: Replace spaces by '_' for some android filesystem tracepoints.
Andoid files frequently have spaces in them, as do cmdline strings.
Replace these spaces with '_', so tools that parse these tracepoints
don't get terribly confused.
Change-Id: I1cbbedf5c803aa6a58d9b8b7836e9125683c49d1
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
(cherry picked from commit
5035d5f0933758dd515327d038e5bef7e40dbaa7)
Anson Jacob [Sat, 13 Aug 2016 00:38:10 +0000 (20:38 -0400)]
usb: gadget: f_accessory: Fix for UsbAccessory clean unbind.
Reapplying fix by Darren Whobrey (Change 69674)
Fixes issues: 20545, 59667 and 61390.
With prior version of f_accessory.c, UsbAccessories would not
unbind cleanly when application is closed or i/o stopped
while the usb cable is still connected. The accessory gadget
driver would be left in an invalid state which was not reset
on subsequent binding or opening. A reboot was necessary to clear.
In some phones this issues causes the phone to reboot upon
unplugging the USB cable.
Main problem was that acc_disconnect was being called on I/O error
which reset disconnected and online.
Minor fix required to properly track setting and unsetting of
disconnected and online flags. Also added urb Q wakeup's on unbind
to help unblock waiting threads.
Tested on Nexus 7 grouper. Expected behaviour now observed:
closing accessory causes blocked i/o to interrupt with IOException.
Accessory can be restarted following closing of file handle
and re-opening.
This is a generic fix that applies to all devices.
Change-Id: I4e08b326730dd3a2820c863124cee10f7cb5501e
Signed-off-by: Darren Whobrey <d.whobrey@mildai.org>
Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
Greg Kroah-Hartman [Sun, 12 Mar 2017 08:25:46 +0000 (08:25 +0000)]
Linux 4.4.53
am:
49616e7150
Change-Id: I8adb4630ce5ba2914bdf855fa8d3e18f164568a6
James Smart [Sun, 12 Mar 2017 08:25:36 +0000 (08:25 +0000)]
scsi: lpfc: Correct WQ creation for pagesize
am:
9cee694650
Change-Id: I7b132ed755a070e95d41c0878238c829c91bc72d
Ralf Baechle [Sun, 12 Mar 2017 08:25:25 +0000 (08:25 +0000)]
MIPS: IP22: Fix build error due to binutils 2.25 uselessnes.
am:
1d316060ca
Change-Id: Ic33bab057aa50274c447fcf81b62f0364432a095
Ralf Baechle [Sun, 12 Mar 2017 08:25:15 +0000 (08:25 +0000)]
MIPS: IP22: Reformat inline assembler code to modern standards.
am:
4dd29050e4
Change-Id: I816af3e46a084f1980b18a80bae8b722af738d24
Ravi Bangoria [Sun, 12 Mar 2017 08:25:05 +0000 (08:25 +0000)]
powerpc/xmon: Fix data-breakpoint
am:
15959b728d
Change-Id: I279706aa282690643745bc98005c2a3958701be9
Magnus Lilja [Sun, 12 Mar 2017 08:24:54 +0000 (08:24 +0000)]
dmaengine: ipu: Make sure the interrupt routine checks all interrupts.
am:
afee78f03e
Change-Id: I7b67e6fe82f33fe1a7cc32ac0e28f6c99bea87b0
Rafa Miecki [Sun, 12 Mar 2017 08:24:45 +0000 (08:24 +0000)]
bcma: use (get|put)_device when probing/removing device driver
am:
79a7ff1443
Change-Id: I3356c2eb32abf2e6d9cfb2152642349caba5941b
colyli@suse.de [Sun, 12 Mar 2017 08:24:35 +0000 (08:24 +0000)]
md linear: fix a race between linear_add() and linear_congested()
am:
5a1f03f1ee
Change-Id: I3fd7c0c0cbf911b61d8aca203a75e13e698d7840
Maxime Ripard [Sun, 12 Mar 2017 08:24:25 +0000 (08:24 +0000)]
rtc: sun6i: Switch to the external oscillator
am:
037cd23726
Change-Id: If84426848aa7178fc564d0bdaac39babd56e04ba
Maxime Ripard [Sun, 12 Mar 2017 08:24:16 +0000 (08:24 +0000)]
rtc: sun6i: Add some locking
am:
ee360e99da
Change-Id: I0aaebc20574db0f6c3ebde4e0db355b4c6f12a1c
Weston Andros Adamson [Sun, 12 Mar 2017 08:24:07 +0000 (08:24 +0000)]
NFSv4: fix getacl ERANGE for some ACL buffer sizes
am:
a0378b5bfc
Change-Id: I4e78d196a895302acaac4ce91b1c72613ca3563a
J. Bruce Fields [Sun, 12 Mar 2017 08:23:58 +0000 (08:23 +0000)]
NFSv4: fix getacl head length estimation
am:
5d23e89065
Change-Id: I6fe895f8a7cbd023c380ec78803e0ed5a4abaa35
Trond Myklebust [Sun, 12 Mar 2017 08:23:48 +0000 (08:23 +0000)]
NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
am:
52fb4bdcea
Change-Id: Ib5b96d8d3c2f97ae498aaecf58a5b2db01552478
Christoph Hellwig [Sun, 12 Mar 2017 08:23:38 +0000 (08:23 +0000)]
nfsd: special case truncates some more
am:
3ee4f442e5
Change-Id: I1d0858825f170caedb52ad76d321ac5249ebfe65
Christoph Hellwig [Sun, 12 Mar 2017 08:23:28 +0000 (08:23 +0000)]
nfsd: minor nfsd_setattr cleanup
am:
6030493a34
Change-Id: I14e3bf413e9594a771468a9fc6388822c8a67693
Larry Finger [Sun, 12 Mar 2017 08:23:19 +0000 (08:23 +0000)]
rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
am:
781e6a0838
Change-Id: Iacb0435f45bfd2a508e4a0fc352df9bf3234f6b3
Ping-Ke Shih [Sun, 12 Mar 2017 08:23:09 +0000 (08:23 +0000)]
rtlwifi: Fix alignment issues
am:
6e10c33cb8
Change-Id: I404361f27bcb75884fbfe272696f59c67916154f
Andrew Price [Sun, 12 Mar 2017 08:23:00 +0000 (08:23 +0000)]
gfs2: Add missing rcu locking for glock lookup
am:
70a09029b7
Change-Id: I936502d0217b7206108e4ff5eb087ff22044da40
Steve Wise [Sun, 12 Mar 2017 08:22:49 +0000 (08:22 +0000)]
rdma_cm: fail iwarp accepts w/o connection params
am:
44dd30e04c
Change-Id: I74cd1d6f0c218f84c037f088b4b39569c97c38dd
Jason Gunthorpe [Sun, 12 Mar 2017 08:22:39 +0000 (08:22 +0000)]
RDMA/core: Fix incorrect structure packing for booleans
am:
88326fe95f
Change-Id: I324f6a5c39fde9a0b603c3a4576375124d4e68d1
K. Y. Srinivasan [Sun, 12 Mar 2017 08:22:30 +0000 (08:22 +0000)]
Drivers: hv: util: Backup: Fix a rescind processing issue
am:
f414af249f
Change-Id: I80ae316d5d7c94bfc9c8610a42fcee7138688b75
K. Y. Srinivasan [Sun, 12 Mar 2017 08:22:18 +0000 (08:22 +0000)]
Drivers: hv: util: Fcopy: Fix a rescind processing issue
am:
9b45ab2853
Change-Id: Ie39ca59a15db54a99d05b83db89d25550b030521
K. Y. Srinivasan [Sun, 12 Mar 2017 08:22:07 +0000 (08:22 +0000)]
Drivers: hv: util: kvp: Fix a rescind processing issue
am:
abaeda7f70
Change-Id: I62b201fc485b6d7729bcfd5384513b1dffe6ebb1
Vitaly Kuznetsov [Sun, 12 Mar 2017 08:21:58 +0000 (08:21 +0000)]
hv: init percpu_list in hv_synic_alloc()
am:
862d2b7d21
Change-Id: I927eb14d83669dd186fc5401d127d2e34f39d7bb
Vitaly Kuznetsov [Sun, 12 Mar 2017 08:21:43 +0000 (08:21 +0000)]
hv: allocate synic pages for all present CPUs
am:
374907e8d1
Change-Id: I02cedccd5cf715fd4b48f75daa30d1316f8048bc
Magnus Lilja [Sun, 12 Mar 2017 08:21:32 +0000 (08:21 +0000)]
usb: gadget: udc: fsl: Add missing complete function.
am:
80190fcc48
Change-Id: Ib4f93f39b176b203c78a63bcdd8ab6b215db5b31
William wu [Sun, 12 Mar 2017 08:21:22 +0000 (08:21 +0000)]
usb: host: xhci: plat: check hcc_params after add hcd
am:
61e9e9bcfd
Change-Id: I34fa79dc6db2afab25940511c4993bf616a194bc
Alexandre Bailon [Sun, 12 Mar 2017 08:21:12 +0000 (08:21 +0000)]
usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
am:
900466a746
Change-Id: Icbe05d3d58966174fac972609a3b0aeba34c01d3
Maciej S. Szmigiero [Sun, 12 Mar 2017 08:21:03 +0000 (08:21 +0000)]
w1: ds2490: USB transfer buffers need to be DMAable
am:
89eb5ed153
Change-Id: I03eeec3eed9a3d21d893cc2f68274ddd99755852
Maciej S. Szmigiero [Sun, 12 Mar 2017 08:20:53 +0000 (08:20 +0000)]
w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
am:
1df66c4524
Change-Id: I60200dc28a2dd8d0349261225764a64e1991c789
Marc Kleine-Budde [Sun, 12 Mar 2017 08:20:43 +0000 (08:20 +0000)]
can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
am:
20bc8a897e
Change-Id: Ieef9c24ff41bdc07f95887c9192d325328962a25
Peter Rosin [Sun, 12 Mar 2017 08:20:34 +0000 (08:20 +0000)]
iio: pressure: mpl3115: do not rely on structure field ordering
am:
3584716db1
Change-Id: I1d115f813e9101c65802745e6ac5c9b9b09237f0
Peter Rosin [Sun, 12 Mar 2017 08:20:24 +0000 (08:20 +0000)]
iio: pressure: mpl115: do not rely on structure field ordering
am:
2ab6b8c717
Change-Id: Ic82b55fc5ed4a3f92939355b4324427ec52c5436
Marc Zyngier [Sun, 12 Mar 2017 08:20:15 +0000 (08:20 +0000)]
arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
am:
e83a28c521
Change-Id: I0e1de5d2d64401624e0cb37b9b92cb9941081869
Miklos Szeredi [Sun, 12 Mar 2017 08:20:05 +0000 (08:20 +0000)]
fuse: add missing FR_FORCE
am:
d4a8db66b9
Change-Id: I0ab1ff44762da9ee940038bb84dfbc74af15c637
Laura Abbott [Sun, 12 Mar 2017 08:19:54 +0000 (08:19 +0000)]
crypto: testmgr - Pad aes_ccm_enc_tv_template vector
am:
434ed4aff1
Change-Id: Ia925d3cad8b56e754efcc7b981e0b91692b86b5a
Christian Lamparter [Sun, 12 Mar 2017 08:19:44 +0000 (08:19 +0000)]
ath9k: use correct OTP register offsets for the AR9340 and AR9550
am:
7666ef1a36
Change-Id: Ide87c402232ce2e615b68676692dac446b645022
Felix Fietkau [Sun, 12 Mar 2017 08:19:35 +0000 (08:19 +0000)]
ath9k: fix race condition in enabling/disabling IRQs
am:
1aeced70f7
Change-Id: Ifcf5e90179052b66d3e1d97ade82f98a92c0b14d
Felix Fietkau [Sun, 12 Mar 2017 08:19:25 +0000 (08:19 +0000)]
ath5k: drop bogus warning on drv_set_key with unsupported cipher
am:
dc7bbf895e
Change-Id: I2c600fe8403bb76a3417d33eee4c27cb0a7d57fc
Nicholas Bellinger [Sun, 12 Mar 2017 08:19:16 +0000 (08:19 +0000)]
target: Fix multi-session dynamic se_node_acl double free OOPs
am:
6af0acc0b6
Change-Id: Iaa5c0362e6956f9303e5ec68b70567cb3b583dbb
Nicholas Bellinger [Sun, 12 Mar 2017 08:19:07 +0000 (08:19 +0000)]
target: Obtain se_node_acl->acl_kref during get_initiator_node_acl
am:
4a3c526ced
Change-Id: I0fb88f8fdf1fdc1a6e70cba5e0dac48c18996871
Mathias Svensson [Sun, 12 Mar 2017 08:18:55 +0000 (08:18 +0000)]
samples/seccomp: fix 64-bit comparison macros
am:
da259399e4
Change-Id: Ia3823255a3bea3a9d52b96c5729817c1d9221ff1
Theodore Ts'o [Sun, 12 Mar 2017 08:18:46 +0000 (08:18 +0000)]
ext4: return EROFS if device is r/o and journal replay is needed
am:
6ad4196f19
Change-Id: Id2fea1964520c451afc4bfd2d903526bff0ff090
Theodore Ts'o [Sun, 12 Mar 2017 08:18:36 +0000 (08:18 +0000)]
ext4: preserve the needs_recovery flag when the journal is aborted
am:
9a79248c08
Change-Id: I46020005a8613c856baf796a1bd799958e9345d0
Theodore Ts'o [Sun, 12 Mar 2017 08:18:26 +0000 (08:18 +0000)]
ext4: fix inline data error paths
am:
6ec4583e9b
Change-Id: I288454fe8c77883f859f8bb7705727bd8c52c378
Jan Kara [Sun, 12 Mar 2017 08:18:16 +0000 (08:18 +0000)]
ext4: fix data corruption in data=journal mode
am:
9d636818db
Change-Id: Idc4320c3f0fa867216d8770b5ad186226e61152a
Jan Kara [Sun, 12 Mar 2017 08:18:07 +0000 (08:18 +0000)]
ext4: trim allocation requests to group size
am:
8774c73cf6
Change-Id: I7ef4daf4451a8e8373f8e6e0cf07e08c676c9921
Roman Pen [Sun, 12 Mar 2017 08:17:57 +0000 (08:17 +0000)]
ext4: do not polute the extents cache while shifting extents
am:
a3068b3e80
Change-Id: I8a8eb01160a8dca91e99709f5247b9d159847c70
Roman Pen [Sun, 12 Mar 2017 08:17:48 +0000 (08:17 +0000)]
ext4: Include forgotten start block on fallocate insert range
am:
3daefdae5f
Change-Id: I96ed2bfb756e3a37c07656d632660757c100065b
Omar Sandoval [Sun, 12 Mar 2017 08:17:38 +0000 (08:17 +0000)]
loop: fix LO_FLAGS_PARTSCAN hang
am:
cd3db55c64
Change-Id: I19b2069183011982702a38dfad5f2b589bbd3f4e
Ming Lei [Sun, 12 Mar 2017 08:17:29 +0000 (08:17 +0000)]
block/loop: fix race between I/O and set_status
am:
356d71df73
Change-Id: I57316c57bb82477bd2e6d24047b9399016c48348
Theodore Ts'o [Sun, 12 Mar 2017 08:17:19 +0000 (08:17 +0000)]
jbd2: don't leak modified metadata buffers on an aborted journal
am:
973f40f368
Change-Id: I3c95a6a0e9d2daa4713da89a47c3aac6b6193d02
Mathieu Desnoyers [Sun, 12 Mar 2017 08:17:10 +0000 (08:17 +0000)]
Fix: Disable sys_membarrier when nohz_full is enabled
am:
c0ef1f537a
Change-Id: I3650becd64c5156d24dee601990d48c68057e81d
Hannes Reinecke [Sun, 12 Mar 2017 08:17:00 +0000 (08:17 +0000)]
sd: get disk reference in sd_check_events()
am:
ea240cfed9
Change-Id: Ie5d8f2f3588859d8a4f4466c158223afbf8e2ecb
Hannes Reinecke [Sun, 12 Mar 2017 08:16:50 +0000 (08:16 +0000)]
scsi: use 'scsi_device_from_queue()' for scsi_dh
am:
33950b56d2
Change-Id: Ie22776722d50f3c91cfdebd8e89284e123cf2648
Raghava Aditya Renukunta [Sun, 12 Mar 2017 08:16:41 +0000 (08:16 +0000)]
scsi: aacraid: Reorder Adapter status check
am:
2dc9a859eb
Change-Id: Idbd0d6bc38a75a802547ad44280c72f83d930604
Long Li [Sun, 12 Mar 2017 08:16:33 +0000 (08:16 +0000)]
scsi: storvsc: properly set residual data length on errors
am:
18dbfcae65
Change-Id: Icd112397502c0caed46d5c3613e9cb2720901e6f
Long Li [Sun, 12 Mar 2017 08:16:23 +0000 (08:16 +0000)]
scsi: storvsc: properly handle SRB_ERROR when sense message is present
am:
80bccab34a
Change-Id: Ia376c2f0f0a0b1328b60ed5fb707fe5a12ec64ad
Long Li [Sun, 12 Mar 2017 08:16:12 +0000 (08:16 +0000)]
scsi: storvsc: use tagged SRB requests if supported by the device
am:
5cdc8193ac
Change-Id: Id08acaf5e82dcfb9f447ba4e375f97423ae216b4
Mikulas Patocka [Sun, 12 Mar 2017 08:16:03 +0000 (08:16 +0000)]
dm stats: fix a leaked s->histogram_boundaries array
am:
6a284310d5
Change-Id: Iffdf38daa52f8e2386d20f50ae62dae523c41991
Joe Thornber [Sun, 12 Mar 2017 08:15:54 +0000 (08:15 +0000)]
dm cache: fix corruption seen when using cache > 2TB
am:
fdea1f9721
Change-Id: Ife7330de88f3c77653c946783ea95ca393b3d1b4
Davidlohr Bueso [Sun, 12 Mar 2017 08:15:46 +0000 (08:15 +0000)]
ipc/shm: Fix shmat mmap nil-page protection
am:
f0ae01568e
Change-Id: I53489954b39ece583120b8462d57a969ab1e972f
Minchan Kim [Sun, 12 Mar 2017 08:15:36 +0000 (08:15 +0000)]
mm: do not access page->mapping directly on page_endio
am:
c5c893e7c4
Change-Id: Ic37f4022408ccc77d7702ebc4be606bd94ad20e1
Vinayak Menon [Sun, 12 Mar 2017 08:15:27 +0000 (08:15 +0000)]
mm: vmpressure: fix sending wrong events on underflow
am:
66f43a5768
Change-Id: I914c9c65e90dc02251788277937daca32fd59818
Gavin Shan [Sun, 12 Mar 2017 08:15:17 +0000 (08:15 +0000)]
mm/page_alloc: fix nodes for reclaim in fast path
am:
612e4679b8
Change-Id: I134dc72c598a798d4f3dead4421c269ae7bb3791
Ashok Raj [Sun, 12 Mar 2017 08:15:08 +0000 (08:15 +0000)]
iommu/vt-d: Tylersburg isoch identity map check is done too late.
am:
31dac0e870
Change-Id: I0e8dacd983deed5a478e50a4ce4c48622668e563
CQ Tang [Sun, 12 Mar 2017 08:14:59 +0000 (08:14 +0000)]
iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
am:
07852563db
Change-Id: I19ddfcf5d9f41e3fc8580b6449b27c1485b06e16