Do not allow q2spi transfer when port is in closed state,
restrict q2spi transfer if gsi failures are seen prior port
closure to avoid further failures.
Change-Id: If394b25feb6e2e68e58ce650522465b74c9b0b14
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
This change will clean up the unmapping of buffers in the error path
and helps in overcoming the short of buffer issues.
Also fixed the NULL pointer access issue crash
from q2spi_put_slave_to_sleep().
Corrected return value in q2spi_transfer function.
Change-Id: If95587c78ae7af915574b7c14aaf6bae575817ed
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
Signed-off-by: Jyothi Kumar Seerapu <quic_jseerapu@quicinc.com>
In multi CR case, driver processing HRF write request and waiting
for HRF flow doorbell and their is a chance that ganges can
report independent CR doorbell or doorbell with multi CRs.
This is leading to blocking of independent doorbell processing.
Fix this issue by moving blocking wait function from
__q2spi_send_messages.
This will help to serve incoming independent doorbells in the
order we received in multi CR case.
Change-Id: Id9a51979cfcf7780e66a7b2ae9f47786fff986be
Signed-off-by: Chandana Kishori Chiluveru <quic_cchiluve@quicinc.com>
When in suspend/DeepSleep any SSR event should not wake up GVM
from suspend/DeepSleep, as this disables the wake capability
for HAB.
Change-Id: I0fe260066dc6b3c19ea8cdb9fd8ffd3905fce5be
Signed-off-by: vagdhan kumar kanukurthi <quic_vagdhank@quicinc.com>
If scaling_min_freq/scaling_max_freq changes, then there can be scenarios
where it is not honored promptly due to down_rate_delay_ns and
up_rate_delay_ns. Remove this check as scaling_cur_freq should honor
scaling_min_freq and scaling_max_freq.
Change-Id: I9dcc7cc431ab0b56872fbd6ee4b21e5dc86284fc
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
Update the config state from bool to tristate for VirtIO minidump
module.
Change-Id: Ic678c32586c242a4997765edc2f78735b3edc69e
Signed-off-by: LADI RAM SAI <quic_lramsai@quicinc.com>
Enable Virtio minidump and debug_symbol modules for
auto LAGVM.
Change-Id: Ib09d0c86c7de2e98b5c805df378418bc67164aaa
Signed-off-by: LADI RAM SAI <quic_lramsai@quicinc.com>
Add the support for RIMPS based cpufreq domain, thereby also adding the
soc_data for RIMPS and RIMPS-PDMEM.
Change-Id: I0ee06b0e8113c950958e25a9f59a5c27ef692fec
Signed-off-by: Anaadi Mishra <quic_anaadim@quicinc.com>
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
This change enables the compilation of the DRM helpers for
display driver on niobe target.
Change-Id: Ib59f3a2e8a80e6d4431a4880cfa9e9f36be0413c
Signed-off-by: Soutrik Mukhopadhyay <quic_mukhopad@quicinc.com>
Check for NULL before going ahead and waking up the SOCCP
during SoC crash scenario.
Change-Id: I829d3ab676676c9dbfc4ca6d9acf35180f3bcd22
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
In the stop sequence the state is forced to change from D3
to D0, however this state change is not needed for the teardown
sequence to take effect.
Change-Id: I57b89885f9bdf6309349c95e27689abd72313822
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
Voting for power rails during SoC crash is leading
delay in panic handling. During a SoC crash scenario
the power rails will already be up, therefore we
dont need to vote for this again.
Change-Id: I084e6eee8a51dd75dd728e39feb50e17d4f220a7
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
During the deep sleep we should program the registers, similar like
during the probe. We are calling master setup function during deep
sleep, it will do basic register config. Same changes added for
spi slave as well.
Change-Id: I2d048c391442d6c704b7b7ad674325ff9a8ecf13
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
Signed-off-by: Mehul Raninga <quic_mraninga@quicinc.com>
Set the priority of hgsl workqueue by using API
alloc_workqueue instead of create_workqueue.
Change-Id: I640bc2b110f7b3997c402098f315f97a77fa7531
Signed-off-by: Jun Zhang <quic_juzhan@quicinc.com>
non-HWKM targets have only 32 keyslots. Update the
LUT KEYS secure Interrupt register offset and R16
and R17 register offset for non HWKM targets.
Test: Verified on non-hwkm target.
Change-Id: I0a70c62a270a44b1887240e06e41ada5d517d989
Signed-off-by: Seshu Madhavi Puppala <quic_spuppala@quicinc.com>
Enable the following modules which enables
data encryption (FBE) using wrapped keys.
CONFIG_QTI_CRYPTO_COMMON
CONFIG_SCSI_UFS_CRYPTO_QTI
CONFIG_QTI_HW_KEY_MANAGER.
Change-Id: Iffc1023aaa24b6406206748d7a5a8848e9847b87
Signed-off-by: kundan kumar <quic_kunkum@quicinc.com>
Add modules for USB Phys, repeaters function driver modules and IPC
logging for FFS.
Change-Id: I8a20a9aca6e00729ea40226be48f18c12046e39e
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>