linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add ADSP and CDSP support on Kaanapali SoC
@ 2025-10-15  4:56 Kumari Pallavi
  2025-10-15  4:57 ` [PATCH v2 1/3] misc: fastrpc: Rename phys to dma_addr for clarity Kumari Pallavi
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Kumari Pallavi @ 2025-10-15  4:56 UTC (permalink / raw)
  To: kpallavi, srini, amahesh, arnd, gregkh
  Cc: Kumari Pallavi, quic_bkumar, ekansh.gupta, linux-kernel,
	quic_chennak, dri-devel, linux-arm-msm, jingyi.wang, aiqun.yu,
	ktadakam

Introduces support for new DSP IOVA formatting and hardware-specific
configuration required to enable ADSP and CDSP functionality on the
Kaanapali SoC.

Add support for a new IOVA formatting scheme by adding a sid_pos to the DSP
driver. Sid_pos standardizes the placement of the stream ID (SID) within the
physical address, which is required for DSPs to operate correctly on
Kaanapali. DSP currently supports 32-bit IOVA (32-bit PA + 4-bit SID) for
both Q6 and user DMA (uDMA) access.
This is being upgraded to 34-bit PA + 4-bit SID due to a hardware revision
in CDSP for Kaanapali SoC, which expands the DMA addressable range.
To support CDSP operation, this series updates the DMA mask configuration
to reflect the expanded DMA addressable range.

Patch [v1]: https://lore.kernel.org/all/20250924-knp-fastrpc-v1-0-4b40f8bfce1d@oss.qualcomm.com/

Changes in v2:
  - Rename phys to dma_addr for clarity
  - Remove iova_format, add soc_data with sid_pos in channel ctx
  - Remove sid_pos and pa_bits from the session ctx

Kumari Pallavi (3):
  misc: fastrpc: Rename phys to dma_addr for clarity
  misc: fastrpc: Add support for new DSP IOVA formatting
  misc: fastrpc: Update dma_mask for CDSP support on Kaanapali SoC

 drivers/misc/fastrpc.c | 126 ++++++++++++++++++++++++++++-------------
 1 file changed, 88 insertions(+), 38 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-10-23  8:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-15  4:56 [PATCH v2 0/3] Add ADSP and CDSP support on Kaanapali SoC Kumari Pallavi
2025-10-15  4:57 ` [PATCH v2 1/3] misc: fastrpc: Rename phys to dma_addr for clarity Kumari Pallavi
2025-10-15  7:20   ` Arnd Bergmann
2025-10-15 10:49     ` Kumari Pallavi
2025-10-15 10:07   ` Dmitry Baryshkov
2025-10-23  7:20     ` Kumari Pallavi
2025-10-15  4:57 ` [PATCH v2 2/3] misc: fastrpc: Add support for new DSP IOVA formatting Kumari Pallavi
2025-10-15  7:09   ` Arnd Bergmann
2025-10-15  8:52   ` Srinivas Kandagatla
2025-10-15 10:47     ` Kumari Pallavi
2025-10-18 17:25       ` Krzysztof Kozlowski
2025-10-18 17:24   ` Krzysztof Kozlowski
2025-10-23  8:35     ` Kumari Pallavi
2025-10-23  8:41       ` Krzysztof Kozlowski
2025-10-15  4:57 ` [PATCH v2 3/3] misc: fastrpc: Update dma_mask for CDSP support on Kaanapali SoC Kumari Pallavi
2025-10-15  7:06   ` Arnd Bergmann
2025-10-15  9:25   ` Srinivas Kandagatla
2025-10-15 10:47     ` Kumari Pallavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).