Commit Graph

1013011 Commits

Author SHA1 Message Date
Ram Prakash Gupta
30032c94d5 scsi: ufs: Flip UFS identification bit for parrot
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>
2022-06-16 23:07:10 +05:30
Nirav Shah
427dd792cc cnss2: Add missed break statement in cnss_pci_update_fw_name
Add missed break statement in cnss_pci_update_fw_name
function.

Change-Id: I5d86b86433a65550d477ae4f1c06b2dc535b7ae9
Signed-off-by: Nirav Shah <quic_nnshah@quicinc.com>
2022-06-16 22:14:55 +05:30
qctecmdr
edfd54ff28 Merge "driver: llcc_perfmon: Add ADDR_MASK filter" 2022-06-16 06:59:12 -07:00
qctecmdr
08e23fe304 Merge "soc: qcom: spcom: spcom_ioctl_handle_get_message fix NULL pointer channel" 2022-06-16 06:59:11 -07:00
qctecmdr
6ce69869a2 Merge "net: qrtr: Use xa_load in qrtr_get_service_id" 2022-06-16 06:59:11 -07:00
qctecmdr
8dea9f6f44 Merge "modules.blocklist: Add blocklist for NEO LE" 2022-06-16 06:59:11 -07:00
qctecmdr
643cbe3210 Merge "icnss2: Report thermal status only when PMIC is on" 2022-06-16 06:59:09 -07:00
Madhvapathi Sriram
88135f43cd icnss2: Report thermal status only when PMIC is on
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>
2022-06-16 02:12:54 -07:00
Kamati Srinivas
4653398e31 defconfig: Enable RTB config for anorak
Enable RTB and dependent configs for anorak.

Change-Id: Ib740068484ca9a4dcd84717c8c3b9b5cf11ebba8
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2022-06-16 13:37:30 +05:30
qctecmdr
10a9f2558c Merge "drivers: dcvs: pmu_lib: Fix circular locking dependency" 2022-06-16 00:57:52 -07:00
qctecmdr
486b78517b Merge "arm64: defconfig: Enable HWSPINLOCK and PDC configs for Anorak" 2022-06-16 00:57:52 -07:00
qctecmdr
db4405a5ae Merge "drivers: remoteproc: Add support for remoteproc for anorak" 2022-06-16 00:57:51 -07:00
qctecmdr
6e29e22aa4 Merge "serial: msm_geni_serial: WAR for spurious wakeup interrupts" 2022-06-15 12:45:32 -07:00
qctecmdr
0f67d6536f Merge "icnss2: Modify procedure for GPIO based PON control" 2022-06-15 09:37:27 -07:00
grandhir
fbd3e2d123 driver: llcc_perfmon: Add ADDR_MASK filter
Add ADDR_MASK filter changes in llcc perfmon driver.

Change-Id: Idcfe65dc82382a0dcf15dc8bf7edc4f2be59949a
Signed-off-by: grandhir <quic_grandhir@quicinc.com>
2022-06-15 21:40:08 +05:30
qctecmdr
5965553dcf Merge "icnss2: Add ASSERT if fw ready got timed out" 2022-06-15 05:54:17 -07:00
qctecmdr
f8a47d8c41 Merge "spi: spi-msm-geni: disable timeout offset for spi slave" 2022-06-15 05:54:17 -07:00
qctecmdr
0580529f3a Merge "touch: goodix: add check to fix NULL pointer dereference" 2022-06-15 05:54:17 -07:00
qctecmdr
27e4a79ad9 Merge "Fix FM slimbus channel and port configuration" 2022-06-15 03:14:47 -07:00
qctecmdr
803399135a Merge "msm: kgsl: Fix static checker issue" 2022-06-15 03:14:46 -07:00
qctecmdr
7a2a889cb4 Merge "drivers: misc: rtimd: cleaning Raontech driver changes" 2022-06-15 03:14:46 -07:00
qctecmdr
1d52f7bde7 Merge "cnss2: loads different fw binary per running mode" 2022-06-15 03:14:46 -07:00
qctecmdr
a64b5b40af Merge "usb: dwc3: Set maxpacket_limit as 1024 for gadget_init endpoints" 2022-06-15 03:14:45 -07:00
qctecmdr
e4ce018dd4 Merge "msm: kgsl: Ignore pending_free flag for process reclaim" 2022-06-15 03:14:45 -07:00
qctecmdr
95c007964e Merge "soc: qcom: Add support for EMMC storage type" 2022-06-15 03:14:44 -07:00
qctecmdr
4d8f93e321 Merge "defconfig: Enable display and debug clock controllers for ANORAK" 2022-06-15 03:14:44 -07:00
Vamsi Krishna Gattupalli
7f73868533 msm: ADSPRPC: Restrict untrusted applications from attaching to GuestOS
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>
2022-06-15 12:55:46 +05:30
Linyu Yuan
13d5012775 usb: nb7vpq904m: support override orientation
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>
2022-06-15 14:45:13 +08:00
Jaskaran Singh
28961ce51f defconfig: Enable CONFIG_DMABUF_SYSFS_STATS for XR
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>
2022-06-15 11:44:01 +05:30
Anand Tarakh
4747b7a33b touch: goodix: add check to fix NULL pointer dereference
Added NULL pointer check to fix NULL pointer dereference.

Change-Id: I169b608737f2e7293a2583acfd5422498f8daeeb
Signed-off-by: Anand Tarakh <quic_atarakh@quicinc.com>
2022-06-14 21:07:26 -07:00
Ashay Jaiswal
2ea7d635a5 sched: walt: update newidle balancing
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>
2022-06-14 23:31:13 +05:30
Visweswara Tanuku
4a5ffcd382 serial: msm_geni_serial: WAR for spurious wakeup interrupts
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>
2022-06-14 09:07:12 -07:00
Viken Dadhaniya
71c3e01b74 spi: spi-msm-geni: disable timeout offset for spi slave
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>
2022-06-14 20:49:37 +05:30
Sreenad Menon
060fe1f9c6 gunyah: virtio: Check for valid config_size in ioctl
Check for valid config_size in GET_DRIVER_CONFIG_DATA ioctl.

Change-Id: I22b688f465e131a4f3894232a1846212f3358e83
Signed-off-by: Sreenad Menon <quic_sreemeno@quicinc.com>
2022-06-14 16:44:38 +05:30
Pranav Patel
e23ec8c8ac msm: kgsl: Enable BCL only after first boot is done
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>
2022-06-14 16:22:42 +05:30
Ram Prakash Gupta
4f330bf60e phy: ufs: Update cape ufs phy as per post-sil hsr V8
Update cape ufs phy setting as per latest V8 hsr update.

Change-Id: I733a66887fafa95628f71f3ba0e8361909231ae5
Signed-off-by: Ram Prakash Gupta <quic_rampraka@quicinc.com>
2022-06-14 15:09:38 +05:30
Santosh Dronamraju
e68bc5f69d soc: qcom: Add support for EMMC storage type
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>
2022-06-14 02:25:50 -07:00
Amrit Anand
1400301be9 modules.blocklist: Add blocklist for NEO LE
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>
2022-06-14 12:26:46 +05:30
Naman Padhiar
505bbb38f6 icnss2: Add ASSERT if fw ready got timed out
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>
2022-06-14 12:08:35 +05:30
Kai Liu
2a55cfcec1 cnss2: loads different fw binary per running mode
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>
2022-06-14 09:08:17 +05:30
Madhvapathi Sriram
2bbf25d28d icnss2: Modify procedure for GPIO based PON control
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>
2022-06-13 15:24:16 +05:30
Rohith Kollalsi
f7b724a412 usb: dwc3: Set maxpacket_limit as 1024 for gadget_init endpoints
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>
2022-06-13 14:37:31 +05:30
Kashish Jain
3e0b2eda6f drivers: misc: rtimd: cleaning Raontech driver changes
Cleaning Raontech driver changes.

Change-Id: I307a8b9e3887c558f5a9d6d9675c569b5f7a440a
Signed-off-by: Kashish Jain <quic_kashjain@quicinc.com>
2022-06-13 13:21:05 +05:30
Satish Kumar Kodishala
7a389bde0e Fix FM slimbus channel and port configuration
Fix FM slimbus channel and port configuration

CRs-Fixed: 3219117
Change-Id: I3f8f5536a2d8a6cae0e0764ef4e2d6e4fc17cf7d
Signed-off-by: Satish Kumar Kodishala <quic_skodisha@quicinc.com>
2022-06-13 00:42:44 -07:00
qctecmdr
8c5d9aae60 Merge "defconfig: Enable CONFIG_CMDLINE_EXTEND config for XR" 2022-06-12 20:41:35 -07:00
qctecmdr
930425e3d0 Merge "arm64: config: Add tzlog config for neo la" 2022-06-12 02:04:29 -07:00
qctecmdr
4cacc1c335 Merge "mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC" 2022-06-10 12:03:22 -07:00
qctecmdr
bca39ceb33 Merge "gunyah: virtio: Fix race between close_vb_dev and mmio_init" 2022-06-10 12:03:21 -07:00
qctecmdr
17e8e30cca Merge "driver: llcc_perfmon: Add perfmon filter changes" 2022-06-10 12:03:21 -07:00
qctecmdr
1522b16b3e Merge "remoteproc: qcom: pas: Rename subsystem minidump elf name" 2022-06-10 12:03:20 -07:00