Commit graph

598225 commits

Author SHA1 Message Date
Pradeep P V K
7b76e6a40f mmc: core: Donot fall back to lower speed modes for tuning errors
CRC errors are expected during tuning. MMC driver tries to fallback
to lower speed mode if it encounters consecutive CRC errors.
It should ignore CRC errors observed during tuning and shouldn't
try to fallback.

There is a check present for ignoring CRC errors for SD card
tuning commands. A new check has been added to ignore CRC errors
for eMMC tuning command as well.

Change-Id: Ic2bfa4f6a883fe30fdee85cf2e26779f3e906824
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
2018-04-18 22:53:08 -07:00
Linux Build Service Account
04eb780a68 Merge "ARM: dts: msm: enable secure smmu domain on msm8996" 2018-04-18 04:50:58 -07:00
Linux Build Service Account
f838d89392 Merge "mmc: card: Service RPMB requests with priority over other requests" 2018-04-18 04:50:57 -07:00
Linux Build Service Account
315e769672 Merge "voice_svc: Avoid double free in voice_svc driver" 2018-04-18 04:50:55 -07:00
Linux Build Service Account
1b5da171e8 Merge "init/main: Put kernel end place_marker" 2018-04-18 04:50:54 -07:00
Linux Build Service Account
12fee561b0 Merge "mmc: card: Call blk_requeue_request() with queue-lock held" 2018-04-18 04:50:53 -07:00
Linux Build Service Account
4285c64373 Merge "v4l2-core: Remove unhelpful warnings" 2018-04-18 04:50:52 -07:00
Linux Build Service Account
db005c458c Merge "mm-camera2:isp2: Release buffer lock after use" 2018-04-16 22:39:43 -07:00
Linux Build Service Account
289dfc65ae Merge "ARM: dts: msm: Update client-id for sde_kms_hyp" 2018-04-16 22:39:41 -07:00
Linux Build Service Account
f9b6081933 Merge "soc: qcom: scm: Support single HAB id for QCPE" 2018-04-16 22:39:40 -07:00
Vivek Kumar
a639d14d31 init/main: Put kernel end place_marker
Put kernel end place_marker for all targets.
This saves the kernel end time for targets which
enable MSM_BOOT_TIME_MARKER.

Change-Id: Iad635e971bdd341328d40681b7acf8a6f43f288d
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-04-16 11:06:39 -07:00
Veerabhadrarao Badiganti
b8e9f7e011 mmc: card: Call blk_requeue_request() with queue-lock held
blk_requeue_request() must be called with queue lock held.

If it is called without this lock then there is a chance that block-
queue would be accessed simultaneously by more than one entity (say,
request completion & re-queue) and both can mess-up the queue
pointers which can result in unexpected results.

Change-Id: If81711ecf65a185f4c8dc19b8568621460c93db8
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2018-04-16 08:07:45 -07:00
Veerabhadrarao Badiganti
d3643ee7ff mmc: card: Service RPMB requests with priority over other requests
RPMB requests are initiated from TZ and TZ gets blocked from servicing
other tasks/requests till it completes RPMB request. Delays in
servicing RPMB request may result in system-level stability/performance
issues.

Below is the issue observed:
1. TZ rpmb API is called to update TA rollback information. TZ forwards
   the request to HLOS mmc driver via rpmb-service.
2. mmc driver services the rpmb requests only after finishing the
   outstanding IO requests.
3. As part of handling an IO requests, mmc driver makes ICE call
   for getting encryption keys, which in-turn makes call to TZ.
4. Since ICE driver finds TZ is busy/blocked it returns ice request
   with -EBUSY error.
5. The failed requests with -EBUSY error would re-queued back.
6. The IO requests keep getting failed and keep getting re-queued
   and mmc driver never gets a chance to service rpmb requests.
7. This results in a deadlock senario.

So RPMB requests need to be serviced immediately.
If there is any outstanding RPMB request, then mmc driver should stop
pulling any more new requests. The moment its done with serving
ongoing requests, It should start processing RPMB request.

Change-Id: I2d0f98a11716ef946551cc1a967e70a38e91d6ac
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2018-04-16 20:28:51 +05:30
Meera Gande
bf3dafc5ed mm-camera2:isp2: Release buffer lock after use
At start axi stream, we are acquiring the
buffer lock and releasing after completing
the stream configuration operations. In case
of live snapshot,this is causing the buffer
operations to halt and leading to sof freeze.

Change-Id: I7f57c8befc85c105a5690ac71e0276f42b9f1929
Signed-off-by: Meera Gande <mgande@codeaurora.org>
2018-04-16 11:42:44 +05:30
Linux Build Service Account
49df0ab20d Merge "soc: qcom: boot_stats: Fix place_marker API" 2018-04-15 22:22:34 -07:00
Linux Build Service Account
b813c182eb Merge "ath10k: deinit wow config in driver unload" 2018-04-15 22:22:33 -07:00
Rahul Sharma
ed3f93ba0b ARM: dts: msm: enable secure smmu domain on msm8996
Enable secure context bank of smmu domain to facilitate the
secure display usecases.

Change-Id: I2dea0b7d7a57558070a3f9b726d8e2d3d541521b
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2018-04-15 21:31:22 -07:00
Vivek Kumar
c5a90e7f3a ARM: dts: msm: Update client-id for sde_kms_hyp
Update Client-id for sde_kms_hyp node in LA-GVM.
This is required for MTMD feature.

Change-Id: I97c4c55b94173f4cc08d739974a11b9dd3a80ea3
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-04-16 07:15:51 +05:30
Amit Blay
e51ceb3c2e soc: qcom: scm: Support single HAB id for QCPE
All guest VMs use the same HAB id for communication
with QCPE.

Change-Id: I01ed16376730276f13a734b82d387b1d30d14434
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2018-04-15 07:14:14 -07:00
Linux Build Service Account
1920040bec Merge "defconfig: sdm660: Enable cnss_genl driver compilation" 2018-04-15 01:27:54 -07:00
Linux Build Service Account
18b279d0c7 Merge "defconfig: msmcortex_mediabox : Enable docker" 2018-04-15 01:27:41 -07:00
Linux Build Service Account
b85aa29d18 Merge "defconfig: Add USB pass-through related defconfig" 2018-04-15 01:27:39 -07:00
Linux Build Service Account
fb048ed53e Merge "ARM: dts: msm: Enable PMIC-GPIO clients for msm8996 GVM" 2018-04-14 13:44:49 -07:00
Linux Build Service Account
03da9df1d7 Merge "ARM: dts: msm: Add USB devices for msm8996 GVM" 2018-04-14 13:44:47 -07:00
Srinivas Dasari
07a0d9c823 defconfig: sdm660: Enable cnss_genl driver compilation
cnss_genl driver creates a netlink family and multicast groups
to facilitate communication between WLAN driver and userspace.

Define flag CONFIG_CNSS_GENL and set to 'y'(yes) to enable
compilation of the cnss_genl driver inorder to use the same

Change-Id: Ideb929ad36fd0dde38a10741a6bc288fa1949d8e
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
CRs-Fixed: 2124466
2018-04-13 05:17:48 -07:00
Linux Build Service Account
071d16fa62 Merge "defconfig: msm-auto: Make hotplug section size as 256 MB" 2018-04-13 04:52:23 -07:00
Linux Build Service Account
991252149c Merge "net: ipc_router: Fix buffer overflow during memcpy" 2018-04-13 04:52:22 -07:00
Linux Build Service Account
0d75fa8af2 Merge "msm: camera: Framedrop notification" 2018-04-13 04:52:20 -07:00
Linux Build Service Account
4ca97c41f1 Merge "ANDROID: fuse: Add null terminator to path in canonical path to avoid issue" 2018-04-13 04:52:18 -07:00
Linux Build Service Account
7c5a58c945 Merge "msm: ais: jpegdma: Fix for ASAN issues in jpegdma module" 2018-04-13 04:52:17 -07:00
Linux Build Service Account
6950f08dc3 Merge "leds: qpnp-flash-v2: Fix HW_STROBE configuration" 2018-04-13 04:52:15 -07:00
Vivek Kumar
11d9efadc0 soc: qcom: boot_stats: Fix place_marker API
Fix place_marker function definition when MSM_BOOT_TIMER_MARKER is
disabled.

Change-Id: I201ea0a2b78e310016f847c615254f6ee8273b6f
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-04-13 03:50:15 -07:00
Vivek Kumar
c3e7037d3a defconfig: Add USB pass-through related defconfig
defconfigs which are required for USB Passthrough
in LA-GVM are enabled.

Change-Id: I20805eb4ff082e69ac47ea16165004935e3a7b4a
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-04-13 11:38:07 +05:30
Linux Build Service Account
9c00a6d3a8 Merge "ANDROID: uid_sys_stats: Replace tasklist lock with RCU in uid_cputime_show" 2018-04-12 18:21:55 -07:00
Linux Build Service Account
0bf17f6178 Merge "ARM: dts: msm: Allow pm_suspend in host mode for msm8996 Auto CDP" 2018-04-12 18:21:53 -07:00
Linux Build Service Account
bef554d6c9 Merge "clk: msm: Fix signal interrupt issue for virtual clock" 2018-04-12 18:21:51 -07:00
Linux Build Service Account
5c27031002 Merge "sdcardfs: Fix sdcardfs to stop creating cases-sensitive duplicate entries." 2018-04-12 18:21:49 -07:00
Linux Build Service Account
6230ae3c42 Merge "f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read" 2018-04-12 18:21:47 -07:00
Mohamed Moussa
2442b803a5 defconfig: msmcortex_mediabox : Enable docker
Enable necessary config flags for Docker

Change-Id: I32eb4ffa2cf2d2023df117bcdee96c98fa00ee53
Signed-off-by: Mohamed Moussa <mmouss@codeaurora.org>
2018-04-12 15:09:38 -07:00
Vivek Kumar
e720318c38 ARM: dts: msm: Enable PMIC-GPIO clients for msm8996 GVM
Enable PMIC-GPIO clients in la-dts file which are on SMPI bus
for msm8996 GVM.These clients use virtual spmi-arb driver.

Change-Id: I6e6da2ac77a0fffea548e777b5dba9239cf76a18
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-04-12 15:29:11 +05:30
Vivek Kumar
7d2a0a988a ARM: dts: msm: Enable blsp_uart node for msm8996 GVM
Enable blsp_uart device node for uart-passthrough in
la-gvm specific DT file for msm8996 GVM.

Change-Id: I3907e982573f3052e56fcfdd19c76822d336aa14
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-04-12 15:27:27 +05:30
Vivek Kumar
333c8e6e89 ARM: dts: msm: Add USB devices for msm8996 GVM
Add USB device for android in USB specific DT file.
Enable required devices for USB pass-through in LA
specific DT file for msm8996 GVM.

Change-Id: Ic007607dcfb2dd8ee9839ad58d451b6a98c5fb06
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-04-12 15:25:56 +05:30
Sarada Prasanna Garnayak
521e320a40 ath10k: deinit wow config in driver unload
The mac80211 support user configured wowlan enable/disable
feature using wlan utils, If the wowlan feature is not enabled
by user the mac80211 subsystem fallback to core stop instead
of wow suspend during system suspend even the wlan firmware
support wowlan feature.

So in driver load init wow and set the wlan device as a wakeup
capable device and deinit wow in driver unload.

CRs-Fixed: 2218083
Change-Id: I5ac5b6e0118f8a3dd01cfbdd706f56fa33b3e101
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2018-04-11 23:05:37 -07:00
Linux Build Service Account
2e8cbd520c Merge "USB: f_accessory: Check dev pointer before decoding ctrl request" 2018-04-11 19:18:42 -07:00
Linux Build Service Account
e718c5461b Merge "ath10k: enable neighbor solicitation offload in wow suspend" 2018-04-11 19:18:41 -07:00
Linux Build Service Account
4703302cc7 Merge "ARM: dts: msm: add qrng for gvm on msm8996" 2018-04-11 19:18:40 -07:00
Linux Build Service Account
eff7b38ee8 Merge "ais: report csid error event to user" 2018-04-11 19:18:38 -07:00
Vivek Kumar
2592d786e8 usb: msm: Add missing android-usb related documentation
This change adds the missing documentation related to
device tree bindings for android-usb functionality.

Change-Id: Iee24c0a6a333792983a5bea00adaa9a697ab70e3
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-04-11 18:07:30 -07:00
Shiju Mathew
fba9268511 v4l2-core: Remove unhelpful warnings
This warning is causing unnecessary triage for any test reports.

Change-Id: Iec47d217264e1b98b1fbe62c0ba9ef47aa41af9c
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
2018-04-11 11:41:36 -07:00
Arun KS
0e4865bff9 defconfig: msm-auto: Make hotplug section size as 256 MB
On Mojave board, hotplug-able memory size is 256 MB. This depends
on DDR configuration. Configure HOTPLUG_SIZE_BITS to match this.

Change-Id: I014be9240f665cb1754fe701b4d57cf898b5f693
Signed-off-by: Arun KS <arunks@codeaurora.org>
2018-04-11 17:48:08 +05:30