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: <20230208205653.177700-1-elder@linaro.org>
Date:   Wed,  8 Feb 2023 14:56:44 -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/9] net: ipa: prepare for GSI register updtaes

An upcoming series (or two) will convert the definitions of GSI
registers used by IPA so they use the "IPA reg" mechanism to specify
register offsets and their fields.  This will simplify implementing
the fairly large number of changes required in GSI registers to
support more than 32 GSI channels (introduced in IPA v5.0).

A few minor problems and inconsistencies were found, and they're
fixed here.  The last three patches in this series change the
"ipa_reg" code to separate the IPA-specific part (the base virtual
address, basically) from the generic register part, and the now-
generic code is renamed to use just "reg_" or "REG_" as a prefix
rather than "ipa_reg" or "IPA_REG_".

					-Alex

Alex Elder (9):
  net: ipa: generic command param fix
  net: ipa: get rid of ipa->reg_addr
  net: ipa: add some new IPA versions
  net: ipa: tighten up IPA register validity checking
  net: ipa: use bitmasks for GSI IRQ values
  net: ipa: GSI register cleanup
  net: ipa: start generalizing "ipa_reg"
  net: ipa: generalize register offset functions
  net: ipa: generalize register field functions

 drivers/net/ipa/gsi.c                |  82 +++++---
 drivers/net/ipa/gsi_reg.h            | 109 +++++------
 drivers/net/ipa/ipa.h                |   4 +-
 drivers/net/ipa/ipa_cmd.c            |   6 +-
 drivers/net/ipa/ipa_endpoint.c       | 205 ++++++++++---------
 drivers/net/ipa/ipa_interrupt.c      |  29 ++-
 drivers/net/ipa/ipa_main.c           | 114 +++++------
 drivers/net/ipa/ipa_mem.c            |  14 +-
 drivers/net/ipa/ipa_reg.c            |  90 +++++----
 drivers/net/ipa/ipa_reg.h            | 139 ++-----------
 drivers/net/ipa/ipa_resource.c       |  16 +-
 drivers/net/ipa/ipa_table.c          |  35 ++--
 drivers/net/ipa/ipa_uc.c             |   6 +-
 drivers/net/ipa/ipa_version.h        |   6 +-
 drivers/net/ipa/reg.h                | 133 +++++++++++++
 drivers/net/ipa/reg/ipa_reg-v3.1.c   | 277 +++++++++++++-------------
 drivers/net/ipa/reg/ipa_reg-v3.5.1.c | 263 +++++++++++++------------
 drivers/net/ipa/reg/ipa_reg-v4.11.c  | 265 +++++++++++++------------
 drivers/net/ipa/reg/ipa_reg-v4.2.c   | 249 ++++++++++++------------
 drivers/net/ipa/reg/ipa_reg-v4.5.c   | 281 +++++++++++++--------------
 drivers/net/ipa/reg/ipa_reg-v4.7.c   | 265 +++++++++++++------------
 drivers/net/ipa/reg/ipa_reg-v4.9.c   | 265 +++++++++++++------------
 22 files changed, 1451 insertions(+), 1402 deletions(-)
 create mode 100644 drivers/net/ipa/reg.h

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ