Commit Graph

1167604 Commits

Author SHA1 Message Date
qctecmdr
d1c71ddfef Merge "arm64: defconfig: Enable governor and stat driver for anorak" 2024-06-07 04:56:08 -07:00
qctecmdr
e12f8aacb4 Merge "remoteproc: pas: Avoid NULL pointer dereference issue" 2024-06-07 04:56:07 -07:00
qctecmdr
e6d2f5c28c Merge "sched/walt: use rcu_access_pointer instead of rcu_dereference" 2024-06-07 04:56:07 -07:00
qctecmdr
44ad4f38b4 Merge "usb: dwc3: dwc3-msm-core: Notify PHY disconnect before doing flush_work" 2024-06-07 04:56:06 -07:00
qctecmdr
ca7fce0f36 Merge "phy: ufs-qcom: Configure missing UFS PHY TX registers for Gear 4" 2024-06-07 04:56:06 -07:00
qctecmdr
327d71555f Merge "soc: qcom: sys_pm_vx: Add drv_names for anorak" 2024-06-07 00:29:00 -07:00
Ankit Sharma
9b17ab90d4 sched/walt: use rcu_access_pointer instead of rcu_dereference
walt code currently uses rcu_dereference to access rd->pd. As we are
not dereferencing the pointer use rcu_access_pointer instead of
rcu_dereference.

Change-Id: I5ef0d12de4ae89ce423b421d1d2de28fc7759c00
Signed-off-by: Ankit Sharma <quic_anshar@quicinc.com>
2024-06-06 03:37:33 -07:00
Mukesh Ojha
2bd2f4bb6b remoteproc: pas: Avoid NULL pointer dereference issue
rproc->priv is incorrectly being dereferenced and assigned
without checking if rproc can be NULL however, the check
for this exist in the code, so fix this issue by doing
the handling appropriately.
(cherry picked from commit 2b05138c888f180a00c766f57dedb98a8863da0a).

Change-Id: I990a52ffc2a713c0e814fabfce4931e9bc1c3ac9
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2024-06-06 02:38:45 -07:00
Udipto Goswami
93c53aca5b usb: dwc3: dwc3-msm-core: Notify PHY disconnect before doing flush_work
Compliance TypeC certification--TD 4.7.4 throws error saying "The put
does not cease USB communication" because currently the stop host
procedure set the role back to device and flushes the drd-work first
then disconnects phys. However the Analyzer by this time will consider
that the PHY is still active and therefore throw such error assuming
the test failed.

Fix this by moving the PHY disconnect notifiers before the role_switch
and flush work. Additionally disconnect ssphy first then the hsphy so
that the LFPS packets and be turned off as quickly as possible.

Change-Id: I6ea4665360dc8b92992672428d0563b8c1ea19e9
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
2024-06-05 23:32:50 -07:00
qctecmdr
3ce14a7337 Merge "defconfig: Enable system pm violator for anorak" 2024-06-05 08:38:26 -07:00
Asit Shah
c7021f5081 arm64: defconfig: Enable governor and stat driver for anorak
Enable config for governor and qcom stat driver. Also, added
required modules for enabled configs in anorak.bzl file.

Change-Id: I40eaead56ded3abf6c6ab43567bdbcc50e6f760a
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-06-05 05:35:45 -07:00
qctecmdr
4e4df80080 Merge "ARM: defconfig: Enable GKI based defconfig for autoghgvm" 2024-06-05 05:13:40 -07:00
Chintan Kothari
98bf067af0 soc: qcom: sys_pm_vx: Add drv_names for anorak
Add snapshot of drv name on ANORAK from msm-5.10 branch to
get stats information
commit 4545acd1dc3c ("soc: qcom: sys_pm_vx: Add drv_names
for anorak").

Change-Id: I3ca54e4091a5d3555f3f77517cbf5752c7d7b1d2
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
2024-06-05 01:57:48 -07:00
qctecmdr
4b68c3db6f Merge "coresight: csr: Add support for AODBG CSR" 2024-06-05 01:34:04 -07:00
qctecmdr
e068c9d45f Merge "arm64: defconfig: Enable watchdog support for anorak" 2024-06-05 01:34:03 -07:00
qctecmdr
c3ace69e38 Merge "arm-smmu: Fix context bank/smr override check" 2024-06-05 01:34:02 -07:00
Chintan Kothari
e4dc81945e defconfig: Enable system pm violator for anorak
This change enables system pm violator driver.

Change-Id: I39b3af32d996a6297e67600e061512c1b5d2d19f
Signed-off-by: Chintan Kothari <quic_ckothari@quicinc.com>
2024-06-05 12:10:48 +05:30
Anjana Hari
11cee76b3b phy: ufs-qcom: Configure missing UFS PHY TX registers for Gear 4
In PHY calibration table for Gear 4, entries for registers
QSERDES_TX0_LANE_MODE_3 and QSERDES_TX1_LANE_MODE_3 are missing.
Hence, setting the right configuration for the above mentioned
registers.

Change-Id: Ia5c5560d14b2ecbf5b9ae32a423774394e71d527
Signed-off-by: Anjana Hari <quic_ahari@quicinc.com>
2024-06-05 11:21:25 +05:30
qctecmdr
53b6509c74 Merge "qcom_scm_hab: Close correct handle in error path" 2024-06-04 14:08:59 -07:00
qctecmdr
f4f4a624f3 Merge "defconfig: Enable glink probe defconfig" 2024-06-04 08:43:02 -07:00
qctecmdr
b90faba072 Merge "defconfig: gen3auto: enable smmu testbus dump support" 2024-06-04 08:43:01 -07:00
qctecmdr
2007ced898 Merge "coresight: tmc: Fix byte-cntr irq count mismatch issue" 2024-06-04 08:43:01 -07:00
qctecmdr
5ea44c0b00 Merge "defconfig: Enable SPS BAM drivers for anorak" 2024-06-04 04:49:41 -07:00
qctecmdr
8e4cfcf17e Merge "clk: qcom: clk-cpu-sdxlemur: Populate best_parent_rate of parent_req" 2024-06-04 04:49:40 -07:00
Charan Teja Reddy
e4c778a8cc arm-smmu: Fix context bank/smr override check
Fix the condition check that overrides the number of
smr/context banks in the system.

Change-Id: I242375ab711f3688a7c8a24e598d1e4a2a7fac17
Signed-off-by: Charan Teja Reddy <quic_charante@quicinc.com>
Signed-off-by: Shreyas K K <quic_shrekk@quicinc.com>
2024-06-04 12:39:48 +05:30
Singa Reddy Dasari
78fc408e1c ARM: defconfig: Enable GKI based defconfig for autoghgvm
Enable GKI based defconfig for autoghgvm.

Change-Id: I04b83addb3f8c9130ccea68e1abdb7a703cbc6a1
Signed-off-by: Singa Reddy Dasari <quic_singredd@quicinc.com>
2024-06-03 23:48:12 -07:00
Yuhang Ji
a7ca5da00d qcom_scm_hab: Close correct handle in error path
We should close nonatomic handle which is already opened.

Change-Id: Id789f74e0cfbfa918bc7450a559fc0fdf51b65d2
Signed-off-by: Yuhang Ji <quic_yuhaji@quicinc.com>
2024-06-03 21:46:49 -07:00
amatariy
b070877c53 arm64: defconfig: Enable watchdog support for anorak
Enable watchdog support for anorak.

Change-Id: I81b195570c692187c7ed27f262162c9b728fdd6f
Signed-off-by: amatariy <quic_amatariy@quicinc.com>
Signed-off-by: Asit Shah <quic_asitshah@quicinc.com>
2024-06-03 11:30:15 +05:30
Mao Jinlong
7010c1c427 coresight: tmc: Fix byte-cntr irq count mismatch issue
When byte-cntr irq count doesn't match up with the data size in
ETR sink, there will be delay issue to send the data to host.
Count the irq number in small size transfer function when such
case happens.

Change-Id: I60428e1d9916fd0dde8c87f3f81c8b887b7e448b
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2024-06-03 10:47:55 +08:00
Raghava Chowdam
aa3bf3cf9b drivers: iio: imu: Add freeze and restore support for hibernation
It fix the restore failure in hibernation.

Change-Id: I2b0fdcbb9f213e27941a56479157a52e6f822dd7
Signed-off-by: Raghava Chowdam <quic_rchowdam@quicinc.com>
2024-05-31 10:33:01 -07:00
qctecmdr
8baf695be2 Merge "defconfig: Enable PMIC overlay defconfigs for anorak" 2024-05-31 05:28:18 -07:00
qctecmdr
ff2732f9e1 Merge "defconfig: anorak: add qti epm hardware driver" 2024-05-31 05:28:17 -07:00
qctecmdr
04dca55dd8 Merge "modules.list: anorak: Add watchdog related module in Anorak" 2024-05-31 05:28:17 -07:00
qctecmdr
c17cc0b2b3 Merge "pci: msm: Increase the RPMSG send command retrials to 20 from 5" 2024-05-31 05:28:16 -07:00
Patrick Daly
dcffa68127 arm-smmu: Add dt-properties to handle hypervisor debug case
Normally, hypervisor virtualizes IDR registers to inform HLOS of the
number of context banks and smr registers available. However, in certain
debug modes, this support is not available. Add an alternate method for
HLOS to gather this information.

Change-Id: I73194daa06ca2a499f75f9b9173f9afc2f691f49
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Shreyas K K <quic_shrekk@quicinc.com>
2024-05-31 13:12:53 +05:30
Monish Chunara
45706efa28 defconfig: Enable PMIC overlay defconfigs for anorak
Enable all PMIC overlay defconfigs required for anorak.

Change-Id: Icbb31feceb5669631822c375822dfc313b3e9a62
Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
2024-05-30 23:53:36 +05:30
Konica Gudala
88a7790f3e defconfig: Enable SPS BAM drivers for anorak
Enabling configs for BAM-SPS drivers.

Change-Id: I095a841027c2e652cbf98c96484da072506fa602
Signed-off-by: Konica Gudala <quic_gkonica@quicinc.com>
2024-05-30 21:05:13 +05:30
qctecmdr
57b98aef37 Merge "net: stmmac: disable wol to fix LPM issue" 2024-05-30 07:09:19 -07:00
qctecmdr
399ac981a9 Merge "Add support to build ABL for autoghgvm" 2024-05-30 02:54:12 -07:00
qctecmdr
cd086ad7ce Merge "defconfig: Enable PMIC defconfigs for anorak" 2024-05-30 02:54:11 -07:00
qctecmdr
1ed8a538c0 Merge "arm64: defconfig: Enable SDExpress for anorak" 2024-05-30 02:54:11 -07:00
Priyansh Jain
bc353d2bb2 defconfig: anorak: add qti epm hardware driver
Add and enable qti epm hardware driver in config for anorak.

Change-Id: I3dafda26d48b08f928e04afb69422ec2ffcfa7ba
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2024-05-30 02:19:52 -07:00
Prerna Singh
f76c0d1129 clk: qcom: clk-cpu-sdxlemur: Populate best_parent_rate of parent_req
Populate the best_parent_rate property of parent_req structure with
rate of apcs_cpu_pll parent, as parent_req gets passed down the
__clk_determine_rate function and does not have the best_parent_rate
property populated at any point for apcs_cpu_pll. It causes the
parent_rate to be passed as 0 to pll round_rate APIs which causes
kernel crash when doing rate calculation.
Also, Correct vco config value from 1 to 0.

Change-Id: Iaa6a7d9bc039ac883a555f2f52e9882573fa943d
Signed-off-by: Prerna Singh <quic_prersing@quicinc.com>
2024-05-30 01:15:06 -07:00
Taniya Das
a32db442d0 clk: qcom: clk-alpha-pll: Replace hw->init in PLL code
The hw->init is no longer valid after the HW clock is registered with
the clock framework, thus clean up the clock enable/disable.
Also, update if statement to check whether the clk is disabled & then
only enable the clk.

Change-Id: I965cd1d5c14efd2bea8cc220f2b19ed1f3ddfb8c
Signed-off-by: Prerna Singh <quic_prersing@quicinc.com>
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
2024-05-30 01:14:28 -07:00
Mao Jinlong
c96df28c4a coresight: csr: Add support for AODBG CSR
The address offsets of AODBG csr is different from current CSR offsets.
Add the timestamp control registers and heartbeat regsiters config for
AODBG CSR.

Change-Id: I4f26a0092d60f1a55c8680fb80a6dd2abbc3c809
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2024-05-30 15:44:03 +08:00
amatariy
06b19a1efc modules.list: anorak: Add watchdog related module in Anorak
Added watchdog module for anorak platform in first stage module list.

Change-Id: I8982312377ae096cecaf773f206dfe1fa6e08851
Signed-off-by: amatariy <quic_amatariy@quicinc.com>
2024-05-30 11:31:13 +05:30
Paras Sharma
5d5db8a067 pci: msm: Increase the RPMSG send command retrials to 20 from 5
Sometimes APSS PCIe driver fails to send command to ADSP PCIe driver
using RPMSG at the time of bootup where ADSP RPMSG interface is busy
handling many RPMSG request from different clients from APSS.

Increase the retries of sending command over RPMSG from APPS to ADSP
from 5 to 20 which eventually increases the timeout value from 25ms
to 100ms.

Change-Id: Id87375d0a669ef3b8c511847c84564a1f5456b19
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2024-05-29 20:55:31 -07:00
Kunal Singh Ranawat
676d140c9c remoteproc: qcom_q6v5_pas: Add support for anorak cdsp
Add configuration struct and compatible for anorak cdsp.

Change-Id: I718485e620132e97411505e0b6c7a8c35692f4de
Signed-off-by: Kunal Singh Ranawat <quic_kranawat@quicinc.com>
2024-05-29 21:26:28 +05:30
qctecmdr
2e3059da78 Merge "defconfig: gen3auto: remove DWMAC_LOONGSON for auto target" 2024-05-29 06:21:29 -07:00
Uppalamarthi Sowmya
35a70d30a0 net: stmmac: disable wol to fix LPM issue
disable wol to fix LPM issue.

Change-Id: I58c84bd73f9245a8d8a79f0a84af43c44110f961
Signed-off-by: Uppalamarthi Sowmya <quic_usowmya@quicinc.com>
2024-05-29 17:50:36 +05:30