[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251114084142.3386682-1-kumari.pallavi@oss.qualcomm.com>
Date: Fri, 14 Nov 2025 14:11:38 +0530
From: Kumari Pallavi <kumari.pallavi@....qualcomm.com>
To: kpallavi@....qualcomm.com, srini@...nel.org, amahesh@....qualcomm.com,
arnd@...db.de, gregkh@...uxfoundation.org
Cc: Kumari Pallavi <kumari.pallavi@....qualcomm.com>, quic_bkumar@...cinc.com,
ekansh.gupta@....qualcomm.com, linux-kernel@...r.kernel.org,
quic_chennak@...cinc.com, dri-devel@...ts.freedesktop.org,
linux-arm-msm@...r.kernel.org, jingyi.wang@....qualcomm.com,
aiqun.yu@....qualcomm.com, ktadakam@....qualcomm.com
Subject: [PATCH v3 0/4] Add ADSP and CDSP support on Kaanapali SoC
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 [v2]:https://lore.kernel.org/all/20251015045702.3022060-1-kumari.pallavi@oss.qualcomm.com/
Changes in v3:
- dt-bindings documentation update to support Kaanapali Soc
- update comments to ensure clarity
- Read SoC-specific data by matching the SoC’s .compatible field
in the driver’s of_device_id match table instead of root node
- Rename the dma_mask to the dma_bits for more clarity and set it's
value based on the dsp_default_dma_bits instead of hardcode to 32
Kumari Pallavi (4):
dt-bindings: misc: qcom,fastrpc: Add compatible for Kaanapali
misc: fastrpc: Rename phys to dma_addr for clarity
misc: fastrpc: Add support for new DSP IOVA formatting
misc: fastrpc: Update dma_bits for CDSP support on Kaanapali SoC
.../bindings/misc/qcom,fastrpc.yaml | 5 +-
drivers/misc/fastrpc.c | 127 ++++++++++++------
2 files changed, 91 insertions(+), 41 deletions(-)
--
2.34.1
Powered by blists - more mailing lists