Skip to contentSkip to conversation

net: ipa: fix one GSI register field width

PATCH Applied Alex Elder 2 participants 2 messages Nov 22, 2023 – Nov 23, 2023

Subsystems (4)
lore
Share & tools
lore

Alex Elder

author
#0 lore raw

PATCH v2 1/1 net: ipa: fix one GSI register field width

The width of the R_LENGTH field of the EV_CH_E_CNTXT_1 GSI register is 24 bits (not 20 bits) starting with IPA v5.0. Fix this.

Fixes faf0678ec8a0 ("net: ipa: add IPA v5.0 GSI register definitions")

---
v2: Fixed erroneous commit hash in the "Fixes" tag.

 drivers/net/ipa/reg/gsi_reg-v5.0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ipa/reg/gsi_reg-v5.0.c +1 -1
index d7b81a36d673b..145eb0bd096d6 100644
@@ -78,7 +78,7 @@ REG_STRIDE_FIELDS(EV_CH_E_CNTXT_0, ev_ch_e_cntxt_0,
 		  0x0001c000 + 0x12000 * GSI_EE_AP, 0x80);
 
 static const u32 reg_ev_ch_e_cntxt_1_fmask[] = {
-	[R_LENGTH]					= GENMASK(19, 0),
+	[R_LENGTH]					= GENMASK(23, 0),
 };
 
 REG_STRIDE_FIELDS(EV_CH_E_CNTXT_1, ev_ch_e_cntxt_1,
Signature · 1 line
2.34.1
#1 lore raw
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Wed, 22 Nov 2023 17:17:08 -0600 you wrote:

The width of the R_LENGTH field of the EV_CH_E_CNTXT_1 GSI register is 24 bits (not 20 bits) starting with IPA v5.0. Fix this.

Fixes faf0678ec8a0 ("net: ipa: add IPA v5.0 GSI register definitions")

---
v2: Fixed erroneous commit hash in the "Fixes" tag.

[...]

Here is the summary with links:
- [net,v2] net: ipa: fix one GSI register field width

    https://git.kernel.org/netdev/net/c/37f0205538ba

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html