Re: [PATCH net-next 2/3] net: ipa: add IPA v4.1 register definitions

From: Robert IJtsma

Date: Sun Nov 29 2026 - 06:00:09 EST


On Sun, Nov 29, 2026 at 12:43:22AM +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> - [Medium] The new IPA v4.1 table in drivers/net/ipa/reg/ipa_reg-v4.1.c
> (line 182) puts IDLE_INDICATION_CFG at 0x00000220.
> - [Low] In drivers/net/ipa/reg/ipa_reg-v4.1.c, reg_ipa_tx_cfg_fmask
> (lines 156-157) defines SSPND_PA_NO_START_STATE = BIT(18) and…

Note that this review ran against v1, which was already superseded by v2:
https://lore.kernel.org/r/20261126-qcom-ipa-sc8180x-v2-0-89eba621da95@xxxxxxxxx

1. IDLE_INDICATION_CFG at 0x00000220 is intentional and matches the IPA v4.1
hardware. In Qualcomm's downstream ipahal_reg.c, [IPA_HW_v3_5] defines
IPA_IDLE_INDICATION_CFG at 0x00000220, which IPA_HW_v4_0 and IPA_HW_v4_1
inherit unchanged; the register only moved to 0x00000240 starting in
[IPA_HW_v4_2] (matching the historical version >= IPA_VERSION_4_2 check in
upstream ipa_reg.h before the per-version register table split).

2. The remaining points from the v1 review on patches 2/3 and 3/3 (dropping
the v4.2+ SSPND_PA_NO_* fields in reg_ipa_tx_cfg_fmask, matching
AP_COMMAND_TX tre_count = 256 to event_count, dropping unused modem-owned
endpoints, using symbolic resource enums and BIT(BCR_*) flags, and
cleaning up the header/comments) are already addressed in v2.

Best regards,
Robert