]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
misc: fastrpc: Add support for new DSP IOVA formatting
authorKumari Pallavi <kumari.pallavi@oss.qualcomm.com>
Fri, 26 Dec 2025 07:05:33 +0000 (12:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Dec 2025 11:17:19 +0000 (12:17 +0100)
commit1d94ce8996d71d77e2d649db9e5c205f423e2c17
treee5b60b01b3b0ffc21c2e034a986d7de44d4855e1
parent428b2f2b60c37f69e0723a225135da1f352d2602
misc: fastrpc: Add support for new DSP IOVA formatting

Implement the new IOVA formatting required by the DSP architecture change
on Kaanapali SoC. Place the SID for DSP DMA transactions at bit 56 in the
physical address. This placement is necessary for the DSPs to correctly
identify streams and operate as intended.
To address this, set SID position to bit 56 via OF matching on the fastrpc
node; otherwise, default to legacy 32-bit placement.
This change ensures consistent SID placement across DSPs.

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-4-kumari.pallavi@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/fastrpc.c