1. Enable panicking upon notification timeout and also
increase timeout values to 20 s from the default 10 s.
2. Add PDR timeout configs for notification in niobe
and also increase timeout to 9 sec.
Change-Id: I27a842e776535fb19b61edb4c6e18a3c2cf3dccd
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
"android_rvh_build_perf_domains" vendor hook is used to force building
of perf domain for symmetric cluster system. The vendor hook is called
as part of cpu topology initialization phase, as WALT initialization is
not completed by this time thus setting of override is skipped by WALT
in it's vendor hook and thus topology framework skips building perf
domain for systems with symmetric clusters.
As "android_rvh_build_perf_domains" is independent of WALT state, skip
"walt disabled" check in the vendor hook.
Change-Id: I379c7aec9fd1a19fc6187d8cf85b3f9ef308dcb2
Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com>
For the targets which not describe TBU(Translation Buffer Units)
in device tree, skip accessing of its list_head. Accessing that
list_head results into crash.
[zhenhuah: Adding check in qsmmuv500_log_outstanding_transactions as well]
Change-Id: I298f06b01151285bec3b063d234382371d1738ba
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
Enable rproc_common for Auto VM targets for hybrid fastrpc
dependency.
Change-Id: I4ee79570c24bc67c81a70016a3cb8c868cd921ab
Signed-off-by: Anvesh Jain P <quic_ajainp@quicinc.com>
Add support for socinfo version 20. Version 20 adds a new package ID,
which is used to tune temperature thresholds on devices which might
be able to withstand higher temperatures.
Change-Id: Ie4a4f1ea64d0d34fc9ec8d55793cd142a5ccb239
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
STM drivers are built as modules. When CFI is enabled, __cfi_slowpath
will be called when functions are called among stm drivers. If lock
event is enabled at the same time, as rcu_lock_acquire function will
be called in __cfi_slowpath and stm functions, there will be a circular
callstack. Add __nocfi to stm functions and use rcu notrace functions
to fix this issue.
Change-Id: I36449cf785fd8d4958cebe6c6df30e2c97a9d010
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
intr_wakeup_enable_bit controls the wake GPIO routing to parent PDC
irqchip. Set it only when skip_wake_irq is also set to that this will
be ignored when parent is MPM.
Change-Id: Id8cf60246ab874d7cf45b518104a8a4024634243
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
Reduce hpd polling timeout to improve time
taken in bridge chain enablement.
Currently, if the hpd is not available,
timeout of 500ms impacts performance of
early apps bringing, so reduce the timeout
to 50ms.
Change-Id: Idbfd5c76f5821e4f216460222d794efff299b50f
Signed-off-by: Swaroop B U <quic_swarbu@quicinc.com>
During mhi send, wait timeout can happen if qdev->prepared is
not set. 0 is returned from this timeout which gets propagated
to qrtr_node_enqueue. 0 will be considered as a success case
here, so qrtr won't try to resend HELLO packet.
Propagate ETIMEDOUT error from MHI layer during wait timeout
so that qrtr layer can retry sending HELLO packet in case
of this failure.
Change-Id: I0869472a900989a4fe4327dc350de4a113965674
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
When the device is booted with EUD enabled in XBL, dwc3 probe fails.
This results in USB functionality and EUD not working because the PHY
is not re-initialized while EUD is active. In this change if suspend bit
is not "1" then to keep EUD session alive LDOs should be "on".
Change-Id: I42dae2718533be1337719fc45dac1afe1799fa1d
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
Currently PWM output is disabled during probe before
DT settings are applied. This is mainly required for LUT
patterns(used for LED breathing effect) to work properly.
However, this can cause issues for the use cases where PWM
output needs to stay ON from early boot up Eg - Display brightness
control.
To fix it, avoid disabling PWM HW for non-LUT pattern use cases
during probe.
Change-Id: I58395a6309514a8b8997915c9f26d219de55b9d7
Fixes: 35b2a64a03 ("pwm: pwm-qti-lpg: Disable PWM output during probe")
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
NTN3 switch requires register access over i2c when the PCIe link
is not up. Add i2c control interface for an i2c client driver.
This i2c control interface registers with an i2c client driver
and provides client specific callbacks for read, write, reset
and register dump operations.i2c control interface can support
one i2c client per root port.
Change-Id: I9e5f91cab4fd2bb2c6274ad0317fad4279db6958
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Yogesh Jadav <quic_yjadav@quicinc.com>
Signed-off-by: Joco Zhang <quic_pingshen@quicinc.com>
There is a possibility where WALT will not find any non-idle unhalted
cpu as part on NOHZ timer target vendor hook and in that case WALT
returns first available unhalted CPU which might be an offline cpu.
Add check to always return an active cpu as timer target CPU.
Change-Id: I072909ba9316e96b61599aaf9d946c96bdf533f7
Signed-off-by: Ashay Jaiswal <quic_ashayj@quicinc.com>
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>
This reverts commit c5b6ae2d5f.
Reason for revert: This reverts the clock scaling change as it causes
issue in s2d and did not improve power numbers.
Change-Id: I18c1816b32d599aaae45628a79cd564bf6ef75ad
Signed-off-by: Jayasri Bhattacharyya <quic_jbhattac@quicinc.com>