summaryrefslogtreecommitdiff
path: root/rust/helpers/refcount.c
diff options
context:
space:
mode:
authorRanjan Kumar <ranjan.kumar@broadcom.com>2025-06-27 22:45:38 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-07-15 03:53:17 +0300
commitc91e140c82eb58724c435f623702e51cc7896646 (patch)
tree97444ef699fbac5af426e16da39ab4b7a8da92bd /rust/helpers/refcount.c
parent6853885b21cb1d7157cc14c9d30cc17141565bae (diff)
downloadlinux-c91e140c82eb58724c435f623702e51cc7896646.tar.xz
scsi: mpi3mr: Serialize admin queue BAR writes on 32-bit systems
On 32-bit systems, 64-bit BAR writes to admin queue registers are performed as two 32-bit writes. Without locking, this can cause partial writes when accessed concurrently. Updated per-queue spinlocks is used to serialize these writes and prevent race conditions. Fixes: 824a156633df ("scsi: mpi3mr: Base driver code") Cc: stable@vger.kernel.org Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com> Link: https://lore.kernel.org/r/20250627194539.48851-4-ranjan.kumar@broadcom.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/refcount.c')
0 files changed, 0 insertions, 0 deletions