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>
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>
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>
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>
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>
Enable secure context bank of smmu domain to facilitate the
secure display usecases.
Change-Id: I2dea0b7d7a57558070a3f9b726d8e2d3d541521b
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
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>
All guest VMs use the same HAB id for communication
with QCPE.
Change-Id: I01ed16376730276f13a734b82d387b1d30d14434
Signed-off-by: Amit Blay <ablay@codeaurora.org>
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
Fix place_marker function definition when MSM_BOOT_TIMER_MARKER is
disabled.
Change-Id: I201ea0a2b78e310016f847c615254f6ee8273b6f
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
defconfigs which are required for USB Passthrough
in LA-GVM are enabled.
Change-Id: I20805eb4ff082e69ac47ea16165004935e3a7b4a
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
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>
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>
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>
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>
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>
This warning is causing unnecessary triage for any test reports.
Change-Id: Iec47d217264e1b98b1fbe62c0ba9ef47aa41af9c
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
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>