Skip to content

misc: fastrpc: probe-time DSP capability query and unsigned ADSP node

Anandu Krishnan E dri-devel linux-arm-msm 1 version In review

Get series with b4
b4 am [email protected] change-id 20261127-master-3f445438861f

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2misc: fastrpc: query the dsp capabilities during probe timedrivers/misc/fastrpc.c+264 -530 replies
2/2misc: fastrpc: expose unsigned PD node for compute-capable ADSPdrivers/misc/fastrpc.c+21 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] misc: fastrpc: probe-time DSP capability query and unsigned ADSP node

This series moves FastRPC device node registration out of fastrpc_rpmsg_probe() and into an asynchronous per-channel workqueue that first queries the DSP for its capabilities, then registers the device nodes based on what it finds. Probe no longer blocks on the DSP responding.

With the DSP capabilities known before nodes are registered, the series also starts creating an additional unsigned PD device node for an ADSP domain whose firmware image reports itself as compute-capable, matching the existing CDSP/GDSP behaviour, instead of only ever exposing the signed node for ADSP.

Patch 1 does the probe-time refactor (capability query, async device registration, and the locking changes in fastrpc_device_open()/ fastrpc_rpmsg_remove() needed to keep that safe against SSR/remove() races). Patch 2 adds the unsigned node for compute-capable ADSP on top of it.

---
Anandu Krishnan E (2):
misc: fastrpc: query the dsp capabilities during probe time
misc: fastrpc: expose unsigned PD node for compute-capable ADSP

 drivers/misc/fastrpc.c | 338 +++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 285 insertions(+), 53 deletions(-)

---
base-commit: a9c48428cbd8d96b26f92631d0db6f8519c5fcc5
change-id: 20261127-master-3f445438861f

Best regards,

Signature · 1 line
Anandu Krishnan E <[email protected]>