Commit Graph

637574 Commits

Author SHA1 Message Date
Alex Deucher
c0f3104f85 drm/amdgpu: add more cases to DCE11 possible crtc mask setup
am: 0734a3213c

Change-Id: I51bb0c57562e149dd5946781b9081860c0b338b8
2017-03-15 02:25:07 +00:00
Johannes Berg
c60a5987a9 mac80211: use driver-indicated transmitter STA only for data frames
am: b507df2e23

Change-Id: I6bde405c3e252d9ac1eaa605f8997245bb2f482b
2017-03-15 02:24:58 +00:00
Felix Fietkau
855ee12931 mac80211: don't handle filtered frames within a BA session
am: 3981384999

Change-Id: Ib18afd2b459eca059c16750a33dbcc8a0386f0e8
2017-03-15 02:24:50 +00:00
Sara Sharon
2159c30e7f mac80211: don't reorder frames with SN smaller than SSN
am: 42e7f37714

Change-Id: I43a58e1e61d3ce776a11afef684533f940c74e38
2017-03-15 02:24:41 +00:00
Matt Chen
fef4174099 mac80211: flush delayed work when entering suspend
am: b116db0da1

Change-Id: I51bdbb788a9287a06e36cdda68d35f67983a65e5
2017-03-15 02:24:30 +00:00
Dan Williams
0f20cb8cdb nfit, libnvdimm: fix interleave set cookie calculation
am: 9ad1571da2

Change-Id: I764f42679b5bdabf8720148340aba5e23cbb15f0
2017-03-15 02:24:21 +00:00
Max Filippov
92ac0a477b xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
am: a7b9c9ddb6

Change-Id: Ibb93922bbf0c49b31d80ffa31de23f058f7e08d1
2017-03-15 02:24:12 +00:00
Clemens Gruber
59d39c255b pwm: pca9685: Fix period change with same duty cycle
am: 019c088dc4

Change-Id: Id57b7144856bd8bd082638dc16d98556d388195d
2017-03-15 02:24:03 +00:00
Trond Myklebust
49fe05a803 nlm: Ensure callback code also checks that the files match
am: 1f2f16c7b7

Change-Id: I43a97d53ff81c6eb8ae23b92ede80f3917806ede
2017-03-15 02:23:54 +00:00
Gavin Shan
9e380d66bc drivers/pci/hotplug: Fix initial state for empty slot
am: 4f77c55c3a

Change-Id: I06aecc89657e692b88615195afccf6e47ed6b136
2017-03-15 02:23:46 +00:00
Gavin Shan
07163c8825 drivers/pci/hotplug: Handle presence detection change properly
am: 1afe7b4ac3

Change-Id: Ia1259f87fb6dcb038d42ca40a35fb43f7167b001
2017-03-15 02:23:37 +00:00
Nicholas Bellinger
c45b44d5d8 target: Fix NULL dereference during LUN lookup + active I/O shutdown
am: 17ea11d553

Change-Id: I2c9b9e4596cdb9bb666de90603c41d4dfc26aaea
2017-03-15 02:23:28 +00:00
Gavin Shan
9ac636111c pci/hotplug/pnv-php: Disable surprise hotplug capability on conflicts
am: 54eff720c9

Change-Id: I1420772893847955dfd3ae3c1746a72e8cb849e3
2017-03-15 02:23:19 +00:00
Gavin Shan
867461fafe pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot()
am: 4ee3508f7a

Change-Id: I284c8381fe4eafd18062463a0e204f335dc3ccca
2017-03-15 02:23:10 +00:00
Jeff Layton
0f0cab5276 ceph: remove req from unsafe list when unregistering it
am: 5da90d0018

Change-Id: I7bfcdd15b663f7f79098beedc2e8baaa7db23331
2017-03-15 02:23:01 +00:00
Steven Rostedt (VMware)
ce337fd88d ktest: Fix child exit code processing
am: ff61e0123b

Change-Id: I48042d180623cda33ac13019be30c802a00722fc
2017-03-15 02:22:51 +00:00
Boris Brezillon
6fa9f8055f memory/atmel-ebi: Fix ns <-> cycles conversions
am: 1f2ca141ec

Change-Id: I1e564f59c0cae201de5bf92275a2809024b7fd49
2017-03-15 02:22:42 +00:00
Peter Zijlstra
debf88db0f orangefs: Use RCU for destroy_inode
am: b2b0f6ffd3

Change-Id: I89639d90d673b86119bdf6043ba608f30cf3f0fb
2017-03-15 02:22:34 +00:00
Eric W. Biederman
5feec54044 fs: Better permission checking for submounts
am: d3381fab77

Change-Id: I5f0019d2c86afd0a055f823f6751db9f6378e38f
2017-03-15 02:22:24 +00:00
Bart Van Assche
a2898ad07e IB/srp: Fix race conditions related to task management
am: 48e2181b0b

Change-Id: I171e07c10757212c74ebc5c01341b2b9752bf1f6
2017-03-15 02:22:15 +00:00
Bart Van Assche
23011815f9 IB/srp: Avoid that duplicate responses trigger a kernel bug
am: d5d1d2cc4b

Change-Id: I1d6058be1db22b0853190d0a932dc9c1136a5110
2017-03-15 02:22:05 +00:00
Bart Van Assche
9b6ab4a0c2 IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS
am: 516a12ab11

Change-Id: I07efb0732a142e665ff782a7a9d6fc89d6609f12
2017-03-15 02:21:56 +00:00
Leon Romanovsky
9d68e9eae5 IB/mlx5: Fix out-of-bound access
am: 04f16db056

Change-Id: Id1506c11832c0efa03ec281d877295fe4a077ac4
2017-03-15 02:21:45 +00:00
Erez Shitrit
dbb1b56f08 IB/IPoIB: Add destination address when re-queue packet
am: 2e539fa49e

Change-Id: I9b71a393645f4fb1123a9981ccc819344165a3ce
2017-03-15 02:21:35 +00:00
Feras Daoud
e66ad7b980 IB/ipoib: Fix deadlock between rmmod and set_mode
am: 1626076b8e

Change-Id: I7df6daf518ff5cdf9ca2cd2babc936b4f12fe91c
2017-03-15 02:21:26 +00:00
Eric W. Biederman
d4ffcb8e2b mnt: Tuck mounts under others instead of creating shadow/side mounts.
am: 808e83e5ad

Change-Id: I58cb7df80b45193d209f697846c9fd0daa73e0a3
2017-03-15 02:21:16 +00:00
Gavin Li
29b9417a6c brcmfmac: fix incorrect event channel deduction
am: c9b3f3173f

Change-Id: I9faee9b23ccc60d13e81681b72de8106d05db3e6
2017-03-15 02:21:07 +00:00
Andrew Donnellan
e8fce0ca34 cxl: fix nested locking hang during EEH hotplug
am: 53d43706f2

Change-Id: I2d209e2170524b6aab237f883b17f8a50e94e811
2017-03-15 02:20:57 +00:00
Andrew Donnellan
477599e91b cxl: Prevent read/write to AFU config space while AFU not configured
am: 411d0b0ced

Change-Id: Ic0950806e04cbd6c16f10cb8a54a2feedb02709d
2017-03-15 02:20:48 +00:00
Thomas Petazzoni
8b2f89f8b2 net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
am: 60037aa689

Change-Id: Iad626208b9a7450963d3ab1f85f234c3196a24fa
2017-03-15 02:20:38 +00:00
Heiko Carstens
7be3c5fee9 s390: use correct input data address for setup_randomness
am: e067f68db2

Change-Id: I39d088b359b3013110b8d7050bf0a31bb3dfecb8
2017-03-15 02:20:28 +00:00
Heiko Carstens
55648739c7 s390: make setup_randomness work
am: 321081d522

Change-Id: I7513e1f4e3dbc1c856b9379f68578d3196888cb9
2017-03-15 02:20:20 +00:00
Martin Schwidefsky
fae88a1ff8 s390: TASK_SIZE for kernel threads
am: 9d38fd6a4f

Change-Id: Ideddfa572cbe56465d33c1ea23f579ca79a5c736
2017-03-15 02:20:10 +00:00
Peter Oberparleiter
7f8383d4a5 s390/chsc: Add exception handler for CHSC instruction
am: dc31841fcd

Change-Id: I8319561164624bb5257953980b634c1b1433cc85
2017-03-15 02:20:01 +00:00
Michael Holzheu
84872e1cda s390/kdump: Use "LINUX" ELF note name instead of "CORE"
am: 91cfcaa6ed

Change-Id: Ib1e184c24c5bd48b20364997700f101e88a32c64
2017-03-15 02:19:51 +00:00
Gerald Schaefer
0889880eac s390/dcssblk: fix device size calculation in dcssblk_direct_access()
am: b848102542

Change-Id: I2679898d49b6ebb1295baac47fe024d1148f445e
2017-03-15 02:19:42 +00:00
Julian Wiedmann
b74ce883de s390/qdio: clear DSCI prior to scanning multiple input queues
am: 5cec5e32ba

Change-Id: I86e1d78d1a1455fb19e8e29fbc3ac60dca8ce52d
2017-03-15 02:19:32 +00:00
Dmitry Tunin
d1b059b109 Bluetooth: Add another AR3012 04ca:3018 device
am: 519b6cead2

Change-Id: Id17f9e756deb493c568c13aca827639ea035c182
2017-03-15 02:19:23 +00:00
Chao Peng
45c8680aa4 KVM: VMX: use correct vmcs_read/write for guest segment selector/base
am: 7c3bab189c

Change-Id: Ide6a1352ee12abfaf8955dd9da5edda7895c34c9
2017-03-15 02:19:15 +00:00
Janosch Frank
d0f5a21737 KVM: s390: Disable dirty log retrieval for UCONTROL guests
am: 035dcc8e87

Change-Id: Id0932f5e4d600beb7c56f0288511119120c3f379
2017-03-15 02:19:05 +00:00
Ian Abbott
70ce5ca1e2 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
am: c4c590be49

Change-Id: I82600c181818e85112ae82a97ed9820ca21b78ea
2017-03-15 02:18:56 +00:00
Alexander Popov
7f6d22e4cc tty: n_hdlc: get rid of racy n_hdlc.tbuf
am: e5b9778761

Change-Id: Id987aff27c13ebb71b0a1e6cd0ebdc39841f7657
2017-03-15 02:18:47 +00:00
Alex Deucher
0734a3213c drm/amdgpu: add more cases to DCE11 possible crtc mask setup
commit 4ce3bd45b3 upstream.

Add cases for asics with 3 and 5 crtcs.  Fixes an artificial
limitation on asics with 3 or 5 crtcs.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=99744

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:48 +08:00
Johannes Berg
b507df2e23 mac80211: use driver-indicated transmitter STA only for data frames
commit 19d19e9605 upstream.

When I originally introduced using the driver-indicated station as an
optimisation to avoid the hashtable lookup/iteration, of course it
wasn't intended to really functionally change anything.

I neglected, however, to take into account VLAN interfaces, which have
the property that management and data frames are handled differently:
data frames go directly to the station and the VLAN while management
frames continue to be processed over the underlying/associated AP-type
interface. As a consequence, when a driver used this optimisation for
management frames and the user enabled VLANs, my change broke things
since any management frames, particularly disassoc/deauth, were missed
by hostapd.

Fix this by restoring the original code path for non-data frames, they
aren't critical for performance to begin with.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=194713.

Big thanks goes to Jarek who bisected the issue and provided a very
detailed bug report, including the crucial information that he was
using VLANs in his configuration.

Fixes: 771e846bea9e ("mac80211: allow passing transmitter station on RX")
Reported-and-tested-by: Jarek Kamiński <jarek@freeside.be>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:48 +08:00
Felix Fietkau
3981384999 mac80211: don't handle filtered frames within a BA session
commit 890030d3c4 upstream.

When running a BA session, the driver (or the hardware) already takes
care of retransmitting failed frames, since it has to keep the receiver
reorder window in sync.

Adding another layer of retransmit around that does not improve
anything. In fact, it can only lead to some strong reordering with huge
latency.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:48 +08:00
Sara Sharon
42e7f37714 mac80211: don't reorder frames with SN smaller than SSN
commit b7540d8f25 upstream.

When RX aggregation starts, transmitter may continue send frames
with SN smaller than SSN until the AddBA response is received.
However, the reorder buffer is already initialized at this point,
which will cause the drop of such frames as duplicates since the
head SN of the reorder buffer is set to the SSN, which is bigger.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:47 +08:00
Matt Chen
b116db0da1 mac80211: flush delayed work when entering suspend
commit a9e9200d86 upstream.

The issue was found when entering suspend and resume.
It triggers a warning in:
mac80211/key.c: ieee80211_enable_keys()
...
WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt ||
             sdata->crypto_tx_tailroom_pending_dec);
...

It points out sdata->crypto_tx_tailroom_pending_dec isn't cleaned up successfully
in a delayed_work during suspend. Add a flush_delayed_work to fix it.

Signed-off-by: Matt Chen <matt.chen@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:47 +08:00
Dan Williams
9ad1571da2 nfit, libnvdimm: fix interleave set cookie calculation
commit 86ef58a4e3 upstream.

The interleave-set cookie is a sum that sanity checks the composition of
an interleave set has not changed from when the namespace was initially
created.  The checksum is calculated by sorting the DIMMs by their
location in the interleave-set. The comparison for the sort must be
64-bit wide, not byte-by-byte as performed by memcmp() in the broken
case.

Fix the implementation to accept correct cookie values in addition to
the Linux "memcmp" order cookies, but only allow correct cookies to be
generated going forward. It does mean that namespaces created by
third-party-tooling, or created by newer kernels with this fix, will not
validate on older kernels. However, there are a couple mitigating
conditions:

    1/ platforms with namespace-label capable NVDIMMs are not widely
       available.

    2/ interleave-sets with a single-dimm are by definition not affected
       (nothing to sort). This covers the QEMU-KVM NVDIMM emulation case.

The cookie stored in the namespace label will be fixed by any write the
namespace label, the most straightforward way to achieve this is to
write to the "alt_name" attribute of a namespace in sysfs.

Fixes: eaf961536e ("libnvdimm, nfit: add interleave-set state-tracking infrastructure")
Reported-by: Nicholas Moulin <nicholas.w.moulin@linux.intel.com>
Tested-by: Nicholas Moulin <nicholas.w.moulin@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:47 +08:00
Max Filippov
a7b9c9ddb6 xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
commit 4ab18701c6 upstream.

FDT tag parsing is not related to whether BLK_DEV_INITRD is configured
or not, move it out of the corresponding #ifdef/#endif block.
This fixes passing external FDT to the kernel configured w/o
BLK_DEV_INITRD support.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:47 +08:00
Clemens Gruber
019c088dc4 pwm: pca9685: Fix period change with same duty cycle
commit 8d254a340e upstream.

When first implementing support for changing the output frequency, an
optimization was added to continue the PWM after changing the prescaler
without having to reprogram the ON and OFF registers for the duty cycle,
in case the duty cycle stayed the same. This was flawed, because we
compared the absolute value of the duty cycle in nanoseconds instead of
the ratio to the period.

Fix the problem by removing the shortcut.

Fixes: 01ec847200 ("pwm-pca9685: Support changing the output frequency")
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-15 10:02:46 +08:00