1. 25 Mar, 2021 37 commits
  2. 24 Mar, 2021 3 commits
    • David S. Miller's avatar
      Merge branch 'ipa-versions-and-registers' · 69cdfb53
      David S. Miller authored
      Alex Elder says:
      
      ====================
      net: ipa: versions and registers
      
      Version 2 of this series adds kernel-doc descriptions for all
      members of the ipa_version enumerated type in patch 2.
      
      The original description of the series is below.
      
      					-Alex
      
      This series is sort of a mix of things, generally related to
      updating IPA versions and register definitions.
      
      The first patch fixes some version-related tests throughout the code
      so the conditions are valid for IPA versions other than the two that
      are currently supported.  Support for additional versions is
      forthcoming, and this is a preparatory step.
      
      The second patch adds to the set of defined IPA versions, to include
      all versions between 3.0 and 4.11.
      
      The next defines an endpoint initialization register that was
      previously not being configured.  We now initialize that register
      (so that NAT is explicitly disabled) on all AP endpoints.
      
      The fourth adds support for an extra bit in a field in a register,
      which is present starting at IPA v4.5.
      
      The last two are sort of standalone.  One just moves a function
      definition and makes it private.  The other increases the number of
      GSI channels and events supported by the driver, sufficient for IPA
      v4.5.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      69cdfb53
    • Alex Elder's avatar
      net: ipa: increase channels and events · 810a2e1f
      Alex Elder authored
      Increase the maximum number of channels and event rings supported by
      the driver, to allow the maximum available on the SDX55.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      810a2e1f
    • Alex Elder's avatar
      net: ipa: move ipa_aggr_granularity_val() · 1910494e
      Alex Elder authored
      We only use ipa_aggr_granularity_val() inside "ipa_main.c", so it
      doesn't really need to be defined in a header file.  It makes some
      sense to be grouped with the register definitions, but it is unlike
      the other inline functions now defined in "ipa_reg.h".  So move it
      into "ipa_main.c" where it's used.  TIMER_FREQUENCY is used only
      by that function, so move that definition as well.
      Signed-off-by: default avatarAlex Elder <elder@linaro.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1910494e