Re: [PATCH v7 18/20] firmware: qcom_scm: Use fixed width src vm bitmap

Kalle Valo
2022-11-21T15:59:23Z

Elliot Berman <quic_eberman@quicinc.com> writes:

> The maximum VMID for assign_mem is 63. Use a u64 to represent this
> bitmap instead of architecture-dependent "unsigned int" which varies in
> size on 32-bit and 64-bit platforms.
>
> Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
> ---
>
> Note this will have build conflicts with
> https://lore.kernel.org/all/20221114-narmstrong-sm8550-upstream-mpss_dsm-v2-2-f7c65d6f0e55@linaro.org/
> which would also need an "unsigned int" -> "u64" in struct qcom_mpss_dsm_mem:perms.
>
> drivers/firmware/qcom_scm.c | 12 +++++++-----
> drivers/misc/fastrpc.c | 6 ++++--
> drivers/net/wireless/ath/ath10k/qmi.c | 4 ++--

For ath10k:

Acked-by: Kalle Valo <kvalo@kernel.org>

--