Commit Graph

7 Commits

Author SHA1 Message Date
Viraj Mandlekar
88d2c55b0c msm: synx: ipclite: Versioning
1. IPCLite now support downgrading of APIs
depending on the version.
2. Version can be configured from Device Tree
3. Features can be configured from Device Tree
4. FW would downgrade to compatible versions.

Change-Id: Ie6a4d94f63a5ed4bea6327ced218cfb75fb9b8e6
Signed-off-by: Viraj Mandlekar <quic_vmandlek@quicinc.com>
2023-07-10 23:22:04 -07:00
Chelliah Vinu R
bfffddb83e msm: synx: ipclite: Export HW Mutex APIs
Cleaned up the HW Mutex functions to export APIs
(acquire and release) for cross-core testing.

Change-Id: I2ddda8b5fc67c80a8a372a2c4124b887f8130e14
Signed-off-by: Chelliah Vinu R <quic_chelliah@quicinc.com>
2023-07-07 10:55:05 -07:00
Chelliah Vinu R
26a5a7df0d msm: synx: ipclite: TOC Restructuring
1. Offset based TOC setup, which should be parsed
   by the FWs to build required structures.

2. Dynamic Partitioning support - where the enabled
   hosts' info is parsed from DT and only required
   partitions are allocated in the global memory.

3. Magic Number based TOC header data integrity.

4. Clean ups
 - Channel status moved to partition header
 - Use only standard kernel return codes

Backward Compatibility Scenario:

Older APPSS code will have toc.size in place of
magic number, hence the value will be 4096, which
should be detected by the FW to use older structures.

Change-Id: I776eca4bdd997e983d35ef1e1f068cf73cdb72f7
Signed-off-by: Chelliah Vinu R <quic_chelliah@quicinc.com>
2023-06-14 22:57:06 -07:00
Chelliah Vinu R
82fbaea349 msm: synx: ipclite: IPCLite Debug
Below dynamic debug mechanisms are added:
1. Sysfs based control for kernel logs
2. In-memory logging
3. Debug Structures

Change-Id: I1da118881b5e79ddd2ada91749da13233e360e16
Signed-off-by: Chelliah Vinu R <quic_chelliah@quicinc.com>
2023-02-02 20:36:58 +05:30
Chelliah Vinu R
fd9e62c31f msm: synx: ipclite: Added ICP core to IPCLite Global memory
Enables ICP to communicate with other cores through
corresponding channels

Change-Id: Id7e6e9e14ee257bcce014c29147877375d8d48bb
Signed-off-by: Chelliah Vinu R <quic_chelliah@quicinc.com>
2022-12-22 02:34:06 +05:30
Chelliah Vinu R
a2639f4c3d msm: ipclite: Rebased SSR updates from kernel_platform
Added latest SSR updates in IPCLite from kernel_platform
to vendor space

Change-Id: I9e551a0d69f45d89cae2165e25468945fcc68f7f
Signed-off-by: Chelliah Vinu R <quic_chelliah@quicinc.com>
2022-10-23 19:41:07 +05:30
NITIN LAXMIDAS NAIK
25cb61693a msm: synx: build script as DLKM for Vendor SI
added mk and Kbuild script to support building synx driver as external module for Vendor SI

Change-Id: Ib66325d115ca46e6b61de1e168e85d09419f73e2
Signed-off-by: NITIN LAXMIDAS NAIK <quic_nitinlax@quicinc.com>
2022-09-15 10:11:42 -07:00