Re: [PATCH AUTOSEL 5.19 33/38] misc: fastrpc: increase maximum session count
From: Johan Hovold
Date: Sun Sep 11 2022 - 05:31:26 EST
On Sat, Sep 10, 2022 at 05:16:18PM -0400, Sasha Levin wrote:
> From: Johan Hovold <johan+linaro@xxxxxxxxxx>
>
> [ Upstream commit 689a2d9f9332a27b1379ef230396e944f949a72b ]
>
> The SC8280XP platform uses 14 sessions for the compute DSP so increment
> the maximum session count.
>
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
> Link: https://lore.kernel.org/r/20220829080531.29681-4-johan+linaro@xxxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
SC8280XP was not added until 6.0 so the stable tag was left out on
purpose (as usual).
Please drop.
> ---
> drivers/misc/fastrpc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c
> index 93ebd174d8487..08032a207c1c0 100644
> --- a/drivers/misc/fastrpc.c
> +++ b/drivers/misc/fastrpc.c
> @@ -25,7 +25,7 @@
> #define SDSP_DOMAIN_ID (2)
> #define CDSP_DOMAIN_ID (3)
> #define FASTRPC_DEV_MAX 4 /* adsp, mdsp, slpi, cdsp*/
> -#define FASTRPC_MAX_SESSIONS 13 /*12 compute, 1 cpz*/
> +#define FASTRPC_MAX_SESSIONS 14
> #define FASTRPC_MAX_VMIDS 16
> #define FASTRPC_ALIGN 128
> #define FASTRPC_MAX_FDLIST 16
Johan