Skip to content

fsi: core: Lock scan mutex for master index removal

Eddie James lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fsi: core: Lock scan mutex for master index removaldrivers/fsi/fsi-core.c+1 -12 replies
2/2fsi: core: Add trace events for scan and unregisterdrivers/fsi/fsi-core.c include/trace/events/fsi.h+35 -01 reply

Reviews trailers per patch

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

PatchJoel Stanley
1/2
2/2R-b

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] fsi: core: Lock scan mutex for master index removal

If a master scan occurs while the master is being unregistered, the devicecs may end up with incorrect and possibly duplicate names, resulting in kernel warnings. Ensure the master index isn't changed outside of the scan mutex.
In addition, add some trace events to debug any further issues in this area.

Eddie James (2):
fsi: core: Lock scan mutex for master index removal
fsi: core: Add trace events for scan and unregister

 drivers/fsi/fsi-core.c     |  6 +++++-
 include/trace/events/fsi.h | 31 +++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletion(-)
Signature · 1 line
2.31.1