[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZURA7W5zGWOkkIsY@quicinc.com>
Date: Thu, 2 Nov 2023 17:38:05 -0700
From: Guru Das Srinagesh <quic_gurus@...cinc.com>
To: Jeff Johnson <quic_jjohnson@...cinc.com>
CC: Guru Das Srinagesh <quic_gurus@...cinc.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
<linux-arm-msm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<kernel@...cinc.com>
Subject: Re: [PATCH] firmware: qcom-scm: Support multiple waitq contexts
On Oct 27 2023 16:44, Jeff Johnson wrote:
> On 10/27/2023 3:37 PM, Guru Das Srinagesh wrote:
> > Currently, only a single waitqueue context is supported (zero). Firmware
>
> which firmware?
It's the same combination of hypervisor + ARM Trustzone software mentioned in
the earlier commit 6bf325992236 ("firmware: qcom: scm: Add wait-queue handling
logic").
>
> > now supports multiple waitqueue contexts, so add support to dynamically
> > create and support as many unique waitqueue contexts as firmware returns
> > to the driver.
> >
> > This is done by using the idr framework to create a hash table for
>
> why idr?
> Per https://docs.kernel.org/core-api/idr.html
> "The IDR interface is deprecated; please use the XArray instead."
Will replace idr with xarray in next patchset.
Thank you.
Guru Das.
Powered by blists - more mailing lists