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 [v5]: https://lore.kernel.org/all/20241202064806.1164800-1-quic_ekangupt@xxxxxxxxxxx/ Changes in v6: - Add single-line comment. 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 | 58 ++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 28 deletions(-) -- 2.34.1