Skip to content

net: ipa: GSI register consolidation

Alex Elder lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net: ipa: define GSI interrupt types with enumsdrivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+25 -200 repliesApplied
2/6net: ipa: use common value for channel type and protocoldrivers/net/ipa/gsi.c+10 -170 repliesApplied
3/6net: ipa: move channel type values into "gsi_reg.h"drivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+8 -80 repliesApplied
4/6net: ipa: move GSI error values into "gsi_reg.h"drivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+19 -200 repliesApplied
5/6net: ipa: move GSI command opcode values into "gsi_reg.h"drivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+19 -220 repliesApplied
6/6net: ipa: use enumerated types for GSI field valuesdrivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+18 -100 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/6] net: ipa: GSI register consolidation

This series rearranges and consolidates some GSI register definitions. Its general aim is to make things more consistent, by:
- Using enumerated types to define the values held in GSI register fields
- Defining field values in "gsi_reg.h", together with the definition of the register (and field) that holds them
- Format enumerated type members consistently, with hexidecimal numeric values, and assignments aligned on the same column

There is one checkpatch "CHECK" warning requesting a blank line; I ignored that because my intention was to group certain definitions.

-Alex

Alex Elder (6):
net: ipa: define GSI interrupt types with enums
net: ipa: use common value for channel type and protocol
net: ipa: move channel type values into "gsi_reg.h"
net: ipa: move GSI error values into "gsi_reg.h"
net: ipa: move GSI command opcode values into "gsi_reg.h"
net: ipa: use enumerated types for GSI field values

 drivers/net/ipa/gsi.c     | 89 +++++++-----------------------------
 drivers/net/ipa/gsi_reg.h | 95 +++++++++++++++++++++++++++++++--------
 2 files changed, 93 insertions(+), 91 deletions(-)
Signature · 1 line
2.20.1