Commit Graph

1105391 Commits

Author SHA1 Message Date
Chris Lew
dc5a4fb32f rpmsg: glink: Try to send rx done in irq
Some remote processors and usecases such as audio playback are
sensitive to the response time of rx done. Try to send the rx done cmd
from irq context. If trysend fails, defer the rx done work like before.

Change-Id: I862349b20f4ade11fa62f91c9c409f9b1b79d478
Signed-off-by: Chris Lew <clew@codeaurora.org>
2022-08-01 17:38:08 -07:00
qctecmdr
555aaed2e6 Merge "clk: qcom: pineapple: change the max vdd_level from Turbo_L1 to Turbo" 2022-07-30 11:29:32 -07:00
qctecmdr
d7a7b031ad Merge "defconfig: pineapple-gki: Enable MPROC drivers" 2022-07-30 09:47:42 -07:00
Xubin Bai
754fc3ef69 clk: qcom: pineapple: change the max vdd_level from Turbo_L1 to Turbo
Some voltage rails can support TURBO_L1 as theri max
voltage level, like VDD_CX and so on. Some voltage rails
can only support TURBO as their max voltage level, like
VDD_MM and so on. But since we don't need Turbo_L1 for
any of our CCs, then reduce it for all of them.

Change-Id: I92ed5f2aeddde9ba526c91db75278c9d124c7463
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-07-29 14:20:08 -07:00
Chris Lew
8ca7250153 defconfig: pineapple-gki: Enable MPROC drivers
Enable ipc logging, smp2p, qcom_aoss, qmp, smp2p sleepstate, qrtr and
glink drivers for pineapple GKI.

Change-Id: I9c4cc4165f1fcdd0d4aa76fb0fd406efd45dd4b1
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-07-28 18:50:17 -07:00
Chris Lew
245ae2355c kernel: trace: Remove ipc logging dependency
Remove the ipc logging select on GENERIC_TRACER. It is not required
for compilation and having it creates a static configuration
requirement.

Change-Id: Ic114d05ec1126a3fa9e461af3c2bc86c8f581525
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-07-28 18:50:03 -07:00
qctecmdr
edbe2d6724 Merge "android: abi_gki_aarch64_qcom: Add symbols for coresight drivers" 2022-07-28 16:11:32 -07:00
qctecmdr
766d3a4d9a Merge "defconfig: pineapple-gki: enable rpmh-regulator and proxy-consumer drivers" 2022-07-27 20:59:39 -07:00
qctecmdr
fec0d51453 Merge "android: abi_gki_aarch64_qcom: Add qrtr symbols" 2022-07-27 20:59:39 -07:00
qctecmdr
f95ad166bc Merge "clk: qcom: rpmh: Add kalama rpmh support for KKP" 2022-07-27 19:04:39 -07:00
qctecmdr
b0afeef218 Merge "interconnect: qcom: Add the stub version for qcom_icc_pre_aggregate" 2022-07-27 11:37:36 -07:00
Mao Jinlong
7028cc99f8 android: abi_gki_aarch64_qcom: Add symbols for coresight drivers
Add symbols needed for coresight drivers to the symbol list.

Change-Id: Id3b727be1964bf96171ac895fa8352da9af345d0
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
2022-07-27 09:11:41 -07:00
Elliot Berman
be3f49aa77 build.config: Enable KMI_SYMBOL_LIST_STRICT_MODE
Enable KMI_SYMBOL_LIST_STRICT_MODE to ensure that all symbols added to
symbol list exist.

Remove CFI symbols which disappeared as a result of commit 56d33a1ce1
("ANDROID: disable LTO and CFI").

Change-Id: Ifa7baefd99f3e6b2e7fdbf17fa3e2891b9b0dbe8
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2022-07-27 04:46:52 -07:00
David Collins
dc9717da49 defconfig: pineapple-gki: enable rpmh-regulator and proxy-consumer drivers
Enable the RPMh regulator driver so that consumers can make
requests for rpmh-regulator devices.  Also enable the regulator
proxy-consumer driver so that proxy requests can be placed for
rpmh-regulator devices.

Change-Id: I1317c256585529fde47c1999945c54356b0d510f
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2022-07-25 18:29:40 -07:00
Chris Lew
7af4a29f8a android: abi_gki_aarch64_qcom: Add qrtr symbols
Add skb APIs used in the qrtr driver to the abi symbol list.

Change-Id: I9389bcaa736fd59df18da8cc0bc9a9797dc9d957
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-07-25 17:48:34 -07:00
qctecmdr
aea6137dc7 Merge "android: abi_gki_aarch64_qcom: Add back dropped symbols" 2022-07-25 14:11:37 -07:00
qctecmdr
ee398d0ab9 Merge "modules.list.msm.pineapple: Add mproc modules" 2022-07-25 14:11:36 -07:00
qctecmdr
4d17b42bfd Merge "defconfig: pineapple-gki: Enable debugcc driver" 2022-07-25 12:30:35 -07:00
qctecmdr
ec9dfb63aa Merge "build.config: Add msm.kalama target and modules blacklist" 2022-07-24 19:48:05 -07:00
qctecmdr
ce08b0087a Merge "soc: qcom: Add snapshot of hung_task_enh driver for pineapple" 2022-07-22 20:51:34 -07:00
qctecmdr
b6c2ddb96e Merge "android: abi_gki_aarch64_qcom: add symbols for ipcc driver" 2022-07-22 18:09:52 -07:00
Guru Das Srinagesh
a5edeb0e9f build.config: Add msm.kalama target and modules blacklist
Add build.config to support Kalama target.

Change-Id: Ib551207d415928370276adc7439fd9adb702f836
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-07-22 13:55:27 -07:00
qctecmdr
b78d4ac8f5 Merge "clk: qcom: clk-debug: Port public clk_dump APIs" 2022-07-22 12:24:29 -07:00
qctecmdr
ffe7207532 Merge "usb: dwc3: dwc3-msm-core: Add DIAG IMEM management into DWC3 MSM" 2022-07-22 12:24:27 -07:00
qctecmdr
8d95b1084d Merge "abi_gki_aarch64_qcom: Update symbol list" 2022-07-22 06:04:53 -07:00
qctecmdr
4a1eba59f3 Merge "dt-bindings: Add snapshot of header files from msm-5.15" 2022-07-22 03:49:29 -07:00
qctecmdr
e76113b123 Merge "arm64: defconfig: kalama: Add initial config fragments" 2022-07-22 03:49:28 -07:00
Vivek Aknurwar
a143cefde5 clk: qcom: rpmh: Add kalama rpmh support for KKP
Add kalama rpmh support for KKP.

Change-Id: I3325cbfaa9c63d9261b8ecd0d70e6cbb648da1dd
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2022-07-21 22:08:28 -07:00
qctecmdr
e243845df5 Merge "defconfig: pineapple-gki: Enable LLCC drivers" 2022-07-21 17:09:43 -07:00
Wesley Cheng
685398da72 usb: dwc3: dwc3-msm-core: Add DIAG IMEM management into DWC3 MSM
Originally, the PID IMEM field was updated as part of the f_diag driver
instance.  Since the f_diag, driver has been removed, relocate this logic
into DWC3 MSM.  Once receiving the pullup enable call, the logic will look
up for the diag function, and if present handle writing the PID and device
serial number to IMEM.  This removes the need for having userspace
update/trigger the IMEM update.

Change-Id: If6ba232270269001690b3cedd3d0de9bf2d4cebb
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2022-07-21 13:21:23 -07:00
Guru Das Srinagesh
c15787255a dt-bindings: Add snapshot of header files from msm-5.15
Add snapshot of binding header files as of 'commit 8bc1219b2b23
("Merge "ARM: dts: qcom: Add hotplug mitigation for cpu TSENS
thermal zones"")' from msm-5.15/msm-5.15.

Change-Id: I07ab7223a35a05e1b7e1f84ffa652876f5b8f472
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-07-21 21:33:55 +08:00
Huang Yiwei
cb8561159e abi_gki_aarch64_qcom: Update symbol list
Update abi_gki_aarch64_qcom symbol list.

Change-Id: Ibf1e54fea7872501449b29e56ed1a89d5e8b7059
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-07-20 22:07:29 +08:00
grandhir
96ade61e87 drivers: llcc_perfmon: Add DUMP_SEL changes
Add dump_sel changes in LLCC Perfmon driver

Change-Id: I46b8c37af8dce1ccfd7d0b92109e33b37e977817
Signed-off-by: grandhir <quic_grandhir@quicinc.com>
2022-07-20 15:19:32 +05:30
Guru Das Srinagesh
588a99331f defconfig: pineapple-gki: Enable LLCC drivers
Enable CONFIG_QCOM_LLCC and CONFIG_QCOM_LLCC_PERFMON for pineapple SoCs.

Change-Id: Idd14fb819b3cef012d27080c889eeff297e68838
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-07-18 16:47:06 -07:00
Guru Das Srinagesh
e2b53a41f0 soc: qcom: llcc: Add configuration data for pineapple SoC
Add LLCC configuration data for pineapple SoC.

Change-Id: I209ffd87bbd1a3881f624d5c324748f53582b6a0
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-07-18 16:47:06 -07:00
Wesley Cheng
8166e88dfa usb: dwc3: dwc3-msm-core: Reshuffle DWC3 DTSI node parameter parsing
Move OF node parsing for the DWC3 MSM and DWC3 core into its own APIs in an
effort to reduce code complexity for the DWC3 MSM probe API.

Change-Id: Ibd44dd4252286ee997a3508edff8582a7ecb8b78
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2022-07-15 11:00:42 -07:00
Huang Yiwei
cecbbdbdbd soc: qcom: Add snapshot of hung_task_enh driver for pineapple
This is a snapshot of hung_task_enh driver as of msm-5.15 commit
<5911da4cc369> (Merge "usb: phy: snps: Add support to vote/unvote
ref_clk").

Change-Id: Idfae06cec172254e5f18564fc5a042c1af506f84
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-07-15 10:38:19 +08:00
Vivek Aknurwar
f15f425842 clk: qcom: clk-debug: Port public clk_dump APIs
Add public APIs that should have been ported along with
commit 7af068c1bf78 ("clk: qcom: clk-debug: Add snapshot
from msm-5.10").

Change-Id: I8a3b74b027da1e67375d77fa296be9bb9041dad9
Signed-off-by: Vivek Aknurwar <quic_viveka@quicinc.com>
2022-07-14 16:58:22 -07:00
Xubin Bai
0a039f9ee0 defconfig: pineapple-gki: Enable debugcc driver
Enable debugcc driver for Pineapple.

Change-Id: I2efdd64b659d597d8c0d4b88daa00489b569c50f
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-07-14 02:20:56 -07:00
Xubin Bai
216c55a300 clk: qcom: debugcc-pineapple: Add initial debug cc driver
Add debug cc measure nodes for Pineapple to support
debugfs clk measure.

Change-Id: Ibf46ee5c39c590dd88d5ba528156a0aa4061e02a
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-07-14 02:14:08 -07:00
Huang Yiwei
58cfb71adc android: abi_gki_aarch64_qcom: add symbols for ipcc driver
Add symbols needed for upstream ipcc driver to the symbol list.

Change-Id: I953cddbe08718b2f33c017a9e2e83e0e74308b73
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-07-14 10:22:43 +08:00
Guru Das Srinagesh
8703672c0a android: abi_gki_aarch64_qcom: Add back dropped symbols
Add back two symbols that were inadvertently dropped during a merge
operation.

Change-Id: I87472056cbaaab41bd6d9b24785fa6c5d99ef9e2
Fixes: 8d05ee6f07 ("Merge keystone/android-mainline-keystone-qcom-release.5.18.0 (36fb3cb) into msm-pineapple")
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-07-13 18:48:30 -07:00
qctecmdr
28be9f9e68 Merge "modules.list.msm.pineapple: Add clk-rpmh clk module" 2022-07-13 13:19:05 -07:00
qctecmdr
44917cc1f6 Merge "pci: msm: Add snapshot of PCIe MSM root complex driver" 2022-07-13 13:19:05 -07:00
qctecmdr
5bde33fe3f Merge "defconfig: pineapple-gki: Enable RPMH clock driver" 2022-07-13 11:10:46 -07:00
Xubin Bai
5f4a63de18 interconnect: qcom: Add the stub version for qcom_icc_pre_aggregate
Every BCM is added to the commit list in pre_aggregate()
when probe, but calling display/camera BCM Voter can cause
a crash until after display/camera HW are up.
We need work around this by stubbing pre_aggregate callback.

Change-Id: I2d0b76a9658b45f926b9db83b7c3669996fd5329
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-07-12 19:06:49 -07:00
Xubin Bai
1796982a30 modules.list.msm.pineapple: Add clk-rpmh clk module
Add clk-rpmh module in pineapple build config file.

Change-Id: I070b992aa1549dd238d5aa81bce9e2e61554adec
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-07-12 03:52:14 -07:00
Xubin Bai
cacc6a2e75 defconfig: pineapple-gki: Enable RPMH clock driver
Enable RPMh clock driver so consumers can vote for
actual RPMH clocks.

Change-Id: I3e1e10e930df46501bf95fbc2ac7a0e18391f667
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-07-12 03:30:18 -07:00
Xubin Bai
08a7d82b61 clk: qcom: rpmh: Add support for RPMH clocks for Pineapple
Add clock rpmh data to communicate with RPMH clocks
for Pineapple.

Change-Id: I13bcf5623595e69addea70a52d902e15d9977550
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-07-12 03:26:45 -07:00
Chris Lew
b3645b11f4 modules.list.msm.pineapple: Add mproc modules
Add the qmp, qrtr and ipc logging modules which are needed for
ramdisk bootup.

Change-Id: I8b9f6ff14c0b31fa764adb619357d8987f1e3e34
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-07-11 21:52:20 -07:00