Commit graph

574217 commits

Author SHA1 Message Date
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
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
George Shen
bac30ab032 msm: kgsl: remove GFX retention support
GFX retention mode does not save GFX rail power. The feature
increased MX rail power. Fixing the problem requires more overhead
than removing it. The feature has never been enabled in any targets.
So remove the feature.

CRs-Fixed: 1053516
Change-Id: I5f118138eca307f7cc16405ff9c8897ecd510c12
Signed-off-by: George Shen <sqiao@codeaurora.org>
2016-08-22 11:10:57 -07:00
George Shen
e190c549f7 ARM: dts: msm: Add GPU DCVS plan for msmcobalt V2
Add DCVS plan to support new GPU frequencies and voltage corners
on msmcobalt v2.

CRs-Fixed: 1056661
Change-Id: Ie0bde4d908189da86077b69be52c51f2a35596a8
Signed-off-by: George Shen <sqiao@codeaurora.org>
2016-08-22 10:41:50 -07:00
Osvaldo Banuelos
3f99f58346 regulator: cpr3-mmss-regulator: update ref voltages for msmcobalt v2
Update the fused reference voltages for msmcobalt v2 to reflect
the latest hardware guidelines.

Change-Id: I61c4cd6bd0ecf06969aa26a04911f28b292f7942
CRs-Fixed: 1054539
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-08-22 10:18:57 -07:00
Deepak Katragadda
49c21ac702 clk: msm: clock: Add voter clocks for mmss_camss_jpeg0_clk
Add separate voter clocks for controlling the mmss_camss_jpeg0_clk
from two clients on MSMCOBALT.

CRs-Fixed: 1049594
Change-Id: I530e35054fd512574bca9e5937317099f58d2bb6
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-08-22 10:04:18 -07:00