mbox series

[net-next,0/6] net: ipa: start adding IPA v4.5 support

Message ID 20201125204522.5884-1-elder@linaro.org
Headers show
Series net: ipa: start adding IPA v4.5 support | expand

Message

Alex Elder Nov. 25, 2020, 8:45 p.m. UTC
This series starts updating the IPA code to support IPA hardware
version 4.5.

The first patch fixes a problem found while preparing these updates.
Testing shows the code works with or without the change, and with
the fix the code matches "downstream" Qualcomm code.

The second patch updates the definitions for IPA register offsets
and field masks to reflect the changes that come with IPA v4.5.  A
few register updates have been deferred until later, because making
use of them involves some nontrivial code updates.

One type of change that IPA v4.5 brings is expanding the range of
certain configuration values.  High-order bits are added in a few
cases, and the third patch implements the code changes necessary to
use those newly available bits.

The fourth patch implements several fairly minor changes to the code
required for IPA v4.5 support.

The last two patches implement changes to the GSI registers used for
IPA.  Almost none of the registers change, but the range of memory
in which most of the GSI registers is located is shifted by a fixed
amount.  The fifth patch updates the GSI register definitions, and
the last patch implements the memory shift for IPA v4.5.

					-Alex

Alex Elder (6):
  net: ipa: reverse logic on escape buffer use
  net: ipa: update IPA registers for IPA v4.5
  net: ipa: add new most-significant bits to registers
  net: ipa: add support to code for IPA v4.5
  net: ipa: update gsi registers for IPA v4.5
  net: ipa: adjust GSI register addresses

 drivers/net/ipa/gsi.c          | 35 ++++++++++++---
 drivers/net/ipa/gsi_reg.h      | 24 ++++++++++
 drivers/net/ipa/ipa_endpoint.c | 49 ++++++++++++++------
 drivers/net/ipa/ipa_main.c     | 76 +++++++++++++++++++++----------
 drivers/net/ipa/ipa_reg.h      | 81 ++++++++++++++++++++++++++++++++--
 drivers/net/ipa/ipa_version.h  |  1 +
 6 files changed, 220 insertions(+), 46 deletions(-)

Comments

Jakub Kicinski Nov. 28, 2020, 8:19 p.m. UTC | #1
On Wed, 25 Nov 2020 14:45:16 -0600 Alex Elder wrote:
> This series starts updating the IPA code to support IPA hardware
> version 4.5.
> 
> The first patch fixes a problem found while preparing these updates.
> Testing shows the code works with or without the change, and with
> the fix the code matches "downstream" Qualcomm code.
> 
> The second patch updates the definitions for IPA register offsets
> and field masks to reflect the changes that come with IPA v4.5.  A
> few register updates have been deferred until later, because making
> use of them involves some nontrivial code updates.
> 
> One type of change that IPA v4.5 brings is expanding the range of
> certain configuration values.  High-order bits are added in a few
> cases, and the third patch implements the code changes necessary to
> use those newly available bits.
> 
> The fourth patch implements several fairly minor changes to the code
> required for IPA v4.5 support.
> 
> The last two patches implement changes to the GSI registers used for
> IPA.  Almost none of the registers change, but the range of memory
> in which most of the GSI registers is located is shifted by a fixed
> amount.  The fifth patch updates the GSI register definitions, and
> the last patch implements the memory shift for IPA v4.5.

Applied, thanks!