]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
misc: fastrpc: Update dma_bits for CDSP support on Kaanapali SoC
authorKumari Pallavi <kumari.pallavi@oss.qualcomm.com>
Fri, 26 Dec 2025 07:05:34 +0000 (12:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Dec 2025 11:17:19 +0000 (12:17 +0100)
commit8314d2c28d3369bc879af8e848f810292b16d0af
treee938e0338c7f3cb83343b715bb8e620b0251d50a
parent1d94ce8996d71d77e2d649db9e5c205f423e2c17
misc: fastrpc: Update dma_bits for CDSP support on Kaanapali SoC

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.
Update DMA bits configuration in the driver to support CDSP on
Kaanapali SoC. Set the default `dma_bits` to 32-bit and update
it to 34-bit based on CDSP and OF matching on the fastrpc node.

Signed-off-by: Kumari Pallavi <kumari.pallavi@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20251226070534.602021-5-kumari.pallavi@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c