summaryrefslogtreecommitdiffstats
path: root/drivers/soc/qcom
diff options
context:
space:
mode:
authorElliot Berman <quic_eberman@quicinc.com>2023-02-13 10:18:29 -0800
committerBjorn Andersson <andersson@kernel.org>2023-03-15 16:52:11 -0700
commit968a26a07f75377afbd4f7bb18ef587a1443c244 (patch)
tree3729abdf61062fbb46d58d858722519fc66780a4 /drivers/soc/qcom
parent9e4a7652d7028d40b2dd6636d400ca6266d641ef (diff)
downloadlinux-stable-968a26a07f75377afbd4f7bb18ef587a1443c244.tar.gz
linux-stable-968a26a07f75377afbd4f7bb18ef587a1443c244.tar.bz2
linux-stable-968a26a07f75377afbd4f7bb18ef587a1443c244.zip
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 'drivers/soc/qcom')
-rw-r--r--drivers/soc/qcom/rmtfs_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/rmtfs_mem.c b/drivers/soc/qcom/rmtfs_mem.c
index 2d3ee22b9249..2657c6105bb7 100644
--- a/drivers/soc/qcom/rmtfs_mem.c
+++ b/drivers/soc/qcom/rmtfs_mem.c
@@ -31,7 +31,7 @@ struct qcom_rmtfs_mem {
unsigned int client_id;
- unsigned int perms;
+ u64 perms;
};
static ssize_t qcom_rmtfs_mem_show(struct device *dev,