mbox series

[net-next,v2,0/4] net: pcs: xpcs: Cleanups before adding MMIO dev support

Message ID 20240222175843.26919-1-fancer.lancer@gmail.com (mailing list archive)
Headers show
Series net: pcs: xpcs: Cleanups before adding MMIO dev support | expand

Message

Serge Semin Feb. 22, 2024, 5:58 p.m. UTC
As stated in the subject this series is a short prequel before submitting
the main patches adding the memory-mapped DW XPCS support to the DW XPCS
and DW *MAC (STMMAC) drivers. Originally it was a part of the bigger
patchset (see the changelog v2 link below) but was detached to a
preparation set to shrink down the main series thus simplifying it'
review.

The patchset' content is straightforward: drop the redundant sentinel
entry and the header files; return EINVAL errno from the soft-reset method
and make sure that the interface validation method return EINVAL straight
away if the requested interface isn't supported by the XPCS device
instance. All of these changes are required to simplify the changes being
introduced a bit later in the framework of the memory-mapped DW XPCS
support patches.

Link: https://lore.kernel.org/netdev/20231205103559.9605-1-fancer.lancer@gmail.com
Changelog v2:
- Move the preparation patches to a separate series.
- Simplify the commit messages (@Russell, @Vladimir).

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Mengyuan Lou <mengyuanlou@net-swift.com>
Cc: Tomer Maimon <tmaimon77@gmail.com>
Cc: Jiawen Wu <jiawenwu@trustnetic.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: openbmc@lists.ozlabs.org
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

Serge Semin (4):
  net: pcs: xpcs: Drop sentinel entry from 2500basex ifaces list
  net: pcs: xpcs: Drop redundant workqueue.h include directive
  net: pcs: xpcs: Return EINVAL in the internal methods
  net: pcs: xpcs: Explicitly return error on caps validation

 drivers/net/pcs/pcs-xpcs.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 26, 2024, 1:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 22 Feb 2024 20:58:19 +0300 you wrote:
> As stated in the subject this series is a short prequel before submitting
> the main patches adding the memory-mapped DW XPCS support to the DW XPCS
> and DW *MAC (STMMAC) drivers. Originally it was a part of the bigger
> patchset (see the changelog v2 link below) but was detached to a
> preparation set to shrink down the main series thus simplifying it'
> review.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/4] net: pcs: xpcs: Drop sentinel entry from 2500basex ifaces list
    https://git.kernel.org/netdev/net-next/c/0ffc3292c02b
  - [net-next,v2,2/4] net: pcs: xpcs: Drop redundant workqueue.h include directive
    https://git.kernel.org/netdev/net-next/c/e26802ebd295
  - [net-next,v2,3/4] net: pcs: xpcs: Return EINVAL in the internal methods
    https://git.kernel.org/netdev/net-next/c/f5151005d379
  - [net-next,v2,4/4] net: pcs: xpcs: Explicitly return error on caps validation
    https://git.kernel.org/netdev/net-next/c/361dd531a11b

You are awesome, thank you!