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. Patch [v4]: https://lore.kernel.org/all/20241121084713.2599904-1-quic_ekangupt@xxxxxxxxxxx/ Changes in v5: - Remove mask and just modify session index. Changes in v4: - Use GENMASK for client ID mask - Add a new patch to rename tid and pgid as client ID. Changes in v3: - Modified commit text. - Removed idr implementation. - Using session index for client id. Changes in v2: - Reformatted commit text. - Moved from ida to idr. - Changed dsp_pgid data type. - Resolved memory leak. 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 | 57 +++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 28 deletions(-) -- 2.34.1