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.

Signed-off-by: Anandu Krishnan E <[email protected]>
---
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,
--  
Anandu Krishnan E <[email protected]>

Reply via email to