Commit graph

574527 commits

Author SHA1 Message Date
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
Linux Build Service Account
d319bf625a Merge "qcom_charger: smb-lib: support faking battery capacity" 2016-08-26 14:48:51 -07:00
Linux Build Service Account
67f8c022ca Merge "msm: ipa: WA to get PA of sgt_tbl from wlan" 2016-08-26 14:48:50 -07:00
Linux Build Service Account
b4c3d95c1f Merge "msm: ipa3: remove wrong smmu clk vote" 2016-08-26 14:48:50 -07:00
Linux Build Service Account
3274f63de5 Merge "ARM: dts: msm: update VDD_GFX CPR target quotients for msmcobalt v2" 2016-08-26 14:48:49 -07:00
Linux Build Service Account
409a2f2f0b Merge "msm: ipa3: add ipa-uc ram mapping to wlan-cb" 2016-08-26 14:48:48 -07:00
Linux Build Service Account
0cf5c85f8a Merge "msm: ipa: header change for SMMU wlan VA mapping" 2016-08-26 14:48:47 -07:00
Linux Build Service Account
86cdb090cb Merge "ARM: dts: msm: Add bus bandwidth entry for IPA" 2016-08-26 14:48:47 -07:00
Linux Build Service Account
0b4cfe3827 Merge "usb: gadget: f_gsi: Fix alternate index returned by gsi_get_alt" 2016-08-26 14:48:46 -07:00
Linux Build Service Account
05966eacca Merge "cpuset: Make cpusets restore on hotplug" 2016-08-26 14:48:45 -07:00
Linux Build Service Account
f196175bdb Merge " msm: ADSPRPC: Update channel state during subsystem restart" 2016-08-26 14:48:44 -07:00
Linux Build Service Account
01e1d840d7 Merge "msm: mdss: add additional LM checks for dest scalar validation" 2016-08-26 14:48:44 -07:00
Linux Build Service Account
9970bd4123 Merge "msm: mdss: update lineptr instantly in cmd mode panels w/autorefresh" 2016-08-26 14:48:43 -07:00
Linux Build Service Account
de4f2234b6 Merge "msm: kgsl: Change sequencing for GPU hardware clock gating" 2016-08-26 14:48:42 -07:00
Linux Build Service Account
ac536b7576 Merge "msm: ipa3: add gateway info on wan_msg" 2016-08-26 14:48:41 -07:00
Linux Build Service Account
917e5e4c37 Merge "msm: misc: hdcp: add support for multi-part hdcp2p2 messages" 2016-08-26 14:48:41 -07:00
Linux Build Service Account
6ca1ce42e8 Merge "msm: ipa: handle information leak on ADD_FLT_RULE_INDEX ioctl" 2016-08-26 14:48:40 -07:00
Linux Build Service Account
6e8980477d Merge "diag: Add diag over glink support" 2016-08-26 14:48:39 -07:00
Linux Build Service Account
158d2d87fe Merge "qseecom: support whitelist memory for qseecom_send_modfd_cmd" 2016-08-26 14:48:38 -07:00
Linux Build Service Account
1c3f3dcc8a Merge "msm: mdss: Correct command mode MISR CRC reg offset and blockid" 2016-08-26 14:48:38 -07:00
Linux Build Service Account
f11f09118e Merge "usb: gadget: gsi: Handle EVT_HOST_READY event in STATE_INITIALIZED state" 2016-08-26 14:48:37 -07:00
Linux Build Service Account
c59ad8da42 Merge "clk: msm: mdss: update Dp PLL/Phy configuration" 2016-08-26 14:48:35 -07:00
Linux Build Service Account
e235cc7ed7 Merge "mdss: display-port: add support for audio programming" 2016-08-26 14:48:34 -07:00
Linux Build Service Account
eb5cb31c18 Merge "msm: ipa3: fix the dma_map_single issue" 2016-08-26 14:48:34 -07:00
Linux Build Service Account
605f313ca9 Merge "regulator: cpr3-mmss-regulator: update ref voltages for msmcobalt v2" 2016-08-26 14:48:33 -07:00
Linux Build Service Account
59f9c1af18 Merge "ARM: dts: msm: add hdcp support on msmcobalt v1" 2016-08-26 14:48:32 -07:00
Linux Build Service Account
cd7ec1bbe6 Merge "msm: kgsl: remove un-used GPU power states" 2016-08-26 14:48:31 -07:00
Linux Build Service Account
801c6f14c5 Merge "ARM: dts: msm: Add GPU DCVS plan for msmcobalt V2" 2016-08-26 14:48:30 -07:00
Linux Build Service Account
2f4167d0e1 Merge "clk: msm: clock: Add voter clocks for mmss_camss_jpeg0_clk" 2016-08-26 14:48:29 -07:00
Linux Build Service Account
2a358a675b Merge "msm: ipa3: Update registers configurations for IPAv3.5/3.5.1" 2016-08-26 14:48:28 -07:00
Linux Build Service Account
cd6b388dab Merge "scsi: ufs: fix race between hibern8 failure recovery and error handler" 2016-08-26 14:48:28 -07:00
Linux Build Service Account
ab9b466bb3 Merge "msm: ipa: fix a static analysis issue at IPA unit-tests" 2016-08-26 14:48:26 -07:00
Linux Build Service Account
21e5bf47c1 Merge "ASoC: msm: Add support for playback over slimbus2 rx port" 2016-08-26 14:48:24 -07:00
Linux Build Service Account
9539b29f37 Merge "msm: ipa3: Fix unclocked access to IPA SMEM register" 2016-08-26 14:48:23 -07:00
Linux Build Service Account
c6182a6521 Merge "defconfig: msm: enable SMCInvoke feature" 2016-08-26 14:48:22 -07:00
Linux Build Service Account
07dde62a73 Merge "msm: mink: Adding SMCInvoke Driver" 2016-08-26 14:48:22 -07:00
Linux Build Service Account
30f32fdd4e Merge "coresight: abort coresight tracing on kernel crash" 2016-08-26 14:48:21 -07:00