[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230215195352.755744-1-elder@linaro.org>
Date: Wed, 15 Feb 2023 13:53:46 -0600
From: Alex Elder <elder@...aro.org>
To: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com
Cc: caleb.connolly@...aro.org, mka@...omium.org, evgreen@...omium.org,
andersson@...nel.org, quic_cpratapa@...cinc.com,
quic_avuyyuru@...cinc.com, quic_jponduru@...cinc.com,
quic_subashab@...cinc.com, elder@...nel.org,
netdev@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH net-next 0/6] net: final GSI register updates
I believe this is the last set of changes required to allow IPA v5.0
to be supported. There is a little cleanup work remaining, but that
can happen in the next Linux release cycle. Otherwise we just need
config data and register definitions for IPA v5.0 (and DTS updates).
These are ready but won't be posted without further testing.
The first patch in this series fixes a minor bug in a patch just
posted, which I found too late. The second eliminates the GSI
memory "adjustment"; this was done previously to avoid/delay the
need to implement a more general way to define GSI register offsets.
Note that this patch causes "checkpatch" warnings due to indentation
that aligns with an open parenthesis.
The third patch makes use of the newly-defined register offsets, to
eliminate the need for a function that hid a few details. The next
modifies a different helper function to work properly for IPA v5.0+.
The fifth patch changes the way the event ring size is specified
based on how it's now done for IPA v5.0+. And the last defines a
new register required for IPA v5.0+.
-Alex
Alex Elder (6):
net: ipa: fix an incorrect assignment
net: ipa: kill gsi->virt_raw
net: ipa: kill ev_ch_e_cntxt_1_length_encode()
net: ipa: avoid setting an undefined field
net: ipa: support different event ring encoding
net: ipa: add HW_PARAM_4 GSI register
drivers/net/ipa/gsi.c | 36 ++++-----
drivers/net/ipa/gsi.h | 3 +-
drivers/net/ipa/gsi_reg.c | 35 ++------
drivers/net/ipa/gsi_reg.h | 23 ++++--
drivers/net/ipa/reg/gsi_reg-v3.1.c | 22 ++---
drivers/net/ipa/reg/gsi_reg-v3.5.1.c | 22 ++---
drivers/net/ipa/reg/gsi_reg-v4.0.c | 22 ++---
drivers/net/ipa/reg/gsi_reg-v4.11.c | 116 ++++++++++++++-------------
drivers/net/ipa/reg/gsi_reg-v4.5.c | 64 ++++++++-------
drivers/net/ipa/reg/gsi_reg-v4.9.c | 74 ++++++++---------
10 files changed, 205 insertions(+), 212 deletions(-)
--
2.34.1
Powered by blists - more mailing lists