]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ti: icss-iep: Remove spinlock-based synchronization
authorDiogo Ivo <diogo.ivo@siemens.com>
Mon, 17 Jun 2024 15:21:41 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 15:45:42 +0000 (16:45 +0100)
commit8a299cc110a3ec2082bbeb116cfa5a1a00d310d5
treed7cc4d2bbb8beaae531d6e1e60723187280bfe86
parent73b769252d693f4f6e73098d2791914779341c13
net: ti: icss-iep: Remove spinlock-based synchronization

[ Upstream commit 5758e03cf604aa282b9afa61aec3188c4a9b3fe7 ]

As all sources of concurrency in hardware register access occur in
non-interrupt context eliminate spinlock-based synchronization and
rely on the mutex-based synchronization that is already present.

Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 54e1b4becf5e ("net: ti: icss-iep: Reject perout generation request")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/ti/icssg/icss_iep.c