mbox series

[0/2] fsi: core: Lock scan mutex for master index removal

Message ID 20230412185602.1592629-1-eajames@linux.ibm.com
Headers show
Series fsi: core: Lock scan mutex for master index removal | expand

Message

Eddie James April 12, 2023, 6:56 p.m. UTC
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(-)