Public bug reported:

SRU Justification:

[Impact]
Exclusion is being handled around arm_smccc_smc() only in the store functions. 
It should be implemented in the show functions also as this call might not be 
thread-safe.

[Fix]
Add mutex_lock/unlock around arm_smccc_smc calls in the show functions.

[Test Case]
Multiple simultaneous accesses to a sysfs entry exposed by the driver are 
successful.

[Regression Potential]
Can be considered minimum

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933642

Title:
  mlx-bootctl: Fix exclusion issues around arm_smccc_smc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1933642/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to