Commit Graph

1155420 Commits

Author SHA1 Message Date
qctecmdr
e42c084b1f Merge "sched/walt: Ensure always in state2 if no partial halted CPUs" 2023-08-25 10:57:11 -07:00
qctecmdr
872d77203e Merge "defconfig: blair-gki: Enable the MSM sysstats driver" 2023-08-25 10:57:10 -07:00
qctecmdr
e261b56f29 Merge "bus: mhi: misc: Add check for dev_rp if it is iommu range or not" 2023-08-25 10:57:10 -07:00
qctecmdr
876bd96fff Merge "ufs: ufs-qcom: Remove unnecessary nvmem print during boot" 2023-08-25 07:47:20 -07:00
qctecmdr
f70a658c90 Merge "msm: Adding FBE support with Crypto & HWKM V1" 2023-08-25 07:47:19 -07:00
qctecmdr
e6bbb39b50 Merge "usb: typec: ucsi_glink: Handle ucsi_unregister() for SSR/PDR in a work" 2023-08-25 05:50:22 -07:00
qctecmdr
b0ccf9a79b Merge "dt-bindings: qcom: ipcc: Add SoCCP definitions" 2023-08-25 05:50:22 -07:00
qctecmdr
9c3d3f8a47 Merge "msm: pci: Avoid calling pci_walk_bus() while holding spin_lock()" 2023-08-25 05:50:21 -07:00
qctecmdr
4bbec5719a Merge "wcd-usbss: Update display common mode and OVP settings" 2023-08-25 02:15:12 -07:00
qctecmdr
aaf28c069e Merge "drivers: soc: qcom_stats: Fix to get subsystem sleep stats in suspend and resume" 2023-08-25 02:15:11 -07:00
qctecmdr
c98648dca5 Merge "cpufreq: qcom: Snapshot of addition of performance lock feature" 2023-08-25 02:15:10 -07:00
qctecmdr
2b677ec629 Merge "drivers: irqchip: Add MPM to GIC mapping for holi" 2023-08-25 02:15:10 -07:00
qctecmdr
ae825ef4dc Merge "remoteproc: qcom_q6v5_pas: Add support for mpss, cdsp, adsp in Cliffs" 2023-08-25 02:15:09 -07:00
qctecmdr
2e0090c67c Merge "files_gki_aarch64: Updating GKI file list manually" 2023-08-24 19:57:05 -07:00
qctecmdr
10623b31f4 Merge "wcd-usbss: enable wcd standby feature" 2023-08-24 19:57:04 -07:00
qctecmdr
2d58fb7245 Merge "i2c: i2c-msm-geni: add bei and immediate dma support" 2023-08-24 19:57:04 -07:00
Shaleen Agrawal
7acd4b7dba sched/walt: Ensure always in state2 if no partial halted CPUs
is_state1 is supposed to return true, if and only if all CPUs that are
capable of being partially halted are either partially halted or fully
halted.

In the event that there are no partially halted CPUs in a system,
meaning min_partial_cpus is defined as 0, the expectation is for
is_state1 to return false.

However, cpumask_subset will return true if the first source CPU mask is
empty. This leads to unexpected behavior, as it would result in a case
where the system is always under state1 when min_partial_cpus is set to
0, resulting in a side effect where frequencies would never be synced.

Fix this by ensuring that if the number of CPUs that are capable of
being partially halted is 0, is_state1 returns false, thereby ensuring
that in such a system, state2, and therefore frequency sync, is always
the norm.

Change-Id: I2fb7cf27659d42fe713bdacf08db9b7c88c06800
Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
2023-08-24 10:38:18 -07:00
qctecmdr
196eb80a99 Merge "usb: dwc3-msm: Request xhci resume if SS device connect fails suspend" 2023-08-24 09:38:12 -07:00
qctecmdr
43c8b75243 Merge "arm64: defconfig: Enable MHI host for monaco_auto" 2023-08-24 09:38:12 -07:00
qctecmdr
8e0a1b3d2e Merge "drivers: remoteproc: Add minidump ID for GPDSP Rproc" 2023-08-24 09:38:11 -07:00
Krishna chaitanya chundru
d461dc0ee4 bus: mhi: misc: Add check for dev_rp if it is iommu range or not
er_ctxt->rp pointer is updated by MDM which is untrusted to HLOS,
it could be arbitrary value.

If there is security issue on MDM, and updated pointer which is not
align then driver will never come out of loop where checking against
dev_rp != rp.

So added check to make sure it is in the buffer range & aligned to 128bit.

Change-Id: Ib484e07f2c75fcd657a4ccc648a3a20de3edeebc
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
2023-08-24 17:24:06 +05:30
Zhenhua Huang
1ca911b392 defconfig: blair-gki: Enable the MSM sysstats driver
Enable the MSM sysstats driver.

Change-Id: Iede3fca12c575548600aa24ba10a36d0d704a1a5
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
2023-08-24 18:44:10 +08:00
qctecmdr
97f56eed2b Merge "sched/walt: Introduce bug_on lockdep failures" 2023-08-24 01:55:46 -07:00
qctecmdr
7f31863754 Merge "scsi: ufs-qcom: Probe UFS2 device after UFS1 luns are attached" 2023-08-24 01:55:45 -07:00
qctecmdr
219bac7fbc Merge "modules.list.msm.pineapple: Add camcc to first stage on cliffs" 2023-08-24 01:55:45 -07:00
qctecmdr
43bb66c324 Merge "arm-smmu: Touch CBAR just before SID-switch" 2023-08-24 01:55:44 -07:00
qctecmdr
b6c8e3de97 Merge "interconnect: qcom: pineapple: Add qnm_apss_noc node" 2023-08-24 01:55:43 -07:00
Kishore Kumar Ravi
fb58833236 dt-bindings: qcom: ipcc: Add SoCCP definitions
Update the ipcc dt-bindings header to include definitions for the soccp
client and increase the max IPCC client value.

Change-Id: I452f966e37f623f7e35fee4496a0b374f974f4cb
Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
2023-08-24 12:59:01 +05:30
Pawan Rai
ddf3bc3cfe msm: Adding FBE support with Crypto & HWKM V1
FBE HWKMv1 driver snapshot from msm-5.15 branch
commit 4d5395da7b77d ("msm: Adding File Based Encryption(FBE)
support with HWKM V1 in msm 5.15").

Change-Id: Ibb52b781443f8ba6b35c5d1905db905df5afaaaa
Signed-off-by: Pawan Rai <quic_pawarai@quicinc.com>
2023-08-24 11:25:23 +05:30
Bao D. Nguyen
965b13eac4 ufs: ufs-qcom: Remove unnecessary nvmem print during boot
On targets that only support ufs as the primary boot device,
the print "nvmem cell get failed" is causing confusion. Change it
to dev_dbg() to avoid this unnecessary warning.

Change-Id: I1f814fcad7a21b415dd4521962c7f1afe67a2f83
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
2023-08-23 21:04:45 -07:00
Subbaraman Narayanamurthy
9367a71ea6 usb: typec: ucsi_glink: Handle ucsi_unregister() for SSR/PDR in a work
Currently, ucsi_unregister() and its associated cleanups are done
in the same context when ucsi_qti_state_cb() is invoked for SSR
or PDR event. This can cause issues when ucsi framework tries to
send messages from ucsi_unregister() again. To avoid this, call
ucsi_unregister(), ucsi_destroy() from a separate unregister_work.

Change-Id: Id3248161e0d1727be9e02d2fc8801dba0109361c
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-08-23 12:32:32 -07:00
qctecmdr
7d9991cbf8 Merge "qcom: socinfo: Add some ids to the list for Blair and Holi" 2023-08-23 12:29:00 -07:00
qctecmdr
33819ea263 Merge "soc: qcom: llcc: Add support for Cliffs-7" 2023-08-23 12:28:59 -07:00
qctecmdr
fc59f95c92 Merge "sched/walt: Fix WALT_BUG crash observed" 2023-08-23 12:28:59 -07:00
qctecmdr
ad19962f40 Merge "qcom: llcc_perfmon: Add BEAC BEAT events scaling support" 2023-08-23 12:28:58 -07:00
qctecmdr
beb5f8df10 Merge "defconfig: pineapple: Enable CONFIG_QCOM_SPMI_ADC5_GEN3_DEBUG_LOGGING" 2023-08-23 12:28:58 -07:00
qctecmdr
dc73ebc822 Merge "phy: msm: qusb-v2: Add enable power/enable clocks check" 2023-08-23 02:15:08 -07:00
qctecmdr
40d64e59a4 Merge "phy: ufs-qcom: Support configuring VDD_A_UFS_CORE voltage" 2023-08-23 02:15:07 -07:00
qctecmdr
97ad78d3a0 Merge "usb: dt-bindings: Add Snapshot of USB QMP PHY used for 8NM Soc" 2023-08-23 02:15:06 -07:00
Phani Kumar Uppalapati
e4bc9a50fb wcd-usbss: enable wcd standby feature
WCD standby feature enablement prevents leakage on D+/D-
type-C pins. Set the standby flag to true.

Change-Id: I44df7cd75ee5946617a1116bed4ceccbb1b94c3e
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-08-23 01:00:31 -07:00
Yadu MG
7f367e242a drivers: remoteproc: Add minidump ID for GPDSP Rproc
Add Minidump ID for GPDSP Rproc on MonacoAU target.

Change-Id: I268823bdac1507c56e2517e6886b077215fe5aa0
Signed-off-by: Yadu MG <quic_ymg@quicinc.com>
2023-08-23 01:41:10 +05:30
Yadu MG
abd2c369e3 drivers: remoteproc: Add minidump ID for CDSP Rproc
Add Minidump ID for CDSP Rproc on MonacoAU target.

Change-Id: I3b3e1f8c26c3597e0c96700d91f8e30ac2ae16c0
Signed-off-by: Yadu MG <quic_ymg@quicinc.com>
2023-08-23 01:40:41 +05:30
Yadu MG
affabcb79e drivers: remoteproc: Add minidump ID for ADSP Rproc
Add Minidump ID for ADSP Rproc on MonacoAU target.

Change-Id: I93d88d8027281448a8da6a71f73cfd42e65194ec
Signed-off-by: Yadu MG <quic_ymg@quicinc.com>
2023-08-23 01:38:25 +05:30
John Moon
d7fd2795ab files_gki_aarch64: Updating GKI file list manually
After migration to Bazel, the process for updating the GKI file list
was broken. Update the file list now that the process has been fixed.

Change-Id: I1de9eac6d9fd379d459db74a9b5834b0c394fb44
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
2023-08-22 12:16:26 -07:00
qctecmdr
bd7da87cc2 Merge "defconfig: blair: enable fbe modules" 2023-08-22 04:41:35 -07:00
qctecmdr
96bbe92d34 Merge "modules.list.msm.blair: Add pinctrl modules for Holi" 2023-08-22 04:31:55 -07:00
qctecmdr
0ebbb5814c Merge "modules: add fbe modules to first stage list" 2023-08-22 04:31:55 -07:00
qctecmdr
d21c67607c Merge "module.list.msm.blair: Add qnoc-holi driver to module list for HOLI" 2023-08-22 04:31:54 -07:00
Manish Nagar
2d2461b723 usb: dwc3-msm: Request xhci resume if SS device connect fails suspend
In SuperSpeed peripheral disconnect/connect scenario to a host
port, there might be a race between dwc3_msm_suspend and PORTSC
register update with Port_Enable bit and Speed field. This can
lead to dwc3_msm_prepare_suspend failure, thereby aborting the
LPM sequence, and the connected peripheral also not enumerating
because of xHC is in suspended state.
Fix this by requesting a xHC resume if dwc3_msm_prepare_suspend
fails and controller is in host mode.

Change-Id: I49e6c19fa92a9ef31dccff584f43bd8942becb87
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
Signed-off-by: Manish Nagar <quic_mnagar@quicinc.com>
2023-08-22 14:50:56 +05:30
Naga Rashmi Ayiluri
bea2be9ed8 arm64: defconfig: Enable MHI host for monaco_auto
Add MHI host driver configuration for Monaco_AU platform.

Change-Id: I64df525686a7cc56ae4a0d25a8432d1d93bfcf64
Signed-off-by: Naga Rashmi Ayiluri <quic_nayiluri@quicinc.com>
2023-08-22 12:30:43 +05:30