SDAM register bit value for identifying UFS 2.x/3.x
have been flipped compare to taro. Hence revert sdam
read data in driver with help of dt flag.
Change-Id: I64e378cd4f12430f4895447c25e83751dc677f85
Signed-off-by: Ram Prakash Gupta <quic_rampraka@quicinc.com>
Some platforms may depend on the status of the WLAN supply
PMIC to correctly report the themal status.
Change-Id: Iebb28c5e796dc1993f218cd74e584e08d38e0c70
Signed-off-by: Madhvapathi Sriram <quic_msriram@quicinc.com>
Untrusted application can attach to guestOS and staticPD if it can
somehow make INIT IOCTL call with ATTACH flag. This is a potential
security issue as the untrusted application can crash guestOS or
staticPD. Restrict attach to guestOS or staticPD request if request
is being made using non-secure device node.
Change-Id: I322c7b242fd0baaf1c1bce2d83b992fecb0ca593
Acked-by: Ekansh Gupta <ekangupt@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
It failed to work if override orientation from dwc3 for debug purpose,
update redriver_notify_connect() API to add more parameter to support it.
Change-Id: If9f894b813391564dc3764b40914a733e891de85
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
CONFIG_DMABUF_SYSFS_STATS provides information related to exporters of
buffers and their respective sizes on a system. Enable this config for
XR targets.
Change-Id: I9f0753555eceb5913c8c79efcd0059213edb5d5d
Signed-off-by: Jaskaran Singh <quic_jasksing@quicinc.com>
There is a case where when big cluster(Gold/Prime) is entering idle it
fails to pull task from lower cluster if lower cluster is only having a
single big task in it's runqueue.
The reason for failure is, walt skips newidle balance for above condition
if "idle_cpu" check fails for destination core and for newidle balance
destination core is entering idle (not yet idle) thus "idle_cpu" returns
false. Fix this by skipping "idle_cpu" check for new idle balancing.
Change-Id: Id973bd8a67fbfcd9d47bec9a0894b697412f2c90
Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com>
In suspend/resume scenario its observed that spurious
wakeup interrupts are received by MSM UART due to which
UART driver is injecting wake-up byte to BT, resulting
BT to crash due to unexpected wake-up byte from UART
driver.
Detect if consecutive wakeup interrupts differ by
more than 100msecs as a spurious wakeup interrupt.
Upon spurious wakeup interrupt take no action, and
ignore the spurious wakeup interrupt.
Change-Id: I345146b67f6688874c769a91c4e72d9ecfe10ac3
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Currently timeout offset is added for master and slave mode,
disabled addition of timeout offset value for slave mode to
prevent transfer failure for lower data size.
Change-Id: Ib7ebace711e69397307f07323acb68c15d424b60
Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
BCL requires that respective Central Broadcast register
be programed from TZ. This programing happens only
when zap shader firmware load is successful. Zap firmware
load can fail in boot up path, but we are setting
bcl_enabled to true before firmware load is successful.
This is not correct. BCL should be enabled only after
respective register programing is done from TZ side.
Otherwise gmu goes to error state when ACK from BCL is
expected during boot. Enable BCL only after we
successfully complete first boot to ensure that Central
Broadcast register is programed before enabling BCL.
Change-Id: I6267c943262cc0448fa77d29d5ae6e8f5cae7e9f
Signed-off-by: Pranav Patel <quic_pranavp@quicinc.com>
Add support for parsing EMMC specific crypto engine type
in crypto qti tz driver.
Test:
Device booted upto UI with File Based Encryption enabled.
Change-Id: Id6354e69dc32a2c68ba81450e8a9c0e015779f4f
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
Add initial module blocklist for NEO LE. This blocklist was copied
from Waipio.
Change-Id: I4b2d32089380bdc9915b321b8fe9172e92c8cd97
Signed-off-by: Amrit Anand <quic_amrianan@quicinc.com>
Recovery timer is used to detect FW_READY timeout(60 Sec)
during SSR/PDR recovery and assert. Same timer starts
before cold boot calibration also and expires in 15 sec
if FW_READY is not received.
Change-Id: Ie4e2a327aa4f4df49b8684f9c178b9b5f4d4fb15
Signed-off-by: Naman Padhiar <quic_npadhiar@quicinc.com>
Kiwi-v2 supports separates image for MM and FTM mode,
platform driver will load difffernt binary according to the mode
indicated by wlan driver.
If seprate binary is not there, fall back to default binary.
Change-Id: I848309440fdffd6517463e18190c03c1b7ed9269
Signed-off-by: Kai Liu <quic_kaliu@quicinc.com>
First power off and then power on the WLAN chip,
just in case for some reason the WLAN chip was in
an unknown state.
Change-Id: I5b7b7ea72c4432ab06c34e36b4628d9ebda4b72c
CRs-Fixed: 3219675
Signed-off-by: Madhvapathi Sriram <quic_msriram@quicinc.com>
GTXFIFOSIZ and GRXFIFOSIZ when read before setting run/stop bit
sometimes gives value 0. This leads to maxpacket_limit being
set as 0 for gadget_init in & out endpoint which leads to usb
enumeration failure. To fix this, set maxpacket size as 1024
for gadget_init in & out endpoint.
Change-Id: Iead435dcdf41408048068f7991084d62188167ab
Signed-off-by: Rohith Kollalsi <quic_rkollals@quicinc.com>