FIFO_REAL_TIME_FILL_STATUS_MASK is different for haptics HW
version V3. Update it.
Change-Id: Ida8326d89678af34ae2c3a35164ae1a7ad5f6b7b
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
The function pil_clear_segment should be called only
when S2 mapping is success. So update clear_fw_region
accordingly.
Change-Id: Ie5bcf5b322ce347b08a575d18b7de3226027af91
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Existing api msm_pcie_write_reg_field() calls find_next_bit()
and results in a KASAN out of bounds error for taking in
the first parameter by typecasting as unsigned long type.
To avoid the KASAN error use __ffs() instead.
Change-Id: I9e155248e1233bbcb04ac5e2d1d6d512b3fa5387
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Restoring CMDQ_SEND_STATUS_TRIGGER field after XO or hardware reset can
lead to CMD13 being send as soon as CQE is turned on which can lead to
below unnecessary warnings followed by register dumps.
[ 82.554113] mmc: sdhci_cmd_irq: Got command interrupt 0x00000001 even
though no command operation was in progress.
Unset that bit before restoring CMDQ_VENDOR_SPECIFIC_CFG register.
Change-Id: Id5961ecdd68b0d7cbc1c48c116f9e862a1dfc573
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
For low temperature (< -25 degrees) WLAN FW need to keep
delay between WLAN EN low and HIGH. Read WLAN_EN delay
set by "wlan_en_delay" sysfs file and send it through
Host Cap request. Increase MODE_ON and TARGET_CAP QMI request
timeout to WLAN_EN delay value to accommodate delay kept
in FW for WCN6750.
Change-Id: Ic52cc94183984200f4cc3d893756bf7abeddad6d
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Enable TLB conflict handling for QGKI image of holi.
Change-Id: Idbb5476c2495add61c3c659494c60f368a2e3e42
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
Add TLB conflict fault handler and try to handle
gracefully. Check whether TLB fault can be handled
by EL2 and cause panic if EL2 is not able to handle.
Change-Id: I276ec5413411932bd8a67ed4c85ebbf66f4affcf
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
It is possible that userspace can request import for secure dma buffer
that is not accessible to CP_PIXEL. There is no need to import such
buffers in KGSL. Go through the list of VMIDs for secure dma buffer
and fail import if it is not accessible to CP_PIXEL.
Change-Id: I7584ad00a964c9c40ac4c0c9b1c83a21c03c48fd
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
Add proper debug logs to print return value of subsytem_get.
Change-Id: I5e210e7b32fe35ecf9688a84776385ba6e382df8
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Dump stack in case of SSR failure when ignore_ssr_failure
flag is enabled for wpss on Yupik platform.
Change-Id: I98fd294b12fe7bd9b52deb15edb8d83a5113acd8
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
Add vlan id field for ip collison struct to
handle mdpn.
Change-Id: Idf593a55781fdc727fb33924c29d1387b6489625
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
Setting mpm_wake_ctl after enabling irq at parent PDC/GIC may cause
a false irq sometimes. Move setting mpm_wake_ctl during .irq_enable
before enabling irq at parent PDC/GIC. Since first irq is cleared
and then enabled it may clear any false irq received and pending at
GIC before enabling same.
While at this also add missing flags IRQCHIP_MASK_ON_SUSPEND and
IRQCHIP_SET_TYPE_MASKED for msmgpio irqchip.
Change-Id: I4801dd984ae5607f87045abc233dfd2d76fcadd1
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Add four 8k, two 32k, six 64k, and one 128k prealloc slots
to accommodate memory requirements for various WLAN host DP
structures.
CRs-Fixed: 3007544
Change-Id: I6f8fcb46ad84016d9ccc5ca22a9ee9d74d8bbfea
Signed-off-by: Yeshwanth Sriram Guntuka <ysriramg@codeaurora.org>
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Chane the default state of QPS615 driver and update
description.
Change-Id: I87832f17898f9a57ad77959cb4eb7a0620cf3af3
Signed-off-by: Manuel Gomez <gomez@codeaurora.org>
Add code to retry mhi fast suspend if mhi layer has pending
packets and returns EBUSY.
Change-Id: Ifb9ee8371c092db3fd7bece2de1e7166ac6f303f
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
* refs/heads/tmp-8eb8412:
ANDROID: ABI: update allowed list for galaxy
ANDROID: ABI: Update allowed list for QCOM
ANDROID: GKI: Add KMI symbol list for Sony Android Walkman products
ANDROID: ABI: Update allowed list for QCOM
Change-Id: I2644f48f4c0e94e91def6a35296321c12e1eaca5
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
Release g_smcinvoke_lock before sleep, to avoid
LLKD crash for holding lock for longer period of
time if TZ is busy.
Change-Id: Ie9523bc81f3aa03497836f06180c9d3f8a8efc9f
Signed-off-by: Monika Singh <monising@codeaurora.org>
Do not include standard key support while creating a keyslot
manager because current implementation does not support standard
keys with hardware key manager. This leads to per file key test
failure, which tries generate standard keys and performs operations
using it. Per file keys should by default use fallback mechanism in
block crypto.
Test: Verified bootup and vts_kernel_encryption_test. Also verified
by customers.
Change-Id: I4aaf532028374e2729868a82e970572e6e6985e0
Signed-off-by: Vaibhav Agrawal <vagrawa@codeaurora.org>