mbox series

[net,v2,0/3] net: bcmgenet: protect contended accesses

Message ID 20240425222721.2148899-1-opendmb@gmail.com (mailing list archive)
Headers show
Series net: bcmgenet: protect contended accesses | expand

Message

Doug Berger April 25, 2024, 10:27 p.m. UTC
Some registers may be modified by parallel execution contexts and
require protections to prevent corruption.

A review of the driver revealed the need for these additional
protections.

Doug Berger (3):
  net: bcmgenet: synchronize EXT_RGMII_OOB_CTRL access
  net: bcmgenet: synchronize use of bcmgenet_set_rx_mode()
  net: bcmgenet: synchronize UMAC_CMD access

 drivers/net/ethernet/broadcom/genet/bcmgenet.c   | 16 ++++++++++++++--
 drivers/net/ethernet/broadcom/genet/bcmgenet.h   |  4 +++-
 .../net/ethernet/broadcom/genet/bcmgenet_wol.c   |  8 +++++++-
 drivers/net/ethernet/broadcom/genet/bcmmii.c     |  6 +++++-
 4 files changed, 29 insertions(+), 5 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 29, 2024, 5:30 a.m. UTC | #1
Hello:

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

On Thu, 25 Apr 2024 15:27:18 -0700 you wrote:
> Some registers may be modified by parallel execution contexts and
> require protections to prevent corruption.
> 
> A review of the driver revealed the need for these additional
> protections.
> 
> Doug Berger (3):
>   net: bcmgenet: synchronize EXT_RGMII_OOB_CTRL access
>   net: bcmgenet: synchronize use of bcmgenet_set_rx_mode()
>   net: bcmgenet: synchronize UMAC_CMD access
> 
> [...]

Here is the summary with links:
  - [net,v2,1/3] net: bcmgenet: synchronize EXT_RGMII_OOB_CTRL access
    https://git.kernel.org/netdev/net/c/d85cf67a3396
  - [net,v2,2/3] net: bcmgenet: synchronize use of bcmgenet_set_rx_mode()
    https://git.kernel.org/netdev/net/c/2dbe5f19368c
  - [net,v2,3/3] net: bcmgenet: synchronize UMAC_CMD access
    https://git.kernel.org/netdev/net/c/0d5e2a822326

You are awesome, thank you!