[PATCH net-next 0/6] net: ipa: define GSI register fields differently

From: Alex Elder
Date: Mon Feb 13 2023 - 11:22:39 EST


Now that we have "reg" definitions in place to define GSI register
offsets, add the definitions for the fields of GSI registers that
have them.

There aren't many differences between versions, but a few fields are
present only in some versions of IPA, so additional "gsi_reg-vX.Y.c"
files are created to capture such differences. As in the previous
series, these files are created as near-copies of existing files
just before they're needed to represent these differences. The
first patch adds files for IPA v4.0, v4.5, and v4.9; the fifth patch
adds a file for IPA v4.11.

Note that the first and fifth patch cause some checkpatch warnings
because they align some continued lines with an open parenthesis
that at the fourth column.

-Alex

Alex Elder (6):
net: ipa: populate more GSI register files
net: ipa: define GSI CH_C_QOS register fields
net: ipa: define more fields for GSI registers
net: ipa: define fields for event-ring related registers
net: ipa: add "gsi_v4.11.c"
net: ipa: define fields for remaining GSI registers

drivers/net/ipa/Makefile | 2 +-
drivers/net/ipa/gsi.c | 110 ++++++------
drivers/net/ipa/gsi_reg.c | 10 +-
drivers/net/ipa/gsi_reg.h | 156 ++++++++++--------
drivers/net/ipa/reg/gsi_reg-v3.1.c | 116 +++++++++++--
drivers/net/ipa/reg/gsi_reg-v3.5.1.c | 127 ++++++++++++--
.../reg/{gsi_reg-v3.5.1.c => gsi_reg-v4.0.c} | 134 +++++++++++++--
.../reg/{gsi_reg-v3.5.1.c => gsi_reg-v4.11.c} | 139 ++++++++++++++--
.../reg/{gsi_reg-v3.5.1.c => gsi_reg-v4.5.c} | 137 +++++++++++++--
.../reg/{gsi_reg-v3.5.1.c => gsi_reg-v4.9.c} | 138 ++++++++++++++--
10 files changed, 848 insertions(+), 221 deletions(-)
copy drivers/net/ipa/reg/{gsi_reg-v3.5.1.c => gsi_reg-v4.0.c} (62%)
copy drivers/net/ipa/reg/{gsi_reg-v3.5.1.c => gsi_reg-v4.11.c} (60%)
copy drivers/net/ipa/reg/{gsi_reg-v3.5.1.c => gsi_reg-v4.5.c} (61%)
copy drivers/net/ipa/reg/{gsi_reg-v3.5.1.c => gsi_reg-v4.9.c} (61%)

--
2.34.1