Commit graph

574569 commits

Author SHA1 Message Date
Linux Build Service Account
cbbeefbea9 Merge "clk: qcom: Add support for clk_set_flags for branch and dummy clock" 2016-08-29 00:49:21 -07:00
Linux Build Service Account
5eaa42dc62 Merge "radio: iris: uapi header split" 2016-08-29 00:49:21 -07:00
Maya Erez
9bc4dc29a0 scsi: ufs: Initiate crypto before SCSI for UFS fast boot
UFS driver integrates a new functionality to support inline
crypto engine, which was added to the crypto component.
In case ICE driver is initialized after UFS driver, we experience
long boot time as a result of probe defer handling.
Changing the modules order in the makefile will reduce the
probability for probe defer cases and will allow maintaining
shorter boot time.

Change-Id: I941a577a427ad45e7519408425e00541e825efc6
Signed-off-by: Maya Erez <merez@codeaurora.org>
2016-08-29 00:30:38 -07:00
Jouni Malinen
5766333698 cfg80211: Allow a scan request for a specific BSSID
This allows scans for a specific BSSID to be optimized by the user space
application by requesting the driver to set the Probe Request frame
BSSID field (Address 3) to the specified BSSID instead of the wildcard
BSSID. This prevents other APs from replying which reduces airtime need
and latency in getting the response from the target AP through.

This is an optimization and as such, it is acceptable for some of the
drivers not to support the mechanism. If not supported, the wildcard
BSSID will be used and more responses may be received.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 0889675a9503f48d1ad01b4eaa202f89469b2b62
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I20cf654661c11880055d022e0c9ec77beab659e8
CRs-fixed: 996660
Signed-off-by: Vidyullatha Kanchanapally <vidyullatha@codeaurora.org>
2016-08-29 00:21:40 -07:00
Venkat Gopalakrishnan
54b8bf43e4 ARM: dts: msm: add 2 lane support for msmcobalt ufs phy
Qcom ufs controller v3.1.0 supports 2 lanes. Add necessary
clocks and lane config properties to support that.

Change-Id: I97b11dc21882f08327d7d056ce1bf1c34b3c3946
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-08-29 00:21:19 -07:00
Subhash Jadavani
a58cf90d63 scsi: ufs-qcom: skip svs2 configuration for newer controllers
Newer QCOM UFS host controller doesn't need to execute
the special LPM mode configuration when switching to SVS2
mode. This change looks at the host controller version
to bypass this special configuration for newer controller
version.

Change-Id: Ib84663955c0c0db6124819c4c4749e5c347a3495
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-08-29 00:16:43 -07:00
Venkat Gopalakrishnan
b938e3480e scsi: ufs: add 2 lane support
Qcom ufs controller v3.1.0 supports 2 lanes, add support
to configure 2 lanes during phy initialization.

Change-Id: Ifa2bac71b47ce49a6fb31ebb8dd54b243e1cfae1
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-08-29 00:16:13 -07:00
Subhash Jadavani
19bec73759 phy: qcom-ufs-qmp-v3: add 2 lane phy support
New version of phy-qcom-ufs-qmp-v3 supports 2 lanes,
this change adds the config table to enable 2 lanes.

Change-Id: Ie916e7090d3660711159b886c27ee3709891ef2b
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-08-29 00:15:41 -07:00
Xiaojun Sang
c9b0b7c45d ASoC: sound: soc: fix incorrect max value
1. Max value stands for number of levels in SX control. The value
was adjusted inappropriately, which causes inconsistency between
max and min value.

2. Code assumes negative value of mc->min. Positive mc->min leads
to incorrect number of levels. The fix covers the risk.

CRs-Fixed: 1053735
Change-Id: I71bd8f11ff9faff9252129d84c1a80845fc2fe2a
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2016-08-29 15:06:10 +08:00
Kumar, Anand
0e0c3c54aa cnss: Use Different Dump Names for QCA PCIe and SDIO targets
On Dual-WiFi platforms, SDIO and PCIe dumps are overwritten by
the crashscope, as they use the same dump name.
Use different dump names to distinguish the dump between SDIO and PCIe.

CRs-Fixed: 1037346
Change-Id: I59c0ee5d3c5f206ae09d6b813f1e5c1ce1434cc1
Signed-off-by: Anand Kumar <anandkumar@codeaurora.org>
2016-08-29 11:19:29 +05:30
Theodore Ts'o
fd0655a7f0 ext4 crypto: simplify interfaces to directory entry insert functions
A number of functions include ext4_add_dx_entry, make_indexed_dir,
etc. are being passed a dentry even though the only thing they use is
the containing parent.  We can shrink the code size slightly by maing
this replacement.  This will also be useful in cases where we don't
have a dentry as the argument to the directory entry insert functions.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: "Theodore Ts'o" <tytso@google.com>
Git-commit: e3b970d19418e2cfeeaca323ae620cc2dab22086
Git-repo: https://android.googlesource.com/kernel/msm/
Change-Id: I565f822a8fc795740155154a7f003340b26ee128
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2016-08-28 09:39:30 -07:00
Prashanth Bhatta
7d45313e05 icnss: Handle wait being interrupted
When event needs to be processed synchronously, event posting
thread waits for the completion. After completion, result from
the event work is retrieved and event buffer would be freed. But
if waiting thread gets interrupted then wait_for_completion API
returns failure and it also frees the buffer posted for
processing. Event work queue may accesses the freed buffer and
crash the system.
Fix the issue by properly synchronizing event buffer free between
caller and event work by checking for return value of
wait_for_completion.

CRs-fixed: 1057180
Change-Id: Ic3968fd4c0232da6bc9a97d94376f540f62bd2e6
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-27 12:09:16 -07:00
Satyajit Desai
2681a68d37 defconfig: arm64: Add coresight abort support for msmcobalt
Enable CoreSight abort for msmcobalt. CoreSight driver will
dump any trace present in the current sink in case we hit a
kernel panic, user fault or an undefined instruction.

Change-Id: Iff2fdfb547617425182429d95fb1d3b9a2e4321f
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
2016-08-27 11:27:42 -07:00
Linux Build Service Account
e8a0e0808d Merge "ASoC: wcd934x: Add DSD volume support" 2016-08-27 03:35:38 -07:00
Linux Build Service Account
9a3bdf21ff Merge "ARM: dts: msm: Update power attributes for msmcobalt" 2016-08-27 03:35:37 -07:00
Linux Build Service Account
1adaeeae92 Merge "msm: vidc: Fix multistream issues" 2016-08-27 03:35:36 -07:00
Linux Build Service Account
78cf186b80 Merge "qpnp-fg-gen3: export the battery float voltage" 2016-08-26 22:23:00 -07:00
Linux Build Service Account
97cb0bb99f Merge "qcom-charger: smb-lib: correct the usb suspend votable name" 2016-08-26 22:23:00 -07:00
Linux Build Service Account
8dff1db3bc Merge "qcom-charger: qpnp-fg-gen3: add v2 SRAM register map" 2016-08-26 22:22:59 -07:00
Linux Build Service Account
2507985cbc Merge "ARM: dts: msm: Update GPU SMMU settings for cobalt" 2016-08-26 22:22:58 -07:00
Linux Build Service Account
844331baa5 Merge "host: sdhci: fix current caps when there is no host->vmmc" 2016-08-26 22:22:58 -07:00
Linux Build Service Account
9c34e4b38d Merge "ARM: dts: msmcobalt: add status property for memlat-mon for msmcobalt" 2016-08-26 22:22:57 -07:00
Linux Build Service Account
fad851b94a Merge "cnss: Provide API to CLD Driver to control SPDT GPIO" 2016-08-26 22:22:54 -07:00
Linux Build Service Account
9a7c65cabe Merge "input: synaptics_dsx_2.6: fix issues raised by static analyzer" 2016-08-26 22:22:50 -07:00
Linux Build Service Account
f6b34d14bd Merge "clk: msm: gcc-cobalt: Remove support for wcss clocks" 2016-08-26 22:22:49 -07:00
Linux Build Service Account
98af233d95 Merge "defconfig: Enable support for destroying TCP sockets through diag" 2016-08-26 22:22:49 -07:00
Linux Build Service Account
9e59905b59 Merge "qcom-charger: smb138x: fix buck damage on v1.1 hardware" 2016-08-26 22:22:47 -07:00
Linux Build Service Account
12c49e3e08 Merge "msm: vidc: Use internal size for extradata plane" 2016-08-26 22:22:47 -07:00
Linux Build Service Account
10e99580c4 Merge "ARM: dts: msm: Add initial support for msmcobalt QRD SKUK board" 2016-08-26 22:22:46 -07:00
Linux Build Service Account
fcb4d9dd29 Merge "sched: Make use of sysctl_sched_wake_to_idle in select_best_cpu" 2016-08-26 22:22:38 -07:00
Linux Build Service Account
1b7819036e Merge "sched: handle frequency alert notifications better" 2016-08-26 22:22:38 -07:00
Linux Build Service Account
373c6ba99f Merge "regulator: cpr3: fix panic callback failure in interrupt context" 2016-08-26 22:22:37 -07:00
Linux Build Service Account
7275a2b7bb Merge "misc: qcom: qdsp6v2: initialize wma_config_32" 2016-08-26 22:22:36 -07:00
Linux Build Service Account
c41f5ad099 Merge "usb: hcd: Add USB atomic notifier callback for HC died error" 2016-08-26 22:22:35 -07:00
Linux Build Service Account
c3b0ac1e39 Merge "msm: mdss: dsi: fix the check for PLL off when turning off PHY" 2016-08-26 22:22:34 -07:00
Linux Build Service Account
40823f5463 Merge "ARM: dts: Change minimum voltage for LDO25" 2016-08-26 22:22:32 -07:00
Linux Build Service Account
735670e06b Merge "ARM: dts: msm: update DSI phy strength settings for msmcobalt" 2016-08-26 22:22:31 -07:00
Linux Build Service Account
86e05456b9 Merge "msm: mdss: dsi: update DSI phy v3 initialization sequence" 2016-08-26 22:22:28 -07:00
Linux Build Service Account
1c416b0f74 Merge "input: ft5x06_ts: add proximity feature support" 2016-08-26 22:22:20 -07:00
Linux Build Service Account
02592fae06 Merge "msm: mdss: hide kernel addresses from unprevileged users" 2016-08-26 22:22:19 -07:00
Linux Build Service Account
d1a36be393 Merge "ARM: dts: msm: configure CX voltage levels from MDSS for msmcobalt" 2016-08-26 22:22:18 -07:00
Linux Build Service Account
9982c0b83f Merge "msm: ipa3: Adapt version handling to support IPAv3.5/3.5.1" 2016-08-26 22:22:17 -07:00
Hemant Kumar
a1efcad026 usb: dwc3: restart usb upon endpoint cmd timeout
Sometime endpoint command timeout happening after
usb device enumeration. Controller stops responding to
any endpoint commands afterwards. To recover from this
condition restart usb by simulating vbus off and on
except for end transfer command. Also increase the
command timeout from 1500us to 3000us.

Change-Id: I7c1833d844fd432b33158686361e24e66a2fd92c
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-26 18:44:04 -07:00
Hemant Kumar
6237ba1562 usb: gadget: f_cdev: Handle notification request properly
Driver is setting notify request pointer to NULL in order
to prevent re-queueing of notification request until it is
completed. This results into NULL ptr dereference if ioctl
happens before driver unbind tries to free the request buffer.
Fix this issue by introduce a flag q_again to prevent re-queuing
of same request instead of setting notify request pointer to NULL.
Also add NULL check in usb_cser_free_req() and set the request
pointer to NULL after freeing it.

Change-Id: Id431f911d3bdebfeedd0a5c1e36218ce7467ba67
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-08-26 18:37:56 -07:00
Shalini Krishnamoorthi
62e764006d msm: mdss: Fix to validate data copied from user space
The overlay zorder values copied from user space are used
as index in left_lm_zo_cnt and right_lm_zo_cnt. This fix
will validate the overlay zorder value copied from user
space to not go beyond MDSS_MDP_MAX_STAGE, thus preventing
any arbitrary increments in kernel memory.

CRs-Fixed: 1049232
Change-Id: Ie8e65ce9f58cb357204bfa4c6a6e0fccec82d5ba
Signed-off-by: Shalini Krishnamoorthi <shakri@codeaurora.org>
2016-08-26 18:33:17 -07:00
Ramkumar Radhakrishnan
4bb3edad43 msm: mdss: fix adaptive variable refresh and dynamic fps concurrency
Store the avr vtotal information computed from the initial timing
information and use it to restore the register values to avoid
flickering issues during suspend/resume usecase.

CRs-Fixed: 1056610
Change-Id: I8c7d27a062b90a3f200904f0ba20fbdb0bb32d70
Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
2016-08-26 16:56:36 -07:00
Alexander Duyck
90e8c6a0cc ipv4/GRO: Make GRO conform to RFC 6864
RFC 6864 states that the IPv4 ID field MUST NOT be used for purposes other
than fragmentation and reassembly.  Currently we are looking at this field
as a way of identifying what frames can be aggregated and  which cannot for
GRO.  While this is valid for frames that do not have DF set, it is invalid
to do so if the bit is set.

In addition we were generating IPv4 ID collisions when 2 or more flows were
interleaved over the same tunnel.  To prevent that we store the result of
all IP ID checks via a "|=" instead of overwriting previous values.

With this patch we support two different approaches for the IP ID field.
The first is a non-incrementing IP ID with DF bit set.  In such a case we
simply won't write to the flush_id field in the GRO context block.  The
other option is the legacy option in which the IP ID must increment by 1
for every packet we aggregate.

In the case of the non-incrementing IP ID we will end up losing the data
that the IP ID is fixed.  However as per RFC 6864 we should be able to
write any value into the IP ID when the DF bit is set so this should cause
minimal harm.

v2: Updated patch so that we now only support one of two options.  Either
    the IP ID is fixed with DF bit set, or the IP ID is incrementing.  That
    allows us to support the fixed ID case as occurs with IPv6 to IPv4
    header translation and what is likely already out there for some
    devices with tunnel headers.

CRs-Fixed: 1017614
Change-Id: I01065135889697dd8512ced09b8e1939e0fb645b
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Patch-mainline: netdev @ April 4, 2016, 4:31 p.m
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2016-08-26 15:05:01 -07:00
Linux Build Service Account
f29483dcef Merge "phy: qcom-ufs: update ufs phy settings" 2016-08-26 14:48:53 -07:00
Linux Build Service Account
1517f23dfd Merge "soc: qcom: rpm-smd: Account for NOACK messages with system sleep" 2016-08-26 14:48:53 -07:00
Linux Build Service Account
8e8c0536ff Merge "soc: qcom: glink: Best Fit approach to find intent" 2016-08-26 14:48:52 -07:00