mbox series

[net-next,v2,0/7] net: ipa: use bulk interconnect interfaces

Message ID 20220309192037.667879-1-elder@linaro.org (mailing list archive)
Headers show
Series net: ipa: use bulk interconnect interfaces | expand

Message

Alex Elder March 9, 2022, 7:20 p.m. UTC
The IPA code currently enables and disables interconnects by setting
the bandwidth of each to a non-zero value, or to zero.  The
interconnect API now supports enable/disable functions, so we can
use those instead.  In addition, the interconnect API provides bulk
interfaces that allow all interconnects to be operated on at once.

This series converts the IPA driver to use the bulk enable and
disable interfaces.  In the process it uses some existing data
structures rather than defining new ones.

Version 2 contains the same code as version 1; it's just rebased.
Now that commit 1dba41c9d2e2d ("net: ipa: add an interconnect
dependency") is in net-next/master the COMPILE_TEST build error
reported for the original version should be gone.
  https://lore.kernel.org/all/20220204202336.67c95e15@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com/

					-Alex

Alex Elder (7):
  net: ipa: kill struct ipa_interconnect
  net: ipa: use icc_enable() and icc_disable()
  net: ipa: use interconnect bulk enable/disable operations
  net: ipa: use bulk operations to set up interconnects
  net: ipa: use bulk interconnect initialization
  net: ipa: embed interconnect array in the power structure
  net: ipa: use IPA power device pointer

 drivers/net/ipa/ipa_power.c | 178 +++++++++---------------------------
 1 file changed, 42 insertions(+), 136 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org March 11, 2022, 5:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed,  9 Mar 2022 13:20:30 -0600 you wrote:
> The IPA code currently enables and disables interconnects by setting
> the bandwidth of each to a non-zero value, or to zero.  The
> interconnect API now supports enable/disable functions, so we can
> use those instead.  In addition, the interconnect API provides bulk
> interfaces that allow all interconnects to be operated on at once.
> 
> This series converts the IPA driver to use the bulk enable and
> disable interfaces.  In the process it uses some existing data
> structures rather than defining new ones.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/7] net: ipa: kill struct ipa_interconnect
    https://git.kernel.org/netdev/net-next/c/c7be12fa2fcc
  - [net-next,v2,2/7] net: ipa: use icc_enable() and icc_disable()
    https://git.kernel.org/netdev/net-next/c/9dd50068916c
  - [net-next,v2,3/7] net: ipa: use interconnect bulk enable/disable operations
    (no matching commit)
  - [net-next,v2,4/7] net: ipa: use bulk operations to set up interconnects
    (no matching commit)
  - [net-next,v2,5/7] net: ipa: use bulk interconnect initialization
    https://git.kernel.org/netdev/net-next/c/63ac8cce5063
  - [net-next,v2,6/7] net: ipa: embed interconnect array in the power structure
    https://git.kernel.org/netdev/net-next/c/8ee7ec4890e2
  - [net-next,v2,7/7] net: ipa: use IPA power device pointer
    https://git.kernel.org/netdev/net-next/c/37e0cf33f8a1

You are awesome, thank you!