mbox series

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

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

Message

Doug Berger May 16, 2024, 11:01 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     | 14 +++++++++++++-
 drivers/net/ethernet/broadcom/genet/bcmgenet.h     |  2 ++
 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c |  6 ++++++
 drivers/net/ethernet/broadcom/genet/bcmmii.c       |  4 ++++
 4 files changed, 25 insertions(+), 1 deletion(-)

Comments

Greg Kroah-Hartman May 23, 2024, 11:31 a.m. UTC | #1
On Thu, May 16, 2024 at 04:01:48PM -0700, Doug Berger 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
> 
>  drivers/net/ethernet/broadcom/genet/bcmgenet.c     | 14 +++++++++++++-
>  drivers/net/ethernet/broadcom/genet/bcmgenet.h     |  2 ++
>  drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c |  6 ++++++
>  drivers/net/ethernet/broadcom/genet/bcmmii.c       |  4 ++++
>  4 files changed, 25 insertions(+), 1 deletion(-)
> 
> -- 
> These commits are dependent on the previously submitted:
> [PATCH stable 5.4 0/2] net: bcmgenet: revisit MAC reset
> 
> 2.34.1
> 
> 

All now queued up, thanks.

greg k-h