Commit Graph

33 Commits

Author SHA1 Message Date
George Shen
c0cf3ec7db msm: eva: Enable FW cachelog
By default.

Change-Id: I4d7eaaf3dda5cd19db5f11922d740a94577152cb
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-08-18 14:16:36 -07:00
George Shen
b293b5b713 msm: eva: Rename hfi related devices
To avoid confusion in code reading and prepare for
future compatibility changes.

Change-Id: I43d61e18d2e2d75d1fd46ceb2e763511329ee32d
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-07-29 16:34:22 -07:00
Jingjing Guo
4cae0f824e msm: eva: Modify trace related code
The original trace related code is outdated.

Change-Id: Idfc161cdc518868300716607fc93b0bab26c0922
Signed-off-by: Jingjing Guo <quic_jig@quicinc.com>
2023-07-12 11:15:13 +08:00
George Shen
33825ea411 msm: eva: Fix KW issue
Change-Id: I93a8ff3ac20de452c2aa220a3dc4bc052880762e
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-06-05 17:01:56 -07:00
George Shen
304e2cf9c0 msm: eva: Allocate 1MB debug buffer for FW
For FW to hold debug info. Simplify driver structure for easy
dump in T32.

Change-Id: Ib310a3d9fe3437d5ce49783eb813fbb2d8bd3216
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-06-02 14:40:35 -07:00
Palak Joshi
00f7039e3c msm: eva: Added EVA FW/HW hung detection mechanism using WD ISR
Recovery mechanism is added to invoke SSR when WD ISR is triggered.

Change-Id: I6f7a289f822c6f1a50494cd6a4855a2c3ba2cc72
Signed-off-by: Palak Joshi <quic_palakash@quicinc.com>
2023-04-14 01:33:58 +05:30
Naveen Ravi
ab30e5fc6f msm: eva: fence override mode
Change-Id: I0cd8b3dc234168f365d8664f3a4d0c09094a1da1
2023-04-11 15:13:48 -07:00
George Shen
d665182aed msm: eva: Add FW 17 support due to HFI change
Non-secure ARP and CRC in BUFFER_TYPE, enabling IFPC.

Change-Id: I551e29e7770cdfd83b0ed9f7f925fb8bd6e6a4a6
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-02-24 12:14:27 -08:00
George Shen
b873ee6df9 msm: eva: Support XO clock reset mutual exclusion
Using existing clock reset APIs.
Remove DSP debug level bitmask check.

Change-Id: Iab6ff6309b2d56e678b468b2137834f8931071e9
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2023-01-04 10:37:53 -08:00
George Shen
2dbd8c396e msm: eva: Support Lanai new HFI cvp_buf_type
Keep ERR/WARN/FW logging only.

Change-Id: I910dd109fa6d16f093848e7c3c3a03c1568f87e6
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-12-08 11:40:12 -08:00
George Shen
1aed484f01 msm: eva: enabling support for data path bringup.
Add checksum support per packet type, configurable.
Add debug hook to print SID setting registers at SMMU fault.
Enable Auto-PIL.
Enable DSP interface.

Change-Id: Ie1fd2c584681b751836854667981a3c10beb56d4
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-10-26 15:29:57 -07:00
Yu SI
7597271dde msm: eva: synx v2 support
propagated sync v2 support from 2.0
reference 4162025

Change-Id: I3427657e21e7eda92088d828203a330ba3c86335
Signed-off-by: Yu SI <quic_ysi@quicinc.com>
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-10-10 18:20:57 -07:00
George Shen
991125b3b1 msm: eva: Enable Lanai compiling
EVA Kernel driver.

Change-Id: Ie415075a05707a20d9eac1e478a2f18c741b3446
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-09-28 18:33:20 -07:00
George Shen
26396dd79a msm: eva: Enable EVA power colapse
Remove temporary changes for RUMI bring up.

Change-Id: Ibad6025fcc9b18d062cd46bf33f6c7e051dbf91d
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2022-02-17 10:08:39 -08:00
George Shen
c52d728376 msm: eva: Load FW as single image
The change also allows runtime change of auto-pil setting. It will
help presilicon bring up.

Change-Id: I9fd97a09e6730a2e13ae4503c74f8a2962c614c5
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2021-12-07 10:41:34 -08:00
George Shen
4477173602 msm: eva: Enable full debug traces for BU
To speed up debugging and problem fixes.

Change-Id: Ieb013696f2e33ef2781be03005ff6fedc46ab1d6
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2021-11-30 12:40:02 -08:00
George Shen
250bb8b4e1 msm: eva: Propagate tip of 1.0 to 2.0
For Kailua SoD bring up.

Change-Id: I69e41850b55c688caf40f2066ed2628c2df274a3
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
2021-11-28 14:51:51 -08:00
Yu SI
4981885760 msm: eva: merged tip from eva-kernel.lnx.1.0
merged tip source code from eva-kernel.lnx.1.0,
and verify the promotion flow.

Change-Id: I031508fd8a23995a166506f3d190e5e228eb13c2
Signed-off-by: Yu SI <ysi@codeaurora.org>
2021-10-27 18:14:30 -07:00
Aniruddh Sharma
b30be7e544 msm: eva: Minidump enablement for eva
Enabled FW static dump.
Enabled VA_MD for CMD and MSG queues, both for CPU and DSP.
Enabled VA_MD for debug structs.

Change-Id: I9a5a2418620cd0608b90301eefe0726a462c1ce3
Signed-off-by: Aniruddh Sharma <anirshar@codeaurora.org>
2021-09-14 09:49:24 -07:00
George Shen
0780657491 msm: eva: Fix typo in DSP debug mask check
Don't ingore memory debugging level.

Change-Id: I2d1df82c2c7ba1741e373ab6cd69635b5f54215e
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-08-20 14:06:32 -07:00
George Shen
a610c57ca1 msm: eva: Add control of EVA SSR behavior
For better debugging, it's conveninet to stall device when
EVA SSR happens.

Change-Id: I1bfd97d99ad3b6c0276282be9de4e7bb2456227d
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-08-18 19:09:31 -07:00
George Shen
72eb20af3d msm: eva: Add SSR counter
Support configurable number of SSR tolerance before calling
BUG_ON in SMMU fault scenario.

Change-Id: I19dabbeaa1cf5be86f42a6ace62ef5da12743e79
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-08-13 13:43:45 -07:00
George Shen
349e230912 msm: eva: Fix EVA SSR recovery in DSP
Avoid deadlock in DSP EVA session creation after EVA SSR.

Change-Id: I22b363883db5d3bf8e8554a3708cb549437899ba
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-05-27 16:37:55 -07:00
Ronald Karyodisa
fe9fae2af4 msm: eva: Add debug option to disable DCVS
Add debug option using debugfs to disable DCVS.
Add extra check for DCVS.

Change-Id: I989ef72857dde306fa0ca9466843ebc1d2b30f85
Signed-off-by: Ronald Karyodisa <ronaldk@codeaurora.org>
2021-05-06 10:47:51 -07:00
George Shen
98253a203d msm: eva: Disable excessive debug traces
Prepare for L0 release.

Change-Id: I427f91b9b6e255fb05ab1f52a1684ea1542ee528
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-03-26 21:24:20 -07:00
Yu SI
9871416e79 msm: eva: mmrm integration
integrated mmrm api
added make file and kbuild support
code ready, enable flow.

Change-Id: Ic7da142bc68e60312ee9a12128847be8ed27a685
Signed-off-by: Yu SI <ysi@codeaurora.org>
2021-03-19 12:09:28 -07:00
George Shen
600394cf35 msm: eva: Update date of source
To comply with open source scan requirements.

Change-Id: Idd9a4dec7dbe7ee7d4dd7294083d9b045438f67d
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-03-15 14:53:26 -07:00
George Shen
5487a06469 msm: eva: enable EVA hw power collapse
EVA control is allowed to power collapse EVA core during inter
frame idle time.

Change-Id: I4da4efe9a5d8f2c9a5f9dba6286cbd6c5a8ab903
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-02-19 16:48:05 -08:00
George Shen
67c58f3214 msm: eva: Disable hw controled power collapse
Update EVA CC register offset and disable power collapse.

Change-Id: I142053666e80c24ce1b12a4566b28638c615ec9b
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-01-15 18:06:48 -08:00
George Shen
e96edf5d62 msm: eva: Enable auto-pil
Enable auto pil and all debug loggings for bring up.

Change-Id: I14e56e0f13269db78ef9a8e6bc63619d90dd62bc
Signed-off-by: George Shen <sqiao@codeaurora.org>
2021-01-08 09:52:28 -08:00
George Shen
10b7267132 msm: eva: Snapshot of eva driver compiled in LKP
Port EVA driver to LKP.

Change-Id: If258891dd5adef096c28eaded36b4529750b9359
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-09-10 11:36:58 -07:00
George Shen
16527cad45 msm: eva: Merge Lahaina changes
changes from gerrits: 3302597 3292606 3313485 3315054 3303642

Change-Id: I7d481ced38963396255435ddb968017f79bfbe12
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-09-02 22:49:52 -07:00
George Shen
387d008122 msm: eva: Initial eva driver
For Waipio.

Change-Id: I2fa0eeadcbf9252190a6febbe0f890f1dc7b1524
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-07-10 16:34:39 -07:00