diff options
| author | Tony Truong <tony.truong@oss.qualcomm.com> | 2026-04-23 13:55:41 +0300 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-05-10 05:03:34 +0300 |
| commit | 79602b750b96c49e776f1fea7e7e1161831768e0 (patch) | |
| tree | ee5f7a82f6d4ceb1726a2f99d5654474c21a2fa0 /include/linux/zstd_errors.h | |
| parent | 6fe5ea1989ad12adf181eb7872c990f9f32e89a8 (diff) | |
| download | linux-79602b750b96c49e776f1fea7e7e1161831768e0.tar.xz | |
soc: qcom: smem: Switch partitions to xarray
The partitions array is currently statically sized and uses the remote
host ID as an index.
Future protocol improvements to allow for more than two hosts in a
partition will require hostIDs to be bitwise significant integers.
This will result in large, sparse host IDs that generally exceed the
current static limit.
Switch to using xarray to efficiently handle these sparse indices and
allow for dynamic growth.
Signed-off-by: Tony Truong <tony.truong@oss.qualcomm.com>
Tested-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> # On Nord
Tested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> # Glymur CRD
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Pranav Mahesh Phansalkar <pranav.phansalkar@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260423-smem-v3-1-582befff289a@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions
