This patch series carries changes to use a masked session index as an identifier instead of process tgid to support mutiple PDs from same process. Previous single patch[v3]: https://lore.kernel.org/all/20240808104228.839629-1-quic_ekangupt@xxxxxxxxxxx/ Changes in v2: - Reformatted commit text. - Moved from ida to idr. - Changed dsp_pgid data type. - Resolved memory leak. Changes in v3: - Modified commit text. - Removed idr implementation. - Using session index for client id. Changes in v4: - Use GENMASK for client ID mask - Add a new patch to rename tid and pgid as client ID. Ekansh Gupta (2): misc: fastrpc: Add support for multiple PD from one process misc: fastrpc: Rename tgid and pid to client_id drivers/misc/fastrpc.c | 58 ++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 28 deletions(-) -- 2.34.1