mbox series

[net-next,v2,0/5] Microchip DSA Driver Improvements

Message ID 20230526073445.668430-1-o.rempel@pengutronix.de (mailing list archive)
Headers show
Series Microchip DSA Driver Improvements | expand

Message

Oleksij Rempel May 26, 2023, 7:34 a.m. UTC
changes v2:
- set .max_register = U8_MAX, it should be more readable
- clarify in the RMW error handling patch, logging behavior
  expectation.

I'd like to share a set of patches for the Microchip DSA driver. These
patches were chosen from a bigger set because they are simpler and
should be easier to review. The goal is to make the code easier to read,
get rid of unused code, and handle errors better.

Oleksij Rempel (4):
  net: dsa: microchip: improving error handling for 8-bit register RMW
    operations
  net: dsa: microchip: remove ksz_port:on variable
  net: dsa: microchip: ksz8: Prepare ksz8863_smi for regmap register
    access validation
  net: dsa: microchip: Add register access control for KSZ8873 chip

Vladimir Oltean (1):
  net: dsa: microchip: add an enum for regmap widths

 drivers/net/dsa/microchip/ksz8795.c      | 28 ++-------
 drivers/net/dsa/microchip/ksz8863_smi.c  | 13 +++-
 drivers/net/dsa/microchip/ksz9477.c      | 24 ++++----
 drivers/net/dsa/microchip/ksz9477_i2c.c  |  2 +-
 drivers/net/dsa/microchip/ksz_common.c   | 47 ++++++++++++++-
 drivers/net/dsa/microchip/ksz_common.h   | 77 +++++++++++++++++-------
 drivers/net/dsa/microchip/ksz_spi.c      |  2 +-
 drivers/net/dsa/microchip/lan937x_main.c |  8 +--
 8 files changed, 135 insertions(+), 66 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 30, 2023, 9:41 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 26 May 2023 09:34:40 +0200 you wrote:
> changes v2:
> - set .max_register = U8_MAX, it should be more readable
> - clarify in the RMW error handling patch, logging behavior
>   expectation.
> 
> I'd like to share a set of patches for the Microchip DSA driver. These
> patches were chosen from a bigger set because they are simpler and
> should be easier to review. The goal is to make the code easier to read,
> get rid of unused code, and handle errors better.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/5] net: dsa: microchip: improving error handling for 8-bit register RMW operations
    https://git.kernel.org/netdev/net-next/c/2f0d579956e8
  - [net-next,v2,2/5] net: dsa: microchip: add an enum for regmap widths
    https://git.kernel.org/netdev/net-next/c/b8311f46c6f5
  - [net-next,v2,3/5] net: dsa: microchip: remove ksz_port:on variable
    https://git.kernel.org/netdev/net-next/c/bb4609d27f89
  - [net-next,v2,4/5] net: dsa: microchip: ksz8: Prepare ksz8863_smi for regmap register access validation
    https://git.kernel.org/netdev/net-next/c/ae1ad12e9da4
  - [net-next,v2,5/5] net: dsa: microchip: Add register access control for KSZ8873 chip
    https://git.kernel.org/netdev/net-next/c/d0dec3333040

You are awesome, thank you!