Commit Graph

1164001 Commits

Author SHA1 Message Date
qctecmdr
13b8862414 Merge "defconfig: Update PDR and enable RPROC notif timeouts" 2024-03-31 07:06:48 -07:00
Meena Pasumarthi
29d645bd38 defconfig: Update PDR and enable RPROC notif timeouts
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>
2024-03-31 12:43:20 +05:30
qctecmdr
9bb357b977 Merge "net: qrtr: mhi: Return error code for wait timeout" 2024-03-30 07:31:41 -07:00
qctecmdr
3809b0f24f Merge "sched:walt: skip walt_disabled check in "android_rvh_build_perf_domains"" 2024-03-30 07:31:41 -07:00
qctecmdr
a8c6fa47fd Merge "arm-smmu: Fix an empty list_head accessing" 2024-03-30 07:31:40 -07:00
Ashay Jaiswal
07f2036381 sched:walt: skip walt_disabled check in "android_rvh_build_perf_domains"
"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>
2024-03-29 00:58:40 -07:00
Zhenhua Huang
41621d15a0 arm-smmu: Fix an empty list_head accessing
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>
2024-03-28 21:39:48 -07:00
qctecmdr
909cf1df83 Merge "drm/bridge: reduce hpd polling timeout" 2024-03-28 17:51:10 -07:00
qctecmdr
06fb4022ad Merge "defconfig: Enable rproc_common for autoghgvm" 2024-03-28 17:51:10 -07:00
qctecmdr
7db2297ee5 Merge "soc: qcom: socinfo: Add version 20" 2024-03-28 17:51:09 -07:00
qctecmdr
85864b747e Merge "stm: Add __nocfi to stm functions and use rcu notrace functions" 2024-03-28 17:51:08 -07:00
qctecmdr
27442ff422 Merge "Revert "defconfig: Enable clock scaling for sdmsteppe"" 2024-03-28 07:31:30 -07:00
qctecmdr
7121ed4310 Merge "soc: qcom: socinfo: Add soc-id support for Niobep" 2024-03-28 02:38:48 -07:00
qctecmdr
2defc9196a Merge "drivers: gunyah: Add support for the Auto Gunyah VM target" 2024-03-28 00:35:20 -07:00
qctecmdr
4ecbf84a37 Merge "defconfig: Enable simple lpm governor for pitti" 2024-03-27 22:36:04 -07:00
qctecmdr
cf36b9e29f Merge "pwm: pwm-qti-lpg: Don't disable PWM during probe for fixed PWM mode" 2024-03-27 12:04:37 -07:00
qctecmdr
a1a61636be Merge "pinctrl: qcom: Set intr_wakeup_enable_bit only when skip_wake_irq is set" 2024-03-27 12:04:36 -07:00
qctecmdr
ea8ec3eb81 Merge "pci: msm: Add support for NTN3 switch i2c client operations" 2024-03-27 12:04:33 -07:00
qctecmdr
622f82f9ed Merge "soc: qcom: sys_pm_vx: Add compatible and driver configuration for niobe" 2024-03-27 12:04:32 -07:00
qctecmdr
abd30c32c6 Merge "usb: phy: Turn on PHY power when EUD is enabled in XBL" 2024-03-27 09:01:02 -07:00
qctecmdr
433fd0bedd Merge "sched: walt: always return active cpu as part of nohz timer vendor hook" 2024-03-27 09:01:01 -07:00
Meena Pasumarthi
776440813d soc: qcom: socinfo: Add soc-id support for Niobep
Add niobep target support to SoC name-id mapping list.

Change-Id: Ib1804aa6dca80fcf17b974b05c73219447abf39d
Signed-off-by: Meena Pasumarthi <quic_pasumart@quicinc.com>
2024-03-27 18:51:00 +05:30
Anvesh Jain P
252e05058f defconfig: Enable rproc_common for autoghgvm
Enable rproc_common for Auto VM targets for hybrid fastrpc
dependency.

Change-Id: I4ee79570c24bc67c81a70016a3cb8c868cd921ab
Signed-off-by: Anvesh Jain P <quic_ajainp@quicinc.com>
2024-03-27 04:58:34 -07:00
Naman Jain
4a172553d2 soc: qcom: socinfo: Add version 20
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>
2024-03-27 16:46:45 +05:30
qctecmdr
ac8a17d5cb Merge "soc: qcom: hgsl: Add hgsl driver snapshot" 2024-03-27 01:30:56 -07:00
Mao Jinlong
4e27a752b9 stm: Add __nocfi to stm functions and use rcu notrace functions
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>
2024-03-27 15:51:39 +08:00
Minghao Zhang
63b5b79db4 soc: qcom: sys_pm_vx: Add compatible and driver configuration for niobe
Add compatible and driver configuration for niobe cxsd and aoss sleep.

Change-Id: Id51d8914d2301a58f6bd3fcba72ff52e335fc017
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
2024-03-27 00:39:46 -07:00
Maulik Shah
a7fc7adcfd pinctrl: qcom: Set intr_wakeup_enable_bit only when skip_wake_irq is set
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>
2024-03-27 12:55:20 +05:30
Swaroop B U
74cdac89e9 drm/bridge: reduce hpd polling timeout
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>
2024-03-27 00:07:45 -07:00
Sarannya S
7e0b0b0430 net: qrtr: mhi: Return error code for wait timeout
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>
2024-03-27 12:22:54 +05:30
Raghavendra Kakarla
6729448242 defconfig: Enable simple lpm governor for pitti
This patch enables the simple lpm governor.

Change-Id: Ic193a7ec1746d88c8ec6ca0c114e4996d53c755d
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
2024-03-27 12:10:32 +05:30
qctecmdr
3ca296e9bd Merge "soc: qcom: hab: disable wake capability for HAB" 2024-03-26 06:54:03 -07:00
qctecmdr
b584991e79 Merge "defconfig: Enable ipcc driver for autoghgvm" 2024-03-26 06:53:59 -07:00
qctecmdr
75e9b266ee Merge "sched/walt: Honor scaling_min_freq/scaling_max_freq" 2024-03-26 06:53:56 -07:00
qctecmdr
97c3e8f09f Merge "defconfig: Enable spmi_debug_bus config for pitti" 2024-03-26 06:53:55 -07:00
qctecmdr
ac0063262a Merge "q2spi-msm-geni: Don't allow q2spi transfer when port is closed" 2024-03-26 06:53:54 -07:00
Uttkarsh Aggarwal
87cb47c9ad usb: phy: Turn on PHY power when EUD is enabled in XBL
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>
2024-03-26 02:04:58 -07:00
Kavya Nunna
24eeb83b3f pwm: pwm-qti-lpg: Don't disable PWM during probe for fixed PWM mode
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>
2024-03-26 01:51:15 -07:00
Hemant Kumar
54cdccd3fc pci: msm: Add support for NTN3 switch i2c client operations
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>
2024-03-26 00:31:21 -07:00
Ashay Jaiswal
53e81c1e70 sched: walt: always return active cpu as part of nohz timer vendor hook
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>
2024-03-26 10:00:14 +05:30
Jyothi Kumar Seerapu
c86f1ac6c9 q2spi-msm-geni: Don't allow q2spi transfer when port is closed
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>
2024-03-25 01:41:12 -07:00
Jyothi Kumar Seerapu
c2d4f4252b q2spi-msm-geni: Unmap the buffers in error path
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>
2024-03-25 01:40:40 -07:00
Chandana Kishori Chiluveru
45b2fd420e q2spi-msm-geni: Add multi CR support
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>
2024-03-25 01:39:32 -07:00
vagdhan kumar kanukurthi
7bfac6df9c soc: qcom: hab: disable wake capability for HAB
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>
2024-03-24 22:27:53 -07:00
qctecmdr
b679be6f20 Merge "soc: qcom: Fix offset values for non HWKM targets" 2024-03-23 19:37:32 -07:00
qctecmdr
5dbdecc442 Merge "pci: msm: Unlock the recovery_lock in case of return in failure" 2024-03-23 19:37:23 -07:00
Shivnandan Kumar
c7920924ec sched/walt: Honor scaling_min_freq/scaling_max_freq
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>
2024-03-23 14:36:42 +05:30
Jayasri Bhattacharyya
47c9feb848 Revert "defconfig: Enable clock scaling for sdmsteppe"
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>
2024-03-22 00:14:10 -07:00
qctecmdr
60af5ec1bf Merge "soc: qcom: hgsl: change hgsl workqueue priority" 2024-03-21 23:23:59 -07:00
qctecmdr
c459ce552d Merge "defconfig: Enable VirtIO minidump for auto LAGVM" 2024-03-21 14:21:02 -07:00