Skip to content

Fix a doorbell race on Cortex-A78AE

Shani Peretz dpdk-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2common/mlx5: fix doorbell race from compiler reorderingdrivers/common/mlx5/mlx5_common.h drivers/compress/mlx5/mlx5_compress.c drivers/crypto/mlx5/mlx5_crypto_gcm.c +8 more+28 -230 replies
2/2config/arm: revert forced crypto extension for Cortex-A78AEconfig/arm/meson.build+2 -50 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBing Zhao
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix a doorbell race on Cortex-A78AE

Fix a doorbell race on Cortex-A78AE where the compiler reorders a 64-bit WQE load before the 32-bit stores that construct it, causing stale data to reach the hardware doorbell.
The first patch fixes the root cause by passing a pointer and adding a compiler barrier;
The second patch reverts the crypto march extension workaround that is no longer needed and that broke builds without AES support.

Shani Peretz (2):
common/mlx5: fix doorbell race from compiler reordering config/arm: revert forced crypto extension for Cortex-A78AE

 config/arm/meson.build                   |  7 ++-----
 drivers/common/mlx5/mlx5_common.h        | 12 ++++++++----
 drivers/compress/mlx5/mlx5_compress.c    |  2 +-
 drivers/crypto/mlx5/mlx5_crypto_gcm.c    |  6 +++---
 drivers/crypto/mlx5/mlx5_crypto_xts.c    |  2 +-
 drivers/net/mlx5/mlx5_flow_aso.c         | 12 ++++++------
 drivers/net/mlx5/mlx5_flow_quota.c       |  2 +-
 drivers/net/mlx5/mlx5_rxq.c              |  3 ++-
 drivers/net/mlx5/mlx5_tx.h               |  4 ++--
 drivers/net/mlx5/mlx5_txpp.c             |  4 ++--
 drivers/regex/mlx5/mlx5_regex_fastpath.c |  2 +-
 drivers/vdpa/mlx5/mlx5_vdpa_event.c      |  2 +-
 12 files changed, 30 insertions(+), 28 deletions(-)

--
2.34.1