Commit graph

586124 commits

Author SHA1 Message Date
Liam Mark
0bf318c247 iommu: dma-mapping-fast: per-buffer coherent mappings
For "fast" stage 1 mappings add support to either force a buffer to
be mapped as coherent through the DMA_ATTR_FORCE_COHERENT DMA
attribute, or to force a buffer to not be mapped as coherent by
using the DMA_ATTR_FORCE_NON_COHERENT DMA attribute.

Both the DMA_ATTR_FORCE_COHERENT and DMA_ATTR_FORCE_NON_COHERENT DMA
attributes override the buffer coherency configuration set by making
the device coherent.

Change-Id: I465a88ee568fb6cd8206c26a62cbf02ac40328fa
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2017-03-15 12:47:07 -07:00
Satya Durga Srinivasu Prabhala
e86e2573c2 esoc: Fix potential NULL pointer dereferences
Update checks to avoid potential NULL pointer dereferences
which are reported in static analysis.

Change-Id: Ibb9db8fb44f9e27da9e531b762dfddd9725c1b4f
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-03-15 11:32:10 -07:00
Linux Build Service Account
6f55033ecf Merge "USB: f_qc_rndis: Change descriptors to support wireless RNDIS" 2017-03-15 10:25:37 -07:00
Linux Build Service Account
c22a9eb365 Merge "ARM: dts: msm: Move improve touch device node for SDM660 QRD" 2017-03-15 10:25:37 -07:00
Linux Build Service Account
6989b3b8c5 Merge "msm: mdss: Fix hist sum sanity check issue" 2017-03-15 10:25:36 -07:00
Linux Build Service Account
358a638e69 Merge "msm: mdss: Fix source split validation" 2017-03-15 10:25:35 -07:00
Linux Build Service Account
921b4d5582 Merge "msm: mdss: Add check to fix null pointer dereference during pipe reset" 2017-03-15 10:25:34 -07:00
Linux Build Service Account
b5337ed3d2 Merge "ARM: dts: qcom: Update DDIC timing for JDI panel" 2017-03-15 10:25:33 -07:00
Linux Build Service Account
39b7c03e8a Merge "msm: mdss: fix secure buffer ref counting" 2017-03-15 10:25:32 -07:00
Linux Build Service Account
0da87c9f78 Merge "icnss: QMI timeout, do not ASSERT when PD down" 2017-03-15 10:25:32 -07:00
Linux Build Service Account
833104d826 Merge "qpnp-fg-gen3: Fix adjusting recharge_soc after charge termination" 2017-03-15 10:25:31 -07:00
Linux Build Service Account
5bd64ca62c Merge "mhi: core: add support for MHI to operate on slave mode" 2017-03-15 10:25:29 -07:00
Linux Build Service Account
e59fe1c6b9 Merge "mhi: core: add support for MHI host managing firmware upload" 2017-03-15 10:25:28 -07:00
Linux Build Service Account
1e3cff4cba Merge "mhi: mhi_rmnet: pass maximum payload size to mhi during registration" 2017-03-15 10:25:27 -07:00
zhaoyuan
41f002b596 ARM: dts: msm: Move improve touch device node for SDM660 QRD
Improve touch device setting is needed by QTC800H only. So move
the node to qrd dts from common file.

Change-Id: I1c04e2b2540a4db9dff839ebe3dfe45efe552c9a
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
2017-03-15 01:28:41 -07:00
Ray Zhang
58d17170ba ARM: dts: msm: enable HDMI and DP functionality for HDK835
HDK835 has HDMI and DP hardware blocks, so enable them in the
device tree.

CRs-Fixed: 2012660
Change-Id: I04a58527875bd6c62d7d31e20bc4ade3824d7e03
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-03-14 23:50:42 -07:00
Linux Build Service Account
ad64f3159b Merge "soc: qcom: qmi: add export symbol qmi_response_type_v01_ei" 2017-03-14 23:45:55 -07:00
Linux Build Service Account
012107e127 Merge "ARM: dts: msm: Update more thermal-mitigation levels for PM660" 2017-03-14 23:45:54 -07:00
Linux Build Service Account
31af073d20 Merge "epoll: Drop struct epoll_event definition" 2017-03-14 23:45:53 -07:00
Linux Build Service Account
5362d67feb Merge "msm: ipa: Add spinlock to avoid deleting already deleted list" 2017-03-14 23:45:53 -07:00
Linux Build Service Account
aebd97e372 Merge "msm: ipa: Hold wakelock on Neutrino offload enable" 2017-03-14 23:45:51 -07:00
Linux Build Service Account
081dc50ec7 Merge "clk: qcom: Update ops for esc clock source" 2017-03-14 23:45:50 -07:00
Linux Build Service Account
e326dbfb8f Merge "wil6210: protect against sporadic interrupt during suspend flow" 2017-03-14 23:45:49 -07:00
Linux Build Service Account
ebcfa03af9 Merge "ARM: dts: msm: Modify pm660 gpio3 to 10uA pulldown" 2017-03-14 23:45:48 -07:00
Linux Build Service Account
7309dc1ced Merge "ARM: dts: msm: Add routing controls for sdm660 qrd" 2017-03-14 23:45:47 -07:00
Linux Build Service Account
7a17dfedc6 Merge "ASoc: msm: qdsp6v2: Add timestamp support for offload playback" 2017-03-14 23:45:46 -07:00
Linux Build Service Account
3961be10c4 Merge "soc: qcom: Avoid possible buffer overflow in service-locator" 2017-03-14 23:45:45 -07:00
Linux Build Service Account
040d1247eb Merge "usb: host: xhci: Move LPM support quirk to xhci_plat_quirks" 2017-03-14 23:45:45 -07:00
Linux Build Service Account
bb6ff6488f Merge "ARM: dts: msm: enable display for SDM660 PM660A QRD" 2017-03-14 23:45:44 -07:00
Linux Build Service Account
01107b6d9c Merge "msm: mdss: set interface stopped flag properly during suspend" 2017-03-14 23:45:43 -07:00
Linux Build Service Account
83b21004d2 Merge "msm: mdss: Avoid unnecessary warnings during pipe unstaging" 2017-03-14 23:45:42 -07:00
Linux Build Service Account
6b1a41eea8 Merge "firmware: qcom: tz_log: fix reading log issue on secure boot enabled device" 2017-03-14 23:45:41 -07:00
Linux Build Service Account
29620da5ab Merge "msm: isp: Add support for VFE dual camera resolution limit" 2017-03-14 23:45:40 -07:00
Linux Build Service Account
c4849b9b3e Merge "ARM: dts: msm: update vote on ldo11 for amoled panel on sdm660" 2017-03-14 23:45:39 -07:00
Linux Build Service Account
026bc74afe Merge "ASoC: codecs: Add PM suspend routines for digital codec" 2017-03-14 23:45:38 -07:00
Linux Build Service Account
6490c4e227 Merge "drm/msm: Remove DRM_MSM_NUM_IOCTLS" 2017-03-14 23:45:37 -07:00
Linux Build Service Account
3d973006bc Merge "drm/msm: Move QTI specific ioctls to avoid conflict" 2017-03-14 23:45:36 -07:00
Linux Build Service Account
ba76a5fa05 Merge "msm: camera: isp: correct the CX iPeak voting logic" 2017-03-14 23:45:36 -07:00
Linux Build Service Account
f3392ded87 Merge "msm: camera: cpp: Add support for CX iPeak limits Management" 2017-03-14 23:45:35 -07:00
Srikanth Uyyala
01b701c4af msm: camera: Rate limit debug logs
Rate limit the debug logs for vfe client.

Change-Id: I4d686ea6ecef50d99795cc102280c85925d63fec
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2017-03-14 23:39:27 -07:00
Srikanth Uyyala
886031df5d msm: camera: isp: use correct list API
list_first_entry expects the list to be not empty.
Use list_first_entry_or_null to return null incase
list is empty.

Change-Id: I44a8b726a90f8f55fd9388e74e31909c0bd71317
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2017-03-14 23:37:29 -07:00
Raviteja Tamatam
a1e75564f8 msm: mdss: disable programmable fetch when not in use
During the resolution switch use case where the active resolution
needs prefetch but the new resolution doesnot require it, currently
programmable fetch blocks are not disabled if not in use.

Change-Id: Ib5ea8ef75308132f5530aaf35aaea53858ea94a2
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2017-03-14 23:31:09 -07:00
Subbaraman Narayanamurthy
b7dad2b5a4 dt-bindings: Add DVDD_HARD_RESET and DVDD_SHUTDOWN types to power-on.h
Add DVDD_HARD_RESET and DVDD_SHUTDOWN types to power-on.h so that
they can be used in PMIC PON configuration.

CRs-Fixed: 2017642
Change-Id: I34ec58230fe38a193c50f7bf4d3ab0b2d96f82f1
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-14 19:28:40 -07:00
Subbaraman Narayanamurthy
bda96ffdc0 qpnp-fg-gen3: Fix adjusting recharge_soc after charge termination
After charge termination, recharge SOC might get adjusted, which
is fine. However, if the charger is not removed after charge
termination and SOC drops further down because of a system load,
recharge SOC should not get adjusted again. This can cause
recharging not to begin at the intended SOC threshold. Fix this.

CRs-Fixed: 2018737
Change-Id: I3595c313f84b2ea8c0459c30f294deb8ac4d2866
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-03-14 13:07:19 -07:00
Sunil Paidimarri
2612086d39 msm: ipa: Hold wakelock on Neutrino offload enable
Hold wakelock on Neturino offload enable and release
it on disable to avoid Apps suspend.

Change-Id: I53e7abf49829159a4b07f9047617268e03162ff9
CRs-Fixed: 1060848
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2017-03-14 10:52:43 -07:00
Prashanth Bhatta
49eaa0d279 icnss: QMI timeout, do not ASSERT when PD down
QMI timeout bound to happen when a request sent over QMI and at
the same time WLAN PD down happens. Add logic to detect PD down
event and do not ASSERT in case WLAN PD down is detected.

Change-Id: I73916ac9040250cdae16fb9c1a2c67df9ef940d3
CRs-fixed: 2017507
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2017-03-14 10:30:41 -07:00
Prasad Sodagudi
99c4750fe5 epoll: Drop struct epoll_event definition
Add kernel header sanitizer check to drop struct epoll_event.
This struct epoll_event is not following the POSIX standard
and defining element in opaque data type.

Change-Id: I1eecef1b64eb1fb8f0dd6999263093a453e7b9fb
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-03-14 09:18:53 -07:00
Sarada Prasanna Garnayak
d44c42832e soc: qcom: qmi: add export symbol qmi_response_type_v01_ei
Fix the symbol linking error for loadable kernel modules
which is using qmi service to communicate with the Q6 processor.

CRs-Fixed: 2017892
Change-Id: Ie5a6bba7387567dbfef0cefdde14b8e0ee6b08e6
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-03-14 20:24:04 +05:30
Anurag Chouhan
6d99aa2b6e icnss: Add check to validate wlan driver probe status before probe
As pd_locator_work failed to locate Pd service, icnss is
unable to receive the PD events so shutdown never gets scheduled
and hence PD_RESTART bit is not set, with the FW_READY event if
PD_RESTART bit is not set icnss proceed to probe the wlan driver
Add a check to validate the wlan driver status before
calling wlan driver probe.

Change-Id: I15b09063154e87fb1574d2d2f1492da2ba84da3a
CRs-fixed: 2019254
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
2017-03-14 06:57:17 -07:00
Anurag Chouhan
49609806bc icnss: Fix condition for trigger recovery
With the change 'commit 443b19badd ("icnss: Trigger recovery
only if PDR enabled")', wrong condition used to check if
PD restart not enabled. Correct the condition before
sending PD restart request.

Change-Id: I0729cebeb42d2c2b8e68f210ee9065f71a30cfad
CRs-fixed: 2018631
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
2017-03-14 05:47:34 -07:00