Commit graph

599577 commits

Author SHA1 Message Date
Linux Build Service Account
dad9612b1f Merge "soc: qcom: boot_stats: Fix compilation issue" 2018-05-31 05:11:41 -07:00
Linux Build Service Account
155d32a6a7 Merge "ARM: dts: msm: Add support for new speed bin for SDM660" 2018-05-31 05:11:40 -07:00
Linux Build Service Account
95be57e783 Merge "clk: qcom: Add support for 585MHz GPU frequency" 2018-05-31 05:11:39 -07:00
Linux Build Service Account
9b371fc84d Merge "audit: Checks valid value of audit_signals and tsk->audit_context" 2018-05-31 05:11:33 -07:00
Linux Build Service Account
e4a7e7dbaa Merge "defconfig: Sync automotive gvm defconfig with metal defconfig" 2018-05-31 05:11:29 -07:00
Linux Build Service Account
1d5d6eea84 Merge "defconfig: reduce HZ value from 250 to 100" 2018-05-31 05:11:20 -07:00
Linux Build Service Account
07c1b26257 Merge "mmc: card: Update multi_cmd_ioctl path to support cmdq" 2018-05-30 21:10:30 -07:00
Linux Build Service Account
7f1e39e00b Merge "drm: sde: Check commit's validity when starting splash handoff" 2018-05-30 10:21:00 -07:00
Taniya Das
129e694595 ARM: dts: msm: Add support for new speed bin for SDM660
New cpu speed bin of 4 is added to support 1.9/1.8GHz.

Change-Id: Ic0dffc7c46e82748bf9f40de7f478ec073142dd1
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2018-05-30 15:03:27 +05:30
Taniya Das
22f07893c9 clk: qcom: Add support for 585MHz GPU frequency
On SDM660 there is a new frequency requirement of 585MHz, so add support
for the same.

Change-Id: I9b55b18d6befdc8f5a7d9dac6bcb832eda338497
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2018-05-30 15:03:18 +05:30
Zhiqiang Tu
e54fbdbc40 soc: qcom: boot_stats: Fix compilation issue
Fix the multiple definition issue of msm_timer_get_sclk_ticks
when CONFIG_MSM_BOOT_STATS is disabled.

Change-Id: Id2c263c48cec038be4354894fa57b203a5f764c6
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2018-05-30 16:51:56 +08:00
Chetan C R
ad60f0e735 audit: Checks valid value of audit_signals and tsk->audit_context
There can be a case when current task's audit context
may be NULL or even if it is not NULL, it can have
invalid non-zero value of dummy variable and also
we should audit the signal only if we have non-zero
value of audit_signals.

Issue has been seen during power on/off tests. So
better to add explicit check on these variables.

Change-Id: I2f3e17d933fca8e3b8f4013f44f942f11c68f440
Signed-off-by: Chetan C R <cravin@codeaurora.org>
2018-05-29 21:58:34 -07:00
Lei wang
beafa8ecff defconfig: Sync automotive gvm defconfig with metal defconfig
Sync automotive gvm defconfig with metal, cleanup some unused config

Change-Id: Ic0f6f5e1d274692886da237f52c13b587e43a779
Signed-off-by: Lei wang <leiwan@codeaurora.org>
2018-05-29 19:28:32 -07:00
Linux Build Service Account
fc98b97cd8 Merge "msm: kgsl: Don't dump GPMU registers on non GPMU devices" 2018-05-29 13:57:06 -07:00
Linux Build Service Account
addd4dab16 Merge "ASoC: msm: add boot marker for mi2s and auto sound card" 2018-05-29 05:07:37 -07:00
Veerabhadrarao Badiganti
d4a088792f mmc: card: Update multi_cmd_ioctl path to support cmdq
Halt cmdq in multi_cmd_ioctl path before processing IOCTL
commands and un-halt it once it has done with IOCTL processing.

Without this change, the mmc driver would try to process legacy
commands when host & card are in cmdq mode which may result
in unexpected interrupt / illegal command errors.

Change-Id: I254a1a752f770ffd03331c4856aa9f54867092dc
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2018-05-29 10:40:41 +05:30
Linux Build Service Account
5cb5749cd7 Merge "defconfig: msm: enable lpass resource mgr for msm8996-auto" 2018-05-27 09:11:15 -07:00
Linux Build Service Account
2115d78a54 Merge "ARM: dts: msm: add lpass resource mgr on automotive msm8996" 2018-05-27 09:11:14 -07:00
Linux Build Service Account
fd10e25d18 Merge "defconfig: msm: enable Sensor DSP framework" 2018-05-27 09:11:11 -07:00
Linux Build Service Account
b746664418 Merge "msm: ipa: fix to not allow NAT DMA command without device initialization" 2018-05-27 02:06:57 -07:00
Linux Build Service Account
10f17193d7 Merge "defconfig: msmcortex: Enable INET_UDP_DIAG" 2018-05-26 13:26:54 -07:00
Linux Build Service Account
d9f6f32dae Merge "defconfig: sdm660: Enable INET_UDP_DIAG" 2018-05-26 13:26:53 -07:00
Linux Build Service Account
7879aadfcc Merge "asoc: msm8998: Add configuration for adaptive bitrate." 2018-05-26 13:26:51 -07:00
Mohammed Javid
333b7dec60 msm: ipa: fix to not allow NAT DMA command without device initialization
Without NAT device initialization sending NAT DMA
commands leads to XPU violation. Added checks to
verify device initialized or not before sending DMA
command.

Change-Id: I7440abc14a81e1621573f0e2808a410d60b2458d
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-05-26 23:56:08 +05:30
Linux Build Service Account
4df80cc49c Merge "Merge android-4.4.132 (46155cc) into msm-4.4" 2018-05-25 08:58:07 -07:00
Linux Build Service Account
32645e12c3 Merge "defconfig: msm-auto: Enable PASR driver for msm8996" 2018-05-25 08:58:03 -07:00
Linux Build Service Account
2583029971 Merge "soc: qcom: pasr: Add MSM PASR driver" 2018-05-25 08:58:01 -07:00
Linux Build Service Account
2d58063eb8 Merge "usb: Use DECLARE_USB_FUNCTION() for initializing USB QDSS function driver" 2018-05-25 00:09:43 -07:00
Linux Build Service Account
c1b445a451 Merge "power: qpnp-fg-gen3: Restore recharge SOC only when not in JEITA" 2018-05-25 00:09:42 -07:00
Linux Build Service Account
0828ba03db Merge "ARM: dts: msm: remove leakage on ldo26 for msm8996" 2018-05-25 00:09:39 -07:00
Mayank Rana
5ddd6eca57 usb: Use DECLARE_USB_FUNCTION() for initializing USB QDSS function driver
USB QDSS function driver is already registered as module and having init
and exit APIs. DECLARE_USB_FUNCTION_INIT() adds additional module entries
for USB QDSS function driver. This results into seeing error as
"usb_qdss_init: failed to register diag -17" when usb_function_register()
is called 2nd time. Hence fix this issue by using DECLARE_USB_FUNCTION()
instead of DECLARE_USB_FUNCTION_INIT() API.

Change-Id: I37da484eaa44e60e331d18fa720289a2dff8ad50
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2018-05-24 17:02:00 -07:00
Subbaraman Narayanamurthy
9c572ce8ee power: qpnp-fg-gen3: Restore recharge SOC only when not in JEITA
Currently, recharge SOC is adjusted (lowered) based on the SOC
where charging terminates. It is restored back to the original
threshold when the charge termination condition goes away. This
works fine in most cases. However there are certain conditions
where the charger fluctuates between fast and taper regions along
with the charge termination status.

Handle this by checking if battery is out of JEITA as well before
restoring back the original recharge SOC threshold.

CRs-Fixed: 2213369
Change-Id: Ic64151ddbbff09c26d6ebfcd3e6d4e70e0be8c9d
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2018-05-24 13:14:29 -07:00
Linux Build Service Account
45c4f7d22f Merge "ASoC: msm: Modify buf size check to prevent OOB error" 2018-05-24 02:46:45 -07:00
Linux Build Service Account
25405b771e Merge "drm/msm : check buffer size before writing to user buffer" 2018-05-24 02:46:44 -07:00
Linux Build Service Account
8696c16cbb Merge "drm/msm/sde: fix array overflow" 2018-05-24 02:46:43 -07:00
Linux Build Service Account
3ff5bbb593 Merge "fb: msm_dba: disable timing generator correctly during suspend" 2018-05-24 02:46:42 -07:00
Linux Build Service Account
f485daa540 Merge "ARM: dts: msm: remove modem region reserved on APQ8096 ADP" 2018-05-24 02:46:41 -07:00
Linux Build Service Account
2ed9c4ea73 Merge "msm: camera: Fix for Possible information leak issue" 2018-05-24 02:46:40 -07:00
Linux Build Service Account
b2798d39f3 Merge "ARM: dts: msm: Configure irq flag for blsp_uart2 in 8996 gvm" 2018-05-24 02:46:38 -07:00
Linux Build Service Account
99f9e4f8bb Merge "power: smb-lib: Allow PD enable/disable for typeC devices only" 2018-05-24 02:46:37 -07:00
Linux Build Service Account
7b7e229ed2 Merge "cfg80211: Add backport flag for user cellular base hint" 2018-05-24 02:46:35 -07:00
Linux Build Service Account
490a4fd34e Merge "cfg80211: Call reg_notifier for self managed hints conditionally" 2018-05-24 02:46:35 -07:00
Arun KS
de05cd34fe defconfig: msm-auto: Enable PASR driver for msm8996
Enable DDR self-refresh vote/unvote feature for msm8996 based
auto boards.

Change-Id: I27aa6da4de6497130b6262c3bac4d5bc8f0623e8
Signed-off-by: Arun KS <arunks@codeaurora.org>
2018-05-24 11:42:43 +05:30
Arun KS
58a8e73988 soc: qcom: pasr: Add MSM PASR driver
Partial Array Self-Refresh driver is used to interface
with rpm to vote/unvote on memory self-refresh from HLOS.

Driver listens to memory hotplug notifications and decides
to vote or unvote depending on memory online and offline.
This vote is considered by RPM to avoid self-refresh on
offlined DDR segments. And hence a reduce in power consumption.

Change-Id: Ida2b36d671c6379dc3c07258a95cf15ae07a4bc0
Signed-off-by: Arun KS <arunks@codeaurora.org>
2018-05-24 11:42:15 +05:30
Soumya Managoli
fd819b7aa3 asoc: msm8998: Add configuration for adaptive bitrate.
Add hostless front end DAI to trigger backend
configuration of BT backend dai required for
configuring BT ABR statistics. Add mixer ctrls
to independently configure TX and RX sample
rates to allow BT RX and TX backends.

Change-Id: Iac3cd5317db2653a87f106d43cfc7fe90e4f4875
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2018-05-23 22:21:52 -07:00
Linux Build Service Account
c43f38b61e Merge "msm: ipa: Fix to slab out of bounds issue" 2018-05-23 18:44:49 -07:00
Linux Build Service Account
01008184ec Merge "spmi: pmic-arb: support updating interrupt type flags" 2018-05-23 18:44:45 -07:00
Vivek Kumar
cb84e2692b ARM: dts: msm: Configure irq flag for blsp_uart2 in 8996 gvm
Configure irq flag as level high for blsp_uart2 wake-up
interrupt in msm8996 gvm.

Change-Id: I028ea5ea36da2a97c6878b763fcde1ebbbed9847
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-05-23 09:49:03 -07:00
Venkateswara Rao Tadikonda
fb94867ea4 msm: kgsl: Don't dump GPMU registers on non GPMU devices
In Snapshot path, GPMU register offsets are being dumped on all A5xx
devices. But some targets on A5xx does not have GPMU. So accessing GPMU
registers would cause device fault.
Allow the GPMU register access only on targets with GPMU.

Change-Id: I2885dbdaf1cc95f960dcfacad52d6ded1dc9ac1d
Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
2018-05-23 15:54:00 +05:30
vkakani
ad1bef8b82 ARM: dts: msm: remove leakage on ldo26 for msm8996
ssc_sensor voting the ldo26 clock causing leak
disable ssc_sensor which is not required for auto.

Change-Id: I1bc5c3c0f091ad3f7fc0d2180e1825b5019648ec
Signed-off-by: vkakani <vkakani@codeaurora.org>
2018-05-23 15:14:41 +05:30