From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Pranav Mahesh Phansalkar <pranav.phansalkar@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
shengchao.guo@oss.qualcomm.com,
Tony Truong <tony.truong@oss.qualcomm.com>
Subject: Re: [PATCH v2] soc: qcom: smem: Switch partitions to xarray
Date: Thu, 23 Apr 2026 12:05:06 +0200 [thread overview]
Message-ID: <d4737e01-bbe0-4cdb-b266-82cacdf1e79b@oss.qualcomm.com> (raw)
In-Reply-To: <20260423-smem-v2-1-44c1aed1ce12@oss.qualcomm.com>
On 4/23/26 11:56 AM, Pranav Mahesh Phansalkar wrote:
> From: Tony Truong <tony.truong@oss.qualcomm.com>
>
> 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>
> Signed-off-by: Pranav Mahesh Phansalkar <pranav.phansalkar@oss.qualcomm.com>
> ---
Please retain the tags you receive in previous iterations (b4 prep -u)
Tested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> # Glymur CRD
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
prev parent reply other threads:[~2026-04-23 10:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-23 9:56 Pranav Mahesh Phansalkar
2026-04-23 10:05 ` Konrad Dybcio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d4737e01-bbe0-4cdb-b266-82cacdf1e79b@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pranav.phansalkar@oss.qualcomm.com \
--cc=shengchao.guo@oss.qualcomm.com \
--cc=tony.truong@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®