Commit Graph

50 Commits

Author SHA1 Message Date
Om Deore
e0847f2bb3 arm64: dts: msm: Enable cb handing in irq context
GLINK changed their default handling of channel callbacks from the irq
context to a callback thread. This change impacted FastRPC performance.

Configure FastRPC to use irq context to handle channel callbacks to fix
the performance regression.

Change-Id: I59b2611e2ebe3f5d33650666a8ad7912d79cc1d1
Signed-off-by: Om Deore <quic_odeore@quicinc.com>
2025-02-27 15:07:20 +05:30
Om Deore
bcd55c2a7b arm64: dts: msm: Enable GLINK RT callback handling
GLINK changed to using a non-RT priority when handling channel
callbacks.

For FastRPC configure GLINK to use RT priority when handling
channel callbacks to avoid any performance regression.

Change-Id: Ia1b0a105b79fb450d1fe3437ad88b3ce5d9fd943
Signed-off-by: Om Deore <quic_odeore@quicinc.com>
2025-02-27 15:04:26 +05:30
Om Deore
c82525e321 arm64: dts: msm: Increase GLINK intents
There is currently a potential for a deadlock in the DSP when it
wants to send a GLINK message but is waiting for an intent.
Increase the number of intents to 1 more than the number of DSP
supported threads so that the DSP won't have to wait for intents.

Change-Id: I31edbebe06738bb56a8305957fde74388c4a5154
Signed-off-by: Om Deore <quic_odeore@quicinc.com>
2025-02-27 15:02:41 +05:30
Om Deore
ca5254fe54 arm64: dts: msm: Enable cb handing in irq context
GLINK changed their default handling of channel callbacks from the irq
context to a callback thread. This change impacted FastRPC performance.

Configure FastRPC to use irq context to handle channel callbacks to fix
the performance regression.

Change-Id: I8ab7a69127e66e046d10f5bd226cfb74e6ba2318
Signed-off-by: Om Deore <quic_odeore@quicinc.com>
2025-02-01 00:19:18 +05:30
Om Deore
a2a0bc1cd8 arm64: dts: msm: Enable GLINK RT callback handling
GLINK changed to using a non-RT priority when handling channel
callbacks.

For FastRPC configure GLINK to use RT priority when handling
channel callbacks to avoid any performance regression.

Change-Id: Ie6e04caceb8ca4fcd9688975c3335ef5d6c7b1c8
Signed-off-by: Om Deore <quic_odeore@quicinc.com>
2025-02-01 00:18:28 +05:30
Om Deore
ba3cccd0be arm64: dts: msm: Increase GLINK intents
There is currently a potential for a deadlock in the DSP when it
wants to send a GLINK message but is waiting for an intent.
Increase the number of intents to 1 more than the number of DSP
supported threads so that the DSP won't have to wait for intents.

Change-Id: I6fa6239573926fb8cef3ce56b8c8a7833435e8ba
Signed-off-by: Om Deore <quic_odeore@quicinc.com>
2025-01-23 12:03:14 +05:30
Santosh
0806132152 ARM: dts: msm: Update PD type from the unsigned PD pool to user PD
For the Parrot target DSP, the QURT kernel does not support multiple
unsigned sessions with the same SID, resulting in spawn failures for
subsequent unsigned sessions. To address this, update the PD type
property from the unsigned PD pool to user PD.

Change-Id: Ic8afce3b318e4ccbbd5d682d4c14006d52920e97
Signed-off-by: Santosh <quic_ssakore@quicinc.com>
2024-12-20 13:49:33 +05:30
Patan Saddam
1b0cf025ed arm64: dts: msm: Enable compilation of trusted-vm dt project for kera
and tuna

Enable compilation of trusted-vm dt files in opensource dsp-devicetree.

Change-Id: I41929b0ac907efb3610bc1c4da91dc95b73bee4a
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-11-28 19:47:31 +05:30
Linux Build Service Account
4ba1773deb Merge "arm64: dts: msm: Enable compilation of dt project for kera" into dsp-kernel.lnx.2.0 2024-11-25 08:40:03 -08:00
Linux Build Service Account
decc56ee55 Merge "arm64: dts: msm: Increase GLINK intents" into dsp-kernel.lnx.2.0 2024-11-25 08:40:03 -08:00
Liam Mark
a1df76367c arm64: dts: msm: Increase GLINK intents
There is currently a potential for a deadlock in the DSP when it wants to send a GLINK message but is waiting for an intent.

Increase the number of intents to 1 more than the number of DSP supported threads so that the DSP won't have to wait for intents.

Signed-off-by: Liam Mark <quic_lmark@quicinc.com>
Change-Id: I8503886606027df45d6bcd2f4492a484cdc84696
2024-11-19 15:02:35 -08:00
Patan Saddam
357167c25c ARM: dts: msm: Add tuna APQ SKU soc id
Add tuna APQ SKU soc id.

Change-Id: If7b7f1271f49776b205a8f2044eb5202d4ba4dea
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-10-28 10:24:13 +05:30
Patan Saddam
daad2c1ce5 arm64: dts: msm: Enable compilation of dt project for kera
Enable compilation of devicetree files in opensource dsp-devicetree.

Change-Id: I0ffdd35cb09c8b3e953faae511c438e3002f2024
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-10-17 03:10:20 -07:00
Patan Saddam
2f90bc992d ARM: dts: msm: Add kera APQ SKU soc id
Add kera APQ SKU soc id.

Change-Id: I513d88531287e93a4e1c66fa6415275b8001a974
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-10-15 01:03:27 -07:00
QCTECMDR Service
356ed50323 Merge "arm64: dts: msm: Enable compilation of dt project for tuna" 2024-10-11 04:58:20 -07:00
Patan Saddam
a575778002 arm64: dts: msm: Enable compilation of dt project for tuna
Enable compilation of devicetree files in opensource dsp-devicetree.

Change-Id: I03ca15806692389a3e28c4c1c64756fe872f2c79
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-10-08 02:41:45 -07:00
Patan Saddam
bf73e49e40 ARM: dts: msm: Add tuna7 soc id
Add tuna7 soc id.

Change-Id: I14c8196bde03eaf683d7eb4bae3f1ef15caf76d3
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-09-30 12:03:31 -07:00
Akhil Manikoth Kallankandy
826a016e5b ARM: dts: msm: Add supported board-id's for ravelin
Add supported board-id's for ravelin

Change-Id: Ice7a66a17e3b68d9e666cb5453b344ec70eb5263
2024-09-02 13:59:03 +05:30
Patan Saddam
b254cecddd ARM: dts: msm: Fix compilation error
Add semicolon to fix compilation error.

Change-Id: I351917a718ce5526787b7040c5c3b8d9d3a274ae
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-08-16 01:33:46 -07:00
QCTECMDR Service
ae6eb5e9eb Merge "ARM: dts: msm: Add kera dts and dtsi files" 2024-08-13 19:19:15 -07:00
Patan Saddam
50032b556d ARM: dts: msm: Add tuna dts and dtsi files
Add context banks support for tuna

Change-Id: Ib5a68c71da8211a8a6eaf17d72b46d4449d608f4
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-08-11 23:28:03 -07:00
Patan Saddam
9a258f7e6f ARM: dts: msm: Add kera dts and dtsi files
Add context banks support for kera

Change-Id: I84be824b5cca9b40f781a201963c9c0541bf67ed
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
2024-08-09 15:48:43 +05:30
Akhil Manikoth Kallankandy
7ae32dc19f ARM: dts: msm: Add ravelin soc id's
Add ravelin soc id's for supporting variants

Change-Id: I04927bbc4bc6f3a338ca2d2864b759a10907e10b
2024-07-30 13:04:35 +05:30
Akhil Manikoth Kallankandy
9c36971c24 ARM: dts: msm: Add parrot soc id's
Add parrot soc id's for supporting variants

Change-Id: I4ff04da42fb4a4b95599c7d7ee787d2d30a7e1ea
2024-07-26 14:32:09 +05:30
Linux Build Service Account
73d8eb7ad7 Merge "ARM: dts: msm: Add parrot soc id's" into dsp-kernel.lnx.2.0 2024-07-15 23:54:28 -07:00
Himanshu Agrawal
af02293fd9 ARM: dts: msm: Add ravelin dts and dtsi files
Add ADSP context banks support for ravelin

Change-Id: I5654b66740165e8646ef0503ecedff6b6c1661a2
(cherry picked from commit 0aa9cc2941e7b541b3207186d250794ec8d790a8)
2024-07-16 11:51:47 +05:30
Akhil Manikoth Kallankandy
17ebcbb45d ARM: dts: msm: Add parrot soc id's
Add parrot soc id's

Change-Id: I33f2f6e8402cf4f1dd3dd102579be58bc5446f40
2024-07-15 23:14:21 -07:00
Linux Build Service Account
529ebda75e Merge "ARM: dts: msm: Add parrot dts and dtsi files" into dsp-kernel.lnx.2.0 2024-07-15 23:00:49 -07:00
Akhil Manikoth Kallankandy
fa64779d37 ARM: dts: msm: Add parrot dts and dtsi files
Add context banks support for parrot

Change-Id: Iec07cdee087f72762d278ac4c9015497c22ec007
2024-07-10 10:38:39 +05:30
Abhinav Parihar
8a8c40f33a arm64: dts: qcom: monaco: Remove coherent property for monaco
Remove coherent proeprty for fastrpc smmu context banks in
monaco target. Monaco target doesn't support IO coherency hence
coherent property is not applicable for monaco.

Change-Id: I9d1f46825b264c48dc519cf6be3cb1edb6241d70
Signed-off-by: Abhinav Parihar <quic_parihar@quicinc.com>
2024-07-09 14:27:02 +05:30
Edgar Flores
5ccc2af5ed arm64: dts: msm: Add iova alignment flags for trusted dtsi
Add iova-max-align-shift and iova-best-fit flags to maximize
smmu allocation and minimize smmu fragmentation.

Change-Id: Iaaab351ca5498a26243ecccd8392ec0bd1c9572c
2024-05-28 15:04:09 -07:00
Himateja Reddy
b8de1292e9 arm64: dts: qcom: sun: Add SMMU pool configuration
Add Unsigned PD pool configuration and allocation ranges property,
used to pool multiple SMMU context banks with a fixed allocation
ranges. This pool can be used by multiple Unsigned applications
to offload to remote DSP subsystem and this removes the limitation
of only allowing fixed number of Unsigned applications to offload
to remote DSP subsystem.

Change-Id: I3dc4309f4423aae7e68c743d129f9671a1ed96ca
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2024-05-20 16:52:00 -07:00
Anand Kulkarni
48f365b6cf arm64: dts: qcom: monaco: Add devicetree files for monaco
Add devicetree files with fastrpc property and context banks
information for monaco target.

Change-Id: Id98c632698dfcd0d33b5c6346ce940a726ee7067
Signed-off-by: Anand Kulkarni <quic_anankulk@quicinc.com>
2024-05-10 11:14:36 +05:30
qctecmdr
3c197de66e Merge "ARM: dts: msm: new MSM-ID to support for different packagings" 2024-05-03 16:00:43 -07:00
Vivekanand Tryambake
c6c5a4d000 ARM: dts: msm: new MSM-ID to support for different packagings
Add new MSM-ID for SUN target

Change-Id: I6690c1ee67e18e272b8eaba26dc8f37e95c4b1e5
2024-05-02 14:19:42 -07:00
Abhinav Parihar
6cbb8a3adf arm64: dts: qcom: niobe: Disable niobe devicetree files
This change removes niobe related dsp-devicetree files. As
kernel devicetree is proprietary removing niobe devicetree
from opensource.

Change-Id: If7a080918924a99673b42532164742bfdf5c1d11
Signed-off-by: Abhinav Parihar <quic_parihar@quicinc.com>
2024-04-22 10:42:33 +05:30
Himateja Reddy
fbe37c58a9 arm64: dts: msm: Add SOC info for sun targets
Currently SOC info is not part of DT. Add SOC info to support
sun targets

Change-Id: I5f22bea964a9b9a561a4ddd1299d34c49f7d0954
Signed-off-by: Himateja Reddy <quic_hmreddy@quicinc.com>
2024-04-02 09:03:29 -07:00
qctecmdr
507a690d7a Merge "ARM: dts: qcom: Add new msm-ids for niobe SoC" 2024-04-01 19:15:04 -07:00
qctecmdr
28a64c8190 Merge "arm64: dts: msm: Fix sun's trusted dtsi compilation" 2024-03-31 20:58:47 -07:00
Abhinav Parihar
b18a9fc602 ARM: dts: qcom: Add new msm-ids for niobe SoC
Add new msm-ids for fastrpc dts to support different
msm profiles.

Change-Id: Iaadf6d39bc76fc685d42fb985de558501dae37d5
2024-03-31 15:50:01 +05:30
Edgar Flores
4fa97ee67b arm64: dts: msm: Fix sun's trusted dtsi compilation
Update dtsi syntax to fix compilation.

Change-Id: I18d2b4960dfdcdc325abf78b57f3f289b2b10ffe
2024-03-29 10:48:51 -07:00
Edgar Flores
0470248d10 ARM: dts: qcom: Add new msm-ids for sun SoC
Add new msm-ids for fastrpc dts to support different
thermal profiles.

Change-Id: I09dca4a363d70a35dd5d7860b6f4f5580184b4e1
2024-03-28 09:24:48 -07:00
qctecmdr
76b52ca390 Merge "arm64: dts: msm: Update iommu address field in DT" 2024-03-21 04:27:21 -07:00
Edgar Flores
3969e073bd ARM: dts: Fix compilation of fastrpc device tree
Add Pakala msm-id to fastrpc trusted drivers's dts file.

Change-Id: I01069d942a4901a1bef35fbddbee357926fad3e1
2024-03-04 17:31:48 -08:00
Anirudh Raghavendra
d6c8f03029 arm64: dts: msm: Update iommu address field in DT
Update DT to accomodate new devicetree property 'iommu-addresses' which describes the IOVA addresses that cannot be used.
Update qcom,iommu-dma-addr-pool field to iommu-addresses to reflect this.

Update PVM DT file to include all the addresses. Update TVM DT file accordingly.

Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
Change-Id: I8fc25330c2db8d468c283c7c64136177031a8d9c
2024-02-29 10:28:54 -08:00
Anirudh Raghavendra
a8c3e5c738 arm64: dts: msm: Propagate gerrits 5108976 and 5008443 to opensource branch
Manually propagate gerrits to new opensource branch from older proprietary branch.

Change-Id: I982aa22e173de607f1dc6be778b7887eb47dbcfe
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2024-02-26 13:39:03 -08:00
Anirudh Raghavendra
f96ec39484 arm64: dts: qcom: sun: Add pineapple and blair DT files to opensource
Add the removed DT files of pineapple and blair targets to opensource
project.

Change-Id: I20afed782c053c2899fd3f662278f6721ad2e2e6
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2024-02-22 15:53:03 -08:00
Anirudh Raghavendra
735781a845 arm64: dts: qcom: sun: Enable compilation of opensource dt project
Enable compilation of devicetree files in opensource dsp-devicetree

Change-Id: I399f8f8c09c9d2b4d537316e1dd8706be25d0681
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2024-02-21 11:00:09 -08:00
Anirudh Raghavendra
68b5b87364 arm64: dts: qcom: sun: Add devicetree files to opensource project
dsp-devicetree files are currently a part of a proprietary project
and there is a requirement to move them to an opensource project.
This change adds the required files to opensource project with
the compilation disabled until the files are merged.

Change-Id: I9838c13afbcadec7c5a18bab1ccf867e32070cea
Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
2024-02-20 11:54:49 -08:00
Gerrit SelfHelp Service Account
6f17fc6154 Initial empty repository 2024-01-23 23:34:08 -08:00