lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230210193655.460225-1-elder@linaro.org>
Date:   Fri, 10 Feb 2023 13:36:47 -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/8] net: ipa: determine GSI register offsets differently

This series changes the way GSI register offset are specified, using
the "reg" mechanism currently used for IPA registers.  A follow-on
series will extend this work so fields within GSI registers are also
specified this way.

The first patch rearranges the GSI register initialization code so
it is similar to the way it's done for the IPA registers.  The
second identifies all the GSI registers in an enumerated type.
The third introduces "gsi_reg-v3.1.c" and uses the "reg" code to
define one GSI register offset.  The second-to-last patch just
adds "gsi_reg-v3.5.1.c", because that version introduces a new
register not previously defined.  All the rest just define the
rest of the GSI register offsets using the "reg" mechanism.

Note that, to have continued lines align with an open parenthesis,
new files created in this series cause some checkpatch warnings.

					-Alex

Alex Elder (8):
  net: ipa: introduce gsi_reg_init()
  net: ipa: introduce GSI register IDs
  net: ipa: start creating GSI register definitions
  net: ipa: add more GSI register definitions
  net: ipa: define IPA v3.1 GSI event ring register offsets
  net: ipa: define IPA v3.1 GSI interrupt register offsets
  net: ipa: add "gsi_v3.5.1.c"
  net: ipa: define IPA remaining GSI register offsets

 drivers/net/ipa/Makefile             |   9 +-
 drivers/net/ipa/gsi.c                | 340 ++++++++++++++++++---------
 drivers/net/ipa/gsi.h                |   4 +-
 drivers/net/ipa/gsi_reg.c            | 168 +++++++++++++
 drivers/net/ipa/gsi_reg.h            | 258 ++++++++------------
 drivers/net/ipa/reg/gsi_reg-v3.1.c   | 201 ++++++++++++++++
 drivers/net/ipa/reg/gsi_reg-v3.5.1.c | 204 ++++++++++++++++
 7 files changed, 903 insertions(+), 281 deletions(-)
 create mode 100644 drivers/net/ipa/gsi_reg.c
 create mode 100644 drivers/net/ipa/reg/gsi_reg-v3.1.c
 create mode 100644 drivers/net/ipa/reg/gsi_reg-v3.5.1.c

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ