Commit Graph

1152839 Commits

Author SHA1 Message Date
simran jaiswal
cead3f853e drivers: soc: qcom: Consolidated scmi protocol for plh
Add support for using the consolidated qcom vendor protocol
for plh while still maintaining backwards support for
legacy scmi vendor protocol.

Change-Id: I3d102a2046460e6370432641dc26751e1a898bd2
Signed-off-by: simran jaiswal <quic_simranja@quicinc.com>
2023-05-14 23:50:40 -07:00
qctecmdr
aecc06886b Merge "defconfig: autogvm: Enable Uncached System Heap for auto gvm targets" 2023-05-13 10:56:37 -07:00
qctecmdr
06a4499d34 Merge "interconnect: qcom: Add interconnect provider for BLAIR" 2023-05-12 23:23:12 -07:00
qctecmdr
2d0516e771 Merge "soc: qcom: Add subpart Info APIs & sysfs interfaces" 2023-05-12 15:36:23 -07:00
qctecmdr
e9f0d51aa7 Merge "Revert "sched/walt: Increase the number of history samples"" 2023-05-12 15:36:22 -07:00
qctecmdr
92f54abba6 Merge "ufs: host: qcom: add more prints and dump for debug purpose" 2023-05-12 15:36:22 -07:00
qctecmdr
e1342c2bff Merge "drivers: remoteproc: Add subsystem_notif_virt into remoteproc module" 2023-05-12 15:36:22 -07:00
qctecmdr
d521501195 Merge "scsi: ufs-qcom: Fix UIC error issue during suspend/shutdown" 2023-05-12 15:36:21 -07:00
qctecmdr
238538f846 Merge "sched/walt: nr_big calculation" 2023-05-12 15:36:21 -07:00
Anvesh Jain P
98d2fc5183 defconfig: autogvm: Enable Uncached System Heap for auto gvm targets
Enable uncached system heap for autogvm target to allocate buffers
by applications.

Change-Id: I37ad9145542c64c9dfbc3c4f8b0bc3fb668842e5
Signed-off-by: Anvesh Jain P <quic_ajainp@quicinc.com>
2023-05-12 04:07:00 -07:00
Raviteja Laggyshetty
350be18331 interconnect: qcom: Add interconnect provider for BLAIR
Add interconnect providers for clk_virt_noc, mmrt_virt_noc,
mmnrt_virt_noc, system_noc, config_noc, bimc_noc. This will
allow consumers to get their path and set bandwidth constraints
on them.

Change-Id: I41f6c3e0b8b41ec775d717c082d4e5da3f9131f2
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
2023-05-12 16:09:01 +05:30
Ziqi Chen
0f503dc615 ufs: host: qcom: add more prints and dump for debug purpose
Added below debugging prints and dumps:

- Print hibern8 counters on error
- Print all test bus registers on error
- Dump additional debug registers on error
- Modify vendor specific internal RAM dumps.

Change-Id: I3745d904a423990c8a737a2b25eb82f50865db5e
Signed-off-by: Asutosh Das <quic_asutoshd@quicinc.com>
Signed-off-by: Can Guo <quic_cang@quicinc.com>
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-05-12 13:54:17 +08:00
qctecmdr
8ba1cde4c4 Merge "arm64: defconfig: disable STMMAC_ETH" 2023-05-11 20:50:17 -07:00
Ziqi Chen
60b69dc5d2 scsi: ufs-qcom: Fix UIC error issue during suspend/shutdown
commit 52a518019c
("scsi: ufs: core: Fix missing clk change notification on host reset")
invokes clock scaling notification during ufshcd_host_reset_and_restore
and sends hibern8 command when controller is not in active state
causing the command to timeout. ufshcd_host_reset_and_restore can be
called during resume with spm level 5 or during error handling.

commit 30d9a1d8d0
("ufs: host: qcom: Fix hibern8 enter failure during reset")
fixed above issue by checking if the HC is in PM progress or RESET
state before sending hibern8 command. But In this way, it would skip
whole clk change notification if HC is in PM progress and then go ahead
to scale up/down clks. The UIC error might happen as this sequence
violates HPG.

Fix this by adding a check for controller is active or not instead of
checking controller is in PM progress or UFSHCD_STATE_RESET state.

Change-Id: If99542abf83fd49ac6298b18c55e6fa93ad82948
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
2023-05-12 10:35:04 +08:00
Stephen Dickey
efb8cdbc86 sched/walt: nr_big calculation
With the introduction of partial halt, statistics for partially
halted cpus were not counted in the core control decision making
process. Part of this, number of big tasks, impacts big task
rotation. As a result, big task rotation may turn on a little
later than expected, if the cpus are still partially halted
when the calculation is happening, and those cpus are running
tasks.

Correct the big task rotation case by ensuring the one routine
that is used for only this case, cluster_real_big_tasks(),
includes task running on partially halted cpus.

Change-Id: I922ff85949a40e6701cad02676fa300135db5089
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
2023-05-11 12:47:30 -07:00
Shaleen Agrawal
7d9289e2f1 Revert "sched/walt: Increase the number of history samples"
This reverts commit 4a531492c9.

Change-Id: I5d9ede9db9e12840923412495295a2a513e0d2db
Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
2023-05-11 10:42:33 -07:00
qctecmdr
746028be8d Merge "icc: dt-bindings: add endpoint IDs for interconnects for lemans" 2023-05-11 09:35:59 -07:00
qctecmdr
7b05eda2c3 Merge "arm64: defconfig: Add rproc configs for Blair SOC" 2023-05-11 09:35:59 -07:00
qctecmdr
95e6f66add Merge "soc: qcom: Enable qcom aop set ddr driver" 2023-05-11 09:35:59 -07:00
qctecmdr
915b02db56 Merge "defconfig: Enable configs for aop set ddr gen3auto driver" 2023-05-11 09:35:58 -07:00
qctecmdr
f51010b424 Merge "power: supply: qti_battery_charger: add current_avg property for battery" 2023-05-11 09:35:58 -07:00
qctecmdr
7de1a22716 Merge "bazel: Add aop set ddr msmnile module" 2023-05-11 09:35:57 -07:00
qctecmdr
bab7f4bbcf Merge "icc: dt-bindings: add endpoint IDs for interconnects for BLAIR" 2023-05-11 09:35:57 -07:00
Singa Reddy Dasari
2ee801624e drivers: remoteproc: Add subsystem_notif_virt into remoteproc module
Implement subsystem_notif_virt driver based on remoteproc framework.
Add snapshot for virtual subsystem notification driver from msm-5.15
branch commit 21b6eb2f6dbde ("drivers: remoteproc: Add subsystem_not
if_virt into remoteproc module").

Change-Id: I02a0102b69d275608a6ce919ec2c131d4cb4b15f
Signed-off-by: Singa Reddy Dasari <quic_singredd@quicinc.com>
2023-05-11 16:35:18 +05:30
Satya Durga Srinivasu Prabhala
717d3047a6 arm64: defconfig: disable STMMAC_ETH
With KMI update, we see below compilation failure.

ERROR: modpost: "__of_mdiobus_register" \
[drivers/net/ethernet/stmicro/stmmac/stmmac.ko] undefined!

Disable STMMAC_ETH until symbol list and ABI definition gets
updated.

Change-Id: Ie987ef8370ead6f54feb15b80652939689b84bd7
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-05-11 16:01:42 +05:30
Naman Jain
e93ca99c4a soc: qcom: Add subpart Info APIs & sysfs interfaces
Add subpart Info APIs & sysfs interfaces. This commit includes
following  commits from msm-5.15.
  1. f30df4fa1d89ece6140edacc1bd09be950af9b9b
  2. 8e4dde4bd71fbf2e9c214d887f9f2f4056b8d44f
  3. cdffc9d921e4ca3af54d85b8321c1669a4499c97
  4. 24718b30c67878097b5b65f44a1cee23a2d8dc4d
  5. f85c4aec4d64a59a6ef07ae2e863aa8a859f0cc3
  6. eb89168fba8f61cea7266606eb76bcc35f7219f5
  7. a773e7f6d9c302658f5e0ce3ca8873bb2c165e86

Change-Id: Ia99bcab841e7fa7a62d7624686c0c7e31f939ce2
Signed-off-by: Naina Mehta <quic_nainmeht@quicinc.com>
Signed-off-by: Auditya Bhattaram <quic_audityab@quicinc.com>
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2023-05-11 13:50:39 +05:30
qctecmdr
93859a6316 Merge "drivers: remoteproc: return zero on success from setup_mpss_dsm_mem()" 2023-05-10 20:34:50 -07:00
qctecmdr
5c40480e66 Merge "ufs: host: qcom: Affine ESI on registration" 2023-05-10 16:53:23 -07:00
qctecmdr
6f7e50373b Merge "defconfig: enable cpusys vm shared memory access for pineapple" 2023-05-10 16:53:23 -07:00
qctecmdr
bcdb3aeeec Merge "usb: typec: ucsi_glink: Add charger remoteproc timestamps in logs" 2023-05-10 16:53:23 -07:00
Satya Durga Srinivasu Prabhala
7756cf8556 drivers: remoteproc: return zero on success from setup_mpss_dsm_mem()
Need to return zero on success from setup_mpss_dsm_mem() to avoid failures
while taking modem out of reset.

Fixes: c1661e9a71 ("drivers: remoteproc: Use of_for_each_phandle to iterate through mpss_dsm_mem_reg")
Change-Id: I3ba551add3830f0eb7be6449815faa8156d70a76
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-05-09 17:04:13 -07:00
qctecmdr
0b1bcd1e28 Merge "soc: qcom: geni-se: Change qcom-geni-se.h to linux/soc/qcom/geni-se.h" 2023-05-09 09:22:16 -07:00
qctecmdr
e043c2029d Merge "arm64: defconfig: remove CONFIG_ZONE_DEVICE from Blair" 2023-05-09 09:22:16 -07:00
Ingrid Gallardo
6eec41bedf defconfig: enable cpusys vm shared memory access for pineapple
Enable defconfig for shared memory between hlos and cpusys vm.

Change-Id: I2d77e44bf7899edcfadb33f2b9014fa872d416c1
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
2023-05-08 22:58:12 -07:00
Satya Durga Srinivasu Prabhala
b37b0191c4 arm64: defconfig: remove CONFIG_ZONE_DEVICE from Blair
now that the CONFIG_ZONE_DEVICE is getting set from GKI config file,
remove it from Blair config file.

Change-Id: Ie9cf7c870dde7f492bf401c4acc41c416cbb1685
Signed-off-by: Satya Durga Srinivasu Prabhala <quic_satyap@quicinc.com>
2023-05-08 15:16:29 -07:00
qctecmdr
3afa411e2d Merge "drivers: qcom: dcvs: Add old 2022 copyright year" 2023-05-08 14:43:11 -07:00
qctecmdr
cee1309720 Merge "soc: qcom: llcc: Update config data for Pineapple SoC" 2023-05-08 14:43:11 -07:00
qctecmdr
ca0fe33dc6 Merge "ufs: host: qcom: Update ufs_qcom_qos() for ESI use case" 2023-05-08 14:43:10 -07:00
qctecmdr
3070f95743 Merge "soc: qcom: hgsl: Enable hgsl driver" 2023-05-08 14:43:10 -07:00
qctecmdr
8b03ac328b Merge "defconfig: gen4auto: Enable the pinctrl-monaco_auto driver" 2023-05-08 14:43:10 -07:00
qctecmdr
615d5433a6 Merge "interconnect: qcom: snapshot of qnoc-qos-rpm module" 2023-05-08 14:43:09 -07:00
Subbaraman Narayanamurthy
03c3225782 power: supply: qti_battery_charger: add current_avg property for battery
For some userspace applications, average battery current needs
to be exposed for profiling the battery power/current consumed.
Expose "current_avg" property under battery power supply for
the same.

Change-Id: Id9bba4aa9de238b5f31fb85d60624a0c72d63aac
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
2023-05-08 12:35:58 -07:00
qctecmdr
c353179cf3 Merge "wcd939x-usbss: Add APIs for codec-ss" 2023-05-08 12:16:41 -07:00
qctecmdr
6df71acf60 Merge "build: Initial bazel support for gen4auto targets" 2023-05-08 12:16:38 -07:00
qctecmdr
4ba46ecec1 Merge "interconnect: qcom: pineapple: Replace hardcoded voter_idx with enums" 2023-05-08 12:16:35 -07:00
qctecmdr
8bae5b8cdc Merge "regulator: rpmh-regulator: Add IPC logging for RPMh regulator votes" 2023-05-08 12:16:34 -07:00
qctecmdr
572bbe9325 Merge "clk: qcom: clk-smd-rpm: Snapshot of RPM-SMD and PMIC clocks for HOLI" 2023-05-08 12:16:33 -07:00
qctecmdr
6033f0d12d Merge "clk: qcom: debugcc: Snapshot of Debugcc driver for BLAIR" 2023-05-08 12:16:31 -07:00
qctecmdr
0242211937 Merge "drivers: remoteproc: Use of_for_each_phandle to iterate through mpss_dsm_mem_reg" 2023-05-08 09:34:48 -07:00
qctecmdr
5dfd198dd3 Merge "include: regulator: add header for RPM-SMD voltage levels" 2023-05-08 09:34:48 -07:00