From: sashiko-bot@kernel.org
To: "Robert Ijtsma" <robertijtsma@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH net-next 2/3] net: ipa: add IPA v4.1 register definitions
Date: Wed, 25 Nov 2026 23:01:59 +0000 [thread overview]
Message-ID: <sashiko-outbox-234345@kernel.org> (raw)
In-Reply-To: <20261125-qcom-ipa-sc8180x-v1-2-48a889acbe6b@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] net: ipa: v4.2-only IPA_TX_CFG fields defined in ipa_regs_v4_1
--
commit d81fb1257ed5590836b5aee65b5b90db03d1f316
Author: Robert Ijtsma <robertijtsma@gmail.com>
net: ipa: add IPA v4.1 register definitions
This commit adds the IPA v4.1 register definition table and maps
IPA_VERSION_4_1 to gsi_regs_v4_0.
> diff --git a/drivers/net/ipa/reg/ipa_reg-v4.1.c b/drivers/net/ipa/reg/ipa_reg-v4.1.c
> new file mode 100644
> index 0000000000000..75f47b2f1a474
> --- /dev/null
> +++ b/drivers/net/ipa/reg/ipa_reg-v4.1.c
[ ... ]
> +static const u32 reg_ipa_tx_cfg_fmask[] = {
> + /* Bits 0-1 reserved */
> + [PREFETCH_ALMOST_EMPTY_SIZE_TX0] = GENMASK(5, 2),
> + [DMAW_SCND_OUTSD_PRED_THRESHOLD] = GENMASK(9, 6),
> + [DMAW_SCND_OUTSD_PRED_EN] = BIT(10),
> + [DMAW_MAX_BEATS_256_DIS] = BIT(11),
> + [PA_MASK_EN] = BIT(12),
> + [PREFETCH_ALMOST_EMPTY_SIZE_TX1] = GENMASK(16, 13),
> + /* Bit 17 reserved */
> + [SSPND_PA_NO_START_STATE] = BIT(18),
> + [SSPND_PA_NO_BQ_STATE] = BIT(19),
> + /* Bits 20-31 reserved */
> +};
[Severity: Low]
Should SSPND_PA_NO_START_STATE and SSPND_PA_NO_BQ_STATE be omitted from
reg_ipa_tx_cfg_fmask on IPA v4.1?
In drivers/net/ipa/ipa_reg.h, enum ipa_reg_ipa_tx_cfg_field_id documents
SSPND_PA_NO_START_STATE as IPA v4.2+ (not IPA v4.5) and
SSPND_PA_NO_BQ_STATE as IPA v4.2 only, so bits 17-31 are reserved on IPA
v4.1. Defining masks for them here prevents the zero-mask WARN check in
reg_fmask() and reg_bit() from catching accesses to these v4.2 fields on
IPA v4.1.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-qcom-ipa-sc8180x-v1-0-48a889acbe6b@gmail.com?part=2
next prev parent reply other threads:[~2026-11-25 23:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 23:01 [PATCH net-next 0/3] net: ipa: add Qualcomm SC8180X (IPA v4.1) support Robert Ijtsma via B4 Relay
2026-11-24 23:01 ` Robert Ijtsma
2026-11-24 23:01 ` [PATCH net-next 1/3] dt-bindings: net: qcom,ipa: add qcom,sc8180x-ipa compatible Robert Ijtsma via B4 Relay
2026-11-24 23:01 ` Robert Ijtsma
2026-11-25 7:41 ` Krzysztof Kozlowski
2026-11-24 23:01 ` [PATCH net-next 2/3] net: ipa: add IPA v4.1 register definitions Robert Ijtsma via B4 Relay
2026-11-24 23:01 ` Robert Ijtsma
2026-11-25 23:01 ` sashiko-bot [this message]
2026-11-29 0:43 ` netdev-bot+sashiko
2026-11-29 10:59 ` Robert IJtsma
2026-11-24 23:01 ` [PATCH net-next 3/3] net: ipa: add SC8180X (IPA v4.1) configuration data Robert Ijtsma via B4 Relay
2026-11-24 23:01 ` Robert Ijtsma
2026-11-25 10:49 ` Konrad Dybcio
2026-11-25 23:02 ` sashiko-bot
2026-11-29 0:43 ` netdev-bot+sashiko
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=sashiko-outbox-234345@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robertijtsma@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.