Commit graph

574178 commits

Author SHA1 Message Date
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
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
Subhash Jadavani
effcb63b04 scsi: ufs: fix race between hibern8 failure recovery and error handler
If Hibern8 enter/exit fails and we also see some UIC errors at the same
time, we would see following 2 recovery paths running in parallel to
restore the host and device communication.
Context-1: ufshcd_uic_hibern8_exit() -> ufshcd_link_recovery() ->
	   ufshcd_reset_and_restore()
Context-2: ufshcd_err_handler()->ufshcd_reset_and_restore()

This change fixes this race by making the ufshcd_link_recovery() to wait
for the already scheduled ufshcd_err_handler() to finish running and then
schedule the error handler again to make sure that host-device link is
reestablished.

While we are fixing the above race, similar race could happen between
ufshcd_eh_host_reset_handler() and ufshcd_err_handler() hence fix the
error handling in ufshcd_eh_host_reset_handler() same way as fixed in
ufshcd_link_recovery().

CRs-fixed: 1037647
Change-Id: Ic7a17a907e70122968c324e3cbe6e0421c28a2c9
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-08-21 22:36:22 -07:00
Ghanim Fodi
0f44e4f131 msm: ipa3: Update registers configurations for IPAv3.5/3.5.1
IPA v3.5 and v3.5.1 introduces changes to several IPA registers.
Some registers have new fields, some fields are shifted and
others are removed.
This change updates IPAHAL to support these changes.

CRs-fixed: 1055677
Change-Id: I2046318ba40beca75bdc2f40554fc9a458da5581
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2016-08-21 02:07:53 -07:00
Ghanim Fodi
c6b90ab59c msm: ipa: add mhi test suite
Add IPA MHI test suite to IPA driver. Different
tests are being added to cover different IPA
MHI functionalities.

Change-Id: If97793a3af6c2d460468432c7bee93583cc34a55
CRs-Fixed: 1040200
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2016-08-21 01:54:13 -07:00
Ghanim Fodi
d5257aa898 msm: ipa3: Fix unclocked access to IPA SMEM register
Fixing IPA unclocked access when reading IPA_SHARED_MEM_SIZE
register. The read is part of a debug logic to print the
content of different registers.

CRs-fixed: 1052110
Change-Id: I2f04d861d98af2cf4009a1f746d91e9e9923ce42
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2016-08-21 01:23:37 -07:00
Dinesh K Garg
309eeac5e9 defconfig: msm: enable SMCInvoke feature
Enable smcinvoke driver so that TZ apps and client can communicate
using new MINK architecture.

Change-Id: I4e869d276ce4e8ecfe35a9ffe6892a6b586fe372
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2016-08-20 19:04:34 -07:00
Dinesh K Garg
879d57ac66 msm: mink: Adding SMCInvoke Driver
SMCInvoke driver is a misc driver to support communication between
secure and non-secure world, based on new capability based model.
Earlier, QSEECom driver had several problems such as exposing many
interfaces to accomplish various tasks on secure world side. Ideally,
driver should work as transparent as possible and provide just
tunnel to communicate between secure and non secure world. SMCInvoke
driver aims to achieve that.

Change-Id: I439f8ad817ba66210c934115979c276577194c11
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2016-08-20 19:04:33 -07:00
Preetam Singh Ranawat
9b4552329f ASoC: msm: Add support for playback over slimbus2 rx port
This change is to enable native DSD playback and enable native playback
of clips with sampling rate multiple of 44.1KHz.

Add slimbus_2_rx backend dai-link for native DSD (Direct Stream Digital)
audio and 44.1KHz multiples playback.

CRs-Fixed: 1056422
Change-Id: Ib038cf81f29e00c08def789f8f186ca4615d45fc
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2016-08-20 14:43:28 -07:00
Preetam Singh Ranawat
fc9f30ee3d ASoC: msm: Add support for native DSD playabck
Add DSD playback support in compress offload
passthrough mode. Add DAPM widget in routing driver
for DSD playback over SLIM_2_RX backend.

CRs-Fixed: 1056422
Change-Id: I398db5f6deded10a515f05277b6316a93f9e14ab
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2016-08-20 14:42:05 -07:00
Preetam Singh Ranawat
83728d2575 ALSA: compress: Add DSD format support for ALSA
WCD934X audio codec supports playback of DSD (Direct
Stream Digital) format. Extend ALSA (Advanced Linux
Sound Architecture) compress to support DSD format.

CRs-Fixed: 1056422
Change-Id: Ifb06674c251335a1d8cec71931355dca4c0e012d
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2016-08-19 18:00:13 -07:00
Linux Build Service Account
c605e110ab Merge "usb: gadget: composite: Return bcdUSB 0x0310 for Superspeed and higher" 2016-08-19 17:51:31 -07:00
Linux Build Service Account
60c7243d9d Merge "clk: msm: clock: Control the GPLL0 input sources to MMSSCC and GPUCC" 2016-08-19 17:51:30 -07:00
Linux Build Service Account
d25158dc19 Merge "ARM: dts: msm: Update venus clock frequencies on msmcobalt v2" 2016-08-19 17:51:17 -07:00
Linux Build Service Account
1a004523b9 Merge "iommu: msm: ensure lazy mappings are unmapped on detach" 2016-08-19 17:51:16 -07:00
Linux Build Service Account
4bf1a46f90 Merge "ARM: dts: msm: Add support for msmcobalt v2.1" 2016-08-19 17:51:15 -07:00
Linux Build Service Account
ccd6d40230 Merge "soc: qcom: smp2p: Fix kernel address leak" 2016-08-19 17:51:14 -07:00
Linux Build Service Account
2f9bd7c38d Merge "msm: sde: add rotator pixel format to v4l2 enum ioctl" 2016-08-19 17:51:10 -07:00
Linux Build Service Account
fffab8aac5 Merge "msm: mdss: dp: add connected sysfs node" 2016-08-19 17:51:08 -07:00
Satyajit Desai
c34bf4be22 coresight: abort coresight tracing on kernel crash
Add trace events to control aborting CoreSight trace
dynamically based on module parameter.
Coresight driver will dump any trace present in the current sink
in case we hit a kernel panic, user fault or an undefined instruction.

Change-Id: Iee1ccf5cbd7b767753a3115c0570e63fbe2aa8f3
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
2016-08-19 14:56:53 -07:00
Puja Gupta
7a2cb0ab1d soc: qcom: Clear PBL interrupt in case of error
Clear SP-PBL interrupt in case of error in PBL to avoid having storm
of interrupts.

CRs-Fixed: 1057085
Change-Id: I96bfd93ea5016a9c48f97262dbb0b5b63e07233d
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2016-08-19 14:54:32 -07:00
Linux Build Service Account
0c8cf716fa Merge "msm: vidc: Change module license to GPL v2" 2016-08-19 05:29:39 -07:00
Linux Build Service Account
82e060812f Merge "ASoC: wcd-mbhc: add kcontrol to get hph type for wcd934x" 2016-08-19 05:29:34 -07:00
Linux Build Service Account
ac4a799f31 Merge "ASoC: wcd-mbhc: add wcd934x mbhc driver" 2016-08-19 05:29:33 -07:00
Linux Build Service Account
c190f5787a Merge "ASoC: wcd934x: Add support for codec calibration data" 2016-08-19 05:29:33 -07:00
Linux Build Service Account
16896c47a3 Merge "clk: msm: clock: Return error to clients if branch clock enable times out" 2016-08-19 05:29:29 -07:00
Linux Build Service Account
2192939fe7 Merge "ARM: dts: msm: update panel timings for supported panels on msmcobalt" 2016-08-19 05:29:28 -07:00
Linux Build Service Account
f0da3aae3b Merge "scsi: ufs-qcom: disable hibern8 during clk gating" 2016-08-19 05:29:27 -07:00
Linux Build Service Account
c806677972 Merge "qcom-charger: qpnp-fg-gen3: increase ESR timer during suspend" 2016-08-19 05:29:25 -07:00
Linux Build Service Account
a76f4330d8 Merge "defconfig: msmcortex: enable service-locator on msmcobalt" 2016-08-19 05:29:24 -07:00
Linux Build Service Account
0ac7087247 Merge "usb: phy: qusb: reset size to zero before getting next property size" 2016-08-19 05:29:23 -07:00
Linux Build Service Account
530f2999e8 Merge "ARM: dts: msm: add VDD_GFX CPR configurations for msmcobalt v2" 2016-08-19 05:29:21 -07:00
Linux Build Service Account
af31dfedfe Merge "soc: qcom: spm: Poll for the PMIC_STATE after updating the VCTL register" 2016-08-19 05:29:20 -07:00
Linux Build Service Account
521c0c89d9 Merge "slim: ngd: Handle Process Domain restart" 2016-08-19 05:29:18 -07:00
Linux Build Service Account
d9868b6515 Merge "clk: qcom: Add support for gate clocks" 2016-08-19 05:29:01 -07:00
Linux Build Service Account
391337e863 Merge "ARM: dts: msm: Increase VMEM vote for some resolutions" 2016-08-18 23:20:39 -07:00
Linux Build Service Account
2eb00066b1 Merge "msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl" 2016-08-18 23:20:38 -07:00