[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <85327e60-ecb0-7525-23d2-0917f9c2472a@somainline.org>
Date: Mon, 21 Jun 2021 20:42:57 +0200
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>
To: Alex Elder <elder@...aro.org>, davem@...emloft.net, kuba@...nel.org
Cc: robh+dt@...nel.org, jamipkettunen@...il.com,
bjorn.andersson@...aro.org, agross@...nel.org, elder@...nel.org,
linux-arm-msm@...r.kernel.org, netdev@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 5/6] net: ipa: introduce gsi_ring_setup()
Il 21/06/21 19:56, Alex Elder ha scritto:
> Prior to IPA v3.5.1, there is no HW_PARAM_2 GSI register, which we
> use to determine the number of channels and endpoints per execution
> environment. In that case, we will just assume the number supported
> is the maximum supported by the driver.
>
> Introduce gsi_ring_setup() to encapsulate the code that determines
> the number of channels and endpoints.
>
> Update GSI_EVT_RING_COUNT_MAX so it is big enough to handle any
> available channel for all supported hardware (IPA v4.9 can have 23
> channels and 24 event rings).
>
> Signed-off-by: Alex Elder <elder@...aro.org>
Acked-by: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>
Powered by blists - more mailing lists