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: <20220922222100.2543621-1-elder@linaro.org>
Date:   Thu, 22 Sep 2022 17:20:52 -0500
From:   Alex Elder <elder@...aro.org>
To:     davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com
Cc:     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: another set of cleanups

This series contains another set of cleanups done in preparation for
an upcoming series that reworks how IPA registers and their fields
are defined.

The first replaces the use of u32_replace_bits() with a simple
logical AND operation in two places.

The second creates a new function to encapsulate some common code,
and renames another for consistency.  The third restructures two
other functions that do similar things to make their similarity more
obvious.

The fourth defines the flag bits in a register using an enumerated
type.  And the fifth updates "ipa_reg.h" so the values assigned to
enumerated type members are aligned consistently.

The last three encapsulate the code that assigns values to a few
registers into separate functions.

					-Alex

Alex Elder (8):
  net: ipa: don't use u32p_replace_bits()
  net: ipa: introduce ipa_qtime_val()
  net: ipa: rearrange functions for similarity
  net: ipa: define BCR values using an enum
  net: ipa: tidy up register enum definitions
  net: ipa: encapsulate setting the FILT_ROUT_HASH_EN register
  net: ipa: encapsulate updating the COUNTER_CFG register
  net: ipa: encapsulate updating three more registers

 drivers/net/ipa/data/ipa_data-v3.1.c   |   2 +-
 drivers/net/ipa/data/ipa_data-v3.5.1.c |  10 +-
 drivers/net/ipa/ipa_endpoint.c         | 138 +++++++++++++------------
 drivers/net/ipa/ipa_main.c             | 135 +++++++++++++++---------
 drivers/net/ipa/ipa_reg.h              |  68 ++++++------
 drivers/net/ipa/ipa_table.c            |   4 +-
 6 files changed, 200 insertions(+), 157 deletions(-)

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ