mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shawn Guo <shengchao.guo@oss.qualcomm.com>
To: Pranav Mahesh Phansalkar <pranav.phansalkar@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	bjorn.andersson@oss.qualcomm.com, chris.lew@oss.qualcomm.com,
	Tony Truong <tony.truong@oss.qualcomm.com>
Subject: Re: [PATCH] drivers: soc: qcom: smem: Switch partitions to xarray
Date: Sun, 19 Apr 2026 20:55:33 +0800	[thread overview]
Message-ID: <aeTQxVry5L-H1odY@QCOM-aGQu4IUr3Y> (raw)
In-Reply-To: <20260410-smem-v1-1-8e94bb5416a6@oss.qualcomm.com>

On Fri, Apr 10, 2026 at 11:02:30AM +0530, 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>

Nit: drop "drivers: " from subject prefix to match the existing style.

Tested-by: Shawn Guo <shengchao.guo@oss.qualcomm.com> # On Nord

      parent reply	other threads:[~2026-04-19 12:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-10  5:32 Pranav Mahesh Phansalkar
2026-04-10  9:10 ` Konrad Dybcio
2026-04-19 12:55 ` Shawn Guo [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=aeTQxVry5L-H1odY@QCOM-aGQu4IUr3Y \
    --to=shengchao.guo@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=bjorn.andersson@oss.qualcomm.com \
    --cc=chris.lew@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pranav.phansalkar@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®