public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix a doorbell race on Cortex-A78AE
@ 2026-03-22 10:24 Shani Peretz
  2026-03-22 10:24 ` [PATCH 1/2] common/mlx5: fix doorbell race from compiler reordering Shani Peretz
  2026-03-22 10:24 ` [PATCH 2/2] config/arm: revert forced crypto extension for Cortex-A78AE Shani Peretz
  0 siblings, 2 replies; 3+ messages in thread
From: Shani Peretz @ 2026-03-22 10:24 UTC (permalink / raw)
  To: dev; +Cc: rasland, Shani Peretz

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-22 10:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-22 10:24 [PATCH 0/2] Fix a doorbell race on Cortex-A78AE Shani Peretz
2026-03-22 10:24 ` [PATCH 1/2] common/mlx5: fix doorbell race from compiler reordering Shani Peretz
2026-03-22 10:24 ` [PATCH 2/2] config/arm: revert forced crypto extension for Cortex-A78AE Shani Peretz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox