Commit graph

595309 commits

Author SHA1 Message Date
Linux Build Service Account
74a7a32d3e Merge "defconfig: msm: Enable CONFIG_INET_LRO" 2017-12-12 19:00:44 -08:00
Linux Build Service Account
d3c7ac7bed Merge "ARM: dts: msm: Set values for MDM shutdown and reset on msm8996 CV2X" 2017-12-11 22:33:57 -08:00
Linux Build Service Account
d9c1b8a6cd Merge "defconfig: arm64: fsm: Modify configs for FSM" 2017-12-11 22:33:56 -08:00
Linux Build Service Account
4b6e73e162 Merge "pwm: pwm-qpnp: Enable glitch removal after PWM enabled" 2017-12-11 22:33:54 -08:00
Linux Build Service Account
ffd7c808d4 Merge "clk: msm: Add virtual clock frontend driver" 2017-12-11 22:33:53 -08:00
Linux Build Service Account
f9b45a286f Merge "usb: pd: Send pending VDM message upon entering SNK/SRC_Ready" 2017-12-11 22:33:52 -08:00
Yasir Malik
5823aba1e3 defconfig: arm64: fsm: Modify configs for FSM
* Enable POSIX message queues
* Disable ANDROID_PARANOID_NETWORK
* Disable IPC_ROUTER_SECURITY
* Disable unnecessary drivers:
  - Graphics
  - Sound
  - Bluetooth
  - Wireless LAN
  - Most input devices

Change-Id: I134e94ad21ed2d9c8f247b5c1523510cdd9ecb0a
CRs-Fixed: 2130054
Acked-by: Jennifer L. Zenner <jzenner@qti.qualcomm.com>
Signed-off-by: Yasir Malik <ymalik@codeaurora.org>
2017-12-08 15:41:25 -05:00
Linux Build Service Account
aaf4841e27 Merge "defconfig: Add android-verity support for system" 2017-12-08 02:17:02 -08:00
Linux Build Service Account
31db7c5faa Merge "ARM: dts: msm: Add NTN_CLK_SYNC pin for msm8996 agave and auto cdp board" 2017-12-08 02:17:01 -08:00
Linux Build Service Account
4d55e87218 Merge "ARM: dts: msm: Disable PCIe L1 and L1ss for msm8996 CV2X" 2017-12-08 02:17:00 -08:00
Linux Build Service Account
4611ba9cda Merge "diag: Free the memory in diagfwd_peripheral_exit()" 2017-12-08 02:16:59 -08:00
Zhiqiang Tu
292371d2c1 clk: msm: Add virtual clock frontend driver
It is virtual clock frontend driver which communicates
with host backend clock service/driver over HABMM. It
only supports msm8996 virtual platform currently.

Change-Id: Icfee28c301fa4a583b45e5d364432535643eb9b7
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-12-08 15:14:17 +08:00
Jack Pham
e5f8604fdb usb: pd: Send pending VDM message upon entering SNK/SRC_Ready
Entering SNK_Ready or SRC_Ready state from usbpd_set_state()
is somewhat terminal as it is the end state of a contract
negotiation. If there was a previous pending VDM message
waiting to be sent, for example the start of a Discovery which
was queued prior to a PR Swap, it would not get sent. Check for
this and enqueue usbpd_sm once again so that it could be sent
out. Otherwise, start the Discovery process in case we are
in DFP mode, and do that for SNK_Ready as well.

Change-Id: I4516ccb0deec8cdabdb62d539d7d2b66dc23f1ee
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-12-07 22:38:23 -08:00
Binoy Jayan
7c1908b242 defconfig: Add android-verity support for system
Add android-verity support so that the system image is verified by
the kernel during the boot time. Also set the x509 key file to be
used for verification.

Change-Id: I17ffc2944ef9af556d9fdc05d62734de384dc27c
Signed-off-by: Binoy Jayan <bjayan@codeaurora.org>
2017-12-07 20:23:58 -08:00
Poddar, Siddarth
5deec16a13 defconfig: msm: Enable CONFIG_INET_LRO
WLAN module supports LRO, so enable CONFIG_INET_LRO for SDM660.
Remove it from defconfig to enable as Kconfig has default set to enable.

Change-Id: I5681c47caa18931ab1a3ea2b09c3a1f9abc38777
CRs-Fixed: 2144533
Signed-off-by: Poddar Siddarth <siddpodd@codeaurora.org>
2017-12-07 05:01:34 -08:00
Zou Shunxiang
92d3ea4649 ARM: dts: msm: Add NTN_CLK_SYNC pin for msm8996 agave and auto cdp board
NTN_CLK_SYNC line should be set low before bringing Neutrino out
of reset for msm8996 agave board and auto CDP board.

Change-Id: I7b213a7dad2dbdedd3fe42a88972dc36cbf2e5b5
Signed-off-by: Zou Shunxiang <shunxian@codeaurora.org>
2017-12-07 01:15:41 -08:00
Linux Build Service Account
7099c46a66 Merge "wcnss: fix the potential buffer overflow in wlan ctrl data process" 2017-12-06 07:00:32 -08:00
Linux Build Service Account
69aa4ae8d7 Merge "icnss: Reject driver reinit request when FW is down" 2017-12-06 07:00:31 -08:00
Linux Build Service Account
cd655d0854 Merge "Revert "DRM: SDE: Update the hdmi bridge to handle HPD clock"" 2017-12-06 07:00:30 -08:00
Linux Build Service Account
99c39f9b50 Merge "ath10k: enable gtk offload for the wcn3990 wlan module" 2017-12-06 07:00:29 -08:00
Linux Build Service Account
152bcf351e Merge "ANDROID: sdcardfs: Make WARN_RATELIMIT to pr_debug" 2017-12-06 07:00:28 -08:00
Linux Build Service Account
8bec3c2383 Merge "drm/msm: Add API support for getting GPU hang timeout" 2017-12-06 07:00:27 -08:00
Linux Build Service Account
e70f1f9a5c Merge "drm/msm: Save buffer iova's for rd-dump" 2017-12-06 07:00:26 -08:00
Sreelakshmi Gownipalli
aed8e81ec6 diag: Free the memory in diagfwd_peripheral_exit()
In diagfwd_peripheral_exit() free the memory associated with
early_init_info.

Change-Id: I862b6d806d67dad38316f1608827a4bf6f5a691f
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2017-12-05 23:36:47 -08:00
Gustavo Solaira
b455f181be ARM: dts: msm: Disable PCIe L1 and L1ss for msm8996 CV2X
Disable L1 and L1ss PCIe low power modes for msm8996 CV2X
since it causes problems with WLAN (RC0) and not supported
by Neutrino Ethernet (RC1).

Change-Id: I7d9358a2cb5921f5e5d5da858faec553197063ee
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-12-05 21:36:16 -08:00
Gustavo Solaira
18d2bfed45 ARM: dts: msm: Set values for MDM shutdown and reset on msm8996 CV2X
Set properties of the esoc driver for MDM shutdown and reset
time intervals for msm8996 CV2X.

Change-Id: Ic86f6b441b369a3ea4845425930724d5e6fed149
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-12-05 21:28:11 -08:00
Gustavo Solaira
a026858db0 esoc: Convert timeout for reset and shutdown to device tree option
Convert the timeout and shutdown intervals to be read from
the device tree and set default values in case no option is
provided.

Change-Id: I90efb5910ddf1667db5cde79f46a4a94da1668ec
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-12-05 21:28:06 -08:00
Linux Build Service Account
2289a63276 Merge "defconfig: msm: add touchscreen config for gvm" 2017-12-05 18:52:34 -08:00
Yuanyuan Liu
8a23ecb418 icnss: Reject driver reinit request when FW is down
Reject driver reinit request when WLAN FW is down as FW
is in a bad state and can't communicate with host driver.

CRs-Fixed: 2153375
Change-Id: Id16cbfc05984091d61b18c98f7397baa871f82b4
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2017-12-05 10:19:25 -08:00
Linux Build Service Account
4f8f073776 Merge "USB: CCID: Select TPDU level exchanges for CCID communication" 2017-12-05 09:35:14 -08:00
Linux Build Service Account
912c88baa7 Merge "power: smb1351-charger: Fix the float voltage unit passed to its set method" 2017-12-05 09:35:12 -08:00
Rahul Sharma
4bdd420c4c Revert "DRM: SDE: Update the hdmi bridge to handle HPD clock"
This reverts commit b31584ba68.

Change-Id: I8c58fb3124b946224028df75e4963f9331ac2ec3
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-12-05 09:27:37 -08:00
Sarada Prasanna Garnayak
b36f40c0d8 ath10k: enable gtk offload for the wcn3990 wlan module
Register ops to store the gtk rekey data from the wlan
utility(wpa_supplicant) and configure the GTK offload
during wow suspend.

If the wlan module in suspend state with wowlan mode
this feature adds support to prevent the device to wakeup
from sleep state on gtk rekey failure in wlan firmware.

CRs-Fixed: 2150959
Change-Id: I968acfe65bd082d37c855f89d4460a09c055ffd8
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-12-05 15:40:00 +05:30
Sarada Prasanna Garnayak
f0e1c2d499 wcnss: fix the potential buffer overflow in wlan ctrl data process
Validate the userspace wlan control cmd data, info and length
before copy into wcnss driver buffer. Avoid unnecessary string
manipulation and use kernel defined format specifier to print
wlan MAC address.

CRs-Fixed: 2149331
Change-Id: Ib59fdcc0e6b84cdd73972dcb62b2c05e4741f5f7
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-12-05 00:44:46 -08:00
Ritesh Harjani
3b15dc0f3c ANDROID: sdcardfs: Make WARN_RATELIMIT to pr_debug
With WARN_RATELIMIT lot of warning messages are
sometimes causing watchdog bite or spinlock lockup
(due to continuous logging). Thus change it to
pr_debug.

Change-Id: I2f0670bd20a39d289c105f9896e6fc509fb87de6
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
2017-12-05 13:32:16 +05:30
Yimin Peng
83062409e9 defconfig: msm: add touchscreen config for gvm
With USB Host pass through, touchscreen is available on gvm.

Change-Id: I129f2cc65e5d11a6d69e7afde13356a3bee98df6
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2017-12-04 23:43:49 -08:00
Vijayavardhan Vennapusa
048d29e723 USB: CCID: Select TPDU level exchanges for CCID communication
Current CCID daemon is supporting TPDU level exhanges for CCID
communication. Hence report same in dwFeatures field of CCID class
descriptor.

Change-Id: If66a54bd74c76ccb417b202b224de5c79e9dfa05
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-12-04 20:48:05 -08:00
Linux Build Service Account
06b749683b Merge "icnss: Reject register_driver request when WLAN FW is down" 2017-12-04 15:19:50 -08:00
Linux Build Service Account
aae9190964 Merge "ARM: dts: msm: mount system & vendor partitions in early init for 8996" 2017-12-04 15:19:48 -08:00
Linux Build Service Account
bb863df68a Merge "msm: ADSPRPC: use access_ok to validate pointers" 2017-12-04 15:19:47 -08:00
Linux Build Service Account
d033c287ec Merge "msm: ipa3: Fix to set QMB on USB ep" 2017-12-04 15:19:46 -08:00
Yuanyuan Liu
554899595c icnss: Reject register_driver request when WLAN FW is down
Reject regsiter_driver request when WLAN FW is already down as
WLAN FW is in a bad state and can't communicate with host driver.

Change-Id: I57ba839101f5c0a361e74060b18b45f87c71634c
CRs-Fixed: 2151726
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2017-12-04 11:18:42 -08:00
Linux Build Service Account
9d94fcc769 Merge "ARM: dts: msm: Remove adv7533 power commands for 600p DSI panel" 2017-12-04 06:17:02 -08:00
Linux Build Service Account
bcc6bc7c9d Merge "usb: gadget: f_fs: Fix kernel panic if use_os_string not set" 2017-12-04 06:17:01 -08:00
Linux Build Service Account
541f2b13c3 Merge "msm: ADSPRPC: validate context pointer with magic number" 2017-12-04 06:17:00 -08:00
Mohammed Javid
211e211e71 msm: ipa3: Fix to set QMB on USB ep
Fix to config USB end point with QMB.

Change-Id: I2d4691024aa4fc9856c9c4213491a76a1033ae04
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-12-04 02:36:55 -08:00
c_mtharu
b3c277dac5 msm: ADSPRPC: use access_ok to validate pointers
Check the validity of the pointer in user space that you intend to
access. access_ok function simply checks that the address is likely
in user space, not in the kernel.

Change-Id: I936f73a2c2029f9e7ca12cc8fc06d0698e6710c0
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-12-04 02:34:54 -08:00
Satya Durga Srinivasu Prabhala
d88361c224 ARM: dts: msm: mount system & vendor partitions in early init for 8996
Add support to mount system & vendor partitions during early init
on msm8996.

Change-Id: I6b05edb8d17f192e1d8d9d5e1c0c33a3d1a7c441
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-12-04 00:27:16 -08:00
Linux Build Service Account
501a8de7b6 Merge "qseecom: fix a race condition when TA is blocked" 2017-12-03 09:32:20 -08:00
Linux Build Service Account
96081867a4 Merge "qseecom: fix a common lib loading issue" 2017-12-03 09:32:19 -08:00