Commit graph

586209 commits

Author SHA1 Message Date
Linux Build Service Account
9bcb914dd2 Merge "clk: msm: clock-cpu-8996: Allow interrupts during alt_pll set_rate" 2017-03-21 21:30:06 -07:00
Linux Build Service Account
719effa8a2 Merge "regulator: cpr3-hmss: Increase fuse combo count" 2017-03-21 21:30:03 -07:00
Linux Build Service Account
321fb5e48e Merge "regulator: cpr3-mmss: Increase fuse combo count" 2017-03-21 21:30:03 -07:00
Liangliang Lu
41dcf70d69 usb: phy: qmp: Add support for fpc re-drive chipset
In the cases that have FPC cable between main board and sub-board, USB
connector located on sub-board, add re-drive chipset on sub-board to
make sure the signal of rx/tx for super-speed is good enough.

Change-Id: I4a778b0eb6ba43a35a88425f2279041ba038da95
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
2017-03-22 09:14:07 +08:00
Abhijeet Dharmapurikar
ecbdcaa216 iio: adc: tadc: fix leakage problem
There is a leakage path in the TADC block while the device is shutdown
or is in deep sleep mode. To fix this hw problem, the driver needs to
disable hw conversions and enable direct test mode while charger is
plugged out, kernel goes to suspend or device shuts down. The driver
needs to undo those changes when charger is plugged in, kernel resumes
or device powers up.

Moreover while disabling hw conversions it is advisable to wait until
the current conversion is complete.

To realize this
* create a tadc_disable_votable, where the three usecases viz. charger
  presence, suspend/resume and shutdown will vote. Enabling it will
  disable hw conversions and enable direct test mode and vice versa for
  disabling case.
* update complete to complete all since the disable path may be waiting
  for conversion to complete.
* create a power supply notifier hook to get the usb presence/absence
  notifications.
* add suspend,resume and shutdown driver callbacks that vote for
  enabling/disabling tadc.
* prevent more requests coming in when the tadc is disabled.
* skip printing an error reading a channel for requests coming after
  tadc is disabled. Return -ENODATA error for these situations.
* since we are introducing a secure write well beyond 0x3652, update the
  code to treat everything beyond 0x3652 as locked.

CRs-Fixed: 2021456
Change-Id: Ifa92764d11f0b717558f3b7169313f5bcb1f507e
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-03-21 17:22:16 -07:00
Linux Build Service Account
c1ef16be6d Merge "profiler: Add a communication interface between userspace and tz services" 2017-03-21 13:29:06 -07:00
Linux Build Service Account
0cbb4359bb Merge "msm_11ad: enable PCIe L1/L1SS during 11AD device reset" 2017-03-21 13:29:04 -07:00
Linux Build Service Account
5a54ca071c Merge "drivers: GICv3: Check IRQ state in gic_set_affinity()" 2017-03-21 13:29:03 -07:00
Linux Build Service Account
09ddd6a693 Merge "NFC: Disable i2c write failure log" 2017-03-21 13:29:03 -07:00
Linux Build Service Account
b4c85a83b1 Merge "iommu: interchange the vmid order passed to hyp_assign" 2017-03-21 13:29:02 -07:00
Linux Build Service Account
202f816129 Merge "msm: mdss: fix race condition in mdp debugfs" 2017-03-21 13:29:01 -07:00
Linux Build Service Account
f4ec231edf Merge "regulator: cpr3: Use scaled gate count for aging measurements" 2017-03-21 13:29:00 -07:00
Linux Build Service Account
020e6e02af Merge "ARM: dts: msm: set VDD_APCC CPR IRQ affinity for CPU0/1 on msm8996pro" 2017-03-21 13:28:59 -07:00
Linux Build Service Account
bf0c24864a Merge "ARM: dts: msm: reduce CPU LDO headroom voltage for msm8996pro" 2017-03-21 13:28:58 -07:00
Linux Build Service Account
b88bf593cd Merge "ARM: dts: msm: update APCC/GFX CPR regulator configuration for msm8996pro" 2017-03-21 13:28:55 -07:00
Linux Build Service Account
3ba6a45bc5 Merge "ARM: dts: msm: Add APC CPR configuration for MSM8996 speed-bin 2" 2017-03-21 13:28:54 -07:00
Linux Build Service Account
9f7e569e9f Merge "power: qcom: Modify APM timeout value for msm8953" 2017-03-21 13:28:53 -07:00
Linux Build Service Account
c50fa5a158 Merge "regulator: spm-regulator: Fix the usage of the 'uV' variable" 2017-03-21 13:28:51 -07:00
Linux Build Service Account
75dc6ab1e7 Merge "media: platform: msm: dvb: video frame event notification changes" 2017-03-21 13:28:51 -07:00
Linux Build Service Account
936a21540d Merge "regulator: cpr3: Update temp based adjustments config" 2017-03-21 13:28:50 -07:00
Linux Build Service Account
a60565cb32 Merge "msm : camera: Fix kw issues in Jpeg" 2017-03-21 13:28:49 -07:00
Linux Build Service Account
600a9f7e48 Merge "soc: qcom: qpnp-haptic: Remove use-play-irq and use-sc-irq flags" 2017-03-21 13:28:46 -07:00
Linux Build Service Account
305c432509 Merge "leds: leds-qpnp: replace pwm_free with pwm_disable" 2017-03-21 13:28:45 -07:00
Linux Build Service Account
87ce4f61c0 Merge "iommu: dma-mapping-fast: per-buffer coherent mappings" 2017-03-21 13:28:44 -07:00
Linux Build Service Account
738cd46257 Merge "msm: wlan: Update regulatory database for South Korea" 2017-03-21 13:28:43 -07:00
Linux Build Service Account
eda7a735e9 Merge "qcom: qpnp-smb2: update micro-usb mode change sequence" 2017-03-21 13:28:42 -07:00
Linux Build Service Account
5c3056eff4 Merge "icnss: Add check to validate wlan driver probe status before probe" 2017-03-21 13:28:41 -07:00
Linux Build Service Account
8049821ec1 Merge "qcom: smb-lib: float D+/D- before running APSD at init" 2017-03-21 13:28:41 -07:00
Linux Build Service Account
4b7986eaba Merge "ASoC: msm: qdsp6v2: fix to remove ftm_cfg mode update" 2017-03-21 13:28:40 -07:00
Linux Build Service Account
e52fa20d62 Merge "ASoC: msm_sdw: Fix crash after SSR on speaker+BT ringtone" 2017-03-21 13:28:39 -07:00
Linux Build Service Account
6f535b62b9 Merge "ASoC: msm: qdsp6v2: add route from SEC_MI2S_TX to MM2" 2017-03-21 13:28:38 -07:00
Linux Build Service Account
3ff77c3e35 Merge "ARM: dts: msm: add spi_0 dev subnode on msm8996 adp/cdp platform" 2017-03-21 13:28:36 -07:00
Linux Build Service Account
4c36c814dc Merge "ARM: dts: msm: Add loopback1 platform device for msm8996 adp/cdp" 2017-03-21 13:28:35 -07:00
Linux Build Service Account
e476407fa3 Merge "ARM: dts: msm: disable slimbus/codec on msm8996 adp/cdp platform" 2017-03-21 13:28:34 -07:00
Linux Build Service Account
447a207fd7 Merge "ASoC: msm: qdsp6v2: Fix gapless session open fail" 2017-03-21 13:28:33 -07:00
Linux Build Service Account
15ae367e0b Merge "ASoC: msm: Add machine driver for APQ8096 based automotive platform" 2017-03-21 13:28:32 -07:00
Linux Build Service Account
59d6094ffa Merge "icnss: Fix condition for trigger recovery" 2017-03-21 13:28:31 -07:00
Linux Build Service Account
7bfc9c84ef Merge "ARM: dts: msm: Enable dma-coherent property for GPU" 2017-03-21 13:28:30 -07:00
Linux Build Service Account
ee3ce4a8e2 Merge "msm: ipa: Add IPA NTN suspend-resume support" 2017-03-21 13:28:29 -07:00
Linux Build Service Account
37e30d7fbd Merge "esoc: Fix potential NULL pointer dereferences" 2017-03-21 13:28:28 -07:00
Linux Build Service Account
f098395d7d Merge "ARM: dts: msm: Fix KPDPWR and KPDPWR_RESIN PON configuration in pm8998" 2017-03-21 13:28:27 -07:00
Linux Build Service Account
44df618d4f Merge "soc: qcom: pil: Using devm_ioremap for mapping cx ipeak register" 2017-03-21 13:28:25 -07:00
Linux Build Service Account
dc484ab5fb Merge "msm: camera: isp: use correct list API" 2017-03-21 13:28:24 -07:00
Linux Build Service Account
ba00c87028 Merge "android: binder: use copy_from_user_preempt_disabled" 2017-03-21 13:28:23 -07:00
Linux Build Service Account
1d94db90db Merge "msm: camera: isp: fix for out of bound access array" 2017-03-21 13:28:22 -07:00
Linux Build Service Account
4d81cb77e9 Merge "soc: qcom: Define macro to indicate service identifier for scm call" 2017-03-21 13:28:22 -07:00
Linux Build Service Account
c37da11cca Merge "msm: camera: Add regulator enable and disable in csiphy" 2017-03-21 13:28:20 -07:00
Linux Build Service Account
96e7b02651 Merge "ARM: dts: msm: Update VFE SVS clock corner for SDM630" 2017-03-21 13:28:19 -07:00
Mahesh Sivasubramanian
28b53fbb72 drivers: soc: qcom: Remove prints from the idle path
The system runs into a "undefined instruction" error when first core waking
out of power collapse tries to wakeup a core by writing to a GIC register.
When waking out of reset, the GIC SRE bit is reset, and any accesses to the
GIC ICC registers would result in a "undefined instructions". When a first
waking out of reset writes to a console, the console task is now marked as
unnable by the scheduler. If the console task is running on a different
CPU, this would trigger a IRQ_WORK IPI to the target CPU. Since the core is
waking out of reset, its SRE bit is cleared and any access to the GIC ICC
registers results in an undefined instruction abort.

Fix by removing logging from the idle path.

Change-Id: I476d4a4d082bb115128e1f54c931558e79fec567
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2017-03-21 13:45:22 -06:00
Zhen Kong
9f290f6e79 qseecom: check img_len and mdt_len against ion buf len
Variable "load_img_req.img_len" and "load_img_req.mdt_len" are
from user land, so check their values against ion buf length
to avoid buffer overread on QSEE side.

Change-Id: I9e8bfe32d3b0cd5b441ad724543c56467fa5e4da
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-03-21 09:55:54 -07:00