Commit graph

574223 commits

Author SHA1 Message Date
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
Linux Build Service Account
0366550001 Merge "soc: qcom: Clear PBL interrupt in case of error" 2016-08-26 14:48:20 -07:00
Linux Build Service Account
cf174274e9 Merge "qcom-charger: expand data structure smb_chg_param" 2016-08-26 14:48:19 -07:00
Linux Build Service Account
7ab2fa74f1 Merge "msm: mdss: fix pipe priority validation" 2016-08-26 14:48:18 -07:00
Linux Build Service Account
4220f26bb7 Merge "msm: mdss: Fix potential NULL pointer dereferences" 2016-08-26 14:48:17 -07:00
Linux Build Service Account
9269a96566 Merge "ARM: dts: msm: Update SS phy initialization sequence for msmcobalt" 2016-08-26 14:48:17 -07:00
George Shen
4b478ca851 msm: kgsl: remove un-used GPU power states
DEEP-NAP and SLEEP states are not used in targets of previous
two generations. They are neither saving GPU power, nor saving
system power. Remove to reduce maintenance overhead.

CRs-Fixed: 1053516
Change-Id: If2fc2701548f90bb7ea9559a87752e13a7b0f736
Signed-off-by: George Shen <sqiao@codeaurora.org>
2016-08-25 11:58:29 -07:00
Riley Andrews
1943b682a3 cpuset: Make cpusets restore on hotplug
This deliberately changes the behavior of the per-cpuset
cpus file to not be effected by hotplug. When a cpu is offlined,
it will be removed from the cpuset/cpus file. When a cpu is onlined,
if the cpuset originally requested that that cpu was part of the cpuset, that
cpu will be restored to the cpuset. The cpus files still
have to be hierachical, but the ranges no longer have to be out of
the currently online cpus, just the physically present cpus.

Change-Id: I3efbae24a1f6384be1e603fb56f0d3baef61d924
[ohaugan@codeaurora.org: Port to 4.4]
Git-commit: f180bcac788464a0baf3d79d76dd86d6972ea413
Git-repo: https://android.googlesource.com/kernel/common/msm.git
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-08-24 16:03:23 -07:00
Oleg Perelet
3f44acf69e msm: kgsl: Change sequencing for GPU hardware clock gating
Disable GPU SP clock before programing hardware clock gating registers.

CRs-Fixed: 1056488
Change-Id: I2c91e8ae6a30facefd5dd3d4a4e4c33ffc792fe1
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-08-24 22:42:37 +05:30
Sreelakshmi Gownipalli
59a61e7cc5 diag: Add diag over glink support
Add diag over glink support to communicate to WDSP.

Change-Id: I60cce19bd82030990a1267b81ed28c25ac8601ec
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2016-08-23 21:26:50 -07:00
Veera Sundaram Sankaran
39b9b45957 msm: mdss: update lineptr instantly in cmd mode panels w/autorefresh
The lineptr interrupt is expected to be triggered and have the
ability to be updated instantly  whenever the panel is fetching
data. Previously, enabling lineptr was tied to kickoff and disabling
to pp_done work. Add capability to change the lineptr value instantly,
when auto-refresh is enabled and avoid disabling lineptr during that time.
Once enabled, lineptr can only be disabled when 0 is written to the node
while auto-refresh is enabled.

Change-Id: I9a1a478c857efd988984a0efb0a2b6475030c7ec
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-08-23 16:13:43 -07:00
Skylar Chang
fbfd19948f msm: ipa: handle information leak on ADD_FLT_RULE_INDEX ioctl
IPA might have Information leak and device crash due to
kernel heap overread in IPA driver when processing
WAN_IOC_ADD_FLT_RULE_INDEX ioctl. The fix is to add
check on max number of filter rules send to modem.

Change-Id: I454e04d05cfcb7af8fc4bd2b4a1bade55c4684d0
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-23 15:08:00 -07:00
Zhen Kong
5baaa9beb0 qseecom: support whitelist memory for qseecom_send_modfd_cmd
qseecom_send_modfd_cmd converts ION buffer's virtual address to
scatter gather(SG) list and then sends them to TA by populating
SG list into message buffer. As the physical memory address in
SG list is used directly by TA, this allows a malicious TA to
access/corrupt arbitrary physical memory and may lead to the
process gaining kernel/root privileges. Thus, make changes to
have the QSEEComm driver passing a list of whitelist buffers
that is allowed to be mapped by TA, and the QSEE kernel, in turn,
should add checks to the register_shared_buffer syscall to make
sure the shared buffers an application is mapping falls within
one of these whitelist buffers.

CRs-fixed: 1021945
Change-Id: I776ead0030cad167afcf41ab985db7151a42d126
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-08-23 14:08:27 -07:00
Mayank Rana
9765c216c7 usb: gadget: gsi: Handle EVT_HOST_READY event in STATE_INITIALIZED state
'commit 5b42bd749e8c ("usb: gadget: gsi: Optimize TRB's buffer allocation
functionality")' removed handling of EVT_HOST_READY event with state
STATE_INITIALIZED to optimized USB GSI state machine. This handling is
required for specifically when RNDIS interface is being enabled through
device manager, otherwise RNDIS interface doesn't get private IP address
back. Fix this issue by adding back handling of EVT_HOST_READY event with
state STATE_INITIALIZED.

CRs-Fixed: 1050838
Change-Id: I7010005b37b4709f54de58d52a56cb7f5e88bd08
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2016-08-23 10:50:58 -07:00
Skylar Chang
759bf369a5 msm: ipa3: add gateway info on wan_msg
header change for CNE to pass gateway
info to IPA

Change-Id: I0f0a84a12c3ba514f7309b16c73f5b8ed631626d
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-23 10:36:09 -07:00
Linux Build Service Account
e97b6a0e02 Merge "regulator: cprh-kbss-regulator: support the force highest corner fuse" 2016-08-23 09:08:52 -07:00
Ghanim Fodi
e4bbac8c09 msm: ipa: fix a static analysis issue at IPA unit-tests
Fix a static analysis issue at IPA driver,
IPA unit-tests I/S. Do not dereference a pointer even
if it can potentially be NULL.

CRs-Fixed: 1055710
Change-Id: Ie7eff49f136fe429ef10c6067ce7d8aae2694d3a
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2016-08-23 12:06:27 +03:00
Chandan Uddaraju
3156dc80cb clk: msm: mdss: update Dp PLL/Phy configuration
Update the Display-Port PHY and PLL configuration
with the recommended settings. Remove the
support for 9.72Ghz VCO frequency. Update the divider
settings to support the new frequency plan.
Update the Phy Aux settings and voltage/pre-emphasis
settings according to recommended configuration.

Change-Id: Ic4d206da3dc6b45214e7601e7556cfb0bef81a7d
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-08-22 21:11:06 -07:00
Veera Sundaram Sankaran
ef0912c52e msm: mdss: add additional LM checks for dest scalar validation
Add compatibility checks for the new LM configs sent by dest
scalar with the DSC slice width/height during validation. Without
this check, the DSC config check would fail at a later point during
ctl start.

Change-Id: I55e483be5629cfe26cca3b740d206845a1caa903
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-08-22 19:15:18 -07:00
Benjamin Chan
abad0fdbe2 msm: mdss: Correct command mode MISR CRC reg offset and blockid
msmcobalt has a different command mode MISR CRC register offset. Correct
the offset for the MISR control and signature registers, and correct the
block_id by lookup the INTF number from CTL.

CRs-Fixed: 1049910
Change-Id: If4fb44d217ed84067a0732334523ddb1e435e4e7
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-08-22 18:48:41 -04:00
Skylar Chang
7e59fd56bf msm: ipa3: fix the dma_map_single issue
With the SMMU attached, need to provide
netdev name when calling dma_map_single
instead of passing NULL to prevent DMA
allocation errors.

Change-Id: Ic126739d20ff6cd148b2f424746555419fcfca70
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-08-22 13:17:39 -07:00
Chandan Uddaraju
79f9bdf53b mdss: display-port: add support for audio programming
Add support to configure audio baud rate for
display port.

CRs-Fixed: 1009284
Change-Id: Iab3c9d578cf398f57d3151a5c895c4a09ddb3dd2
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-08-22 12:09:01 -07:00