diff options
author | Elliot Berman <quic_eberman@quicinc.com> | 2023-02-13 10:18:29 -0800 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-03-15 16:52:11 -0700 |
commit | 968a26a07f75377afbd4f7bb18ef587a1443c244 (patch) | |
tree | 3729abdf61062fbb46d58d858722519fc66780a4 /include/linux/firmware | |
parent | 9e4a7652d7028d40b2dd6636d400ca6266d641ef (diff) |
firmware: qcom_scm: Use fixed width src vm bitmap
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.
Acked-by: Kalle Valo <kvalo@kernel.org> (ath10k)
Tested-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230213181832.3489174-1-quic_eberman@quicinc.com
Diffstat (limited to 'include/linux/firmware')
-rw-r--r-- | include/linux/firmware/qcom/qcom_scm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/firmware/qcom/qcom_scm.h b/include/linux/firmware/qcom/qcom_scm.h index 1e449a5d7f5c..250ea4efb7cb 100644 --- a/include/linux/firmware/qcom/qcom_scm.h +++ b/include/linux/firmware/qcom/qcom_scm.h @@ -94,7 +94,7 @@ extern int qcom_scm_mem_protect_video_var(u32 cp_start, u32 cp_size, u32 cp_nonpixel_start, u32 cp_nonpixel_size); extern int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz, - unsigned int *src, + u64 *src, const struct qcom_scm_vmperm *newvm, unsigned int dest_cnt); |