Re: [PATCH v2 1/1] misc: fastrpc: Allocate message buffer from remote heap for sensors PD

From: Dmitry Baryshkov

Date: Sun Oct 04 2026 - 23:43:15 EST


On Sat, Oct 03, 2026 at 08:35:59PM +0530, Piyush Raj Chouhan wrote:
> From: Robin Snyders <robin@xxxxxxxxxxx>
>
> The sensors protection domain reaches the message buffer directly rather
> than through its context bank, so it requires an allocation from the
> reserved remote heap memory pool. Using a context-bank buffer allocation
> leaves the DSP addressing memory that is not mapped in its address space,
> triggering an SMMU context fault (e.g. 0x1fffff000) or bus stall.
>
> Ensure the remote heap is used for SENSORS_PD invocations even when
> a stream ID (sid) is present.
>
> Signed-off-by: Robin Snyders <robin@xxxxxxxxxxx>
> Signed-off-by: Piyush Raj Chouhan <pc1598@xxxxxxxxxxxxxx>
> ---
> drivers/misc/fastrpc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>


--
With best wishes
Dmitry