All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Support Clang context analysis for RDMA/efa
@ 2026-07-17  3:16 Timothy Day
  2026-07-17  3:16 ` [PATCH v1 1/5] RDMA/efa: mark mmio_read seq_num as guarded by mmio_read lock Timothy Day
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Timothy Day @ 2026-07-17  3:16 UTC (permalink / raw)
  To: Michael Margolin, Jason Gunthorpe, Leon Romanovsky, linux-rdma
  Cc: Gal Pressman, Yossi Leybovich, Marco Elver, Timothy Day

Hi,

This series adds annotations for Clang's context analysis to the
RDMA/efa driver.

Clang context analysis was recently added in a series by Marco
Elver [1]. This allows the compiler to validate different
locking patterns at compile time. This series enables context
analysis and adds new annotations.

The series was built with Clang 23 (since the minimum Clang
version for this feature was recently bumped to 23 in 7.2+ [2])
with CONFIG_WARN_CONTEXT_ANALYSIS enabled. I based this series
on rdma/for-next.

I'd appreciate reviews and suggestions. I'm especially interested
in suggestions on how we can make this easier to enable in other
parts of the rdma subsystem.

Thanks!

[1] https://lore.kernel.org/lkml/20251219154418.3592607-1-elver@google.com/
[2] https://lore.kernel.org/all/20260515124426.2227783-1-elver@google.com/

Timothy Day (5):
  RDMA/efa: mark mmio_read seq_num as guarded by mmio_read lock
  RDMA/efa: mark comp_ctx_pool* as guarded by comp_ctx_lock
  RDMA/efa: mark admin CQ consumer state as guarded by the ACQ lock
  RDMA/efa: mark admin SQ producer state as guarded by the ASQ lock
  RDMA/efa: enable context analysis support for efa driver

 drivers/infiniband/hw/efa/Makefile  |  2 ++
 drivers/infiniband/hw/efa/efa_com.c | 33 +++++++++++++++++------------
 drivers/infiniband/hw/efa/efa_com.h | 14 ++++++------
 3 files changed, 29 insertions(+), 20 deletions(-)

-- 
2.39.5


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

end of thread, other threads:[~2026-07-22  7:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-17  3:16 [PATCH v1 0/5] Support Clang context analysis for RDMA/efa Timothy Day
2026-07-17  3:16 ` [PATCH v1 1/5] RDMA/efa: mark mmio_read seq_num as guarded by mmio_read lock Timothy Day
2026-07-17  3:16 ` [PATCH v1 2/5] RDMA/efa: mark comp_ctx_pool* as guarded by comp_ctx_lock Timothy Day
2026-07-17  3:16 ` [PATCH v1 3/5] RDMA/efa: mark admin CQ consumer state as guarded by the ACQ lock Timothy Day
2026-07-17  3:16 ` [PATCH v1 4/5] RDMA/efa: mark admin SQ producer state as guarded by the ASQ lock Timothy Day
2026-07-17  3:16 ` [PATCH v1 5/5] RDMA/efa: enable context analysis support for efa driver Timothy Day
2026-07-21 11:10 ` [PATCH v1 0/5] Support Clang context analysis for RDMA/efa Leon Romanovsky
2026-07-21 20:27   ` Timothy Day
2026-07-22  7:21     ` Leon Romanovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.