From: Alex Elder <elder@riscstar.com>
To: Luca Weiss <luca.weiss@fairphone.com>,
Alex Elder <elder@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: ~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] net: ipa: Fix v4.7 resource group names
Date: Tue, 4 Mar 2025 10:50:03 -0600 [thread overview]
Message-ID: <f8a6aea3-fa69-4c59-bccc-ae6e5021d5f3@riscstar.com> (raw)
In-Reply-To: <20250227-ipa-v4-7-fixes-v1-1-a88dd8249d8a@fairphone.com>
On 2/27/25 4:33 AM, Luca Weiss wrote:
> In the downstream IPA driver there's only one group defined for source
> and destination, and the destination group doesn't have a _DPL suffix.
>
> Fixes: b310de784bac ("net: ipa: add IPA v4.7 support")
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
FYI, I used this to check what you're saying:
https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa/-/blob/clo/main/drivers/platform/msm/ipa/ipa_v3/ipa_utils.c
This looks good, thanks a lot for the patch.
Reviewed-by: Alex Elder <elder@riscstar.com>
> ---
> drivers/net/ipa/data/ipa_data-v4.7.c | 12 +++++-------
> 1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/net/ipa/data/ipa_data-v4.7.c b/drivers/net/ipa/data/ipa_data-v4.7.c
> index c8c23d9be961b1b818e8a1592a7f7dd76cdd5468..7e315779e66480c2a3f2473a068278ab5e513a3d 100644
> --- a/drivers/net/ipa/data/ipa_data-v4.7.c
> +++ b/drivers/net/ipa/data/ipa_data-v4.7.c
> @@ -28,12 +28,10 @@ enum ipa_resource_type {
> enum ipa_rsrc_group_id {
> /* Source resource group identifiers */
> IPA_RSRC_GROUP_SRC_UL_DL = 0,
> - IPA_RSRC_GROUP_SRC_UC_RX_Q,
> IPA_RSRC_GROUP_SRC_COUNT, /* Last in set; not a source group */
>
> /* Destination resource group identifiers */
> - IPA_RSRC_GROUP_DST_UL_DL_DPL = 0,
> - IPA_RSRC_GROUP_DST_UNUSED_1,
> + IPA_RSRC_GROUP_DST_UL_DL = 0,
> IPA_RSRC_GROUP_DST_COUNT, /* Last; not a destination group */
> };
>
> @@ -81,7 +79,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
> },
> .endpoint = {
> .config = {
> - .resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
> + .resource_group = IPA_RSRC_GROUP_DST_UL_DL,
> .aggregation = true,
> .status_enable = true,
> .rx = {
> @@ -128,7 +126,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
> },
> .endpoint = {
> .config = {
> - .resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
> + .resource_group = IPA_RSRC_GROUP_DST_UL_DL,
> .qmap = true,
> .aggregation = true,
> .rx = {
> @@ -197,12 +195,12 @@ static const struct ipa_resource ipa_resource_src[] = {
> /* Destination resource configuration data for an SoC having IPA v4.7 */
> static const struct ipa_resource ipa_resource_dst[] = {
> [IPA_RESOURCE_TYPE_DST_DATA_SECTORS] = {
> - .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
> + .limits[IPA_RSRC_GROUP_DST_UL_DL] = {
> .min = 7, .max = 7,
> },
> },
> [IPA_RESOURCE_TYPE_DST_DPS_DMARS] = {
> - .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
> + .limits[IPA_RSRC_GROUP_DST_UL_DL] = {
> .min = 2, .max = 2,
> },
> },
>
next prev parent reply other threads:[~2025-03-04 16:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 10:33 [PATCH 0/3] Fixes for IPA v4.7 Luca Weiss
2025-02-27 10:33 ` [PATCH 1/3] net: ipa: Fix v4.7 resource group names Luca Weiss
2025-03-04 16:50 ` Alex Elder [this message]
2025-02-27 10:33 ` [PATCH 2/3] net: ipa: Fix QSB data for v4.7 Luca Weiss
2025-03-04 16:50 ` Alex Elder
2025-02-27 10:33 ` [PATCH 3/3] net: ipa: Enable checksum for IPA_ENDPOINT_AP_MODEM_{RX,TX} " Luca Weiss
2025-03-04 16:50 ` Alex Elder
2025-02-28 22:52 ` [PATCH 0/3] Fixes for IPA v4.7 Jakub Kicinski
2025-03-02 18:52 ` Alex Elder
2025-03-05 0:30 ` patchwork-bot+netdevbpf
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=f8a6aea3-fa69-4c59-bccc-ae6e5021d5f3@riscstar.com \
--to=elder@riscstar.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=elder@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=phone-devel@vger.kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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