Commit graph

583466 commits

Author SHA1 Message Date
Linux Build Service Account
53d85c3a8f Merge "ARM: dts: msm: enable watchdog for sdm630" 2017-02-23 21:35:57 -08:00
Linux Build Service Account
d3462b2761 Merge "drivers: dma-removed: page align size on free" 2017-02-23 21:35:57 -08:00
Linux Build Service Account
e1ddced4d7 Merge "defconfig: add cti config with save-restore disable for perf of sdm660" 2017-02-23 21:35:55 -08:00
Linux Build Service Account
b1fe14f458 Merge "ARM: dts: msm: Add LMH DCVSh mitigation support for KTM for sdm630" 2017-02-23 21:35:54 -08:00
Linux Build Service Account
66e280eb07 Merge "ARM: dts: msm: Enable LMH DCVSh driver for sdm630" 2017-02-23 21:35:54 -08:00
Linux Build Service Account
17ec241c6c Merge "soc: qcom: pil: Clear elf region on authentication failure" 2017-02-23 21:35:53 -08:00
Linux Build Service Account
9c2a8d5241 Merge "supply: qcom: battery: re-split FCC when ICL changes" 2017-02-23 21:35:52 -08:00
Linux Build Service Account
970eca3801 Merge "msm: mink: Separate out transport and client error" 2017-02-23 21:35:51 -08:00
Linux Build Service Account
2dd610f4a0 Merge "ARM: dts: msm: enable SSC based sensors for SDM630 MTP/CDP" 2017-02-23 21:35:51 -08:00
Linux Build Service Account
61284d06be Merge "ARM: dts: msm: Add SMB1351 device node for SDM660 QRD" 2017-02-23 21:35:50 -08:00
Linux Build Service Account
4c57c4181c Merge "ARM: dts: msm: changing memlat vote for min freq on SDM660" 2017-02-23 21:35:49 -08:00
Linux Build Service Account
4da238cbed Merge "ARM: dts: msm: Add touch device node for HDK835" 2017-02-23 21:35:48 -08:00
Linux Build Service Account
791f50a09d Merge "ARM: dts: msm: Enable support for GLINK QOS feature on msm8998" 2017-02-23 21:35:48 -08:00
Linux Build Service Account
f701481cfb Merge "MMC : card: check for card status incase of timeout error" 2017-02-23 21:35:47 -08:00
Linux Build Service Account
69bf85c82b Merge "ARM: dts: msm: add reg bus scale properties for sdm660 and sdm630" 2017-02-23 21:35:46 -08:00
Linux Build Service Account
67329e61e2 Merge "ARM: dts: msm: Update fuse corners supported for APC0/1 CPR for sdm630" 2017-02-23 21:35:45 -08:00
Linux Build Service Account
1569b17292 Merge "ARM: dts: msm: Add support for audio over USBC for SDM630" 2017-02-23 21:35:44 -08:00
Linux Build Service Account
4d40908715 Merge "ASoC: msm: qdsp6v2: Add INT3_MI2S interface for Source tracking" 2017-02-23 21:35:43 -08:00
Linux Build Service Account
0bb941eaed Merge "ASoC: codecs: Enable SSR for internal codec and WSA" 2017-02-23 21:35:42 -08:00
Linux Build Service Account
7e9aac208a Merge "ARM: dts: msm: Add routing controls for sdm660 internal codec" 2017-02-23 21:35:41 -08:00
Linux Build Service Account
60ebf2023c Merge "drm/msm: add support for 5V HPD pin for msm8998" 2017-02-23 21:35:36 -08:00
Linux Build Service Account
64190381d8 Merge "drm/msm: enable hpd event support for hdmi display" 2017-02-23 21:35:36 -08:00
Linux Build Service Account
6687ca759c Merge "drm/msm: add sde io util API support" 2017-02-23 21:35:35 -08:00
Linux Build Service Account
e2ef4360ab Merge "drm/sde: add support for customized mode" 2017-02-23 21:35:35 -08:00
Linux Build Service Account
097072f230 Merge "ARM: dts: msm: include SDE DTSI for MSM8998" 2017-02-23 21:35:34 -08:00
Linux Build Service Account
43de29b084 Merge "ARM: dts: msm: rename mdss_mdp to sde_kms and add HDMI TX device node" 2017-02-23 21:35:33 -08:00
Linux Build Service Account
e042032335 Merge "mhi: core: Add support for new MHI hardware channel" 2017-02-23 21:35:28 -08:00
Linux Build Service Account
9902e5e865 Merge "drm/msm: Get object iova from correct address space" 2017-02-23 21:35:15 -08:00
Linux Build Service Account
52f45fc339 Merge "drm/msm: Mark the microcode buffers as read-only" 2017-02-23 21:35:14 -08:00
Linux Build Service Account
f7e36cc621 Merge "drm/msm: Come out of secure before executing GPMU initialization" 2017-02-23 21:35:12 -08:00
Linux Build Service Account
ef49b42e4a Merge "drm/msm: Get and enable the IOMMU clocks" 2017-02-23 21:35:09 -08:00
Linux Build Service Account
fb98e68c1c Merge "drm/msm: Add hint to DRM_IOCTL_MSM_GEM_INFO to return an object IOVA" 2017-02-23 21:35:07 -08:00
Linux Build Service Account
b7ea8035cf Merge "msm: mdss: Install sync fences after user copy" 2017-02-23 21:35:06 -08:00
Saranya Chidura
05f23bfffa ARM: dts: msm: enable watchdog for sdm630
Enable watchdog node for sdm630 which is used to detect system hang.

Change-Id: Idfb307dd991e17e0030921e03c6f8a04afb9bc1d
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-02-23 04:08:25 -08:00
Saranya Chidura
fef3f4ec8a defconfig: add cti config with save-restore disable for perf of sdm660
Added CONFIG_CORESIGHT_CTI and CONFIG_CORESIGHT_CTI_SAVE_DISABLE
in perf_defconfig of SDM660 to enable cti without save-restore
functionality for CPU cores.

Change-Id: I19a2fb8a3097bac910bb5e50c9a80d84f03098d3
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-02-23 15:09:41 +05:30
Saranya Chidura
f6069cd224 kconfig: add cti-save-disable config in coresight
Added CONFIG_CORESIGHT_CTI_SAVE_DISABLE in kconfig of
coresight to choose CTI without save-restore functionality
for CPU cores.

Change-Id: I48128fbeda293a73d78946b8c222b5d0393c7595
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-02-23 13:18:48 +05:30
Sujeev Dias
fcfe80f8cc mhi: core: Add support for new MHI hardware channel
Add support for new MHI hardware channel 102 to be
use by MHI clients as ADPL channel.

CRs-Fixed: 1027069
Change-Id: Ib3c2019fc269064d097bb7f40f01d4580e63a603
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-02-22 18:15:58 -08:00
Sujeev Dias
219eb11023 mhi: core: Do not clear transaction status
MHI transaction status stores the OVERFLOW status
received from device.  MHI clients uses this
status to determine overflow buffers, do
not clear the status.

CRs-Fixed: 1042516
Change-Id: Iaaff06c1c39775d6a33ca17851f1e1579b2a2ecb
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-02-22 17:35:38 -08:00
Nicholas Troast
aecaaa7d1c supply: qcom: battery: re-split FCC when ICL changes
Currently the notifier does not respond to main psy changed events, so
changes in ICL will not schedule the status change work. Furthermore,
the status change work does not re-run the FCC splitting which is
dependent on the settled ICL.

First, add the main psy as one of the triggers for the status changed
work. Second, re-run the FCC and FV voteable elections to re-split the
FCC based on the new ICL.

Change-Id: I1f5f2e176ec470c9c71ff4a0787ffa0cc5828ebc
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-22 14:25:34 -08:00
Sujeev Dias
0f889f7e46 msm: mhi: Check bb ring and transfer ring when checking for space
When checking for available spaces, check available spaces on
both bounce buffer ring and transfer ring and return min.

Change-Id: I9208b46c32821de3f5d9e3d828087d7bc29b9546
CRs-Fixed: 1055681
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-02-22 13:12:22 -08:00
Sujeev Dias
3d25629c67 mhi: core: add missing MHI state
Add missing state MHI_STATE_RESERVE to MHI states
look up table.

CRs-Fixed: 1049595
Change-Id: I9a6bd2750f81f6cabc1e7b5aff488b4a01f7897d
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-02-22 13:03:13 -08:00
Dinesh K Garg
e54946be6e msm: mink: Separate out transport and client error
Currently, return value for SMCINVOKE_IOCTL_INVOKE_REQ IOCLT is mixed
with error generated by client. This does not seem right because client
does not understand kernel error code and vice versa.

Change-Id: I77278700c4927facf7aba92a11bfde29b1e8eb38
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2017-02-22 09:44:29 -08:00
Sushmita Susheelendra
b4c63e6a5d drm/msm: Get object iova from correct address space
Get the iova for a buffer object from the context
specific address space instead of always defaulting
to the global address space.

Change-Id: Id38c2ca2d6bad334beab53d8bcf8eb5cf5b1bb99
Signed-off-by: Sushmita Susheelendra <ssusheel@codeaurora.org>
2017-02-22 09:52:36 -07:00
Jordan Crouse
950d7cce01 drm/msm: Return the current status of a fence for a timeout of 0
Return the current status of the fence (0 for retired, -EBUSY for
active) if an absolute timeout of 0 is passed to MSM_IOCTL_WAIT_FENCE.
This allows the user space to check the status of the fence without
an awkward timeout or an inadvertent kernel message.

Change-Id: Ic0dedbad66adfabed24aeb6692abb2765ee37f24
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-22 09:52:35 -07:00
Jordan Crouse
97c202c6d7 drm/msm: Mark the microcode buffers as read-only
The PFP/ME and GPMU memory needs to be GPU accessible but it
does not need to be written by the GPU. Mark them as read-only
to avoid corruption.

Change-Id: Ic0dedbadc848f0a6693a4e57567077bbab38e9a5
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-22 09:52:34 -07:00
Jordan Crouse
e5de360e6f drm/msm: Come out of secure before executing GPMU initialization
There isn't any need to be in secure mode when executing the GPMU
initalization so swap out to eliminate it as a variable when
GPMU init goes broken.

Change-Id: Ic0dedbad07b8cde80e257f71999002e9cbc47c24
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-22 09:52:33 -07:00
Jordan Crouse
8b98ed8588 drm/msm: Enable pm_runtime for the GPU
Enable pm_runtime for the GPU to keep power collapse from hitting
us while we expect the GPU to be powered.

Change-Id: Ic0dedbad693f1d01776a87bc7a145a65510ac3fb
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-22 09:52:33 -07:00
Jordan Crouse
9f8cd5dfb4 drm/msm: Get and enable the IOMMU clocks
If we do not enable the iommu clocks at attach time they might
be shut off automatically by other devices power collapsing which
would affect our ability to switch the pagetable dynamically.

There is little power downside to just leaving them on all the time,
or at least as long as the main device is attached (in other words,
all the time).

Change-Id: Ic0dedbad8f6d2ee2a2cb9516e062af2421d91052
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-22 09:52:32 -07:00
Jordan Crouse
4b508ebeb8 drm/msm: Fix the check for the command size
The overrun check for the size of submitted commands is off by one.
It should allow the offset plus the size to be equal to the
size of the memory object when the command stream is very tightly
constructed.

Change-Id: Ic0dedbadec41fb8be84d7522b4dc923dbd537ce5
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-22 09:52:31 -07:00
Jordan Crouse
20e281de48 drm/msm: Add support for the QTI GPU snapshot format
When a fault happens on the Adreno GPU we want to collect
a considerable amount of information to diagnose the problem
including registers, caches, and GPU memory structures (ringbuffers,
etc).

The snapshot collects all of this information following a GPU fault
and encodes it into a binary file format that can be pulled from
debugfs or extracted from a memory dump.

This may seem a duplication of other debug methods (the ->show
functions for example) and while that is true for small numbers
of registers the snapshot goes much further - it collects hundreds
(thousands) of registers in addition to memory and other structures
that would be impractical to dump as ascii. The binary format allows
for the snapshot to be easily shared and post-processed in different
ways to extract patterns.

Add the basic snapshot infrastructure and enable ringbuffer, register
and shader bank collection for A5XX targets.

Change-Id: Ic0dedbadcf0513096d05870f522ac73da74ceb31
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-22 09:52:30 -07:00